/* ===== ARBV — CSS principal (v2 modern)
   Cores: vermelho #DC2626, preto. Fonte: Inter.
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #111827;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; }

:root {
  --red-600: #DC2626;
  --red-700: #B91C1C;
  --red-800: #991B1B;
  --red-900: #7F1D1D;
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;
  --shadow-sm: 0 1px 2px rgba(17,24,39,.04);
  --shadow-md: 0 4px 12px rgba(17,24,39,.06), 0 1px 3px rgba(17,24,39,.04);
  --shadow-lg: 0 12px 30px rgba(17,24,39,.08), 0 4px 12px rgba(17,24,39,.05);
  --shadow-red: 0 8px 24px rgba(220,38,38,.25);
  --ease: cubic-bezier(.2,.8,.2,1);
  --t-fast: .18s var(--ease);
  --t-med: .28s var(--ease);
}

::selection { background: var(--red-600); color: #fff; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 4.5rem 0; }
.section-sm { padding: 2.75rem 0; }
.bg-white { background: #fff; }
.bg-gray { background: var(--gray-50); }
.bg-black { background: #0a0a0a; color: #fff; }

/* ===== Header / Navbar ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(228,228,231,.6);
  transition: box-shadow var(--t-med), background var(--t-med);
}
.header:hover { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.5rem;
}
.logo img { height: 2.75rem; width: auto; object-fit: contain; transition: transform var(--t-fast); }
.logo:hover img { transform: scale(1.04); }

.nav { display: none; gap: .15rem; }
.nav a, .nav .nav-trigger {
  display: inline-flex;
  align-items: center;
  height: 2.4rem;
  padding: 0 .85rem;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--gray-700);
  background: transparent;
  border: 0;
  border-radius: .5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}
.nav a:hover, .nav .nav-trigger:hover { background: var(--gray-100); color: var(--gray-900); }
.nav a.active { color: var(--red-600); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .35rem;
  height: 2px;
  background: var(--red-600);
  border-radius: 2px;
}

.nav-item { position: relative; }
.nav-item .submenu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 17rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 60;
}
.nav-item:hover .submenu, .nav-item:focus-within .submenu {
  visibility: visible; opacity: 1; transform: translateY(0);
}
.submenu a {
  display: block;
  padding: .55rem .75rem;
  border-radius: .5rem;
  height: auto;
  font-size: .85rem;
  transition: background var(--t-fast);
}
.submenu a:hover { background: var(--gray-100); }
.submenu a strong { display: block; font-weight: 600; font-size: .875rem; color: var(--gray-900); }
.submenu a small { display: block; color: var(--gray-500); font-size: .75rem; margin-top: 1px; }

.nav-actions { display: none; align-items: center; gap: .5rem; }
.search-form { display: flex; gap: .25rem; }
.search-form input {
  height: 2.25rem;
  padding: 0 .75rem;
  border: 1px solid var(--gray-200);
  border-radius: .5rem;
  font-size: .825rem;
  width: 11rem;
  background: var(--gray-50);
  transition: border-color var(--t-fast), background var(--t-fast), width var(--t-med);
}
.search-form input:focus {
  outline: none;
  border-color: var(--red-600);
  background: #fff;
  width: 13rem;
}
.icon-btn {
  height: 2.25rem;
  width: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: .5rem;
  color: var(--gray-700);
  font-size: .9rem;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { background: #fff; color: var(--red-600); transform: translateY(-1px); }

.menu-toggle {
  background: transparent;
  border: 0;
  height: 2.5rem;
  width: 2.5rem;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  border-radius: .5rem;
  transition: background var(--t-fast);
}
.menu-toggle:hover { background: var(--gray-100); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 100;
  animation: fadeIn .2s ease;
}
.mobile-menu.open { display: block; }
.mobile-menu .panel {
  position: absolute;
  top: 0; right: 0;
  width: 86%;
  max-width: 20rem;
  height: 100%;
  background: #fff;
  padding: 1.5rem;
  overflow-y: auto;
  animation: slideInRight .28s var(--ease);
}
.mobile-menu .panel a {
  display: block;
  padding: .7rem 0;
  font-size: .95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.mobile-menu .panel a:hover { color: var(--red-600); padding-left: .25rem; }
.mobile-menu .panel .close {
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  width: 2.25rem; height: 2.25rem;
  border-radius: .5rem;
  transition: background var(--t-fast);
}
.mobile-menu .panel .close:hover { background: var(--gray-100); }

@media (min-width: 1024px) {
  .nav, .nav-actions { display: flex; }
  .menu-toggle { display: none; }
}

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.25rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .005em;
  border-radius: .5rem;
  border: 0;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .55s var(--ease);
  z-index: -1;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(100%); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }

.btn-primary { background: var(--red-600); color: #fff; box-shadow: 0 1px 2px rgba(220,38,38,.3); }
.btn-primary:hover { background: var(--red-700); box-shadow: var(--shadow-red); }

.btn-dark { background: #0a0a0a; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.btn-dark:hover { background: #18181b; box-shadow: 0 8px 22px rgba(0,0,0,.25); }

.btn-outline { background: transparent; border: 1.5px solid currentColor; }
.btn-outline:hover { background: currentColor; color: #fff; }

.btn-outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--red-600); border-color: #fff; }

.btn-light { background: #fff; color: var(--red-600); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--gray-50); box-shadow: var(--shadow-md); }

.btn-lg { padding: .85rem 1.75rem; font-size: .9375rem; border-radius: .625rem; }
.btn-block { width: 100%; }

/* ===== Page header (diagonal) ===== */
.page-header {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
}
.page-header .ph-bg-red {
  position: absolute;
  inset: 0 33.333% 0 0;
  background: var(--red-600);
}
.page-header .ph-skew {
  position: absolute;
  top: 0;
  left: 60%;
  width: 12%;
  height: 100%;
  background: var(--red-600);
  transform: skewX(-12deg);
  transform-origin: top left;
  display: none;
}
.page-header .ph-dot1, .page-header .ph-dot2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.page-header .ph-dot1 { top: 2rem; right: 3rem; width: 18rem; height: 18rem; background: #ef4444; }
.page-header .ph-dot2 { bottom: 2rem; right: 30%; width: 13rem; height: 13rem; background: var(--red-700); animation-delay: -4s; }
.page-header .container { position: relative; z-index: 2; padding-top: 4rem; padding-bottom: 4rem; }
.page-header .ph-content { max-width: 720px; }
.page-header .eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 .85rem;
  opacity: .9;
}
.page-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}
.page-header p { font-size: 1rem; opacity: .9; margin: 0; max-width: 640px; line-height: 1.6; }
.page-header .underline { display: block; width: 4rem; height: 3px; background: #fff; margin-top: 1.5rem; border-radius: 2px; }
.page-header .badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.page-header .badges span {
  display: inline-block;
  padding: .4rem .9rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-weight: 500;
  font-size: .8125rem;
}
@media (min-width: 1024px) {
  .page-header h1 { font-size: 3.25rem; }
  .page-header p { font-size: 1.0625rem; }
  .page-header .ph-skew { display: block; }
}

/* ===== Diagonal Hero ===== */
.hero-diagonal { position: relative; overflow: hidden; background: #0a0a0a; }
.hero-diagonal .grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 540px;
}
.hero-diagonal .left {
  position: relative;
  background: var(--red-600);
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
  color: #fff;
  z-index: 2;
  overflow: hidden;
}
.hero-diagonal .left::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,.15), transparent 40%);
  pointer-events: none;
}
.hero-diagonal .left .skew {
  display: none;
  position: absolute;
  top: 0;
  right: -6rem;
  height: 100%;
  width: 12rem;
  background: var(--red-600);
  transform: skewX(-12deg);
}
.hero-diagonal .right {
  position: relative;
  min-height: 320px;
  background: #0a0a0a;
}
.hero-diagonal .right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease;
}
.hero-diagonal:hover .right img { transform: scale(1.04); }
.hero-diagonal .right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,.35), transparent 50%, rgba(220,38,38,.18));
}
.hero-content { position: relative; z-index: 3; max-width: 36rem; }
.hero-content .eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  opacity: .9;
  margin: 0 0 .85rem;
}
.hero-content h1 {
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 1rem;
}
.hero-content p { font-size: 1rem; line-height: 1.6; margin: 0 0 1.5rem; opacity: .95; }
.hero-content .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 1024px) {
  .hero-diagonal .grid { grid-template-columns: 1fr 1fr; min-height: 620px; }
  .hero-diagonal .left { padding: 4rem; }
  .hero-diagonal .left .skew { display: block; }
  .hero-content h1 { font-size: 3.25rem; }
  .hero-content p { font-size: 1.0625rem; }
}

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--red-800) 0%, var(--red-900) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255,255,255,.08), transparent 50%);
}
.cta-banner .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  text-align: center;
}
.cta-banner h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; margin: 0; }
@media (min-width: 768px) {
  .cta-banner .container { flex-direction: row; text-align: left; }
  .cta-banner h3 { font-size: 1.375rem; }
}

