/* ============================================================
   VM SOLUTIONS HUB — CSS Principal v3
   Paleta: roxo (#6b2ff5) + preto-grafite (#0c0c10) + branco (#f4f4f8)
   ============================================================ */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== ACESSIBILIDADE ===== */

/* Visível apenas para leitores de tela e SEO (não altera layout visual) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
/* Skip link: aparece apenas quando focado via teclado */
.sr-only--focusable:focus,
.sr-only--focusable:focus-visible {
  position: fixed;
  top: 8px; left: 8px;
  width: auto; height: auto;
  padding: 10px 20px;
  margin: 0;
  clip: auto;
  white-space: normal;
  background: var(--purple);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(107,47,245,0.5);
}

/* Focus visível via teclado em todos os elementos interativos */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
/* Exceção: formulários já têm estilo de foco próprio */
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
}

/* ===== TOKENS ===== */
:root {
  /* Fundos */
  --bg:           #0c0c10;
  --bg-mid:       #111118;
  --bg-purple:    #13102a;   /* "Como funciona" — roxo escuro */
  /* --bg-light removida — serviços agora usa fundo escuro */

  /* Roxo (extraído da logo) */
  --purple:       #6b2ff5;
  --purple-dark:  #3d1a9e;
  --purple-mid:   #8b5cf6;
  --purple-light: #a78bfa;
  --purple-glow:  rgba(107,47,245,0.28);

  /* Neon (linha flare da logo) */
  --neon:         #9d4edd;
  --neon-glow:    rgba(157,78,221,0.40);

  /* Texto dark sections */
  --white:        #f4f4f8;
  --silver:       #c8c8d8;
  --muted:        #8888a0;
  --faint:        #50505e;

  /* Texto light section */
  --dark-900:     #12101e;
  --dark-700:     #2e2a4a;
  --dark-400:     #6b6690;

  /* Bordas */
  --border:       rgba(167,139,250,0.10);
  --border-light: rgba(107,47,245,0.14);

  /* Sombras */
  --shadow:       0 4px 40px rgba(0,0,0,0.55);
  --shadow-p:     0 8px 48px rgba(107,47,245,0.28);
  --shadow-card:  0 2px 24px rgba(107,47,245,0.10);

  --radius:       14px;
  --radius-lg:    22px;
  --ease:         cubic-bezier(0.4,0,0.2,1);
  --t:            0.3s;
  --font:         'Inter', system-ui, sans-serif;
  --font-d:       'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-ui:      'Syne', var(--font);
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
  background: var(--bg);
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* previne scroll horizontal global */
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  max-width: 100vw; /* garante que nenhum elemento ultrapasse a viewport */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hide-mobile {}

/* ===== UTILITÁRIOS ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;  /* 100% transparente no topo — sem faixa visível */
  backdrop-filter: none;
  transition: background var(--t), backdrop-filter var(--t), box-shadow var(--t), padding var(--t);
}
.site-header.scrolled {
  background: rgba(12,12,16,0.97);
  backdrop-filter: blur(22px);
  box-shadow: 0 1px 0 var(--border);
  padding: 14px 0;
}
.header-inner { display: flex; align-items: center; justify-content: center; }

/* Logo imagem no header */
.header-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Sem efeito de hover — logo sempre 100% visível */
}

.header-logo-img {
  width: 220px;           /* Tamanho principal — elegante e proporcional */
  max-width: 260px;
  height: auto;
  display: block;
  opacity: 1;             /* Sempre 100% visível */
  /* Sem mix-blend-mode, sem filter — logo exibida em sua forma natural */
  /* Sombra suave para garantir contraste sobre o fundo escuro */
  filter: drop-shadow(0 2px 12px rgba(107,47,245,0.30))
          drop-shadow(0 0 28px rgba(157,78,221,0.15));
}

/* Esconde ícone de imagem quebrada (quando logo.png não existe) */
.header-logo-img:not([src]),
.header-logo-img[src=""] { display: none; }

.logo-vm {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-rest { color: var(--white); }

/* ============================================================
   HERO — Banner de imagem completo
   ============================================================ */
.hero { position: relative; width: 100%; background: var(--bg); overflow: hidden; }

.hero-banner-wrap { position: relative; width: 100%; }

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center top;
  /* Ocupa a tela toda em telas grandes */
  max-height: 100vh;
  min-height: 420px;
}

