/* C:\Projetos\crlvbrasil\public\css\style.css
====== NOVO STYLE CSS (TEMA APP MODERNO) ====== */

:root {
  --bg: #f4f6f8; /* Fundo cinza bem claro para dar contraste aos cards brancos */
  --panel: #ffffff;
  --text: #1a1e29;
  --muted: #6b7280;
  
  /* Cores exatas da sua referência */
  --brand-dark: #001f54; /* Azul Marinho (Topo) */
  --brand: #0056e0;      /* Azul Royal Vibrante (Botões) */
  --brand-hover: #0046b8;
  
  --ok: #10b981;
  --err: #ef4444;
  --warn: #f59e0b;
  --border: #e5e7eb;
  
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 8px 24px rgba(0, 86, 224, 0.15); /* Sombra azulada sutil no botão primário */

  --header-h: 64px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: var(--brand); text-decoration: none; font-weight: 500;}
a:hover { color: var(--brand-hover); }

.container { max-width: 600px; margin: 0 auto; padding: 20px; width: 100%; }
main.container { flex: 1 0 auto; display: flex; flex-direction: column; }

/* Tipografia */
.h1, .h2, .h3 { margin: 0 0 12px; font-weight: 700; color: var(--brand-dark); }
.h1 { font-size: 28px; line-height: 1.2;}
.h2 { font-size: 22px; }
.h3 { font-size: 18px; }
.lead { color: var(--muted); font-size: 15px; margin: 0 0 20px; line-height: 1.5; }
.muted { color: var(--muted); }
.text-center { text-align: center; }

/* Cards */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}
.card-body { padding: 24px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px; border-radius: 12px; border: none;
  font-weight: 600; font-size: 16px; cursor: pointer;
  transition: all 0.2s ease; width: 100%;
}
.btn-primary {
  background: #0056e0; color: #fff;
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover {
  background: #0056e0; color: #3af800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.btn-secondary { background: #f3f4f6; color: var(--text); }
.btn-secondary:hover { background: #e5e7eb; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: #f3f4f6; color: var(--text); }

/* Formulários */
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.label { font-weight: 600; font-size: 14px; color: var(--text); }
.input, .select {
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border);
  background: #fafafa; color: var(--text); font-size: 16px; outline: none;
  transition: border-color 0.2s;
}
.input:focus, .select:focus { border-color: var(--brand); background: #fff; }

/* Barra de Etapas (Stepper) */
.stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 10px 0 30px;
  padding: 0 10px;
}
.stepper::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--border);
  z-index: 1;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  position: relative;
  width: 33%;
}
.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.step-label { font-size: 12px; font-weight: 600; color: var(--muted); }

/* Etapa Ativa */
.step.active .step-number {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.step.active .step-label { color: var(--brand); }

/* Elementos Utilitários */
.alert { padding: 14px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; display: flex; gap: 10px;}
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }

/* ====== Cluster de SEO (páginas de UF / conteúdo) ====== */
:root {
  --seo-accent: #bf0a0a;
  --seo-accent-dark: #8b0000;
}

.seo-page { padding: 0 4px; }

