@import url('./base/reset.css');
@import url('./base/variables.css');
@import url('./base/typography.css');
@import url('./base/base.css');
@import url('./layout.css');
@import url('./components/...css');

/* ========================================
   🎨 DESIGN TOKENS (SINGLE SOURCE OF TRUTH)
======================================== */

:root {
  /* BASE */
  --bg: #f7f8fb;
  --bg2: #f4f4f4;
  --bg3: #6b7173;
  --text: #111827;
  --muted: #6b7280;

  /* NOVO */
  --text-dynamic: #111827; /* texto escuro no modo claro */

  /* NOVO ARAUJO SUBSCRIBE LINHAS START*/
  --lineSUAVE: #818185;
  --lineFORTE: #15151e;
  /* NOVO ARAUJO SUBSCRIBE LINHAS END */

  /* HEADER */
  --header-height: 72px;

  /* SURFACES */
  --surface: #ffffff;
  --card: #ffffff;
  --border: #e5e7eb;

  /* TOPBAR */
  --topbar: rgba(255, 255, 255, 0.85);
  --text-topbar: #111827;

  /* FOOTER */
  --footer-bg: #fafcff;
  --footer-text: #111;
  --footer-muted: #6f6f6f;

  /* UI DETAILS */
  --line: #ececec;

  /* BRAND */
  --accent: #ff6b00;
  --accent2: #2194ff;

  /* SYSTEM */
  --radius: 10px;
  --shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  --container: 1400px;
  --gutter: 1rem;
  --fs-lg: 1.125rem;

  /* BUTTONS - MONOCHROME */
  --btn-bg: #000000;
  --btn-text: #ffffff;
  --btn-border: #000000;

  --btn-hover-bg: #1a1a1a;
  --btn-hover-text: #ffffff;

  --btn-secondary-bg: transparent;
  --btn-secondary-text: var(--text);
  --btn-secondary-border: var(--border);

  /* token só para botões */
  --btn-border-strong: #000000;
}

/* ===== DARK MODE ===== */
[data-theme='dark'] {
  --bg: #0f1215;
  --bg2: #111111;
  --bg3: #f4f4f4;
  --text: #fdfdfd;
  --muted: #888c90;

  --surface: #181818;
  --card: #191e24;
  --border: #2a2f34;

  --topbar: #181818;
  --text-topbar: #aaa;

  --footer-bg: #191e24;
  --footer-text: #c9cccf;
  --footer-muted: #888c90;

  --line: #2a2f34;

  --primary: #0232ff;
  --text-heading: #374151;
  --text-secondary: #637a85;
  --border-soft: #dbdde9;

  /* NOVO */
  --text-dynamic: #ffffff; /* texto claro no dark mode */

  /* NOVO ARAUJO SUBSCRIBE LINHAS START*/
  --lineSUAVE: #d0d0d2;
  --lineFORTE: #eeeeee;
  /* NOVO ARAUJO SUBSCRIBE LINHAS END */

  /* BUTTONS DARK - MONOCHROME */
  --btn-bg: #ffffff;
  --btn-text: #000000;
  --btn-border: #ffffff;

  --btn-hover-bg: #e5e5e5;
  --btn-hover-text: #000000;

  --btn-secondary-bg: transparent;
  --btn-secondary-text: var(--text);
  --btn-secondary-border: var(--border);

  /* token só para botões */
  --btn-border-strong: #ffffff;
}

/* =========================================================
   RESET BASE (LIGHT)
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden; /* correção para menu sticky */
}

/* =========================================================
   BODY / TIPOGRAFIA BASE
   ========================================================= */