/* ─── Degradê inferior — transição hero → seção escura de serviços ─── */
.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 10%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(12,12,16,0.55) 70%,
    var(--bg) 100%          /* #0c0c10 — mesmo fundo escuro dos serviços */
  );
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   SEÇÕES — Sistema de cores alternadas (ritmo visual)
   ============================================================ */
.section { padding: 96px 0; }

/* .section--light removida — não utilizada; serviços usa section--dark */

/* ESCURO padrão */
.section--dark { background: var(--bg); }

/* ROXO ESCURO — Como Funciona */
.section--purple-dark {
  background: var(--bg-purple);
  position: relative;
}
.section--purple-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  pointer-events: none;
}
.section--purple-dark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* CONVERSÃO — Orçamento (fundo claro para destaque e contraste) */
.section--conversion {
  background: #f9f8ff;
  position: relative;
}
.section--conversion::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--bg), #f9f8ff);
  pointer-events: none;
}
/* Textos na seção clara */
.section--conversion .section-eyebrow   { color: var(--purple); }
.section--conversion .section-title      { color: var(--dark-900); }
.section--conversion .orcamento-desc,
.section--conversion .orcamento-or p     { color: var(--dark-400); }
.section--conversion .orcamento-or span  { background: rgba(107,47,245,0.15); }
.section--conversion .orcamento-items li { color: var(--dark-700); }
.section--conversion .orcamento-items li svg { color: var(--purple); }
/* Formulário na seção clara */
.section--conversion .contact-form {
  background: #ffffff;
  border-color: rgba(107,47,245,0.14);
  box-shadow: 0 8px 40px rgba(107,47,245,0.10);
}
.section--conversion .form-field label { color: var(--dark-700); }
.section--conversion .form-field input,
.section--conversion .form-field select,
.section--conversion .form-field textarea {
  background: #fafafa;
  border-color: rgba(107,47,245,0.18);
  color: var(--dark-900);
}
.section--conversion .form-field input::placeholder,
.section--conversion .form-field textarea::placeholder { color: var(--dark-400); }
.section--conversion .form-field select option { background: #fff; color: var(--dark-900); }
.section--conversion .form-field input:focus,
.section--conversion .form-field select:focus,
.section--conversion .form-field textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107,47,245,0.12);
}
.section--conversion .form-label-hint { color: var(--dark-400); font-weight: 400; }
.section--conversion .cb-item span    { color: var(--dark-700); border-color: rgba(107,47,245,0.20); background: rgba(107,47,245,0.04); }
.section--conversion .cb-item input:checked ~ span { color: var(--purple-dark); border-color: var(--purple); background: rgba(107,47,245,0.10); }

/* ===== CABEÇALHOS DE SEÇÃO ===== */
.section-header { text-align: center; margin-bottom: 56px; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem); /* Cormorant precisa de mais corpo */
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0.01em; /* serifa lida melhor com tracking ligeiramente positivo */
  margin-bottom: 16px;
  color: var(--white);
}
.section-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto;
}
/* ============================================================
   SERVIÇOS — Seção clara
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Card escuro (padrão da identidade visual) */
.service-card--dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.service-card--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107,47,245,0.07), transparent 60%);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  border-radius: inherit;
  pointer-events: none;
}
.service-card--dark:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-p);
}
.service-card--dark:hover::before { opacity: 1; }

/* Card featured (destaque) — variante escura */
.service-card--featured {
  background: linear-gradient(145deg, rgba(107,47,245,0.13), rgba(61,26,158,0.08));
  border-color: rgba(107,47,245,0.30);
}
.service-card--featured:hover { box-shadow: 0 16px 60px rgba(107,47,245,0.35); }

.service-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 50px;
}

.service-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.sicon--dark {
  background: rgba(107,47,245,0.14);
  border: 1px solid rgba(107,47,245,0.26);
}
.sicon--dark svg { color: var(--purple-light); }
.service-icon-wrap svg { width: 21px; height: 21px; }

.service-card--dark h3, .service-card--featured h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 9px;
}
.service-card--dark p, .service-card--featured p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-list { display: flex; flex-direction: column; gap: 6px; }
.service-list li {
  font-size: 0.81rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.slist--dark li { color: var(--muted); }
.service-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.slist--dark li::before { background: var(--purple-light); }

/* ============================================================
   PORTFÓLIO — Tabs por categoria
   ============================================================ */
.ptabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.ptab {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  transition: all var(--t) var(--ease);
  white-space: nowrap;
}
.ptab:hover { color: var(--white); border-color: rgba(107,47,245,0.30); }
.ptab--active {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-p);
}