.seo-notice {
  background: #fff; color: #050608; padding: 10px 16px; text-align: center;
  font-size: 12px; font-weight: 600; line-height: 1.4;
  margin: -24px -24px 0; width: 100vw; position: relative; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
}
.seo-notice-bar { background: #050608; height: 60px; margin: 0 -24px; width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

.seo-breadcrumb { margin: 18px 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.seo-breadcrumb-text {
  margin: 0; font-size: 12px; color: var(--muted);
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
}
.seo-breadcrumb-text a { color: var(--brand); text-decoration: none; }
.seo-breadcrumb-text a:hover { text-decoration: underline; }
.seo-breadcrumb-sep { color: var(--muted); }
.seo-breadcrumb-current {
  color: var(--brand-dark); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}

.seo-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; background: #fffbeb;
  border: 1px solid #fde68a; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}
.seo-eyebrow i { color: #d97706; font-size: 12px; }
.seo-eyebrow span { font-size: 11px; font-weight: 700; color: #d97706; }

.seo-h1 { font-size: 24px; font-weight: 800; line-height: 1.25; color: var(--brand-dark); margin: 0 0 12px; }
.seo-hero-image { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 16px; margin: 0 0 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.seo-h2 { font-size: 17px; font-weight: 800; color: var(--brand-dark); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.seo-h2 i { color: var(--seo-accent); }
.seo-lead { font-size: 15px; color: #374151; line-height: 1.7; margin: 0 0 20px; }

.seo-alert {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 14px; padding: 16px;
  margin-bottom: 20px; display: flex; gap: 12px; align-items: flex-start;
}
.seo-alert i { font-size: 20px; color: #d97706; flex-shrink: 0; margin-top: 1px; }
.seo-alert strong { display: block; font-size: 14px; font-weight: 700; color: #92400e; margin-bottom: 3px; }
.seo-alert p { font-size: 12px; color: #78350f; line-height: 1.6; margin: 0; }

.seo-cta {
  background: linear-gradient(135deg, var(--seo-accent) 0%, var(--seo-accent-dark) 100%);
  border-radius: 18px; padding: 22px 18px; text-align: center;
}
.seo-cta-eyebrow { font-size: 13px; color: rgba(255,255,255,0.85); margin: 0 0 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.seo-cta h2 { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 14px; line-height: 1.3; }
.seo-cta-checks { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; text-align: left; }
.seo-cta-checks div { display: flex; align-items: center; gap: 8px; }
.seo-cta-checks i { color: #4ade80; font-size: 14px; flex-shrink: 0; }
.seo-cta-checks span { font-size: 13px; color: #fff; }
.seo-cta-btn { display: block; background: #fff; color: var(--seo-accent); font-size: 17px; font-weight: 800; padding: 15px; border-radius: 12px; text-decoration: none; }
.seo-cta-note { font-size: 11px; color: rgba(255,255,255,0.7); margin: 10px 0 0; }

.seo-list-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 12px; }
.seo-list-item.ok { background: #f0fdf4; border-left: 3px solid #22c55e; }
.seo-list-item.ok i { color: #16a34a; }
.seo-list-item.ko { background: #fef2f2; border-left: 3px solid #ef4444; }
.seo-list-item.ko i { color: #dc2626; }
.seo-list-item i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.seo-list-item strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.seo-list-item.ok strong { color: #14532d; }
.seo-list-item.ko strong { color: #7f1d1d; }
.seo-list-item p, .seo-list-item div > div:last-child { font-size: 12px; line-height: 1.5; margin: 0; }
.seo-list-item.ok p { color: #166534; }
.seo-list-item.ko p { color: #991b1b; }

.seo-refund-note {
  background: #f0fdf4; border: 1px solid #a7f3d0; border-radius: 12px; padding: 14px;
  margin-top: 12px; display: flex; gap: 10px; align-items: center; font-size: 12px; color: #047857; line-height: 1.5;
}
.seo-refund-note i { color: #059669; font-size: 20px; flex-shrink: 0; }

.seo-steps { position: relative; display: flex; flex-direction: column; }
.seo-step { display: flex; gap: 14px; padding-bottom: 20px; }
.seo-step:last-child { padding-bottom: 0; }
.seo-step-num {
  width: 32px; height: 32px; background: var(--seo-accent); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0;
}
.seo-step-num.done { background: #059669; }
.seo-step-title { font-size: 14px; font-weight: 700; color: var(--brand-dark); margin-bottom: 3px; }
.seo-step-text { font-size: 13px; color: var(--muted); line-height: 1.5; }

.seo-faq { margin-bottom: 28px; }
.seo-faq-list { display: flex; flex-direction: column; gap: 10px; }
.seo-faq-item { background: #f8fafc; border-radius: 12px; padding: 14px 16px; border: 1px solid var(--border); }
.seo-faq-item summary { font-size: 14px; font-weight: 700; color: var(--brand-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.seo-faq-item summary i { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.seo-faq-item p { margin: 10px 0 0; font-size: 13px; color: #374151; line-height: 1.6; }

.seo-final-cta { background: #050608; border-radius: 18px; padding: 24px 18px; margin-bottom: 32px; text-align: center; }
.seo-final-cta i.seo-final-icon { font-size: 32px; color: var(--seo-accent); margin-bottom: 12px; display: block; }
.seo-final-cta h2 { font-size: 19px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.seo-final-cta p { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0 0 18px; line-height: 1.5; }
.seo-final-cta .seo-cta-btn { background: var(--seo-accent); color: #fff; margin-bottom: 10px; }
.seo-final-cta .seo-cta-note { color: rgba(255,255,255,0.5); }

.seo-trust-block { border: 1px solid var(--border); border-radius: 14px; padding: 16px; margin: 8px 0 24px; }
.seo-trust-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.seo-trust-row i { color: #059669; font-size: 18px; margin-top: 2px; }
.seo-trust-row strong { display: block; font-size: 13px; color: var(--brand-dark); }
.seo-trust-row span { font-size: 12px; color: var(--muted); }
.seo-trust-disclaimer { font-size: 11px; color: var(--muted); line-height: 1.6; margin: 0; }

.seo-related-card { border-radius: 14px; border: 1px solid #e2e8f0; margin-bottom: 32px; box-shadow: none; }
.seo-related-title { font-size: 13px; font-weight: 700; color: var(--brand-dark); margin: 0 0 10px; }
.seo-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.seo-related-all { font-size: 13px; font-weight: 700; color: var(--seo-accent); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.seo-related-grid a { font-size: 13px; color: var(--seo-accent); text-decoration: none; display: flex; align-items: center; gap: 6px; }

@media (max-width: 480px) {
  .seo-related-grid { grid-template-columns: 1fr; }
}
.visually-hidden { position: absolute; left: -9999px; }