/* ===========================================================
   VIASS — components.css
   Componentes UI usando tokens semânticos (auto-temáticos).
   Novos: theme toggle, ticker, marquee, tilt cards, stats banner.
=========================================================== */

/* Grain overlay (atmosfera) */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme='light'] .grain { opacity: 0.025; mix-blend-mode: multiply; }

/* ============================================
   TICKER FINANCEIRO (topo)
   ============================================ */
.ticker {
  position: relative; z-index: 49;
  background: var(--bg-3); border-bottom: 1px solid var(--line);
  overflow: hidden; height: 36px; display: flex; align-items: center;
}
.ticker-track {
  display: flex; gap: 50px; white-space: nowrap;
  animation: ticker-roll 60s linear infinite;
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--muted);
}
.ticker-item { display: inline-flex; align-items: center; gap: 10px; }
.ticker-item .lbl { color: var(--muted-2); }
.ticker-item .val { color: var(--ink); font-weight: 500; }
.ticker-item .up { color: var(--success); }
.ticker-item .down { color: var(--error); }
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); opacity: 0.6; }
@keyframes ticker-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   HEADER / NAVEGAÇÃO
   ============================================ */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
}
.has-ticker header.site-header { top: 36px; }
header.site-header.scrolled {
  background: var(--backdrop); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; }

.brand { display: flex; align-items: center; gap: 14px; transition: transform var(--t-fast); }
.brand:hover { transform: translateY(-1px); }
.brand img { height: 46px; width: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4)); transition: filter var(--t-theme); }
[data-theme='light'] .brand img { filter: drop-shadow(0 4px 14px rgba(22, 48, 83, 0.15)); }
.brand .name {
  font-family: var(--display); font-size: 1.55rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--ink);
}
.brand .name b { color: var(--gold-500); font-weight: 600; }

.navlinks { display: flex; gap: 32px; align-items: center; }

.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  font-size: 0.94rem; color: var(--muted); font-weight: 400; letter-spacing: 0.02em;
  background: none; border: none; padding: 8px 0;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--t-fast);
}
.nav-item > a::after, .nav-item > button::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 1px; width: 0;
  background: var(--gold-500); transition: 0.3s;
}
.nav-item:hover > a, .nav-item:hover > button,
.nav-item > a.active { color: var(--ink); }
.nav-item:hover > a::after, .nav-item:hover > button::after,
.nav-item > a.active::after { width: 100%; }

.nav-item .caret { width: 9px; height: 9px; transition: 0.3s; opacity: 0.7; }
.nav-item:hover .caret { transform: rotate(180deg); opacity: 1; }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: -16px; min-width: 240px;
  background: var(--surface); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 4px; padding: 10px;
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: 0.25s; z-index: 60;
}
[data-theme]:not([data-theme='light']) .dropdown,
:root:not([data-theme]) .dropdown { background: rgba(10, 24, 48, 0.96); }
.nav-item:hover .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: block; padding: 11px 16px; color: var(--muted); font-size: 0.92rem;
  border-radius: 2px; transition: var(--t-fast);
}
.dropdown a:hover {
  background: var(--gold-glow); color: var(--gold-400); padding-left: 22px;
}

.menu-tog {
  display: none; background: none; border: none; color: var(--ink);
  font-size: 1.6rem; padding: 8px; line-height: 1;
}

/* ============================================
   THEME TOGGLE (botão Sol/Lua)
   ============================================ */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  color: var(--muted); display: grid; place-items: center;
  cursor: pointer; transition: var(--t-fast); position: relative;
  overflow: hidden;
}
.theme-toggle:hover {
  border-color: var(--gold-500); color: var(--gold-400);
  background: var(--gold-glow);
  transform: rotate(15deg);
}
.theme-toggle svg { width: 18px; height: 18px; transition: 0.3s; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme='light'] .theme-toggle .icon-sun { display: block; }
[data-theme='light'] .theme-toggle .icon-moon { display: none; }

