/* ==============================================================
   INTER DE SANTA MARIA — DESIGN SYSTEM & ESTILOS CUSTOMIZADOS
   Arquivo editável em CSS puro (cores, tipografia, botões e artigos)
   ============================================================== */

:root {
  --color-black: #101010;
  --color-dark: #1B1B1B;
  --color-red: #B51F2B;
  --color-red-hover: #971925;
  --color-white: #FFFFFF;
  --color-cream: #F4F2EF;
  --color-muted: #BDBDBD;
  --font-barlow-condensed: 'Barlow Condensed', sans-serif;
  --font-manrope: 'Manrope', sans-serif;
}

* {
  -webkit-tap-highlight-color: transparent;
}

a:focus,
button:focus,
[role="button"]:focus {
  outline: none !important;
}

body {
  background-color: #101010;
  color: #F4F2EF;
  font-family: var(--font-manrope);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .font-title {
  font-family: var(--font-barlow-condensed);
  letter-spacing: -0.01em;
}

.font-sans {
  font-family: var(--font-manrope);
}

/* Tipografia Fluida Editorial */
.title-hero {
  font-size: clamp(3.25rem, 8.5vw, 10.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.title-section {
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

/* Sistema de Botões Padronizado */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-manrope);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.25rem;
  transition: all 0.2s ease-in-out;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
}

/* .btn define display e, por vir depois do Tailwind, anulava o .hidden (ex.: "Seja Sócio" aparecia no mobile) */
.btn.hidden {
  display: none;
}

@media (min-width: 640px) {
  .btn.sm\:inline-flex {
    display: inline-flex;
  }
}

.btn-sm {
  height: 2.25rem;
  padding-left: 0.875rem;
  padding-right: 0.875rem;
  font-size: 0.75rem;
  gap: 0.375rem;
}

.btn-md {
  height: 2.5rem;
  padding-left: 1.125rem;
  padding-right: 1.125rem;
  font-size: 0.75rem;
  gap: 0.5rem;
}

.btn-lg {
  height: 3.25rem;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  font-size: 0.8125rem;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .btn-lg {
    height: 3.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 0.875rem;
  }
}

/* Cores utilitárias da marca */
.bg-brand-black { background-color: #101010; }
.bg-brand-dark { background-color: #1B1B1B; }
.bg-brand-red { background-color: #B51F2B; }
.hover\:bg-brand-red:hover { background-color: #B51F2B; }
.hover\:bg-brand-red-hover:hover { background-color: #971925; }
.bg-brand-cream { background-color: #F4F2EF; }
.text-brand-black { color: #101010; }
.text-brand-red { color: #B51F2B; }
.hover\:text-brand-red:hover { color: #B51F2B; }
.hover\:text-brand-cream:hover { color: #F4F2EF; }
.text-brand-cream { color: #F4F2EF; }
.text-brand-muted { color: #BDBDBD; }
.border-brand-red { border-color: #B51F2B; }
.hover\:border-brand-red:hover { border-color: #B51F2B; }

/* Animações suaves */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Skeleton de carregamento */
.skeleton {
  background: linear-gradient(90deg, #eae5de 25%, #f5f2eb 50%, #eae5de 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Conteúdo Editorial de Notícias do WordPress */
.article-content { color: #1F2421; }
.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.85;
  color: #1F2421 !important;
  font-size: 1.0625rem;
}
.article-content span { color: inherit !important; }
.article-content strong, .article-content b { font-weight: 700; color: #111111 !important; }
.article-content em, .article-content i { color: #2D312E; }
.article-content a {
  color: #B51F2B !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.article-content a:hover { color: #8C141E !important; }
.article-content h1, .article-content h2, .article-content h3, .article-content h4 {
  color: #111111 !important;
  font-family: var(--font-barlow-condensed);
}
.article-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.15;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(181, 31, 43, 0.25);
  padding-bottom: 0.5rem;
}
.article-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
  color: #1F2421 !important;
}
.article-content ul { list-style-type: disc; }
.article-content ol { list-style-type: decimal; }
.article-content li { margin-bottom: 0.6rem; line-height: 1.75; }
.article-content blockquote {
  border-left: 4px solid #B51F2B;
  background-color: #F8F5F0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: #333333 !important;
}
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.article-content img:not([class*="emoji"]):not([src*="emoji"]):not([width="16"]):not([width="18"]):not([width="20"]):not([width="24"]) {
  display: block;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Barra de rolagem fina para carrosséis/miniaturas */
.scrollbar-thin::-webkit-scrollbar { height: 6px; width: 6px; }
.scrollbar-thin::-webkit-scrollbar-track { background: rgba(0,0,0,0.06); border-radius: 999px; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: rgba(181,31,43,0.45); border-radius: 999px; }

/* Estados de erro/carregamento dos formulários */
.bg-red-50 { background-color: #FEF2F2; }
.border-red-200 { border-color: #FECACA; }
.text-red-700 { color: #B91C1C; }
.opacity-70 { opacity: 0.7; }
.break-all { word-break: break-all; }
.text-\[\#25D366\] { color: #25D366; }

/* Banner Promocional — Camisas Temporada 2027 (Home) */
.banner-camisas-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #6B0A12;
  border: 1px solid rgba(181, 31, 43, 0.45);
  box-shadow: 0 22px 48px rgba(16, 16, 16, 0.22);
}

.banner-camisas-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.banner-camisas-card:hover .banner-camisas-bg {
  transform: scale(1.03);
}

.banner-camisas-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    102deg,
    rgba(16, 16, 16, 0.88) 0%,
    rgba(96, 12, 20, 0.68) 48%,
    rgba(145, 18, 28, 0.34) 100%
  );
}

.banner-camisas-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .banner-camisas-grid {
    grid-template-columns: 1.2fr 0.95fr;
    gap: 2rem;
    padding: 2.5rem 3rem;
  }
}

@media (min-width: 1024px) {
  .banner-camisas-grid {
    grid-template-columns: 1.25fr 0.9fr;
    padding: 2.75rem 3.5rem;
  }
}

.banner-camisas-title {
  font-family: var(--font-barlow-condensed);
  font-size: clamp(2.25rem, 4.4vw, 3.65rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.banner-camisas-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-camisas-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.52));
  transition: transform 0.45s ease;
}

@media (min-width: 768px) {
  .banner-camisas-img {
    max-width: 410px;
  }
}

.banner-camisas-card:hover .banner-camisas-img {
  transform: translateY(-4px) scale(1.03);
}

/* Elenco em breve */
.elenco-aviso-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid #b51f2b;
  border-radius: 999px;
  color: #b51f2b;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.elenco-tag-confirmado {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 10;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  background: #b51f2b;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.elenco-vaga::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.07) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: elenco-shimmer 2.4s ease-in-out infinite;
  pointer-events: none;
}

.elenco-vaga-foto { display: flex; align-items: flex-end; justify-content: center; color: #2a2a2a; }
.elenco-vaga-num { color: rgba(255, 255, 255, 0.2); }
.elenco-vaga-pos { color: rgba(255, 255, 255, 0.4); }
.elenco-vaga-nome { color: rgba(255, 255, 255, 0.5); }
.elenco-vaga--claro { border-style: dashed; border-color: #d6cec4; }
.elenco-vaga--claro::after { background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%); }
.elenco-vaga--claro .elenco-vaga-foto { color: #e0d9d0; }
.elenco-vaga--claro .elenco-vaga-num { color: #cfc6bb; }
.elenco-vaga--claro .elenco-vaga-pos { color: #999; }
.elenco-vaga--claro .elenco-vaga-nome { color: #aaa; }

@keyframes elenco-shimmer {
  to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .elenco-vaga::after { animation: none; }
}
