/* ==========================================================================
   WinSolution - Design System & Stylesheet
   ========================================================================== */

/* Base & Shell Tokens */
:root {
  color-scheme: light dark;
  --accent: #E8491D;
  --accent-grad-start: #FF6B35;
  --accent-grad-end: #E8491D;
  --accent-contrast: #FFFFFF;
  --accent-text: #B9300B;
  --text-main: #3A3F44;
  --text-sub: #545B61;
  --dark-bg: #23272B;
  --dark-card: #2C3237;
  --dark-border: #3D444A;
  --light-bg: #FFFFFF;
  --light-surface: #F8F9FA;
  --light-border: #E5E7EB;
  --bg: #f8f9fb;
  --surface: #ffffff;
  --text: #14171f;
  --text-muted: #5b6472;
  --border: rgba(20, 23, 31, 0.10);
  --radius: 10px;
  --shadow: 0 1px 3px rgba(20, 23, 31, 0.08);
  --space: 16px;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    --accent-text: color-mix(in srgb, var(--accent) 78%, #fff);
    --bg: #101318;
    --surface: #181c23;
    --text: #eef1f6;
    --text-muted: #9aa4b2;
    --border: rgba(238, 241, 246, 0.12);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }
}

:root:where([data-theme="dark"]) {
  color-scheme: dark;
  --accent-text: color-mix(in srgb, var(--accent) 78%, #fff);
  --bg: #101318;
  --surface: #181c23;
  --text: #eef1f6;
  --text-muted: #9aa4b2;
  --border: rgba(238, 241, 246, 0.12);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

:root:where([data-theme="light"]) { 
  color-scheme: light; 
}

/* Reset & Global */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text-main);
  background-color: var(--light-bg);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

/* Shell Layout Utilities */
.shell-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.shell-section {
  padding: calc(var(--space) * 2) 0;
}
.shell-grid {
  display: grid;
  gap: var(--space);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.shell-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: var(--space);
}
.shell-footer {
  padding: 24px 0 40px;
  color: var(--text-muted);
  font-size: 13px;
}

.shell-hero {
  padding: calc(var(--space) * 3) 0 calc(var(--space) * 2);
}
.shell-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 10px;
  text-wrap: balance;
}
.shell-hero p {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space);
}

.kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi .kpi-value {
  font-size: 28px;
  font-weight: 650;
  line-height: 1.1;
}
.kpi .kpi-label {
  font-size: 13px;
  color: var(--text-muted);
}
.kpi .kpi-delta {
  font-size: 12.5px;
  font-weight: 600;
}
.kpi .kpi-delta.up { color: #0a8f3c; }
.kpi .kpi-delta.down { color: #cf3131; }

table.shell-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
table.shell-table th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
table.shell-table th, table.shell-table td {
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--border);
}
table.shell-table td.num, table.shell-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
table.shell-table tbody tr:hover {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.chart-box {
  width: 100%;
  min-height: 220px;
}
.chart-box svg {
  width: 100%;
  height: auto;
  display: block;
}

.muted { color: var(--text-muted); }
.accent { color: var(--accent-text); }
.shell-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-text);
}

@media (prefers-reduced-motion: no-preference) {
  .shell-fade { animation: shell-fade 400ms ease both; }
  @keyframes shell-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Utilitários e Tipografia */
.brand-gradient {
  background: linear-gradient(135deg, var(--accent-grad-start), var(--accent-grad-end));
}
.brand-text-grad {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent-grad-start), var(--accent-grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header Fixo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-border);
  transition: all 0.2s ease;
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
@media (min-width: 768px) {
  .header-inner {
    padding: 0.85rem 1.25rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}
.brand-header-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-wordmark {
  display: block;
  height: 52px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .brand-wordmark {
    height: 52px;
  }
}
.logo-solution-text {
  fill: #3A3F44;
}
.brand-sub-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.2;
}
.brand-slogan-text {
  font-size: 0.74rem;
  font-weight: 400;
  color: #545B61;
  letter-spacing: -0.1px;
}
@media (min-width: 768px) {
  .brand-slogan-text {
    font-size: 0.8rem;
  }
}
.brand-endorsement-header {
  display: none;
  font-size: 0.72rem;
  font-weight: 500;
  color: #6B7280;
}
@media (min-width: 768px) {
  .brand-endorsement-header {
    display: inline;
  }
}
.header-cta-wrap {
  width: 100%;
}
.header-cta-wrap .btn-brand {
  width: 100%;
  white-space: nowrap;
  font-size: 0.86rem;
  padding: 0.58rem 0.85rem;
  box-sizing: border-box;
  text-align: center;
}
@media (min-width: 768px) {
  .header-cta-wrap {
    width: auto;
  }
  .header-cta-wrap .btn-brand {
    width: auto;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
  }
}

/* Botões */
.btn-brand {
  background: linear-gradient(135deg, #FF6B35, #E8491D);
  color: #FFFFFF !important;
  font-weight: 700;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(232, 73, 29, 0.3);
}
.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 73, 29, 0.4);
}
.btn-outline-white {
  background: transparent;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

/* Hero Section (Fundo Escuro) */
.hero-section {
  background-color: var(--dark-bg);
  color: #F1F5F9;
  padding: 4.5rem 1.25rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(232, 73, 29, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.25fr 0.95fr;
  }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.35);
  color: #FF8F6B;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.18;
  color: #FFFFFF;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.8px;
}
@media (min-width: 768px) {
  .hero-title { font-size: 3.1rem; }
}
.hero-desc {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin: 0 0 2rem 0;
  line-height: 1.65;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Card no Hero: Mini simulador / Demonstração amigável */
.hero-card {
  background: #2C3237;
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  position: relative;
}
.hero-card-header {
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
}
.hero-trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.hero-trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 107, 53, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.hero-trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-trust-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}
.hero-trust-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: #34D399;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .hero-trust-badge {
    align-items: center;
  }
  .hero-trust-text {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  .hero-trust-title::after {
    content: "•";
    margin-left: 0.5rem;
    color: #64748B;
    font-weight: 400;
  }
}
.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
}
.hero-card-item:last-child { margin-bottom: 0; }
.hero-card-icon {
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 2px;
}
.hero-card-item strong {
  color: #FFFFFF;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.hero-card-item span {
  color: #94A3B8;
  font-size: 0.82rem;
  line-height: 1.35;
  display: block;
}