/* Painéis */
.ppanel { display: none; animation: panelIn 0.38s var(--ease); }
.ppanel--active { display: block; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Card principal */
.pf-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(107,47,245,0.22), 0 4px 20px rgba(0,0,0,0.40);
  border-color: rgba(107,47,245,0.32);
}

/* Overlay de link — aparece ao hover */
.pf-link-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,12,16,0.92) 0%,
    rgba(12,12,16,0.50) 45%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.pf-card:hover .pf-link-overlay { opacity: 1; }

.pf-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(107,47,245,0.45);
  letter-spacing: 0.02em;
  transition: filter var(--t), transform var(--t);
  text-decoration: none;
}
.pf-link-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.pf-link-btn svg { width: 14px; height: 14px; }

/* Rodapé do card — info do projeto */
.pf-card-info {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pf-card-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}
.pf-card-info p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* ============================================================
   COMO FUNCIONA — Fundo roxo-escuro
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 50px; left: 12.5%;
  width: 75%;
  height: 1px;
  background: linear-gradient(to right, var(--purple), var(--neon), rgba(107,47,245,0.12));
  box-shadow: 0 0 16px 2px var(--neon-glow);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}
.ps-number {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--purple-light);
  margin-bottom: 10px;
  opacity: 0.65;
}
.ps-icon {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, rgba(107,47,245,0.20), rgba(107,47,245,0.05));
  border: 1.5px solid rgba(107,47,245,0.38);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.ps-icon::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(107,47,245,0.12);
}
.process-step:hover .ps-icon { transform: scale(1.08); box-shadow: var(--shadow-p); }
.ps-icon svg { width: 26px; height: 26px; color: var(--purple-light); }
.process-step h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; color: var(--white); }
.process-step p  { font-size: 0.85rem; color: var(--muted); line-height: 1.72; }

/* ============================================================
   ORÇAMENTO
   ============================================================ */
.orcamento-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.orcamento-cta .section-eyebrow { display: block; margin-bottom: 12px; }
.orcamento-cta .section-title   { text-align: left; margin-bottom: 16px; }
.orcamento-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 13px 24px;
  border-radius: 50px;
  box-shadow: 0 6px 32px rgba(37,211,102,0.30);
  transition: filter var(--t), transform var(--t), box-shadow var(--t);
  margin-bottom: 24px;
}
.btn-whatsapp:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 10px 40px rgba(37,211,102,0.44); }
.btn-whatsapp svg { width: 19px; height: 19px; }

.orcamento-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.orcamento-or span { flex: 1; height: 1px; background: var(--border); }
.orcamento-or p { font-size: 0.76rem; color: var(--faint); white-space: nowrap; font-weight: 500; }

.orcamento-items { display: flex; flex-direction: column; gap: 12px; }
.orcamento-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}
.orcamento-items li svg { width: 16px; height: 16px; color: var(--purple-light); flex-shrink: 0; }

/* Formulário */
.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(167,139,250,0.10);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--faint); }
.form-field select option { background: var(--bg-mid); color: var(--white); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107,47,245,0.15);
}
.form-field textarea { resize: vertical; min-height: 108px; }

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 14px;
  border-radius: 50px;
  box-shadow: var(--shadow-p);
  transition: filter var(--t), transform var(--t), box-shadow var(--t);
  cursor: pointer;
  border: none;
}
.btn-submit:hover { filter: brightness(1.10); transform: translateY(-2px); box-shadow: 0 12px 44px rgba(107,47,245,0.40); }
.btn-submit svg { width: 16px; height: 16px; }