/* ============================================
   BOTÕES
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 2px; border: none;
  font-family: var(--sans); font-weight: 500; font-size: 0.92rem; letter-spacing: 0.04em;
  transition: var(--t-fast); cursor: pointer; position: relative; overflow: hidden;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--bg);
  box-shadow: var(--shadow-gold);
}
[data-theme='light'] .btn-gold { color: #fff; }
.btn-gold::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  opacity: 0; transition: opacity 0.3s;
}
.btn-gold:hover { color:#000; transform: translateY(-2px); box-shadow: 0 22px 50px -10px var(--gold-glow); }
.btn-gold:hover::before { opacity: 1; }
.btn-gold > * { position: relative; z-index: 1; }

.btn-ghost {
  border: 1px solid var(--line); color: var(--ink);
  background: var(--surface-2);
}
.btn-ghost:hover {
  border-color: var(--gold-500); color: var(--gold-400);
  background: var(--gold-glow);
}
.btn-block { width: 100%; justify-content: center; }

/* ============================================
   HERO da Home
   ============================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 160px 0 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 78% 18%, var(--mesh-1), transparent 60%),
    radial-gradient(700px 700px at 12% 90%, var(--mesh-2), transparent 60%),
    linear-gradient(160deg, var(--bg-2), var(--bg) 70%);
}

/* Mesh gradient animado */
.hero-mesh {
  position: absolute; inset: 0; z-index: 1; opacity: 0.6;
  background:
    radial-gradient(800px 500px at 30% 30%, var(--mesh-1), transparent 50%),
    radial-gradient(700px 400px at 70% 70%, var(--mesh-2), transparent 50%);
  filter: blur(40px);
  animation: mesh-shift 20s ease-in-out infinite alternate;
}
@keyframes mesh-shift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-30px, 20px) scale(1.08); }
  100% { transform: translate(20px, -30px) scale(1.03); }
}

.grid-lines {
  position: absolute; inset: 0; z-index: 1; opacity: 0.35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 90%);
}
[data-theme='light'] .grid-lines { opacity: 0.6; }

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
.hero h1 { margin-bottom: 28px; }
.hero .lede { margin: 0 0 42px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 30px; font-weight: 500;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold-500); }

/* Hero visual (foto + badge animado) */
.hero-visual {
  position: relative; aspect-ratio: 4/5; max-width: 460px; margin-left: auto;
  border-radius: 4px; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 8s ease-out;
}
.hero-visual:hover img { transform: scale(1.06); }
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 15, 31, 0.4) 100%);
}
.hero-visual .floating-badge {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  background: var(--backdrop); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 4px; padding: 20px;
  z-index: 1;
}
.hero-visual .floating-badge .num {
  font-family: var(--display); font-size: 2.2rem; color: var(--gold-400);
  font-weight: 500; line-height: 1;
}
.hero-visual .floating-badge .lbl {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-top: 6px;
}

/* Pulsing decorative ring */
.hero-visual .ring {
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border: 1px solid var(--gold-500);
  border-radius: 50%; opacity: 0.4;
  animation: ring-pulse 3.5s ease-out infinite;
}
.hero-visual .ring::before {
  content: ''; position: absolute; inset: 18px;
  border: 1px solid var(--gold-500); border-radius: 50%; opacity: 0.5;
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.08); opacity: 0.7; }
}

.scrolldn {
  position: absolute; left: var(--gutter); bottom: 36px;
  display: flex; align-items: center; gap: 14px;
  color: var(--muted-2); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  z-index: 2;
}
.scrolldn span { width: 30px; height: 1px; background: var(--muted-2); animation: pulse-line 2s infinite; }
@keyframes pulse-line { 0%, 100% { opacity: 0.3; width: 20px; } 50% { opacity: 1; width: 42px; } }

/* ============================================
   PAGE HEADER (banners das páginas internas)
   ============================================ */