/* ===== Section header ===== */
.section-header { text-align: center; margin-bottom: 2.75rem; }
.section-header.left { text-align: left; }
.section-header .eyebrow {
  color: var(--red-600);
  font-weight: 700;
  letter-spacing: .22em;
  font-size: .7rem;
  text-transform: uppercase;
  margin: 0 0 .5rem;
}
.section-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--gray-900);
}
.section-header p {
  margin: .85rem auto 0;
  max-width: 640px;
  color: var(--gray-600);
  font-size: .9375rem;
  line-height: 1.6;
}
.section-header.left p { margin-left: 0; }
.section-header .underline {
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--red-600);
  margin: .85rem auto 0;
  border-radius: 2px;
}
.section-header.left .underline { margin-left: 0; }
@media (min-width: 768px) {
  .section-header h2 { font-size: 2.25rem; }
}

/* ===== Cards ===== */
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  overflow: hidden;
  transition: box-shadow var(--t-med), transform var(--t-med), border-color var(--t-med);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gray-300);
}
.card-img { aspect-ratio: 16/9; background: var(--gray-100); position: relative; overflow: hidden; }
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-meta {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: .55rem;
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.35;
  margin: 0 0 .5rem;
  color: var(--gray-900);
}
.card-text { color: var(--gray-600); font-size: .875rem; line-height: 1.55; flex: 1; }
.card-footer { padding-top: 1rem; }