.form-feedback {
  display: none;
  align-items: center;
  gap: 9px;
  background: rgba(107,47,245,0.10);
  border: 1px solid rgba(107,47,245,0.26);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.87rem;
  color: var(--purple-light);
  margin-top: 12px;
}
.form-feedback svg { width: 16px; height: 16px; flex-shrink: 0; }
.form-feedback.show { display: flex; }
.form-feedback.error { background: rgba(220,38,38,0.10); border-color: rgba(220,38,38,0.30); color: #fca5a5; }

/* ============================================================
   SOBRE
   ============================================================ */
.sobre-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.sobre-content .section-eyebrow { display: block; margin-bottom: 12px; }
.sobre-lead { font-size: 1rem; color: var(--silver); line-height: 1.82; margin-top: 6px; margin-bottom: 32px; }
.sobre-blocks { display: flex; flex-direction: column; gap: 22px; }
.sobre-block { display: flex; gap: 14px; align-items: flex-start; }
.sobre-block-icon {
  width: 36px; height: 36px;
  background: rgba(107,47,245,0.12);
  border: 1px solid rgba(107,47,245,0.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.sobre-block-icon svg { width: 15px; height: 15px; color: var(--purple-light); }
.sobre-block h4 { font-size: 0.93rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.sobre-block p  { font-size: 0.86rem; color: var(--muted); line-height: 1.72; }

.sobre-visual { display: flex; flex-direction: column; gap: 18px; }
.sobre-metrics-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.sobre-metric { text-align: center; }
.sobre-metric strong { font-family: var(--font-ui); font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.sobre-metric span  { font-family: var(--font-ui); font-size: 1.3rem; font-weight: 700; color: var(--purple-light); }
.sobre-metric p     { font-size: 0.76rem; color: var(--muted); margin-top: 5px; }
.sobre-metric-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

.sobre-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.sobre-tags span {
  font-size: 0.76rem; font-weight: 600;
  color: var(--purple-light);
  background: rgba(107,47,245,0.09);
  border: 1px solid rgba(107,47,245,0.18);
  padding: 4px 13px;
  border-radius: 50px;
}
.sobre-quote {
  background: linear-gradient(145deg, rgba(107,47,245,0.10), rgba(61,26,158,0.06));
  border: 1px solid rgba(107,47,245,0.18);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.sobre-quote p { font-size: 0.9rem; color: var(--silver); line-height: 1.78; font-style: italic; }

/* ============================================================
   FOOTER — Mínimo, sem navegação
   ============================================================ */
.site-footer { background: var(--bg); padding: 52px 0 32px; position: relative; text-align: center; }

.footer-neon-top {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--purple), var(--neon), var(--purple), transparent);
  box-shadow: 0 0 20px 2px var(--neon-glow);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-logo { margin-bottom: 4px; }
.footer-tagline { font-size: 0.86rem; color: var(--muted); max-width: 320px; line-height: 1.6; }

.footer-socials { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.footer-socials a {
  width: 50px; height: 50px;
  background: rgba(107,47,245,0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all var(--t) var(--ease);
}
.footer-socials a:hover { background: rgba(107,47,245,0.20); border-color: rgba(107,47,245,0.40); color: var(--white); }
.footer-socials a svg { width: 21px; height: 21px; }

.footer-copy { font-size: 0.78rem; color: var(--faint); margin-top: 8px; }

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,0.42);
  z-index: 200;
  transition: transform var(--t), box-shadow var(--t);
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.55); }
.whatsapp-fab svg { width: 26px; height: 26px; color: #fff; }

/* ============================================================
   RESPONSIVO
   ============================================================ */

/* ── Tablet (≤ 1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .process-grid     { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .sobre-layout     { grid-template-columns: 1fr; gap: 44px; }
  .orcamento-layout { grid-template-columns: 1fr; gap: 44px; }
}

/* ── Mobile (≤ 768px) ──────────────────────────────────── */
@media (max-width: 768px) {

  /* ── Proteção global contra scroll horizontal ── */
  html, body { overflow-x: hidden; max-width: 100%; }
  * { max-width: 100%; box-sizing: border-box; }

  /* ── Banner principal — imagem inteira, sem corte ── */
  .hero-banner-img {
    width: 100%;
    height: auto;
    min-height: 0;       /* remove o min-height: 420px do desktop */
    max-height: none;    /* remove o max-height: 100vh do desktop  */
    object-fit: fill;    /* preenche sem recortar                  */
    object-position: center center;
    display: block;
  }

  /* ── Seções ── */
  .section { padding: 68px 0; }
  .services-grid  { grid-template-columns: 1fr; }

  /* ── Como Funciona — empilhado verticalmente, sem scroll horizontal ── */
  #como-funciona .container {
    overflow-x: visible;
    overflow: visible;
    padding-bottom: 0;
  }
  .process-grid {
    display: grid;
    grid-template-columns: 1fr;  /* 1 coluna: passo abaixo do outro */
    min-width: 0;                /* remove min-width que causava overflow */
    width: 100%;
    gap: 40px;
    overflow: visible;
  }
  .process-grid::before {
    display: none;               /* remove a linha horizontal decorativa */
  }
  .process-step {
    display: block;              /* bloco simples, sem flex */
    padding: 0 8px;
    text-align: center;          /* mantém centralizado como no desktop */
    width: 100%;
  }
  .ps-icon {
    margin: 0 auto 20px;         /* centraliza o ícone */
    width: 64px;
    height: 64px;
  }
  .ps-number { margin-bottom: 8px; }

  /* ── Portfólio ── */
  .ptabs { gap: 6px; }
  .ptab  { padding: 8px 14px; font-size: 0.78rem; }

  /* ── Formulário ── */
  .form-row    { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 18px; }

  /* ── Utilitários ── */
  .hide-mobile { display: none; }

  /* ── Header ── */
  .header-logo-img { height: 40px; width: auto; }
}

/* ── Mobile pequeno (≤ 480px) ──────────────────────────── */
@media (max-width: 480px) {
  .section-title     { font-size: 1.65rem; }
  .footer-neon-top   { width: 85%; }
  .orcamento-layout  { gap: 32px; }
  .contact-form      { padding: 20px 14px; }

  /* Carrosseis */
  .idc-wrap          { padding: 0 36px; }
  .idc-arrow         { width: 32px; height: 32px; }
  .tslider-wrap      { padding: 0 36px; }
  .tslider-arrow     { width: 34px; height: 34px; }
  .idc-mockup-area   { height: 210px; }

  /* Tabs */
  .ptab              { padding: 7px 10px; font-size: 0.71rem; }

  /* Modais */
  .auto-modal-body   { padding: 20px 16px 28px; }
  .auto-modal-body h2 { font-size: 1.1rem; }
  .idm-header        { padding: 16px 16px 0; }
  .idm-gallery       { padding: 0 32px 20px; }
}

/* ============================================================
   PORTFÓLIO — Imagem grande ocupa o topo inteiro do card
   ============================================================ */

/* Wrapper da imagem — 65% da altura visual do card */
.pf-img-wrap {
  position: relative;
  width: 100%;
  height: 260px;      /* altura fixa grande — protagonista do card */
  overflow: hidden;
  background: #110d22; /* fallback enquanto a imagem carrega */
}

/* Frame de logo: fundo escuro branded, imagem centralizada e grande */
.pf-logo-frame {
  width: 100%;
  height: 100%;        /* herda os 260px do wrapper */
  background: linear-gradient(145deg, #1a1030, #0e0920);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: background var(--t) var(--ease);
}

/* Brilho roxo no centro ao hover */
.pf-logo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(107,47,245,0.14), transparent 70%);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  pointer-events: none;
}
.pf-card:hover .pf-logo-frame { background: linear-gradient(145deg, #20153a, #130e28); }
.pf-card:hover .pf-logo-frame::after { opacity: 1; }

/* A imagem/logo — preenche toda a área do frame */
.pf-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0;
  transition: transform var(--t) var(--ease), filter var(--t) var(--ease);
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.40));
}
.pf-card:hover .pf-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 24px rgba(107,47,245,0.28));
}