.page-header {
  position: relative; padding: 180px 0 90px; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.has-ticker .page-header { padding-top: 230px; }
.page-header::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(800px 500px at 90% 0%, var(--mesh-1), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.page-header .wrap { position: relative; z-index: 2; }
.page-header h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); margin: 8px 0 22px; max-width: 800px; }
.page-header .lede { font-size: 1.1rem; }
.breadcrumb { font-size: 0.82rem; color: var(--muted-2); letter-spacing: 0.04em; margin-bottom: 6px; }
.breadcrumb a { color: var(--muted-2); transition: var(--t-fast); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* ============================================
   SEÇÕES GENÉRICAS
   ============================================ */
.sec { padding: 110px 0; position: relative; z-index: 2; }
.sec-soft { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.sec-head { max-width: 660px; margin-bottom: 60px; }
.sec-head p { color: var(--muted); font-size: 1.06rem; margin-top: 18px; font-weight: 300; }

/* ============================================
   STATS BANNER — counters animados
   ============================================ */
.stats-banner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
}
.stat {
  background: var(--surface); padding: 36px 28px; text-align: center;
}
.stat .num {
  font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 500; color: var(--gold-500); line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
}
.stat .num small {
  font-size: 0.45em; font-weight: 600; opacity: 0.7;
}
.stat .lbl {
  margin-top: 12px; font-size: 0.85rem; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
}

/* ============================================
   SERVICE CARDS com TILT 3D
   ============================================ */
.svc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
}
.svc-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.svc {
  background: var(--surface); padding: 38px 30px; transition: 0.4s; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transform-style: preserve-3d; perspective: 1000px;
}
.svc::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  transform: scaleX(0); transform-origin: left; transition: 0.45s;
}
.svc::after {
  content: ''; position: absolute; bottom: -100%; left: 0; right: 0; height: 100%;
  background: radial-gradient(circle at center, var(--gold-glow), transparent 70%);
  transition: 0.6s; opacity: 0;
}
.svc:hover { background: var(--surface-hover); transform: translateY(-4px); }
.svc:hover::before { transform: scaleX(1); }
.svc:hover::after { bottom: -50%; opacity: 1; }
.svc .ic {
  width: 50px; height: 50px; border: 1px solid var(--gold-600); border-radius: 2px;
  display: grid; place-items: center; color: var(--gold-500); transition: 0.4s; margin-bottom: 22px;
  position: relative; z-index: 1;
}
.svc:hover .ic {
  background: var(--gold-500); color: var(--surface);
  border-color: var(--gold-500); transform: rotate(-5deg) scale(1.08);
}
[data-theme='light'] .svc:hover .ic { color: #fff; }
.svc h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 10px; position: relative; z-index: 1; }
.svc p { color: var(--muted); font-size: 0.94rem; font-weight: 300; flex: 1; position: relative; z-index: 1; }
.svc .more {
  margin-top: 20px; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-500); display: inline-flex; gap: 8px; align-items: center; transition: 0.3s;
  position: relative; z-index: 1;
}
.svc:hover .more { gap: 14px; color: var(--gold-400); }

/* ============================================
   SERVICE DETAIL (página servicos.html)
   ============================================ */
.svc-detail {
  padding: 80px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: center;
}
.svc-detail.reverse { grid-template-columns: 1.6fr 1fr; }
.svc-detail.reverse .svc-detail-visual { order: 2; }
.svc-detail:last-child { border-bottom: none; }
.svc-detail-visual {
  aspect-ratio: 1; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background:
    radial-gradient(500px 400px at 30% 20%, var(--mesh-1), transparent),
    linear-gradient(160deg, var(--surface-2), var(--bg));
  display: grid; place-items: center; position: relative;
}
.svc-detail-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 30px 30px;
}
.svc-detail-visual .ic-big {
  width: 90px; height: 90px; border: 1px solid var(--gold-500); border-radius: 4px;
  display: grid; place-items: center; color: var(--gold-400);
  background: var(--gold-glow); position: relative; z-index: 1;
}
.svc-detail-visual .ic-big svg { width: 44px; height: 44px; }
.svc-detail-visual .deco-num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--display); font-size: 4rem; color: var(--gold-500);
  opacity: 0.15; font-weight: 500; line-height: 1;
}
.svc-detail .num {
  font-family: var(--display); font-size: 0.9rem; color: var(--gold-500);
  letter-spacing: 0.18em; font-weight: 500;
}
.svc-detail h2 { margin: 8px 0 18px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.svc-detail p { color: var(--muted); font-size: 1rem; font-weight: 300; }
.svc-detail .features { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.svc-detail .features li {
  display: flex; gap: 12px; color: var(--ink); font-size: 0.96rem; align-items: flex-start;
}
.svc-detail .features li::before {
  content: "→"; color: var(--gold-400); font-weight: 700; margin-top: 1px;
}

/* ============================================
   MARQUEE de parceiros/instituições
   ============================================ */
.marquee {
  overflow: hidden; padding: 36px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  position: relative;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--surface-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--surface-2), transparent); }
.marquee-track {
  display: flex; gap: 70px; align-items: center;
  animation: marquee-roll 32s linear infinite;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--display); font-size: 1.3rem; font-weight: 500;
  color: var(--muted); letter-spacing: 0.06em;
  white-space: nowrap; opacity: 0.7; transition: var(--t-fast);
  display: flex; align-items: center; gap: 12px;
}
.marquee-item:hover { opacity: 1; color: var(--gold-500); }
.marquee-item::before {
  content: '◆'; color: var(--gold-500); font-size: 0.7rem;
}
@keyframes marquee-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   FOOTER
   ============================================ */
