/* Liga Aracruzense — tema contemporâneo: verde-petróleo, esmeralda e superfícies suaves. */
:root {
  color-scheme: light;
  --background: #edf3f0;
  --foreground: #203a34;
  --card: #f5f8f6;
  --card-foreground: #203a34;
  --popover: #f4f8f5;
  --popover-foreground: #203a34;
  --primary: #12805b;
  --primary-foreground: #f6fff9;
  --secondary: #e2ece7;
  --secondary-foreground: #24473b;
  --muted: #e7efeb;
  --muted-foreground: #60736b;
  --accent: #d1eee1;
  --accent-foreground: #086846;
  --border: #c4d5cc;
  --input: #d7e4dd;
  --ring: #29b87d;
}
html { min-height: 100%; background: #edf3f0; color: #203a34; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% -18%, #d4e9df 0, #edf3f0 45%, #e4ede8 100%) fixed !important;
  color: #203a34 !important;
}
main, footer, .wrap, .shell { color: #203a34 !important; }
a { color: #087a56; }
a:hover { color: #075d43; }
.site-header {
  background: linear-gradient(115deg, #123b36f5, #19584af5 58%, #17413bf5) !important;
  border-bottom: 1px solid #4cb98b !important;
  box-shadow: 0 7px 24px #143d301f, inset 0 1px #ffffff22 !important;
}
.site-header .brand-copy strong { color: #f3fbf6 !important; text-shadow: 0 1px #183e35, 0 2px 8px #001b1644 !important; }
.site-header .brand-copy span { color: #b5dfca !important; }
.site-header .header-left-actions, .site-header .main-nav { display: none !important; }
.hero {
  position: relative !important;
  min-height: 0 !important;
  padding: 38px 0 34px !important;
  overflow: hidden !important;
  color: #f4fbf7 !important;
  background: linear-gradient(118deg, #123c37 0%, #176453 48%, #1b705b 100%) !important;
  border-color: #32856b !important;
  box-shadow: 0 16px 40px #17453620 !important;
}
.hero:before {
  background: radial-gradient(circle at 82% 18%, #74e4b34d 0, transparent 27%), radial-gradient(circle at 16% 76%, #5db8a42e 0, transparent 34%), linear-gradient(118deg, #123c37, #176453 48%, #1b705b) !important;
  opacity: 1 !important;
}
.hero:after { color: #c0f4d31b !important; }
.hero-grid { gap: 12px !important; }
.hero-grid > div:first-child {
  background: linear-gradient(145deg, #174940e8, #1a5a4de8 58%, #16453de8) !important;
  border: 1px solid #64bb9780 !important;
  border-radius: 22px !important;
  box-shadow: inset 0 1px #ffffff20, 0 16px 42px #082a222f !important;
}
.hero .eyebrow, .hero-grid .eyebrow {
  color: #a8f0ca !important;
  text-shadow: 0 1px #123a31 !important;
  letter-spacing: .16em !important;
}
.hero h1, .hero h2 { color: #f4fbf7 !important; }
.hero h1.hero-title-metal {
  color: transparent !important;
  background: linear-gradient(180deg, #f4fcf8 0%, #c6e8d7 28%, #effaf4 46%, #73d7ab 68%, #f0fbf5 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 2px 0 #0a3028, 0 5px 18px #072b2444 !important;
  filter: drop-shadow(0 4px 8px #08261f44) !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.hero h1.hero-title-metal:before, .hero h1.hero-title-metal:after { content: none !important; display: none !important; }
.hero h1.hero-title-metal em {
  color: transparent !important;
  background: linear-gradient(180deg, #e9fff3, #8de8bb 48%, #35b77e 82%, #d8f8e5) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-style: normal !important;
}
.hero p { color: #d8ebe1 !important; }
.section, .section-header { color: #203a34 !important; }
.section { padding-top: 30px !important; padding-bottom: 30px !important; }
.section h2, .admin-heading h1 { color: #20463a !important; }
.section-kicker, .badge { color: #12805b !important; }
.panel, .card, .item, .row, .competition-card, .schedule-event-card,
.other-competition-card, .team-card, .audit-card, .news-card, .gallery-card,
.registration-card, .content-page-editor, .content-manager-intro, .admin-side,
.sheet-wrap, .box, .empty, .about-identity, .about-facts div, .value-card,
.board-card, .institutional-card, .partner-grid article, .stats-kpis article,
.stats-panel, .audit-competition-card, .audit-report-card, .audit-signature-card,
.transparency-single, .athlete-category-grid article, .podium-panel, .athlete-card,
.group-schedule, .round-card, .bracket-stage, .group-overview-card, .game-list-card,
.kpi, .planned-table, .bracket-match, .historical-stats-panel,
.historical-stat-cards article, .historical-champion-grid > div, .accountability-card,
.historical-runners-up-card, .governance-notice, .content-save-bar, .schedule-home-section {
  background: linear-gradient(145deg, #f7faf8, #eaf2ed 58%, #f2f7f4) !important;
  color: #263f36 !important;
  border-color: #c4d8cc !important;
  box-shadow: inset 0 1px #ffffffc9, 0 10px 28px #244c3914 !important;
}
.panel-title, .section-header { color: #23473b !important; }
.panel p, .card p, .item p, .row p, .section-intro, .muted,
.registration-note, label { color: #5b7066 !important; }
button, .btn, .schedule-year-tab {
  background: linear-gradient(145deg, #e9f1ec, #dce9e1 58%, #edf4f0) !important;
  color: #244b3d !important;
  border: 1px solid #b7cfc1 !important;
  box-shadow: inset 0 1px #ffffffc9, 0 4px 12px #1d483512 !important;
}
.btn-primary, button.btn-primary, button.green, .btn:not(.btn-ghost) {
  background: linear-gradient(135deg, #28bd82, #0c8059 60%, #35a879) !important;
  color: #f5fff9 !important;
  border: 1px solid #4ac993 !important;
  box-shadow: inset 0 1px #ffffff65, 0 5px 16px #0e805936 !important;
}
.btn-ghost, .sport-chip, .tab, .admin-side-link, .schedule-year-tab {
  background: linear-gradient(145deg, #e9f1ec, #dce9e1) !important;
  color: #36584a !important;
  border-color: #c0d4c8 !important;
}
.btn-ghost:hover, .sport-chip:hover, .sport-chip.active, .tab.active,
.admin-side-link.active, .schedule-year-tab.active {
  background: linear-gradient(135deg, #c4ecd6, #8bdab0) !important;
  color: #124b34 !important;
  border-color: #59bd89 !important;
}
.danger, button.danger { background: linear-gradient(135deg, #c96c68, #a84b50) !important; color: #fff !important; border-color: #d78c84 !important; }
input, select, textarea, .form-control {
  background: linear-gradient(145deg, #f7faf8, #eaf2ed) !important;
  color: #203a34 !important;
  border: 1px solid #bfd4c7 !important;
}
input::placeholder, textarea::placeholder { color: #788d82 !important; }
input:focus, select:focus, textarea:focus, .form-control:focus { border-color: #29af78 !important; box-shadow: 0 0 0 3px #26ad7728 !important; }
.ok, .success, .published-status { background: #d8f2e2 !important; color: #155d3d !important; border: 1px solid #a9dabc !important; }
.alert, .error, .err { background: #f9e7e3 !important; color: #863f3f !important; border: 1px solid #e6bbb2 !important; }
.site-footer { background: linear-gradient(110deg, #153e37, #1a5a4b) !important; color: #d0e8dc !important; border-top: 1px solid #4b9a7a !important; }
.schedule-year-heading { background: linear-gradient(120deg, #e5f1ea, #d9e9df) !important; border-color: #bfd4c7 !important; color: #23473b !important; }
.schedule-date, .schedule-status { color: #0d855c !important; }
.schedule-date span, .schedule-meta, .schedule-event-info small { color: #667c71 !important; }
.schedule-empty { background: #e8f1eb !important; border-color: #c3d8ca !important; color: #536a5d !important; }
.mega-area-panel { background: #123b32f5 !important; border-color: #4ab78a !important; box-shadow: 0 14px 32px #143b302b !important; }
.mega-area-panel a { background: linear-gradient(145deg, #1b5043, #164337) !important; color: #eef9f2 !important; border-color: #3f8e70 !important; }
.mega-area-panel a:hover { background: linear-gradient(145deg, #23785a, #18553f) !important; color: #fff !important; }
/* Neutraliza superfícies brancas e cinzas herdadas dos componentes antigos. */
.bg-white, .bg-white\/80, .main-nav a, .quick-links a, .loading-progress,
.about-identity, .about-facts div, .value-card, .board-badge, .statutory-members span,
.board-card, .audit-seal, .audit-steps article, .institutional-mark, .institutional-card,
.gallery-albums article, .partner-grid article, .stats-kpis article, .stats-panel,
.audit-competition-card, .audit-detail-kpis article, .audit-report-card,
.audit-signature-card, .transparency-single, .athlete-category-grid article,
.podium-panel, .sport-chip, .competition-card, .status-pill.live, .empty-state,
.blueprint-kpis > div, .league-rounds-grid .round-card, .admin-select-row.selected,
.standings tbody td, .standings tbody tr:first-child td, .group-overview-card li,
.game-list-row:hover, .bracket-match > div, .audit-upload-preview img,
.audit-published-image img, .historical-stat-cards article, .historical-champion-grid > div,
.accountability-card, .historical-runners-up-card, .governance-notice {
  background-color: #edf4f0 !important;
  color: #2d493d !important;
  border-color: #c5d9cc !important;
}
.box, .empty { background: linear-gradient(145deg, #f7faf8, #eaf2ed) !important; color: #263f36 !important; border: 1px solid #c4d8cc !important; }
.sheet-wrap, .sheet, table.roster td[contenteditable="true"] { background: #f8fbf9 !important; color: #203a34 !important; border-color: #8ea99a !important; }
.sheet *, table.roster { color: inherit; }
.sheet input, .sheet textarea, .sheet select { background: #f2f7f4 !important; color: #203a34 !important; }
[style*="background:#fff"], [style*="background: #fff"], [style*="background-color:#fff"],
[style*="background:white"], [style*="background: white"], [style*="background-color:white"] {
  background: linear-gradient(145deg, #f7faf8, #eaf2ed 58%, #f2f7f4) !important;
  color: #263f36 !important;
  border-color: #c4d8cc !important;
}
.universal-actions, .hero-secondary-actions { display: none !important; }
@media (max-width: 700px) {
  .hero { padding: 30px 0 26px !important; }
  .hero h1.hero-title-metal { font-size: clamp(46px, 13vw, 72px) !important; }
  .section { padding-top: 22px !important; padding-bottom: 22px !important; }
  .schedule-event-card { grid-template-columns: 72px 1fr !important; gap: 8px !important; padding: 12px !important; }
  .schedule-status { grid-column: 2; }
  .schedule-year-heading { padding: 10px 12px; }
}
@media print {
  html, body { background: #fff !important; color: #111 !important; }
  .site-header, .mega-area-menu, .site-footer, .no-print { display: none !important; }
  .sheet, .sheet-wrap, table, th, td { background: #fff !important; color: #111 !important; box-shadow: none !important; }
}


/* Ajustes finais solicitados na nova base do site. */
.hero-grid > div:first-child{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
.back-home-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:max-content!important;max-width:calc(100% - 24px)!important;margin:12px auto!important;padding:8px 13px!important;border:1px solid #54b98a!important;border-radius:9px!important;background:linear-gradient(145deg,#edf8f1,#d6ecdf)!important;color:#146345!important;font:800 12px Arial,sans-serif!important;text-decoration:none!important;box-shadow:inset 0 1px #fff,0 4px 12px #17453620!important}.back-home-link:hover{background:linear-gradient(145deg,#d9f2e3,#b4e2c6)!important;color:#084d34!important}
@media(max-width:700px){html,body{max-width:100%;overflow-x:hidden!important}.site-header{overflow:visible!important}.site-header .header-inner{display:flex!important;flex-wrap:wrap!important;align-items:center!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow:visible!important;padding-left:8px!important;padding-right:8px!important}.site-header .brand{flex:0 0 100%!important;min-width:0!important;justify-content:center!important}.site-header .mega-area-menu{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;gap:3px!important;margin:4px 0 6px!important;padding:0!important;overflow:visible!important}.site-header .mega-area{min-width:0!important;width:100%!important}.site-header .mega-area-toggle{min-width:0!important;width:100%!important;min-height:30px!important;height:30px!important;padding:3px 2px!important;font-size:7px!important;letter-spacing:0!important;white-space:normal!important;line-height:1!important;overflow:hidden!important}.site-header .mega-area-panel{position:fixed!important;top:102px!important;left:8px!important;right:8px!important;width:auto!important;max-width:none!important;box-sizing:border-box!important}.back-home-link{font-size:11px!important;margin:8px auto!important}}


/* Ajustes finais de identidade, retorno e cabeçalho mobile. */
.site-footer,.site-footer *,.site-footer .footer-inner,.site-footer .footer-brand{color:#fff!important}
.site-footer a{color:#fff!important}
.back-home-link{position:fixed!important;right:16px!important;bottom:16px!important;z-index:9999!important;margin:0!important;padding:7px 10px!important;border-radius:999px!important;font-size:10px!important;line-height:1!important;opacity:.94!important;background:linear-gradient(145deg,#e9f7ee,#c6e7d3)!important;color:#146345!important;box-shadow:0 5px 18px #102f2580,inset 0 1px #fff!important}
.back-home-link:hover{opacity:1!important;transform:translateY(-1px)!important}
@media(max-width:700px){.site-header .brand{display:flex!important;flex:0 0 100%!important;justify-content:center!important;align-items:center!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important}.site-header .brand-copy{text-align:center!important}.site-header .brand img{display:block!important}.back-home-link{right:10px!important;bottom:10px!important;padding:6px 9px!important;font-size:9px!important}}