/* Tag de categoria dentro do card */
.pf-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--purple-light);
  background: rgba(107,47,245,0.10);
  border: 1px solid rgba(107,47,245,0.22);
  padding: 3px 11px;
  border-radius: 50px;
  margin-bottom: 10px;
}

/* URL clicável no rodapé do card */
.pf-card-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
  transition: color var(--t);
  text-decoration: none;
}
.pf-card-url svg { width: 13px; height: 13px; flex-shrink: 0; }
.pf-card-url:hover { color: var(--purple-light); }

/* ============================================================
   PORTFÓLIO — Cards de Automação (imagem real, 2 colunas)
   ============================================================ */

/* Frame da imagem de automação — sem padding, imagem ocupa tudo */
.pf-logo-frame--auto {
  background: #0e0a1a; /* fundo escuro profundo */
  padding: 0 !important; /* sem padding — imagem preenche tudo */
}
.pf-logo-frame--contain {
  background: #0c0c10;
}
.pf-logo-frame--contain .pf-logo-img {
  object-fit: contain;
  object-position: center;
  padding: 28px;
}
.pf-auto-img {
  padding: 0 !important; /* sem padding — `contain` já preserva sem distorcer */
  object-fit: contain;
  object-position: center;
  background: #0e0a1a;
}

/* Linha "cliente" dentro do card */
.pf-card-client {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple-light);
  margin-bottom: 4px;
}
.pf-card-client svg { flex-shrink: 0; }