footer.site-footer {
  border-top: 1px solid var(--line); background: var(--bg);
  padding: 64px 0 36px; position: relative; z-index: 2;
}
.foot-top {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px;
  padding-bottom: 46px; border-bottom: 1px solid var(--line);
}
.foot-brand { max-width: 320px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand .brand img { height: 40px; }
.foot-brand p { color: var(--muted-2); font-size: 0.92rem; font-weight: 300; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.fcol h5 {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 18px; font-weight: 600;
}
.fcol a, .fcol span {
  display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 11px;
  font-weight: 300; transition: var(--t-fast);
}
.fcol a:hover { color: var(--gold-400); transform: translateX(3px); }
.foot-bot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 30px; color: var(--muted-2); font-size: 0.82rem;
}

/* ============================================
   WHATSAPP FLUTUANTE
   ============================================ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6);
  transition: var(--t-fast); animation: wapulse 2.8s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float .wa-tip {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--surface); color: var(--ink); font-size: 0.84rem; font-weight: 500;
  padding: 9px 15px; border-radius: 10px;
  box-shadow: var(--shadow-card);
  opacity: 0; pointer-events: none; transition: 0.3s; border: 1px solid var(--line);
}
.wa-float:hover .wa-tip { opacity: 1; }
@keyframes wapulse {
  0% { box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   FORMS
   ============================================ */
.form-grid { display: grid; gap: 18px; }
.form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.82rem; color: var(--muted); letter-spacing: 0.06em; font-weight: 500;
}
.form-field label .req { color: var(--gold-500); }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); padding: 13px 16px; font-size: 0.98rem; font-family: var(--sans);
  border-radius: 2px; transition: var(--t-fast); outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23c9a14a' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 38px;
}
.form-field option { background: var(--surface); color: var(--ink); }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.form-check input { margin-top: 4px; accent-color: var(--gold-500); }
.form-msg { margin-top: 16px; padding: 14px; border-radius: 2px; font-size: 0.92rem; display: none; }
.form-msg.success { display: block; background: rgba(70, 209, 138, 0.1); border: 1px solid rgba(70, 209, 138, 0.4); color: var(--success); }
.form-msg.error { display: block; background: rgba(240, 109, 109, 0.1); border: 1px solid rgba(240, 109, 109, 0.4); color: var(--error); }

/* ============================================
   CTA block
   ============================================ */
.cta {
  position: relative; overflow: hidden; border-top: 1px solid var(--line);
  padding: 110px 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(800px 500px at 50% 0%, var(--mesh-1), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.cta .wrap { position: relative; z-index: 2; text-align: center; }
.cta h2 { margin-bottom: 22px; }
.cta p { color: var(--muted); font-size: 1.1rem; max-width: 540px; margin: 0 auto 36px; font-weight: 300; }
.cta .mail-line { margin-top: 32px; font-size: 0.9rem; color: var(--muted-2); letter-spacing: 0.04em; }
.cta .mail-line a { color: var(--gold-400); border-bottom: 1px solid var(--gold-500); padding-bottom: 2px; }

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 980px) {
  .navlinks { display: none; }
  .menu-tog { display: block; }
  .navlinks.open {
    display: flex; position: absolute; top: 88px; left: 0; right: 0; flex-direction: column;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 24px var(--gutter); gap: 16px; align-items: flex-start;
  }
  .navlinks.open .nav-item { width: 100%; }
  .navlinks.open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; padding: 8px 0 0 14px; box-shadow: none; min-width: 0;
  }
  .navlinks.open .nav-item .caret { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 100%; margin: 0 auto; aspect-ratio: 16/10; }
  .stats-banner { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .svc-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .svc-detail { grid-template-columns: 1fr; gap: 36px; }
  .svc-detail.reverse .svc-detail-visual { order: 0; }
  .svc-detail-visual { max-width: 320px; margin: 0 auto; }
  .form-grid.cols-2 { grid-template-columns: 1fr; }
  .ticker { display: none; }
  .has-ticker header.site-header { top: 0; }
  .has-ticker .page-header { padding-top: 180px; }
}
@media (max-width: 560px) {
  .svc-grid, .svc-grid.cols-3 { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .wa-float .wa-tip { display: none; }
  .nav { height: 76px; }
  .navlinks.open { top: 76px; }
}
