/* ============================================================
   MAARTORI — Componentes
   Biblioteca compartilhada por todas as páginas.
   ============================================================ */

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: var(--text-body-sm); font-weight: 500;
  padding: 14px 28px; border-radius: var(--radius-full);
  border: 2px solid transparent; cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
  white-space: nowrap;
}
.btn i { font-size: 18px; }
.btn:hover { transform: scale(1.03); }

/* Primário — CTA de conversão (acento dourado, uso restrito) */
/* CTA primário: sage sólido com texto branco (sage-d garante contraste AA) */
.btn-primary { background: var(--sage-d); color: var(--white); border-color: var(--sage-d); }
.btn-primary:hover { background: var(--sage); border-color: var(--sage); transform: scale(1.04); }
.btn-primary:active { background: #454e30; border-color: #454e30; }

/* Outline — CTA padrão da skill: borda 2px dourada, texto herda o contexto */
.btn-outline { background: transparent; border-color: var(--accent); color: inherit; }
.btn-outline:hover { background: var(--accent-15); }

/* Ghost — ações secundárias discretas */
.btn-ghost { background: transparent; border-color: rgba(107,107,107,0.3); color: inherit; }
.btn-ghost:hover { border-color: var(--gray-700); }
.bg-deep .btn-ghost { border-color: rgba(255,255,255,0.2); }
.bg-deep .btn-ghost:hover { border-color: rgba(255,255,255,0.45); }

/* Dark — sobre fundo claro */
.btn-dark { background: var(--deep); color: var(--white); border-color: var(--deep); }
.btn-dark:hover { background: var(--gray-700); border-color: var(--gray-700); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; white-space: normal; }  /* full-width pode quebrar linha (evita overflow em mobile) */

/* ============ ANNOUNCEMENT BAR ============ */
.announcement {
  background: var(--deep); color: var(--on-dark-secondary);
  padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  position: relative; font-size: 13px;
  border-bottom: var(--border-on-dark);
}
.announcement.hidden { display: none; }
.announcement strong { color: var(--white); font-weight: 500; }
.announcement .ann-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.announcement a {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--accent); color: var(--white);
  font-size: 12px; font-weight: 500; padding: 3px 12px;
  border-radius: var(--radius-full); white-space: nowrap;
  transition: background 0.15s;
}
.announcement a:hover { background: var(--accent-15); }
.ann-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: var(--radius-sm);
  background: transparent; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.15s;
}
.ann-close:hover { color: var(--white); }

/* ============ NAVBAR ============ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  border-bottom: var(--border-divider);
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 var(--gutter); gap: 8px;
}
.nav-logo {
  font-weight: 700; font-size: 19px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--deep); margin-right: 32px; flex-shrink: 0;  /* grafite sobre navbar clara */
}
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 500; color: var(--muted);
  background: transparent; border: none;
  transition: color 0.15s, background 0.15s; white-space: nowrap;
}
.nav-link:hover { color: var(--deep); background: var(--surface); }
.nav-link[aria-current="page"] { color: var(--deep); box-shadow: inset 0 -2px 0 var(--accent); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.nav-link .chevron { font-size: 13px; color: var(--gray-300); transition: transform 0.2s; }

.nav-dd-wrap { position: relative; }
.nav-dd-wrap.open .chevron { transform: rotate(180deg); color: var(--accent); }
.nav-dd {
  display: none; position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--white); border: var(--border-divider);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-hover);
  min-width: 580px; padding: 20px;
  grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.nav-dd-wrap.open .nav-dd { display: grid; }
.nav-dd-col-title {
  font-size: var(--text-label); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-300); padding: 4px 10px 8px;
}
.nav-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--radius-md);
  transition: background 0.12s;
}
.nav-dd-item:hover { background: var(--surface); }
.nav-dd-icon {
  width: 32px; height: 32px; border-radius: var(--radius-md);
  background: var(--surface); display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--muted); flex-shrink: 0; transition: all 0.12s;
}
.nav-dd-item:hover .nav-dd-icon { background: var(--accent-15); color: var(--accent-dark); }
.nav-dd-label { font-size: 13px; font-weight: 500; color: var(--gray-700); }
.nav-dd-sub { font-size: 11px; color: var(--gray-300); }

.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }

.nav-icon-btn {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  border: var(--border-divider); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--muted); transition: all 0.15s;
}
.nav-icon-btn:hover { border-color: var(--accent); color: var(--accent-dark); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--deep); color: var(--white);
  font-size: 13px; font-weight: 500;
  padding: 10px 20px; border-radius: var(--radius-md);
  border: none; transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--gray-700); }

.nav-hamburger {
  display: none; width: 36px; height: 36px; border-radius: var(--radius-md);
  border: var(--border-divider); background: var(--white);
  align-items: center; justify-content: center; font-size: 18px; color: var(--gray-700);
}

/* Seletor de país */
.pais { position: relative; }
.pais-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: var(--border-divider); border-radius: var(--radius-md);
  background: var(--white); font-size: 12px; color: var(--muted); transition: border-color 0.15s;
}
.pais-btn:hover, .pais-btn[aria-expanded="true"] { border-color: var(--accent); }
.pais-flag { font-size: 15px; line-height: 1; }
.pais-nome { font-size: 12px; font-weight: 500; }
.pais-dd {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white); border: var(--border-divider); border-radius: var(--radius-lg);
  min-width: 230px; z-index: 300; overflow: hidden auto; max-height: 420px;
  box-shadow: var(--shadow-hover);
}
.pais-dd.open { display: block; }
.pais-sec {
  font-size: var(--text-label); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-300); padding: 10px 14px 4px; font-weight: 500;
}
.pais-opt {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 8px 14px; background: none; border: none;
  font-size: 13px; color: var(--gray-700); transition: background 0.1s;
}
.pais-opt:hover { background: var(--surface); }
.pais-opt.ativo { background: var(--accent-15); font-weight: 500; color: var(--deep); }
.pais-idiomas { display: flex; border-top: var(--border-divider); }
.pais-idioma {
  flex: 1; padding: 9px; text-align: center; background: var(--surface); border: none;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-300);
}
.pais-idioma.ativo { background: var(--white); color: var(--accent-dark); font-weight: 500; }

/* Drawer mobile */
.drawer { display: none; position: fixed; inset: 0; z-index: 500; }
.drawer.open { display: block; }
.drawer-overlay { position: absolute; inset: 0; background: rgba(26,28,31,0.55); }
.drawer-panel {
  position: absolute; top: 0; right: 0; width: 310px; max-width: 88vw; height: 100%;
  background: var(--white); overflow-y: auto; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.3s;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: var(--border-divider);
}
.drawer-logo { font-weight: 700; font-size: 16px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--deep); }
.drawer-close {
  width: 32px; height: 32px; border-radius: var(--radius-md);
  border: var(--border-divider); background: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--muted);
}
.drawer-body { padding: 12px; flex: 1; }
.drawer-sec-title {
  font-size: var(--text-label); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-300); padding: 12px 10px 4px; font-weight: 500;
}
.drawer-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: var(--radius-md); color: var(--gray-700);
  transition: background 0.12s;
}
.drawer-item:hover { background: var(--surface); }
.drawer-item i { font-size: 17px; color: var(--gray-300); flex-shrink: 0; }
.drawer-item-label { font-size: 14px; font-weight: 500; }
.drawer-item-sub { font-size: 11px; color: var(--gray-300); }
.drawer-footer { padding: 16px; border-top: var(--border-divider); }

@media (max-width: 960px) {
  .nav-links, .pais, .nav-icon-btn, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============ HERO ============ */
/* Hero assimétrico padrão: conteúdo alinhado à esquerda sobre --deep */
.hero {
  background: var(--deep); color: var(--on-dark);
  padding: var(--space-7) 0 var(--space-6);
  position: relative; overflow: hidden;
}
.hero .label { margin-bottom: var(--space-2); }
.hero h1 { font-size: var(--text-hero); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--white); max-width: 760px; margin-bottom: var(--space-2); }
.hero .hero-sub { font-size: var(--text-body); color: var(--on-dark-secondary); max-width: 540px; margin-bottom: var(--space-4); }
.hero-actions { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }

/* Faixa de métricas no rodapé do hero */
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: var(--border-on-dark); margin-top: var(--space-6);
}
.hero-metrics.cols-4 { grid-template-columns: repeat(4, 1fr); }
.hero-metric { padding: var(--space-3) var(--space-4) var(--space-3) 0; }
.hero-metric + .hero-metric { padding-left: var(--space-4); border-left: var(--border-on-dark); }
.hero-metric-val { font-size: 32px; font-weight: 700; color: var(--white); line-height: 1.1; }
.hero-metric-label { font-size: var(--text-label); letter-spacing: 0.04em; text-transform: none; color: var(--on-dark-secondary); margin-top: 4px; font-weight: 500; }

/* Imagem de fundo do hero com overlay obrigatório (60%) */
.hero-img { position: absolute; inset: 0; z-index: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img::after { content: ''; position: absolute; inset: 0; background: rgba(26,28,31,0.62); }
.hero > .container { position: relative; z-index: 1; }

@media (max-width: 640px) {
  .hero { padding-top: var(--space-6); }
  .hero-metrics, .hero-metrics.cols-4 { grid-template-columns: 1fr; }
  .hero-metric + .hero-metric { padding-left: 0; border-left: none; border-top: var(--border-on-dark); padding-top: var(--space-2); margin-top: var(--space-2); }
}

/* ============ CARDS ============ */
.card {
  background: var(--white); border: var(--border-divider);
  border-radius: var(--radius-lg); padding: var(--space-3);
  transition: border-color 0.2s, box-shadow 0.2s;
}
a.card:hover, .card.interactive:hover { border-color: var(--accent); box-shadow: var(--shadow-card); }
.card-icon { font-size: 24px; color: var(--accent); margin-bottom: var(--space-2); }
.card h3, .card .card-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card p, .card .card-text { font-size: var(--text-body-sm); color: var(--muted); line-height: 1.6; }

/* Card sobre fundo escuro */
.bg-deep .card, .card-dark {
  background: rgba(255,255,255,0.04); border: var(--border-on-dark); color: var(--on-dark);
}
.bg-deep .card p, .card-dark p { color: var(--on-dark-secondary); }

/* Card com mídia no topo */
.card-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media .card-img {
  height: 180px; background: var(--gray-100); position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300); font-size: 40px;
}
.card-media .card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media .card-body { padding: var(--space-3); flex: 1; display: flex; flex-direction: column; }

/* Card destacado — borda dourada 2px (acento de seção) */
.card-featured { border: var(--border-accent); }

/* ============ BADGES ============ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-sm);
  background: var(--gray-100); color: var(--gray-700);
}
.badge-accent { background: var(--accent-15); color: var(--accent-dark); }
.badge-dark { background: var(--deep); color: var(--white); }
.badge-outline { background: transparent; border: 1px solid var(--gray-300); }

/* ============ SELOS (trust strip) ============ */
.selos { display: flex; gap: var(--space-1); flex-wrap: wrap; }
.selo {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--white); border: var(--border-divider); border-radius: var(--radius-sm);
  padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--gray-700);
}
.selo i { font-size: 16px; color: var(--accent); }
.bg-deep .selo { background: rgba(255,255,255,0.04); border: var(--border-on-dark); color: var(--on-dark-secondary); }

/* ============ STEPS (processo numerado) ============ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: var(--border-divider); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white);
}
.steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
.step { padding: var(--space-4) var(--space-3); }
.step + .step { border-left: var(--border-divider); }
.step-num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: var(--space-2); }
.step h3, .step-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: var(--text-body-sm); color: var(--muted); line-height: 1.6; }
@media (max-width: 960px) {
  .steps, .steps.cols-4 { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: var(--border-divider); }
}

/* Timeline vertical (fluxos de plano) */
.flow { display: flex; flex-direction: column; }
.flow-step { display: flex; gap: var(--space-2); }
.flow-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.flow-dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--deep); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; flex-shrink: 0;
}
.flow-line { width: 1px; background: var(--gray-100); flex: 1; margin: 6px 0; min-height: 20px; }
.flow-step:last-child .flow-line { display: none; }
.flow-right { padding: 5px 0 var(--space-3); }
.flow-right h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.flow-right p { font-size: var(--text-body-sm); color: var(--muted); }
.flow-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ============ FAQ (accordion acessível + flutuante) ============ */
.faq-scope { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.faq-item {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15,17,20,0.04);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item:hover { border-color: var(--sage-30); box-shadow: 0 8px 22px rgba(74,85,50,0.10); transform: translateY(-2px); }
.faq-item.is-open { border-color: var(--sage-d); box-shadow: 0 12px 32px rgba(74,85,50,0.18); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left; padding: 22px 24px;
  background: none; border: none;
  font-size: 16px; font-weight: 600; color: var(--deep); line-height: 1.4;
  text-wrap: balance;
}
.faq-q i {
  width: 36px; height: 36px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--sage-d);
  background: var(--sage-15);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease, color 0.25s ease;
}
.faq-q:hover i { background: var(--sage-d); color: var(--white); }
.faq-q[aria-expanded="true"] i { transform: rotate(135deg); background: var(--sage-d); color: var(--white); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.35s ease;
  padding: 0 24px;
}
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a.is-open { grid-template-rows: 1fr; opacity: 1; padding: 0 24px 22px; }
.faq-a p, .faq-a div, .faq-a strong { color: var(--gray-700); }
.faq-a div { font-size: 14.5px; line-height: 1.7; }
.faq-a strong { color: var(--deep); font-weight: 600; }
.faq-a a { color: var(--sage-d); text-decoration: underline; text-underline-offset: 3px; }