/* Grid utilities */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 768px) {
  .grid { gap: 1.5rem; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Pillar / Icon cards ===== */
.pillar {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red-600);
  transform: scaleX(.4);
  transform-origin: left;
  transition: transform var(--t-med);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-300); }
.pillar:hover::before { transform: scaleX(1); }
.pillar .icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(220,38,38,.1), rgba(220,38,38,.04));
  color: var(--red-600);
  border-radius: .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform var(--t-med);
}
.pillar:hover .icon { transform: scale(1.08) rotate(-3deg); }
.pillar h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 .6rem; color: var(--gray-900); }
.pillar p { color: var(--gray-600); margin: 0; font-size: .875rem; line-height: 1.55; }

/* ===== Stats ===== */
.stat { text-align: center; padding: 1rem; }
.stat .num {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--red-600);
  margin: 0;
  line-height: 1;
  background: linear-gradient(135deg, var(--red-600), var(--red-800));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .label {
  color: var(--gray-600);
  margin: .5rem 0 0;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ===== Forms ===== */
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: .4rem;
  font-size: .8125rem;
  color: var(--gray-700);
  letter-spacing: -.005em;
}
.form-control {
  display: block;
  width: 100%;
  padding: .65rem .85rem;
  font-size: .875rem;
  border: 1px solid var(--gray-200);
  border-radius: .5rem;
  background: #fff;
  font-family: inherit;
  color: var(--gray-900);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-control::placeholder { color: var(--gray-400); }
.form-control:hover { border-color: var(--gray-300); }
.form-control:focus {
  outline: none;
  border-color: var(--red-600);
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
textarea.form-control { min-height: 7rem; resize: vertical; line-height: 1.55; }

/* ===== Alerts / Flash ===== */
.alert {
  padding: .85rem 1rem;
  border-radius: .5rem;
  margin-bottom: 1rem;
  font-size: .875rem;
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-info    { background: #eff6ff; color: #1e3a8a; border-color: #bfdbfe; }

/* ===== Tables (admin) ===== */
.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: .75rem;
  overflow: hidden;
  font-size: .875rem;
  box-shadow: var(--shadow-sm);
}
.table th, .table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--gray-100); }
.table th {
  background: var(--gray-50);
  font-weight: 600;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-600);
}
.table tbody tr { transition: background var(--t-fast); }
.table tbody tr:hover { background: var(--gray-50); }
.table tr:last-child td { border-bottom: 0; }
.table-actions { display: flex; gap: .4rem; }
.table-actions .btn { padding: .35rem .7rem; font-size: .75rem; }