/* Tags de funcionalidade no card */
.pf-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.pf-card-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--purple-light);
  background: rgba(107,47,245,0.10);
  border: 1px solid rgba(107,47,245,0.18);
  padding: 3px 10px;
  border-radius: 50px;
}

/* ============================================================
   MODAL DE DETALHAMENTO — Automações
   ============================================================ */
.auto-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.80);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.3s var(--ease);
}
.auto-modal.open { display: flex; }
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.auto-modal-box {
  background: #17122a;
  border: 1px solid rgba(107,47,245,0.28);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.60), 0 0 0 1px rgba(107,47,245,0.15);
  animation: modalSlideIn 0.32s var(--ease);
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.auto-modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--silver);
  cursor: pointer;
  transition: all var(--t);
  z-index: 2;
}
.auto-modal-close:hover { background: rgba(107,47,245,0.20); color: var(--white); }
.auto-modal-close svg { width: 16px; height: 16px; }

.auto-modal-img {
  width: 100%;
  max-height: 340px;
  overflow: hidden;
  background: #0e0a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.auto-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 340px;
  display: block;
}

.auto-modal-body { padding: 28px 32px 36px; }
.auto-modal-body .pf-card-tag { display: inline-block; margin-bottom: 12px; }
.auto-modal-body h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.25;
}
.auto-modal-desc {
  font-size: 0.94rem;
  color: var(--silver);
  line-height: 1.82;
  margin-bottom: 24px;
}
.auto-modal-body h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 14px;
}
.auto-modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.auto-modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.auto-modal-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ============================================================
   PORTFÓLIO — Painel "Todos" (3 cards em grade horizontal)
   ============================================================ */
/* ── Blocos temáticos do painel "Todos" ── */
.todos-block { margin-bottom: 52px; }
.todos-block:last-child { margin-bottom: 0; }
.todos-block-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  border-left: 3px solid var(--purple);
  padding-left: 12px;
  margin-bottom: 20px;
}
/* Labels de categoria removidos no modo "Todos" — fica mais limpo */

/* ============================================================
   DEPOIMENTOS — Glassmorphism premium
   ============================================================ */
.tslider-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 60px; /* espaço para as setas laterais */
}

.tslider { overflow: hidden; }

.tslide { display: none; }
.tslide--active { display: block; animation: tIn 0.5s var(--ease); }
@keyframes tIn {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Card glassmorphism */
.tcard {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  padding: 48px 52px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.10);
}
/* Reflexo de luz no canto superior */
.tcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.18), transparent);
}
/* Card destaque */
.tcard--hl {
  background: rgba(107,47,245,0.12);
  border-color: rgba(107,47,245,0.28);
  box-shadow:
    0 8px 40px rgba(107,47,245,0.22),
    0 0 0 1px rgba(107,47,245,0.15),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

/* Ícone de aspas decorativo */
.tcard-quote-icon {
  width: 32px; height: 22px;
  color: var(--purple-light);
  opacity: 0.5;
  margin-bottom: 18px;
}
.tcard-quote-icon svg { width: 100%; height: 100%; }

/* Estrelas */
.tcard-stars {
  color: #ffc840;
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 22px;
}

/* Texto do depoimento */
.tcard-text {
  font-size: 1.08rem;
  color: var(--silver);
  line-height: 1.82;
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
}

/* Linha separadora */
.tcard-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Avatar */
.tavatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.88rem;
  color: var(--white);
  flex-shrink: 0;
  border: 2px solid rgba(107,47,245,0.40);
  box-shadow: 0 0 16px rgba(107,47,245,0.30);
  overflow: hidden;
}
.tavatar-img { width: 100%; height: 100%; object-fit: cover; }

.tcard-author strong { display: block; font-size: 0.96rem; font-weight: 700; color: var(--white); }
.tcard-author span   { font-size: 0.82rem; color: var(--muted); }