/* ============ TABS ============ */
.tabs { display: flex; gap: 4px; border-bottom: var(--border-divider); overflow-x: auto; }
.tab {
  padding: 13px 20px; font-size: 14px; font-weight: 500; color: var(--muted);
  background: none; border: none; border-bottom: 2px solid transparent;
  white-space: nowrap; transition: color 0.15s, border-color 0.15s;
}
.tab:hover { color: var(--deep); }
.tab[aria-selected="true"] { color: var(--deep); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Tabs estilo card (seletor de planos) */
.tab-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-1); }
.tab-card {
  background: var(--white); border: var(--border-divider); border-radius: var(--radius-lg);
  padding: 16px 12px; text-align: center; transition: border-color 0.15s;
}
.tab-card:hover { border-color: var(--accent); }
.tab-card[aria-selected="true"] { background: var(--deep); border-color: var(--deep); color: var(--white); }
.tab-card .tc-num { font-size: var(--text-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-300); font-weight: 500; }
.tab-card[aria-selected="true"] .tc-num { color: var(--accent); }
.tab-card .tc-nome { font-size: 18px; font-weight: 600; margin: 3px 0 2px; }
.tab-card .tc-preco { font-size: 12px; color: var(--muted); }
.tab-card[aria-selected="true"] .tc-preco { color: var(--on-dark-secondary); }
@media (max-width: 640px) { .tab-cards { grid-template-columns: repeat(2, 1fr); } }

/* ============ CHIPS / FILTROS ============ */
.chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border: var(--border-divider); border-radius: var(--radius-full);
  font-size: 13px; color: var(--muted); background: var(--white);
  transition: all 0.15s; white-space: nowrap;
}
.chip:hover { border-color: var(--accent); color: var(--deep); }
.chip[aria-pressed="true"], .chip.active { background: var(--deep); border-color: var(--deep); color: var(--white); }
.chip-label {
  font-size: var(--text-label); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-300); font-weight: 500; margin-right: 4px;
}

/* ============ FORMULÁRIOS ============ */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-2); }
.form-label {
  font-size: var(--text-label); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; font-size: 14px;
  border: var(--border-divider); border-radius: var(--radius-sm);
  background: var(--white); color: var(--deep); outline: none;
  transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.form-privacy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; color: var(--gray-300); margin-top: 10px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* Opções selecionáveis (checks/radios visuais dos briefings) */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt {
  display: flex; align-items: flex-start; gap: 10px; text-align: left;
  padding: 12px 14px; border: var(--border-divider); border-radius: var(--radius-md);
  background: var(--surface); transition: all 0.15s; cursor: pointer; width: 100%;
}
.opt:hover { border-color: var(--accent); background: var(--white); }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { border-color: var(--accent); background: var(--accent-15); }
.opt i { font-size: 18px; color: var(--gray-300); flex-shrink: 0; margin-top: 1px; }
.opt[aria-pressed="true"] i, .opt[aria-checked="true"] i { color: var(--accent-dark); }
.opt-label { font-size: 13px; font-weight: 500; color: var(--deep); }
.opt-desc { font-size: 12px; color: var(--muted); margin-top: 1px; }
@media (max-width: 640px) { .opt-grid { grid-template-columns: 1fr; } }

/* Barra de progresso */
.progress-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.progress-label { font-size: 13px; color: var(--muted); }
.progress-pct { font-size: 13px; font-weight: 600; color: var(--accent-dark); }
.progress-bar { height: 3px; background: var(--gray-100); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent-strong); border-radius: 2px; transition: width 0.3s; }