/* ===== Badges ===== */
.badge {
  display: inline-block;
  padding: .25rem .65rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .03em;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.badge-red { background: rgba(220,38,38,.1); color: var(--red-700); border-color: rgba(220,38,38,.2); }
.badge-green { background: rgba(16,185,129,.1); color: #047857; border-color: rgba(16,185,129,.25); }
.badge-blue { background: rgba(59,130,246,.1); color: #1d4ed8; border-color: rgba(59,130,246,.25); }

/* ===== Footer ===== */
.footer {
  background: #0a0a0a;
  color: #a1a1aa;
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
  font-size: .875rem;
}
.footer .grid-foot {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
.footer h4 {
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .5rem; }
.footer a { transition: color var(--t-fast), padding-left var(--t-fast); }
.footer a:hover { color: #fff; padding-left: .25rem; }
.footer .copy {
  border-top: 1px solid #27272a;
  padding-top: 1.5rem;
  text-align: center;
  font-size: .8125rem;
  color: #52525b;
}
@media (min-width: 768px) {
  .footer .grid-foot { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ===== Galeria ===== */
.gallery-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
}
.gallery-grid .item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: .625rem;
  overflow: hidden;
  background: var(--gray-100);
  cursor: pointer;
}
.gallery-grid .item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.3), transparent 50%);
  opacity: 0;
  transition: opacity var(--t-med);
}
.gallery-grid .item:hover::after { opacity: 1; }
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.gallery-grid .item:hover img { transform: scale(1.06); }
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* ===== Tabs (admin) ===== */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 1.5rem;
}
.tabs a {
  padding: .65rem 1rem;
  font-weight: 600;
  font-size: .8125rem;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.tabs a.active { color: var(--red-600); border-bottom-color: var(--red-600); }
.tabs a:hover { color: var(--red-700); }

/* ===== Admin layout ===== */
.admin-shell { min-height: 100vh; background: var(--gray-50); }
.admin-header {
  background: #0a0a0a;
  color: #fff;
  padding: 1rem 0;
  margin-bottom: 2rem;
}
.admin-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-header h1 { font-size: 1rem; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.admin-header a { color: #fff; opacity: .85; transition: opacity var(--t-fast); }
.admin-header a:hover { opacity: 1; }

.admin-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-red { color: var(--red-600); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }
.w-full { width: 100%; }

/* News */
.news-meta {
  display: flex; gap: 1rem;
  font-size: .75rem;
  color: var(--gray-500);
  margin-bottom: .5rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.news-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-700);
  white-space: pre-wrap;
}
.news-content p { margin: 0 0 1rem; }

/* Document list */
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .625rem;
  margin-bottom: .65rem;
  gap: 1rem;
  flex-wrap: wrap;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.doc-list li:hover { border-color: var(--gray-300); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.doc-list .info { flex: 1; min-width: 200px; }
.doc-list .info strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--gray-900); }
.doc-list .info small { color: var(--gray-500); font-size: .8125rem; }
.doc-list .actions { display: flex; gap: .5rem; }

/* Filter buttons */
.filter-bar {
  display: flex; gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-bar .btn {
  min-width: 7rem;
  background: #fff;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.filter-bar .btn:hover { border-color: var(--gray-300); color: var(--gray-900); }
.filter-bar .btn.active {
  background: var(--red-600);
  color: #fff;
  border-color: var(--red-600);
  box-shadow: 0 4px 12px rgba(220,38,38,.25);
}

/* Athlete card */
.athlete-card {
  background: #fff;
  border-radius: .75rem;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.athlete-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}
.athlete-card .photo { aspect-ratio: 1; background: var(--gray-100); position: relative; overflow: hidden; }
.athlete-card .photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.athlete-card:hover .photo img { transform: scale(1.05); }
.athlete-card .info { padding: 1rem; }
.athlete-card .info h3 { margin: 0 0 .25rem; font-size: .9375rem; font-weight: 700; letter-spacing: -.01em; color: var(--gray-900); }
.athlete-card .info .sub { color: var(--gray-500); font-size: .75rem; margin: 0; font-weight: 500; }

/* ===== Animations ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-12px, 14px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .55s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ===== Cookie consent (LGPD) ===== */
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  background: #0a0a0a;
  color: #f4f4f5;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: .875rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  padding: 1.1rem 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  max-width: 920px;
  margin: 0 auto;
}
.cookie-consent.show { opacity: 1; transform: translateY(0); }
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}
.cookie-text strong {
  display: block;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: .35rem;
  color: #fff;
}
.cookie-text p {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.55;
  color: #a1a1aa;
}
.cookie-actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.cookie-actions .btn { flex: 1; }
.cookie-actions .cookie-reject {
  color: #d4d4d8;
  border-color: rgba(255,255,255,.25);
}
.cookie-actions .cookie-reject:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
@media (min-width: 768px) {
  .cookie-consent { padding: 1.25rem 1.5rem; }
  .cookie-inner { flex-direction: row; align-items: center; gap: 1.5rem; }
  .cookie-actions { flex: 0 0 auto; }
  .cookie-actions .btn { flex: 0 0 auto; min-width: 7rem; }
}

/* Print-safe */
@media print {
  .header, .footer, .cta-banner, .cookie-consent { display: none; }
}