body {
  margin: 0;

  background: var(--bg2);
  color: var(--text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  margin-bottom: 50px;
  margin-top: 50px;
  padding: 0 var(--gutter);
}

/* Conteúdo acessível apenas para leitores de ecrã */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

/* =========================================================
   HEADER FIXO (ALTURA CONTROLADA)
   ========================================================= */
:root {
  --header-height: 72px;
}

.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

body {
  padding-top: var(--header-height);
}

/* =========================================================
   HERO / CONTEÚDO PRINCIPAL
   ========================================================= */
.hero {
  padding: 4rem 0;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-inner {
  display: grid;
  gap: 1rem;
}

.eyebrow {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  line-height: 1.05;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 700px;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

/* Grid */
.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

@media (min-width: 700px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    grid-template-columns: 2fr 1fr;
    padding: 4rem 2rem;
  }
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

/* =========================================================
   FORMULÁRIOS
   ========================================================= */
form.card input,
form.card textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

/* =========================================================
   FOOTER (ESTRUTURA MODULAR)
   ========================================================= */

/* Footer base */
.rio-footer {
  background: var(--surface);
  color: var(--footer-contrast);

  font-size: 0.95rem;
}

/* Topo */
.rio-footer-top {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Container interno */
.rio-ct {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Branding */
.rio-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
  min-width: 220px;
}

.rio-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 6px;
  background: transparent;
}

.rio-brand p {
  margin: 0;
  color: var(--footer-contrast);
  font-weight: 700;
}

/* Links */
.rio-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 1.25rem;
  flex: 1;
}

@media (max-width: 840px) {
  .rio-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .rio-brand {
    min-width: unset;
    width: 100%;
  }
  .rio-ct {
    flex-direction: column;
  }
}

.rio-links h4 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.rio-links a {
  display: block;
  color: #c9cccf;
  text-decoration: none;
  margin: 0.28rem 0;
  font-size: 0.9rem;
}

.rio-links a:hover {
  color: var(--footer-contrast);
}

/* Parte inferior */
.rio-footer-bottom {
  background: var(--surface);
  padding: 1rem 0;
  font-size: 0.85rem;
}

.rio-bottom-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rio-legal a {
  color: var(--footer-muted);
  text-decoration: none;
  margin-left: 1rem;
}

.rio-legal a:hover {
  color: var(--footer-contrast);
}

/* ESTE CSS MANTEM O FOOTER EM BAIXO SEM ESPACOS INICIO******/
html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ESTE É O MAIS IMPORTANTE */
main {
  flex: 1 0 auto;
}
/* ESTE CSS MANTEM O FOOTER EM BAIXO SEM ESPACOS  FIM*********/

/* =========================================================
   2 FOOTER (ESTRUTURA MODULAR) 2 start
   ========================================================= */

/* =========================================================
   2 FOOTER (ESTRUTURA MODULAR) 2 end
   ========================================================= */

/* =========================================================
   UTILITÁRIOS
   ========================================================= */
.muted {
  color: var(--muted);
}

a {
  color: inherit;
}

/* =========================================================
   HEADER BANNER / PLAYER
   ========================================================= */
.header-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.header-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:;
}

.player-content {
  position: relative;
  z-index: 5;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  align-items: flex-start;
}

.team-title {
  font-family: var(--font-secondary);
  font-weight: var(--fw-black); /* 900 */
  font-size: var(--fs-3xl);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}

@media (max-width: 1024px) {
  .team-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .player-content {
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
  }
  .team-title {
    font-size: 28px;
    text-align: center;
  }
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-sponsor {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 768px) {
  .team-sponsor {
    display: none;
  }
}

.player-header-container {
  position: relative;
  width: 100%;
  height: 360px;
  max-height: 50vh;
  overflow: hidden;
}

.club-header-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.club-header-background img,
.club-header-background source {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* =========================================================
   TEXT UTILITIES
   ========================================================= */
.muted-small {
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

/* LOGO – ajustado para equivaler */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 30px; /* compensação do SVG */
  width: auto;
  max-width: 180px;
  display: block;
}

/* MOBILE */
@media (max-width: 768px) {
  .brand img {
    height: 30px;
    max-width: 180px;
  }
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  font-family: Inter, Arial, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  padding-top: var(--header-height);
}

/* =========================================================
   HEADER FIXO
   ========================================================= */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--topbar);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  color: var(--text-topbar);
}

/* Container principal */
.site-header {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo à esquerda, menu à direita */
}

/* Logo */
.brand img {
  height: 45px;
  display: block;
}

/* =========================================================
   BOTÃO MOBILE
   ========================================================= */
.nav-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.nav-toggle-icon {
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: background 0.25s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #111;
  transition:
    transform 0.25s ease,
    top 0.25s ease;
}

.nav-toggle-icon::before {
  top: -6px;
}
.nav-toggle-icon::after {
  top: 6px;
}

/* Estado aberto */
.nav-toggle[aria-expanded='true'] .nav-toggle-icon {
  background: transparent;
}
.nav-toggle[aria-expanded='true'] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* =========================================================
   NAVEGAÇÃO (BASE)
   ========================================================= */
nav {
  position: relative;
}

/* LISTA */

.submenu a {
  display: block;
  padding: 12px 22px;

  color: #222;
  text-decoration: none;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.submenu a:hover {
  background-color: #ff6b00; /* Azul muito claro */
}

/* LINKS */
.nav-list a {
  position: relative;
  display: inline-block;
  text-decoration: none;

  font-weight: 500;
  transition:
    color 0.15s ease-out,
    font-weight 0.15s ease-out;
}

/* 🔒 RESERVA ESPAÇO PARA BOLD (evita "pulo") */
.nav-list a::before {
  display: block;
  font-weight: 700;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

/* HOVER (efeito LiveScore) */
/* 1. Adicione a transição no estado normal do link */
.nav-list a {
  /* ... mantenha suas outras regras aqui (font-size, color, etc.) ... */
  transition: color 0.3s ease; /* faz a cor mudar suavemente */
}

/* 2. Modifique o estado hover */
.nav-list a:hover {
}

.nav-list > li > a:hover {
  color: #d89b21; /* mantém apenas a mudança de cor */
}

/* LINHA ANIMADA */

/* HOVER LINHA */
.nav-list a:hover::after {
  width: 100%;
}

/* RESPONSIVO (mobile) */
@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-list a {
    transform: none; /* evita zoom no mobile */
  }
}

/* Submenu */
.has-submenu {
  position: relative;
}

.submenu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0.5rem 1rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
}

.has-submenu.open .submenu {
  display: flex;
}

/* =========================================================
   DESKTOP (>= 880px)
   ========================================================= */
@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .nav-list {
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
  }

  /* Submenu desktop */
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 0;
    padding: 0;
    box-shadow: var(--shadow);
    display: none;
  }

  .has-submenu:hover .submenu {
    display: flex;
  }
}