/* ============ TABELAS ============ */
.table-wrap { border: var(--border-divider); border-radius: var(--radius-lg); overflow: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--text-body-sm); }
.table th {
  background: var(--deep); color: var(--white);
  padding: 12px 16px; text-align: left; font-weight: 500;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}
.table td { padding: 12px 16px; border-bottom: var(--border-divider); color: var(--muted); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:nth-child(even) td { background: var(--surface); }
.table .t-sep td {
  background: var(--gray-100); font-size: var(--text-label);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  padding: 8px 16px; font-weight: 500;
}
.table .hl { color: var(--deep); font-weight: 600; }
.table i.ok { color: var(--accent-dark); font-size: 17px; }
.table i.no { color: var(--gray-300); font-size: 17px; }

/* ============ CTA FINAL (faixa escura) ============ */
.cta-band {
  background: var(--deep); color: var(--on-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-5);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.cta-band .label { margin-bottom: var(--space-1); }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: var(--on-dark-secondary); font-size: var(--text-body-sm); }
.cta-band-btns { display: flex; gap: var(--space-2); flex-shrink: 0; flex-wrap: wrap; }
.cta-band.center { flex-direction: column; text-align: center; padding: var(--space-6) var(--space-4); }
.cta-band.center .cta-band-btns { justify-content: center; }
@media (max-width: 960px) {
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band-btns { width: 100%; flex-direction: column; }
  .cta-band-btns .btn { width: 100%; }
}

/* ============ IMAGEM PLACEHOLDER ============ */
.img-ph {
  background: var(--gray-100);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--gray-300); width: 100%; height: 100%;
  border-radius: inherit;
}
.img-ph i { font-size: 44px; }
.img-ph span { font-size: var(--text-label); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; text-align: center; padding: 0 16px; }
.bg-deep .img-ph, .img-ph.dark { background: #1A1A1A; color: rgba(255,255,255,0.25); }

/* ============ FOOTER ============ */
.footer { background: var(--deep); color: var(--on-dark); }
.ft-newsletter {
  border-bottom: var(--border-on-dark);
  padding: var(--space-4) 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
}
.ft-nl-title { font-size: 19px; font-weight: 600; color: var(--white); }
.ft-nl-form { display: flex; gap: 8px; flex-shrink: 0; }
.ft-nl-input {
  padding: 11px 16px; font-size: 13px;
  border: var(--border-on-dark); border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06); color: var(--white); outline: none; width: 240px;
}
.ft-nl-input::placeholder { color: rgba(255,255,255,0.35); }
.ft-nl-input:focus { border-color: var(--accent); }

.ft-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: var(--space-4);
  padding: var(--space-5) 0; border-bottom: var(--border-on-dark);
}
.ft-logo { font-weight: 700; font-size: 22px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-l); margin-bottom: 10px; }
.ft-tagline { font-size: 13px; color: var(--sage-l); margin-bottom: 12px; line-height: 1.6; }
.ft-desc { font-size: 13px; color: var(--on-dark-secondary); line-height: 1.7; max-width: 250px; margin-bottom: var(--space-2); }
.ft-redes { display: flex; gap: 8px; }
.ft-rede {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05); border: var(--border-on-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--on-dark-secondary); transition: all 0.15s;
}
.ft-rede:hover { border-color: var(--sage); color: var(--sage-l); }
.ft-col-title {
  font-size: var(--text-label); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 14px;
}
.ft-links { display: flex; flex-direction: column; gap: 9px; }
.ft-link { font-size: 13px; color: var(--on-dark-secondary); transition: color 0.15s; }
.ft-link:hover { color: var(--sage-l); }

.ft-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-3) 0; gap: var(--space-2); flex-wrap: wrap;
}
.ft-empresa { font-size: 12px; color: rgba(255,255,255,0.45); }
.ft-cnpj { font-size: 11px; color: rgba(255,255,255,0.28); margin-top: 3px; }
.ft-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.ft-legal a, .ft-legal span { font-size: 12px; color: rgba(255,255,255,0.4); }
.ft-legal a:hover { color: var(--on-dark-secondary); }

