/*
 * landing-public.css — SHIAI UI System F5A
 * CSS específico da landing page pública (atletas/landing.html).
 *
 * IMPORTANTE — ordem de carregamento: este arquivo é extraído do primeiro
 * bloco <style> do template, que carregava ANTES de theme.css. Para não
 * alterar a cascata (e portanto a aparência), ele continua sendo
 * carregado ANTES de theme.css. O segundo bloco (que carregava DEPOIS de
 * theme.css) foi extraído separadamente para landing-public-late.css,
 * mantendo sua posição relativa. Ver §2 do relatório da F5A sobre por que
 * theme.css não foi removido nesta fase.
 */

:root {
  --shiai-blue: #1E3A8A;
  --shiai-blue-dark: #0D1B3D;
  --shiai-red: #D32F2F;
  --shiai-red-dark: #B71C1C;
  --shiai-gray: #E6E8EB;
  --shiai-white: #FFFFFF;
  --shiai-text: #0D1B3D;
  --shiai-text-muted: #4A5568;
  --font-display: 'Exo 2', sans-serif;
  --font-body: 'Inter', sans-serif;
  --primary: var(--shiai-blue-dark);
  --accent: var(--shiai-red);
  --accent-dark: var(--shiai-red-dark);
  --bg-soft: #f6f7f9;
}

body {
  font-family: var(--font-body);
  color: var(--shiai-text);
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.navbar-brand {
  color: var(--shiai-blue-dark) !important;
  text-decoration: none;
}

.landing-logo {
  display: block;
  height: 42px;
  object-fit: contain;
  width: auto;
}

.navbar-brand span {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--shiai-blue-dark) !important;
  font-size: 1.1rem;
}

.navbar-brand:hover {
  color: var(--shiai-blue-dark) !important;
}

.navbar-brand:hover span {
  color: var(--shiai-blue-dark) !important;
}

