/* Site institucional Arquiva - variáveis e estilos */
:root {
  --primary: #0066CC;
  --primary-dark: #004C99;
  --primary-light: #EFF6FF;
  --text-main: #111827;
  --text-body: #4B5563;
  --text-light: #9CA3AF;
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFB;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-body);
  line-height: 1.6;
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  margin: 0;
}

.site h1,
.site h2,
.site h3 {
  color: var(--text-main);
  line-height: 1.2;
}

.site h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site h2 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 16px;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  color: white;
}

.btn-outline {
  background-color: white;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrapper {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link-entrar {
  font-weight: 600;
}

.btn-cta-nav {
  padding: 8px 16px;
  font-size: 14px;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at top right, var(--primary-light), transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-placeholder {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Features */
.features {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-label {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.icon-box {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-body);
}

/* Comparison */
.comparison {
  background: var(--bg-light);
  padding: 80px 0;
}

.comparison-wrapper {
  background: var(--bg-white);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comp-col {
  padding: 48px;
}

.comp-bad {
  border-right: 1px solid var(--border);
  background: #FFFBFB;
}

.comp-good {
  background: #F0FDFA;
}

.comp-list {
  list-style: none;
  margin-top: 24px;
  padding: 0;
}

.comp-list li {
  margin-bottom: 16px;
  padding-left: 28px;
  position: relative;
}

.comp-bad .comp-list li::before {
  content: "✕";
  color: #EF4444;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.comp-good .comp-list li::before {
  content: "✓";
  color: #10B981;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.comp-col p {
  font-size: 14px;
}

/* Plans */
#planos {
  scroll-margin-top: 100px;
}

.plans {
  padding: 80px 0;
  background: var(--bg-light);
}

.plans-scroll-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  margin-left: auto;
  margin-right: auto;
  width: 948px;
  max-width: 100%;
  position: relative;
}

.plans-scroll-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.plans-scroll-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.plans-scroll-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.plans-scroll-btn-hidden {
  visibility: hidden;
  pointer-events: none;
}

.plans-grid-wrap {
  flex: 1;
  min-width: 0;
  max-width: 828px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.plans-grid-wrap::-webkit-scrollbar {
  display: none;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, 260px);
  gap: 24px;
  width: max-content;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  padding-top: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.plan-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.plan-card-highlight {
  border-color: var(--primary);
  padding-top: 40px;
}

.plan-card-badge {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #D1FAE5;
  color: #047857;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.plan-card-audience {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.plan-card-name {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text-main);
}

.plan-card-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 20px;
}

.plan-card-price sup {
  font-size: 0.7em;
}

.plan-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 24px;
  text-decoration: none;
  color: white;
}

.plan-card-cta:hover {
  color: white;
}

.plan-card-features {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--text-body);
}

.plan-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.plan-card-features li:last-child {
  margin-bottom: 0;
}

.plan-card-features svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.plan-card-features strong {
  color: var(--text-main);
}

.plans-footnote {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  text-align: center;
}

/* Audience */
.audience {
  padding: 80px 0;
}

.audience-sub {
  margin-top: 16px;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.tag {
  background: white;
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 500;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

/* CTA */
.cta {
  padding: 100px 0;
  background: var(--primary);
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 18px;
}

.btn-white {
  background: white;
  color: var(--primary);
  border: none;
  font-size: 18px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-white:hover {
  background: #f0f0f0;
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--bg-light);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  color: var(--text-main);
}

.footer-brand-sub {
  margin-top: 8px;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-grid,
  .comparison-wrapper {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }

  .comp-bad {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .nav-links {
    display: none;
  }
}