@media (max-width: 960px) {
  .ft-newsletter { flex-direction: column; align-items: flex-start; }
  .ft-nl-form { width: 100%; }
  .ft-nl-input { flex: 1; width: auto; }
  .ft-main { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) { .ft-main { grid-template-columns: 1fr; } }

/* ============ WHATSAPP FLUTUANTE — animado e chamativo ============ */
.wpp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 300;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--sage-d); color: var(--white);
  border: 2px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; transition: transform 0.3s ease, background 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(74,85,50,0.45);
  animation: wppPulse 2.4s ease-in-out infinite;
}
.wpp-float:hover {
  background: var(--sage);
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 14px 36px rgba(74,85,50,0.55);
}
@keyframes wppPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .wpp-float { animation: none; }
}

/* ============ EXIT INTENT ============ */
.ei-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(26,28,31,0.6); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.ei-overlay.show { opacity: 1; pointer-events: all; }
.ei-modal {
  background: var(--white); border-radius: var(--radius-xl); overflow: hidden;
  max-width: 460px; width: 100%; position: relative;
  transform: translateY(16px); transition: transform 0.3s;
}
.ei-overlay.show .ei-modal { transform: translateY(0); }
.ei-close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  width: 30px; height: 30px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.12); border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: rgba(255,255,255,0.75);
}
.ei-hero { background: var(--deep); padding: var(--space-4) var(--space-3); text-align: center; }
.ei-hero .label { justify-content: center; margin-bottom: 10px; }
.ei-hero h2 { color: var(--white); font-size: 26px; margin-bottom: 8px; }
.ei-hero p { font-size: 13px; color: var(--on-dark-secondary); }
.ei-body { padding: var(--space-3); }
.ei-recusar {
  display: block; width: 100%; text-align: center; background: none; border: none;
  font-size: 12px; color: var(--gray-300); padding: 8px; margin-top: 4px;
}
.ei-recusar:hover { color: var(--muted); }

/* ============ CHECKOUT (modal) ============ */
.co-modal { max-width: 460px; }
.co-resumo { background: var(--surface); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: var(--space-2); }
.co-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-item { font-size: 14px; font-weight: 600; color: var(--deep); }
.co-proj { font-size: 12px; color: var(--muted); margin-top: 2px; text-transform: capitalize; }
.co-preco { font-size: 16px; font-weight: 700; color: var(--deep); white-space: nowrap; }
.co-section { font-size: var(--text-label); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-300); margin-bottom: 8px; }
.co-addon { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: var(--border-divider); border-radius: var(--radius-md); margin-bottom: 6px; cursor: pointer; transition: border-color 0.15s; }
.co-addon:hover { border-color: var(--accent); }
.co-addon input { accent-color: var(--sage); width: 16px; height: 16px; flex-shrink: 0; }
.co-addon-nome { flex: 1; font-size: 13px; color: var(--gray-700); }
.co-addon-preco { font-size: 13px; font-weight: 600; color: var(--accent-dark); white-space: nowrap; }
.co-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin-top: var(--space-2); background: var(--deep); border-radius: var(--radius-md); }
.co-total-label { font-size: 13px; color: var(--on-dark-secondary); }
.co-parcela { display: block; font-size: 11px; color: var(--on-dark-secondary); margin-top: 2px; }
.co-total-val { font-size: 22px; font-weight: 700; color: var(--white); white-space: nowrap; }
.co-pay { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--muted); margin: 14px 0; }
.co-pay i { color: var(--accent-dark); font-size: 15px; }
.co-garantia { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: var(--gray-300); margin-top: 10px; text-align: center; }
.co-garantia i { color: var(--accent-dark); font-size: 13px; }