/* Faixa de Confiança */
.trust-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--light-border);
  padding: 1.5rem 1.25rem;
}
.trust-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem;
}
.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFF0EB;
  color: #E8491D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.trust-item h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 2px 0;
}
.trust-item p {
  font-size: 0.84rem;
  color: var(--text-sub);
  margin: 0;
}

/* Seções Comuns */
.section-wrap {
  padding: 4.5rem 1.25rem;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-subtitle {
  color: #B9300B;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.6px;
  margin: 0 0 0.85rem 0;
  line-height: 1.25;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--text-sub);
  margin: 0;
}

/* Cards de Serviços */
.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: #FFFFFF;
  border: 1.5px solid var(--light-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: #FFB59E;
  box-shadow: 0 12px 24px rgba(232, 73, 29, 0.08);
}
.service-card.featured {
  border-color: #E8491D;
  box-shadow: 0 8px 24px rgba(232, 73, 29, 0.12);
}
.service-badge-flag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #FF6B35, #E8491D);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #FFF2ED;
  color: #E8491D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}
.service-quote {
  font-size: 0.9rem;
  font-weight: 600;
  color: #B9300B;
  margin-bottom: 0.85rem;
}
.service-text {
  font-size: 0.94rem;
  color: var(--text-sub);
  line-height: 1.55;
  margin: 0 0 1.5rem 0;
}
.service-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  border-top: 1px solid #F1F5F9;
  padding-top: 1rem;
}
.service-benefits li {
  font-size: 0.87rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.service-benefits li::before {
  content: '✓';
  color: #10B981;
  font-weight: 800;
}
.btn-card-action {
  width: 100%;
  background: #F8F9FA;
  color: var(--text-main);
  border: 1px solid #E5E7EB;
  padding: 0.75rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-block;
}
.service-card.featured .btn-card-action,
.btn-card-action:hover {
  background: linear-gradient(135deg, #FF6B35, #E8491D);
  color: #FFFFFF;
  border-color: transparent;
}

/* Narrativa: Do Balcão para a Internet */
.narrative-section {
  background: #F8F9FA;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}
.steps-container {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
    position: relative;
  }
}
.step-card {
  background: #FFFFFF;
  border: 1px solid var(--light-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  position: relative;
}
.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #E8491D);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(232, 73, 29, 0.25);
}
.step-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}
.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #B9300B;
  background: #FFF0EB;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}
.step-card p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.55;
  margin: 0;
}