/* Setas laterais */
.tslider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(107,47,245,0.12);
  border: 1px solid rgba(107,47,245,0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-light);
  z-index: 2;
  transition: all var(--t) var(--ease);
}
.tslider-arrow:hover {
  background: rgba(107,47,245,0.28);
  border-color: var(--purple);
  box-shadow: var(--shadow-p);
  color: var(--white);
}
.tslider-arrow svg { width: 18px; height: 18px; }
.tslider-arrow--prev { left: 0; }
.tslider-arrow--next { right: 0; }

/* Dots */
.tslider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.tdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--faint);
  border: none;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  padding: 0;
}
.tdot.active {
  width: 24px; border-radius: 4px;
  background: linear-gradient(to right, var(--purple), var(--neon));
}

/* ============================================================
   CHECKBOXES — Seleção de serviços no formulário
   ============================================================ */
.form-label-hint {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 4px;
}

.service-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.cb-item {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
}
.cb-item input[type="checkbox"] {
  /* Esconde o checkbox nativo */
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.cb-item span {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(167,139,250,0.12);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  transition: all var(--t) var(--ease);
  user-select: none;
}
.cb-item span::before {
  content: '';
  width: 16px; height: 16px;
  border: 1.5px solid rgba(107,47,245,0.30);
  border-radius: 4px;
  flex-shrink: 0;
  transition: all var(--t) var(--ease);
  background: transparent;
}
.cb-item:hover span {
  border-color: rgba(107,47,245,0.35);
  color: var(--white);
}
.cb-item input:checked ~ span {
  border-color: var(--purple);
  color: var(--white);
  background: rgba(107,47,245,0.12);
  box-shadow: 0 0 0 1px rgba(107,47,245,0.20);
}
.cb-item input:checked ~ span::before {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-color: var(--purple);
  /* Checkmark via clip-path */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}

@media (max-width: 600px) {
  .service-checkboxes { grid-template-columns: 1fr; }
  .tslider-wrap { padding: 0 44px; }
  .tcard { padding: 32px 28px; }
  .tcard-text { font-size: 0.96rem; }
  .pf-img-wrap      { height: 200px; }
  .pf-logo-img      { padding: 16px 20px; }
  .auto-modal-body  { padding: 22px 20px 28px; }
  .auto-modal-body h2 { font-size: 1.2rem; }
}

/* ============================================================
   IDENTIDADE VISUAL — Carrossel Premium
   ============================================================ */

.idc-wrap {
  position: relative;
  padding: 0 56px;
}
.idc-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.idc-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.idc-track > * { flex-shrink: 0; }

/* Card */
.idc-card {
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  cursor: pointer;
}
.idc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(107,47,245,0.22);
  border-color: rgba(107,47,245,0.32);
}

/* Logo — pequena, identificação visual no topo */
.idc-logo-area {
  height: 68px;
  background: linear-gradient(145deg, #18112e, #0d0920);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.idc-logo-img {
  max-width: 68%; max-height: 52px;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.50));
  transition: transform var(--t) var(--ease), filter var(--t) var(--ease);
}
.idc-card:hover .idc-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 12px rgba(107,47,245,0.28));
}

/* Mockup — elemento principal, ~75% da altura do card */
.idc-mockup-area {
  height: 300px;
  overflow: hidden;
  background: #06040f;
}
.idc-mockup-img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block;
  transition: transform var(--t) var(--ease);
}
.idc-card:hover .idc-mockup-img { transform: scale(1.02); }

/* Info + botão */
.idc-info { padding: 14px 18px 18px; }
.idc-name { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.idc-segment { font-size: 0.76rem; color: var(--muted); margin-bottom: 12px; }

.idc-btn-ver {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  font-size: 0.78rem; font-weight: 700;
  padding: 8px 18px; border-radius: 50px;
  box-shadow: 0 4px 20px rgba(107,47,245,0.45);
  border: none; cursor: pointer;
  transition: filter var(--t), transform var(--t);
}
.idc-btn-ver:hover { filter: brightness(1.12); transform: translateY(-1px); }
.idc-btn-ver svg { flex-shrink: 0; }

/* Setas laterais */
.idc-arrow {
  position: absolute; top: 50%;
  transform: translateY(calc(-50% - 22px));
  z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(107,47,245,0.12);
  border: 1px solid rgba(107,47,245,0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-light);
  transition: all var(--t) var(--ease); cursor: pointer;
}
.idc-arrow:hover { background: rgba(107,47,245,0.28); border-color: var(--purple); box-shadow: var(--shadow-p); color: var(--white); }
.idc-arrow.disabled { opacity: 0.28; pointer-events: none; }
.idc-arrow svg { width: 18px; height: 18px; }
.idc-arrow--prev { left: 0; }
.idc-arrow--next { right: 0; }

/* Dots */
.idc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.idc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--faint); border: none; cursor: pointer;
  transition: all var(--t) var(--ease); padding: 0;
}
.idc-dot.active { width: 24px; border-radius: 4px; background: linear-gradient(to right, var(--purple), var(--neon)); }