/* ============ SPLASH MOBILE ============ */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
.splash.hide { opacity: 0; pointer-events: none; }
@media (min-width: 769px) { .splash { display: none !important; } }
.splash-logo { font-weight: 700; font-size: 28px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--signature); margin-bottom: 8px; }
.splash-sub { font-size: var(--text-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 36px; }
.splash-bar { width: 80px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 1px; overflow: hidden; }
.splash-fill { height: 100%; width: 0; background: var(--accent-strong); animation: splashFill 1s ease 0.2s forwards; }
@keyframes splashFill { to { width: 100%; } }

/* ============ DESTAQUE EDITORIAL ============ */
/* Bloco de citação/realce — borda dourada à esquerda (padrão skill) */
.highlight-block {
  border-left: var(--border-accent);
  padding: 4px 0 4px 20px;
  font-size: 18px; font-weight: 500; color: var(--gray-700); line-height: 1.6;
  max-width: 640px;
}
.bg-deep .highlight-block { color: var(--on-dark); }

/* Aviso informativo */
.note {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface); border: var(--border-divider);
  border-left: var(--border-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 18px;
}
.note i { font-size: 18px; color: var(--accent-dark); flex-shrink: 0; margin-top: 2px; }
.note p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.note p strong { color: var(--deep); font-weight: 600; }
.bg-deep .note { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); border-left-color: var(--accent); }
.bg-deep .note p { color: var(--on-dark-secondary); }
.bg-deep .note p strong { color: var(--white); }

/* ============ CARROSSEL DE DEPOIMENTOS (compartilhado) ============ */
.depo-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.depo-viewport {
  overflow: hidden;
  border-radius: 24px;
  position: relative;
}
.depo-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.depo-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 24px;
  overflow: hidden;
  min-height: 480px;
  opacity: 0.35;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.depo-slide--active { opacity: 1; transform: scale(1); }

.depo-photo {
  position: relative;
  background: linear-gradient(135deg, #9b59f5 0%, #6c3fc9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.depo-photo::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12) 0, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,0.20) 0, transparent 50%);
}
.depo-photo-placeholder {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px dashed rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  backdrop-filter: blur(8px);
}
.depo-photo-placeholder i { font-size: 56px; color: rgba(255,255,255,0.85); }

.depo-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 56px;
  position: relative;
}
.depo-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-d);
  border: 1px solid var(--sage-30);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.depo-aspa {
  font-family: var(--font-display);
  font-weight: 350;
  font-style: italic;
  font-variation-settings: "opsz" 144;
  font-size: 96px;
  line-height: 0.6;
  color: var(--sage);
  margin-bottom: 16px;
  display: block;
  text-align: left;
  width: 100%;
}
.depo-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--deep);
  margin: 0 0 32px 0;
  text-align: left;
  max-width: 520px;
}
.depo-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
  width: 100%;
}
.depo-meta strong {
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  color: var(--deep);
  text-align: left;
}
.depo-loc {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  text-align: left;
}

.depo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--sage-d);
  color: var(--white);
  border: 2px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(74,85,50,0.40);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.depo-arrow-prev { left: -26px; }
.depo-arrow-next { right: -26px; }
.depo-arrow:hover {
  background: var(--sage);
  transform: translateY(-50%) scale(1.10);
  box-shadow: 0 12px 32px rgba(74,85,50,0.55);
}
.depo-arrow i { font-size: 18px; }

.depo-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 32px;
}
.depo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-100);
  border: none; padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}
.depo-dot--active { background: var(--sage-d); width: 24px; border-radius: 4px; }

@media (max-width: 880px) {
  .depo-slide { grid-template-columns: 1fr; min-height: auto; }
  .depo-photo { min-height: 180px; }
  .depo-body { padding: 24px 22px; align-items: stretch; }
  .depo-tag { margin-bottom: 10px; padding: 4px 10px; }
  .depo-aspa { display: none; }
  .depo-quote { margin: 0 0 18px 0; }
  .depo-meta { padding-top: 14px; gap: 2px; }
  .depo-arrow-prev { left: -14px; }
  .depo-arrow-next { right: -14px; }
  .depo-arrow { width: 44px; height: 44px; }
}
@media (max-width: 480px) {
  .depo-photo { min-height: 140px; }
  .depo-body { padding: 18px 18px; }
  .depo-tag { margin-bottom: 8px; }
  .depo-quote { font-size: 16px; line-height: 1.45; }
  .depo-arrow-prev { left: -18px; }
  .depo-arrow-next { right: -18px; }
  .depo-arrow { width: 40px; height: 40px; box-shadow: 0 6px 16px rgba(74,85,50,0.40); }
}