/* Comparativo Antes vs Agora */
.comparison-banner {
  max-width: 900px;
  margin: 3.5rem auto 0;
  background: #FFFFFF;
  border: 1.5px solid var(--light-border);
  border-radius: 16px;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .comparison-banner {
    grid-template-columns: 1fr 1fr;
  }
}
.comp-col-before {
  border-left: 4px solid #CBD5E1;
  padding-left: 1rem;
}
.comp-col-after {
  border-left: 4px solid #E8491D;
  padding-left: 1rem;
}
.comp-title {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}
.comp-col-before .comp-title { color: #64748B; }
.comp-col-after .comp-title { color: #B9300B; }
.comp-text {
  font-size: 0.92rem;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.5;
}

/* Seção de Objeções (Fundo Escuro #23272B) */
.dark-section {
  background-color: var(--dark-bg);
  color: #F1F5F9;
}
.dark-section .section-title {
  color: #FFFFFF;
}
.dark-section .section-intro {
  color: #CBD5E1;
}
.dark-section .section-subtitle {
  color: #FF8F6B;
}
.objections-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.obj-card {
  background: #2C3237;
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 1.6rem;
  transition: border-color 0.15s ease;
}
.obj-card:hover {
  border-color: rgba(255, 107, 53, 0.45);
}
.obj-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.obj-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 107, 53, 0.18);
  color: #FF8F6B;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.obj-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}
.obj-answer {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin: 0;
  padding-left: 3rem;
}
@media (max-width: 600px) {
  .obj-answer { padding-left: 0; margin-top: 0.5rem; }
}
.obj-highlight-banner {
  max-width: 960px;
  margin: 2rem auto 0;
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.obj-highlight-banner p {
  margin: 0;
  font-size: 1rem;
  color: #F8FAFC;
  font-weight: 600;
}
.obj-highlight-banner strong {
  color: #FF8F6B;
}

/* Depoimento de Cliente */
.testimonial-section {
  background: #FFFFFF;
}
.testimonial-card {
  max-width: 820px;
  margin: 0 auto;
  background: #F8F9FA;
  border: 1px solid var(--light-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  position: relative;
}
.testimonial-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-main);
  font-style: italic;
  margin: 0 0 1.5rem 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFE4DC;
  color: #B9300B;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.author-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}
.author-info p {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* CTA Final */
.cta-section {
  background: linear-gradient(135deg, #1F2428 0%, #2A3036 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 4.5rem 1.25rem;
  border-top: 1px solid #3A3F44;
}
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 1rem;
  letter-spacing: -0.6px;
}
@media (min-width: 768px) {
  .cta-inner h2 { font-size: 2.8rem; }
}
.cta-inner p {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin: 0 0 2rem;
  line-height: 1.6;
}
.cta-inner .btn-brand {
  font-size: 1.05rem;
  padding: 0.95rem 2.2rem;
}
.cta-guarantee {
  margin-top: 1.35rem;
  display: flex;
  justify-content: center;
}
.cta-trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  text-align: left;
}
.cta-trust-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.cta-trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cta-trust-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}
.cta-trust-sub {
  font-size: 0.82rem;
  font-weight: 400;
  color: #CBD5E1;
  line-height: 1.25;
}
@media (min-width: 640px) {
  .cta-trust-badge {
    align-items: center;
  }
  .cta-trust-icon {
    margin-top: 0;
  }
  .cta-trust-text {
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
  }
  .cta-trust-title::after {
    content: "•";
    margin-left: 0.45rem;
    color: #64748B;
    font-weight: 400;
  }
}

/* Rodapé Escuro */
.site-footer {
  background: #171A1D;
  color: #94A3B8;
  border-top: 1px solid #2D3237;
  padding: 3rem 1.25rem 2rem;
  font-size: 0.88rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #292E34;
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}
.footer-brand h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: #FFFFFF;
}
.footer-brand p {
  margin: 0 0 1rem;
  line-height: 1.5;
}
.footer-links h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin: 0 0 1rem;
  font-weight: 700;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: #FFFFFF;
}
.footer-bottom {
  max-width: 1100px;
  margin: 1.75rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  color: #64748B;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Modal de Contato / Simulação */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-main);
  z-index: 10;
  transition: background 0.15s ease;
}

.modal-close:hover {
  background: #E2E8F0;
}

.modal-header {
  flex-shrink: 0;
  padding-bottom: 0.85rem;
  padding-right: 2rem;
  border-bottom: 1px solid var(--light-border);
}

.modal-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0; /* Essencial para que o flexbox respeite a rolagem interna */
}

.modal-body-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0.25rem 0.75rem 0;
  margin-right: -0.25rem;
  /* Scrollbar fina e moderna */
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.modal-body-scroll::-webkit-scrollbar {
  width: 6px;
}
.modal-body-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.modal-body-scroll::-webkit-scrollbar-thumb {
  background-color: #CBD5E1;
  border-radius: 999px;
}

.modal-form label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
}
.modal-form label:first-child {
  margin-top: 0.35rem;
}

.modal-form input, .modal-form select, .modal-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--light-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: #FFFFFF;
}

.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus {
  outline: none;
  border-color: #E8491D;
  box-shadow: 0 0 0 3px rgba(232, 73, 29, 0.15);
}

.modal-footer-fixed {
  flex-shrink: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--light-border);
  margin-top: 0.25rem;
}

/* Print */
@media print {
  .site-header, .btn-brand, .btn-outline-white, .btn-card-action, .modal-backdrop {
    display: none !important;
  }
}