/* =========================================================
   MOBILE FULLSCREEN (< 880px)
   ========================================================= */
@media (max-width: 879px) {
  /* Painel fullscreen */
  .nav-list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100vw;
    height: calc(100vh - var(--header-height));
    background: var(--surface);
    padding: 2rem 1.5rem;
    gap: 1rem;
    overflow-y: auto;

    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-list.show {
    transform: translateX(0);
  }

  /* 🔴 CORREÇÃO 1 — submenu abrir no mobile */
}

/* =========================================================
   🔴 CORREÇÃO 2 — BLOQUEIO TOTAL DE SCROLL
   ========================================================= */
html.menu-open,
body.menu-open {
  overflow: hidden;
  height: 100%;
}

footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

footer .muted {
  color: var(--footer-muted);
}

.footer-logo {
  text-align: center;
  padding: 24px 20px 24px;
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -1px;
}

.footer-logo img {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-container {
  max-width: 1280px;
  margin: auto;
  padding: 50px 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

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

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

.footer-column ul li a {
  text-decoration: none;
  color: var(--muted);
  font-size: 16px;
  transition: 0.25s ease;
}

.footer-column ul li a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 1200px;
  margin: auto;
  padding: 15px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.app-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-buttons {
  display: flex;
  gap: 15px;
}

.app-buttons img {
  height: 40px;
  cursor: pointer;
}

.social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 25px;
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: var(--muted);
  cursor: pointer;
  transition: 0.25s ease;
}

@media (max-width: 1100px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===========================
NOVOOOOOOOOOOOO   FOOOOOOOOOTER INICIO
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;

  color: var(--text);
}

/* ===========================
   FULL BLEED RED LINE
=========================== */

.full-red-line {
  width: 100vw;
  height: 1px;
  background: var(--line);
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ===========================
   FOOTER
=========================== */

.footer-logo {
  text-align: center;
  padding: 24px 20px 24px;
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -1px;
}

.footer-container {
  max-width: 1280px;
  margin: auto;
  padding: 3.2rem 3rem 4.8rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4rem;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
}

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

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

.footer-column ul li a:hover {
}

/* ===========================
   APP + SOCIAL ROW
=========================== */

.app-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-buttons {
  display: flex;
  gap: 15px;
}

.app-buttons img {
  height: 40px;
  cursor: pointer;
}

.social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
}

.social-icons svg:hover {
  fill: var(--accent);
}

/* ===========================
   COPYRIGHT
=========================== */

.copyright {
  max-width: 1280px;
  margin: auto;
  padding: 16px 40px 16px;
  font-size: 13.2px;
  color: #8c8c8c;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 1100px) {
  .footer-container {
  }
}

@media (max-width: 860px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-logo img {
  width: auto;
  height: 3.2rem; /* ajuste conforme necessário */
  display: block;
  margin: 0 auto;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-controls {
  display: flex;
  gap: 60px;
}

.footer-select {
  display: flex;
  flex-direction: column;
}

.select-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

/* CUSTOM SELECT */

.custom-select {
  position: relative;
  width: 200px;
}

.select-selected {
  display: flex;
  justify-content: space-between;
  align-items: center;

  border-bottom: 1px solid #8a949c;
  padding: 6px 0;
  cursor: pointer;
  font-size: 15px;
}

/* ARROW */

.arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgb(100, 100, 100);
  transition: transform 0.2s ease;
}

.custom-select.open .arrow {
  transform: rotate(180deg);
}

/* OPTIONS POPUP */

.select-options {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 230px;
  max-height: 240px;
  overflow-y: auto;
  background: #d9d9d9;
  color: #2b2b2b;
  display: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  z-index: 20;
}

.custom-select.open .select-options {
  display: block;
}

/* OPTIONS */

.option {
  padding: 14px 18px;
  cursor: pointer;
  font-size: 15px;
}

.option:hover {
  background: #cfcfcf;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-controls {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-controls {
    flex-direction: column;
    width: 100%;
    gap: 25px;
  }

  .footer-select {
    width: 100%;
  }

  .custom-select {
    width: 100%;
  }

  .select-selected {
    width: 100%;
  }

  .select-options {
    width: 100%;
    left: 0;
  }
}

.footer-bottom-bar {
  padding-left: 20px;
  padding-right: 20px;
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* DESKTOP */
.social-icons img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* TABLET */
@media (max-width: 1024px) {
  .social-icons img {
    width: 22px;
    height: 22px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .social-icons img {
    width: 22px;
    height: 22px;
  }
}

/* MOBILE PEQUENO */
@media (max-width: 480px) {
  .social-icons img {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column; /* empilha conteúdo */
    align-items: center; /* centraliza horizontalmente */
    gap: 20px; /* espaçamento entre filas */
  }

  .footer-socials__container {
    justify-content: center; /* centraliza os ícones */
    margin-top: 10px; /* opcional: espaçamento acima */
  }
}

@media (max-width: 1295px) {
  .footer-bottom {
    flex-direction: column; /* empilha conteúdo */
    align-items: center; /* centraliza horizontalmente */
    gap: 20px; /* espaçamento entre filas */
  }

  .footer-socials__container {
    justify-content: center; /* centraliza os ícones */
    margin-top: 10px; /* opcional: espaçamento acima */
  }
}

@media (max-width: 768px) {
  footer {
    display: flex;
    flex-direction: column;
  }

  /* sociais sobem */
  .social-icons {
    order: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
  }

  /* colunas descem */
  .footer-container {
    order: 3;
  }

  /* garante que a barra final continua no fim */
  .footer-bottom-bar {
    order: 4;
  }
}
.social-icons {
  margin-bottom: 25px;
}

/* ==========================================================================
   ULTIMAS NOTICIAS INDEX INICIO
   ========================================================================== */

/* ==========================================================================
   RESET E CONFIGURAÇÕES BASE
   ========================================================================== */
* {
  box-sizing: border-box;
}

.news-section {
  padding: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-header h2 {
  color: #06153b;
  font-size: 20px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
}

/* ==========================================================================
   MOBILE FIRST (Padrão para Telas Pequenas/Telemóveis abaixo de 576px)
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: 1fr; /* Coluna única no mobile */
  gap: 20px;
}

.news-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  text-decoration: none; /* Remove sublinhado dos links */
  color: inherit;
  position: relative;
}

/* Força a tag picture a ocupar 100% do espaço do card */
.news-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.card-large,
.card-right {
  grid-column: span 1;
  grid-row: span 1;
  min-height: 340px;
  position: relative;
}

.card-media {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Mantém a proporção 16:9 nas imagens */
}

/* Garante o posicionamento absoluto correto das mídias com suporte a picture */
.card-media picture img,
.card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tratamento dos cards grandes para preencher a altura sem distorcer */
.card-large picture img,
.card-large img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-duration {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
}

.card-content {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content p {
  color: #06153b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 16px 0;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  padding: 4px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1;
}

.card-overlay h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hashtag {
  color: #626e82;
  font-size: 12px;
  font-weight: 600;
}

.card-overlay .hashtag {
  color: #a0aec0;
}

.sport-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 16px;
  color: #1434cb;
}

.card-overlay .sport-icon-wrapper {
  color: #00d2ff;
}

.news-footer {
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;
}

.btn-view-all {
  display: inline-block;
  border: 1px solid #1434cb;
  color: #1434cb;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background-color: transparent;
  transition: background-color 0.2s;
}

.btn-view-all:hover {
  background-color: rgba(20, 52, 203, 0.05);
}

/* ==========================================================================
   MEDIA QUERY: TABLETS E TELAS MÉDIAS (De 576px até 992px)
   ========================================================================== */
@media (min-width: 576px) and (max-width: 992px) {
  .news-section {
    padding: 24px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas equilibradas */
  }

  .card-large,
  .card-right {
    grid-column: span 2;
    min-height: 520px;
  }
}

/* ==========================================================================
   MEDIA QUERY: DESKTOP (Telas Grandes acima de 992px)
   ========================================================================== */
@media (min-width: 993px) {
  .news-section {
    padding: 12px;
  }

  .news-grid {
    grid-template-columns: repeat(4, 1fr); /* Ativa as 4 colunas originais */
    gap: 20px;
  }

  /* Aplica o Bento Grid assimétrico perfeitamente apenas quando há espaço */
  .card-large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 280px;
  }

  .card-right {
    grid-column: 3 / span 2;
  }

  .card-overlay h3 {
    font-size: 20px;
  }
}

/* ==========================================================================
   ULTIMAS NOTICIAS INDEX FIM
   ========================================================================== */

.editors-section {
  background-color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  width: 100%;
  overflow: hidden;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 12px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header h2 {
  color: #0c1c4e;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.nav-arrows {
  display: flex;
  gap: 12px;
}

.arrow-btn {
  background: transparent;
  border: 1.5px solid #1434cb;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.arrow-btn svg {
  width: 20px;
  height: 20px;
  fill: #1434cb;
}

/* Container de rolagem */
.slider-wrapper {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.slider-wrapper::-webkit-scrollbar {
  display: none; /* Chrome e Safari */
}

.carousel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.editor-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

.card-media {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-duration {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}

.play-icon {
  width: 12px;
  height: 12px;
  fill: #ffffff;
}

.card-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.card-date {
  font-size: 13px;
  color: #718096;
}

.card-title {
  color: #0c1c4e;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.footer-action {
  margin-top: 28px;
}

.btn-see-all {
  display: inline-block;
  border: 1px solid #1434cb;
  color: #1434cb;
  padding: 10px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

/* Configuração Mobile do Slider Proporcional */
@media (max-width: 768px) {
  .section-container {
    padding: 24px 0 24px 20px; /* Mantém padding interno apenas na esquerda */
  }

  .section-header {
    padding-right: 20px;
  }

  .footer-action {
    padding-right: 20px;
  }

  .btn-see-all {
    display: block;
    width: 100%;
  }

  .carousel-grid {
    display: flex;
    gap: 16px;
    width: max-content;
    padding-right: 20px; /* Espaço para o último card não colar */
  }

  .editor-card {
    /* Define a largura exata para deixar 80% do card principal visível e uma porção do próximo */
    width: calc(80vw - 16px);
    max-width: 330px;
    flex-shrink: 0;
    scroll-snap-align: center; /* Centraliza levemente para melhor usabilidade no toque */
  }
}

* {
  box-sizing: border-box;
}

.photos-section {
  background-color: #f3f5f8; /* Fundo claro idêntico à imagem de referência */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  width: 100%;
  overflow: hidden;
}

.photos-section .section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 12px;
}

.photos-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.photos-section .section-header h2 {
  color: #0c1c4e;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.photos-section .nav-arrows {
  display: flex;
  gap: 8px;
}

.photos-section .arrow-btn {
  background: #ffffff;
  border: 1px solid #d2d7df;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s;
}

.photos-section .arrow-btn:hover {
  border-color: #0035c3;
}

.photos-section .arrow-btn svg {
  width: 18px;
  height: 18px;
  fill: #0035c3;
}

.photos-section .slider-wrapper {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.photos-section .slider-wrapper::-webkit-scrollbar {
  display: none;
}

.photos-section .carousel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.photo-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

.photos-section .card-media {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Proporção de tela 16:9 */
}

.photos-section .card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
}

.camera-icon {
  width: 12px;
  height: 12px;
  fill: #ffffff;
}

.photos-section .card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.photos-section .card-date {
  font-size: 13px;
  color: #718096;
  font-weight: 500;
}

.photos-section .card-title {
  color: #0c1c4e;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.photos-section .footer-action {
  margin-top: 28px;
}

.photos-section .btn-see-all {
  display: inline-block;
  border: 1px solid #0035c3;
  color: #0035c3;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}

.photos-section .btn-see-all:hover {
  background-color: rgba(0, 53, 195, 0.05);
}

/* Regra estrita mobile (430x932) mostrando o próximo card cortado */
@media (max-width: 768px) {
  .photos-section .section-container {
    padding: 24px 0 24px 20px;
  }

  .photos-section .section-header {
    padding-right: 20px;
  }

  .photos-section .footer-action {
    padding-right: 20px;
  }

  .photos-section .btn-see-all {
    display: block;
    width: 100%;
    text-align: center;
  }

  .photos-section .carousel-grid {
    display: flex;
    gap: 16px;
    width: max-content;
    padding-right: 20px;
  }

  .photo-card {
    width: calc(80vw - 16px);
    max-width: 350px;
    flex-shrink: 0;
    scroll-snap-align: center;
  }
}

* {
  box-sizing: border-box;
}

.partners-section {
  padding: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.partners-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  padding: 24px 32px;
}

.partners-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #4a5568;
  font-size: 11px;
  letter-spacing: 0.8px;
  margin: 0 0 24px 0;
  text-transform: uppercase;
}

.partners-title strong {
  color: #1a202c;
  font-weight: 700;
}

.partners-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 100px;
}

.logo-wrapper {
  height: auto;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.logo-wrapper img {
  max-height: 100%;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition:
    filter 0.2s,
    opacity 0.2s;
}

/* Mantém o logo colorido do funny-frisch como na imagem original */
.partner-item:nth-child(4) .logo-wrapper img {
  filter: none;
  opacity: 1;
}

.partner-item:hover .logo-wrapper img {
  filter: none;
  opacity: 1;
}

.partner-name {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #718096;
  text-align: center;
}

@media (max-width: 768px) {
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .logo-wrapper {
    height: auto;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   SPORT ICON - NEWS CARDS
   Tamanho e alinhamento uniforme
========================================================= */

.news-grid .sport-icon-wrapper {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  overflow: hidden;
}

/* Corrige conflito com imagens dos cards grandes */
.news-grid .sport-icon-wrapper img {
  position: static !important;

  width: 100% !important;
  height: 100% !important;

  max-width: 44px !important;
  max-height: 44px !important;

  object-fit: contain !important;

  display: block !important;
}

/* =========================================================
   META DO CARD
========================================================= */

.news-grid .card-meta {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;

  width: 100% !important;
}

/* =========================================================
   CARDS GRANDES COM OVERLAY
========================================================= */

.news-grid .card-overlay {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-grid .card-overlay .card-meta {
  margin-top: 0;
}

/* Proteção extra:
   a imagem principal do card grande continua normal,
   mas o ícone não é afetado */
.news-grid .card-large > img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* =========================================================
   ÍCONE SOBRE IMAGEM ESCURA
========================================================= */

.card-overlay .sport-icon-wrapper {
  position: relative;
  z-index: 5;
}

/* ==========================
   Sponsors Footer start
========================== */
.footer-sponsors {
  padding-top: 1.3rem;
  padding-bottom: 20px;
  border-bottom: 1px solid #ececec;
}

.footer-sponsors .container {
  max-width: 1280px;
  margin: auto;
}

.footer-sponsors-title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  color: #9fa0a4;
  margin-bottom: 35px;
  letter-spacing: 1px;
}

.footer-sponsors-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-sponsors-list a {
  display: flex; /* Mantido flex para perfeito alinhamento */
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  text-decoration: none;
}

.footer-sponsors-list a:hover {
  transform: translateY(-3px);
}

.footer-sponsors-list img {
  /* CORREÇÃO AQUI: Força uma largura para o SVG não colapsar */
  width: 130px;
  height: auto;

  /* Mantém um limite de altura para logos verticais não estourarem */
  max-height: 45px;

  display: block;
  object-fit: contain;
  opacity: 0.85;
  transition: 0.3s;
}

.footer-sponsors-list a:hover img {
  filter: none;
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-sponsors-list {
    gap: 10px;
  }

  .footer-sponsors-list img {
    width: 100px; /* Reduz o tamanho em telas mobile */
    max-height: 35px;
  }
}

/* ==========================
   Sponsors Footer end
========================== */