/* ============================================================
   MODAL IDENTIDADE VISUAL — Galeria interna + Zoom
   ============================================================ */
.idm {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 20px;
}
.idm.open { display: flex; animation: idmIn 0.28s var(--ease); }
@keyframes idmIn { from { opacity: 0; } to { opacity: 1; } }

.idm-box {
  background: #13102a;
  border: 1px solid rgba(107,47,245,0.28);
  border-radius: 24px;
  max-width: 820px; width: 100%; max-height: 92vh; overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.65);
  animation: idmBoxIn 0.32s var(--ease);
}
@keyframes idmBoxIn {
  from { opacity: 0; transform: scale(0.96) translateY(18px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.idm-close {
  position: sticky; top: 16px; float: right;
  margin: 16px 16px 0 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--silver); cursor: pointer; transition: all var(--t); z-index: 2;
}
.idm-close:hover { background: rgba(107,47,245,0.22); color: var(--white); }
.idm-close svg { width: 16px; height: 16px; }

.idm-header { padding: 20px 32px 0; clear: both; }
.idm-header .pf-card-tag { display: inline-block; margin-bottom: 10px; }
.idm-header h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem; font-weight: 600; color: var(--white); margin-bottom: 4px;
}
.idm-header > p { font-size: 0.84rem; color: var(--muted); margin-bottom: 4px; }
.idm-desc { font-size: 0.84rem; color: var(--silver); line-height: 1.6; margin-top: 6px; margin-bottom: 20px; }

/* Galeria interna */
.idm-gallery { position: relative; padding: 0 44px 28px; }
.idm-gal-viewport { overflow: hidden; border-radius: var(--radius); background: #0d0a1a; }
.idm-gal-track { display: flex; transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1); }

.idm-slide { flex-shrink: 0; width: 100%; }
.idm-slide img {
  width: 100%; height: 340px; object-fit: contain;
  display: block; cursor: zoom-in; background: #0d0a1a;
}
.idm-gal-arrow {
  position: absolute; top: 50%; transform: translateY(calc(-50% - 14px));
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(107,47,245,0.14); border: 1px solid rgba(107,47,245,0.26);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-light); cursor: pointer; transition: all var(--t); z-index: 2;
}
.idm-gal-arrow:hover { background: rgba(107,47,245,0.30); color: var(--white); }
.idm-gal-arrow.disabled { opacity: 0.28; pointer-events: none; }
.idm-gal-arrow svg { width: 15px; height: 15px; }
.idm-gal-prev { left: 0; }
.idm-gal-next { right: 0; }

.idm-gal-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.idm-gal-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--faint);
  border: none; cursor: pointer; transition: all var(--t); padding: 0;
}
.idm-gal-dot.active { width: 20px; border-radius: 4px; background: linear-gradient(to right, var(--purple), var(--neon)); }

/* Zoom */
.idm-zoom-overlay {
  display: none; position: fixed; inset: 0; z-index: 600;
  background: rgba(0,0,0,0.96); align-items: center; justify-content: center; cursor: zoom-out;
}
.idm-zoom-overlay.open { display: flex; }
.idm-zoom-overlay img { max-width: 94vw; max-height: 94vh; object-fit: contain; border-radius: 8px; }

/* Responsivo */
@media (max-width: 1024px) { .idc-wrap { padding: 0 48px; } }
@media (max-width: 600px) {
  .idc-wrap { padding: 0 40px; }
  .idm-gallery { padding: 0 36px 24px; }
  .idm-slide img { height: 220px; }
  .idm-header { padding: 18px 18px 0; }
  .idm-header h2 { font-size: 1.2rem; }
}