.navbar .nav-link {
  border-left: 0 !important;
  border-radius: 6px;
  color: var(--shiai-blue-dark) !important;
  font-weight: 700;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link:focus-visible {
  background: rgba(30, 58, 138, 0.08);
  color: var(--shiai-blue-dark) !important;
  outline: 2px solid rgba(30, 58, 138, 0.35);
  outline-offset: 2px;
}

.navbar .nav-link::selection,
.navbar .nav-link *::selection {
  background: #dbeafe;
  color: var(--shiai-blue-dark);
  -webkit-text-fill-color: var(--shiai-blue-dark);
}

.navbar .nav-link::-moz-selection,
.navbar .nav-link *::-moz-selection {
  background: #dbeafe;
  color: var(--shiai-blue-dark);
}

.btn-primary-custom {
  background: var(--shiai-blue);
  border: 1px solid var(--shiai-blue);
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.btn-primary-custom:hover {
  background: var(--shiai-blue-dark);
  border-color: var(--shiai-blue-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline-custom {
  border: 2px solid #e5e7eb;
  background-color: transparent;
  border-radius: 6px;
  color: var(--shiai-blue-dark) !important;
  font-weight: 600;
}

.btn-outline-custom:hover {
  border-color: var(--shiai-red);
  color: var(--shiai-red) !important;
  background-color: rgba(211, 47, 47, 0.06);
}

/* Ajuste para botão outline no hero (fundo escuro) */
.hero .btn-outline-custom {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
}

.hero .btn-outline-custom:hover {
  border-color: var(--shiai-red);
  background-color: rgba(211, 47, 47, 0.18);
  color: #ffffff !important;
}

.btn-access-system {
  background: var(--shiai-blue-dark);
  border: 1px solid var(--shiai-blue-dark);
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(17,24,39,0.25);
}

.btn-access-system:hover {
  background: var(--shiai-blue);
  border-color: var(--shiai-blue);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 35px rgba(17,24,39,0.35);
}

.hero {
  background: var(--shiai-blue-dark);
  color: #f9fafb;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  background: rgba(13, 27, 61, 0.9);
  border-radius: 8px;
  border: 1px solid rgba(249,250,251,0.12);
  padding: 6px 14px;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.22);
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero-highlight {
  color: var(--accent);
}

.hero-img-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--shiai-blue-dark);
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  font-weight: 600;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--shiai-blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.pricing-card {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(15,23,42,0.08);
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  transform: translateY(-6px);
}

.badge-popular {
  background-color: rgba(211, 47, 47, 0.12);
  color: var(--shiai-red);
  border-radius: 8px;
  font-size: 0.7rem;
  padding: 2px 10px;
  font-weight: 600;
}

.competitors-card {
  border-radius: 8px;
  background: var(--shiai-blue-dark);
  color: #e5e7eb;
  border: 1px solid rgba(148,163,184,0.4);
}

.competitors-card,
.competitors-card h2,
.competitors-card p,
.competitors-card li {
  color: #f8fafc !important;
}

.competitors-card .section-label {
  color: var(--shiai-red) !important;
}

.faq-item {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.floating-whatsapp {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
}

.floating-whatsapp a {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--shiai-red);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(211,47,47,0.45);
  font-size: 1.7rem;
  text-decoration: none;
}

.floating-whatsapp a:hover {
  background: var(--shiai-red-dark);
  transform: translateY(-1px);
}

footer {
  border-top: 1px solid #e5e7eb;
  background-color: #f9fafb;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .navbar,
html[data-theme="dark"] footer {
  background: #0b1120 !important;
  color: #f8fafc !important;
  border-color: #243044 !important;
}

html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .pricing-card {
  background: #111827 !important;
  color: #f8fafc !important;
  border-color: #243044 !important;
}

html[data-theme="dark"] .navbar-brand span,
html[data-theme="dark"] .navbar-brand,
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h5,
html[data-theme="dark"] p,
html[data-theme="dark"] li {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .section-label,
html[data-theme="dark"] .text-muted {
  color: #94a3b8 !important;
}

.access-banner {
  background: var(--shiai-blue-dark);
  color: #ffffff;
  padding: 1.5rem 0;
  border-bottom: 3px solid var(--shiai-red);
}

.access-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.access-banner-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.access-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(211, 47, 47, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.icon-token {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  letter-spacing: 0;
  width: 42px;
}

.hero-mockup {
  background: var(--shiai-blue-dark);
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 8px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.mockup-topbar {
  align-items: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  display: flex;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
}

.mockup-dot {
  background: #64748b;
  border-radius: 8px;
  height: 9px;
  width: 9px;
}

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-body {
  padding: 1rem;
}

.mockup-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mockup-title {
  color: #f8fafc;
  font-weight: 800;
  margin: 0;
}

.mockup-subtitle {
  color: #cbd5e1;
  font-size: 0.82rem;
  margin: 0.2rem 0 0;
}

.mockup-status {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.34);
  border-radius: 8px;
  color: #bbf7d0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.6rem;
  white-space: nowrap;
}

.mockup-metrics {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.mockup-metric,
.mockup-panel,
.screen-card,
.audience-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.mockup-metric {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(148, 163, 184, 0.24);
  padding: 0.75rem;
}

.mockup-metric strong {
  color: #f8fafc;
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.mockup-metric span {
  color: #cbd5e1;
  display: block;
  font-size: 0.72rem;
  margin-top: 0.35rem;
}

.mockup-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.mockup-panel {
  background: rgba(15, 23, 42, 0.74);
  border-color: rgba(148, 163, 184, 0.24);
  padding: 0.9rem;
}

.mockup-panel-title {
  color: #f8fafc;
  font-size: 0.83rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.mockup-row {
  align-items: center;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #dbeafe;
  display: flex;
  font-size: 0.76rem;
  justify-content: space-between;
  padding: 0.55rem 0;
}

.mockup-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.mockup-pill {
  background: rgba(211, 47, 47, 0.16);
  border-radius: 8px;
  color: #fecaca;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.45rem;
}

.audience-card,
.screen-card {
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  height: 100%;
  padding: 1.35rem;
}

.audience-card h5,
.screen-card h5 {
  font-weight: 800;
}

.screen-preview {
  background: #0f172a;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  padding: 0.8rem;
}

.screen-preview-bar {
  background: #1e293b;
  border-radius: 8px;
  height: 9px;
  margin-bottom: 0.6rem;
  width: 56%;
}

.screen-preview-line {
  background: rgba(148, 163, 184, 0.42);
  border-radius: 8px;
  height: 8px;
  margin-top: 0.45rem;
}

.screen-preview-line.short { width: 52%; }
.screen-preview-line.medium { width: 76%; }

.value-card,
.pain-card,
.flow-card,
.comparison-card,
.proof-card,
.authority-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  height: 100%;
  padding: 1.35rem;
}

.pain-card {
  border-left: 4px solid var(--shiai-red);
}

.flow-card {
  position: relative;
}

.flow-number {
  align-items: center;
  background: var(--shiai-blue-dark);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 800;
  height: 36px;
  justify-content: center;
  margin-bottom: 0.85rem;
  width: 36px;
}

.comparison-card.before { border-top: 4px solid #ef4444; }
.comparison-card.after { border-top: 4px solid #22c55e; }

.check-list,
.x-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li,
.x-list li {
  margin-bottom: 0.65rem;
  padding-left: 1.55rem;
  position: relative;
}

.check-list li::before,
.x-list li::before {
  font-weight: 900;
  left: 0;
  position: absolute;
  top: 0;
}

.check-list li::before { color: #16a34a; content: "\2713"; }
.x-list li::before { color: var(--shiai-red); content: "\00d7"; }

.cta-panel {
  background: var(--shiai-blue-dark);
  border-radius: 8px;
  color: #ffffff;
  padding: 2rem;
}

.cta-panel p,
.cta-panel h2 {
  color: #ffffff !important;
}

.proof-placeholder {
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #64748b;
  font-size: 0.86rem;
  padding: 1rem;
}

.proof-insight {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  height: 100%;
  padding: 1.25rem;
}

.proof-quote {
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.proof-author {
  color: #1d4ed8;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.proof-kicker {
  color: #64748b;
  font-size: 0.82rem;
  margin-bottom: 0;
}

/* ── Operação real (SHIAI UI System F5A — nova seção) ──────────────── */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
}
.ops-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  height: 100%;
  padding: 1.1rem 1.25rem;
  text-align: center;
}
.ops-card .ops-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--shiai-blue-dark);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.ops-card h6 { font-weight: 800; margin-bottom: 0.35rem; }
html[data-theme="dark"] .ops-card {
  background: #111827 !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}
