/* =========================================================
   NexaOps — Consultoria em IA, Automação e Governança
   Design tokens
   ========================================================= */
:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --bg-3: #101a2e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #e8edf7;
  --text-2: #a9b4c9;
  --text-3: #6f7b93;
  --accent: #22d3ee;      /* cyan */
  --accent-2: #8b5cf6;    /* violet (mesmo do logo) */
  --accent-3: #34d399;    /* green (governança) */
  --whatsapp: #25d366;
  --danger: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 96px; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.section-head.center .eyebrow::before { display: none; }
h2.title { font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
.lead { font-size: 18px; color: var(--text-2); margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #041018;
  background: linear-gradient(135deg, var(--accent), #6ee7f9);
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(34, 211, 238, 0.4); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-whatsapp { background: var(--whatsapp); color: #062b14; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.28); }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.header.scrolled { border-bottom-color: var(--border); background: rgba(7, 11, 20, 0.88); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo-mark { width: 34px; height: 34px; }
.logo-img { height: 40px; width: auto; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: color .2s; white-space: nowrap; }
.nav .logo, .nav-cta { flex-shrink: 0; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 20px; font-size: 14px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); transition: .25s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 110px 0 96px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(124, 108, 255, 0.28), transparent 60%),
    radial-gradient(800px 500px at 85% 10%, rgba(34, 211, 238, 0.22), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; max-width: 14ch; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 19px; max-width: 560px; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent-3); }

/* Hero visual card */
.hero-visual { position: relative; }
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.console { padding: 22px; font-size: 13.5px; }
.console-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--text-3); font-size: 12px; }
.console-head i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.console-head i:nth-child(1) { background: #ff5f57; } .console-head i:nth-child(2) { background: #febc2e; } .console-head i:nth-child(3) { background: #28c840; }
.console-head b { margin-left: auto; font-weight: 500; }
.pipeline { display: grid; gap: 12px; }
.pipe {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  opacity: 0; transform: translateY(8px); animation: pipeIn .6s ease forwards;
}
.pipe:nth-child(1) { animation-delay: .2s } .pipe:nth-child(2) { animation-delay: .5s } .pipe:nth-child(3) { animation-delay: .8s } .pipe:nth-child(4) { animation-delay: 1.1s }
@keyframes pipeIn { to { opacity: 1; transform: none; } }
.pipe-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(34,211,238,0.12); color: var(--accent); }
.pipe-icon.v { background: rgba(124,108,255,0.16); color: #a89cff; }
.pipe-icon.g { background: rgba(52,211,153,0.14); color: var(--accent-3); }
.pipe-icon svg { width: 20px; height: 20px; }
.pipe strong { display: block; font-weight: 600; font-size: 14px; }
.pipe small { color: var(--text-3); }
.pipe .status { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(52,211,153,0.14); color: var(--accent-3); letter-spacing: .04em; }
.pipe .status.run { background: rgba(34,211,238,0.14); color: var(--accent); }
.pipe .status.run::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .3 } }
.console-foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; color: var(--text-3); font-size: 12px; }
.console-foot b { color: var(--text-2); font-weight: 500; }
.float-badge {
  position: absolute; padding: 12px 16px; border-radius: 12px; font-size: 13px; display: flex; align-items: center; gap: 10px;
  animation: floaty 6s ease-in-out infinite;
}
.float-badge svg { width: 18px; height: 18px; }
.float-badge.b1 { top: -22px; right: -18px; color: var(--accent-3); }
.float-badge.b2 { bottom: -50px; left: 28px; color: #a89cff; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* Trust strip */
.trust { border-block: 1px solid var(--border); background: var(--bg-2); padding: 26px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-label { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.trust-logos { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-logos span {
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px; letter-spacing: .02em;
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); color: var(--text-2); background: var(--surface);
}

/* ---------- Services ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(500px 200px at var(--mx, 50%) var(--my, 0%), rgba(34,211,238,0.10), transparent 60%);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.card:hover::after { opacity: 1; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; }
.card-icon svg { width: 26px; height: 26px; }
.card-icon.c { background: rgba(34,211,238,0.14); color: var(--accent); }
.card-icon.v { background: rgba(124,108,255,0.18); color: #a89cff; }
.card-icon.g { background: rgba(52,211,153,0.14); color: var(--accent-3); }
.card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15px; }
.card ul { margin-top: 20px; display: grid; gap: 10px; }
.card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.card li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat, rgba(34,211,238,0.12);
}
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-weight: 600; font-size: 14px; color: var(--accent); }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card-link:hover svg { transform: translateX(3px); }

/* ---------- Method / timeline ---------- */
.method { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: step; }
.step {
  position: relative; padding: 28px 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
}
.step-num {
  font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .1em;
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.step-num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 14.5px; }
.step .dur { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 600; color: var(--text-3); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); }

/* ---------- Governance highlight ---------- */
.gov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.gov-grid .eyebrow { color: var(--accent-3); }
.gov-grid .eyebrow::before { background: var(--accent-3); }
.checklist { display: grid; gap: 14px; margin-top: 28px; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); font-size: 15px;
}
.checklist li svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--accent-3); margin-top: 1px; }
.checklist li strong { display: block; font-weight: 600; margin-bottom: 2px; }
.checklist li span { color: var(--text-2); font-size: 14px; }
.gov-panel { padding: 32px; }
.gov-panel h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.gov-panel > p { color: var(--text-2); font-size: 14.5px; margin-bottom: 22px; }
.frameworks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fw { padding: 16px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.fw b { display: block; font-family: var(--font-display); font-size: 15px; margin-bottom: 4px; }
.fw span { font-size: 13px; color: var(--text-3); }
.gov-panel .btn { margin-top: 22px; width: 100%; }

/* ---------- Segments ---------- */
.segments { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.segment {
  padding: 22px 16px; text-align: center; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  transition: border-color .2s, background .2s;
}
.segment:hover { border-color: var(--border-strong); background: var(--surface-2); }
.segment svg { width: 26px; height: 26px; margin: 0 auto 12px; color: var(--accent); }
.segment b { display: block; font-weight: 600; font-size: 14.5px; }
.segment span { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 3px; }

/* ---------- About ---------- */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid .lead { margin-top: 0; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.value svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 12px; }
.value b { display: block; font-weight: 600; margin-bottom: 4px; }
.value p { font-size: 14px; color: var(--text-2); }
.about-text p + p { margin-top: 14px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 20px 22px; background: none; border: 0; font-weight: 600; font-size: 16px;
}
.faq-q svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--accent); transition: transform .25s; }
.faq[open] .faq-q svg { transform: rotate(45deg); }
.faq-a { padding: 0 22px 22px; color: var(--text-2); font-size: 15px; max-width: 70ch; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary { list-style: none; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(700px 400px at 80% 100%, rgba(124,108,255,0.18), transparent 60%),
    radial-gradient(600px 400px at 10% 0%, rgba(34,211,238,0.14), transparent 60%),
    var(--bg);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.channels { display: grid; gap: 14px; margin-top: 32px; }
.channel {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  transition: border-color .2s, background .2s, transform .2s;
}
.channel:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateX(4px); }
.channel-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; }
.channel-icon svg { width: 22px; height: 22px; }
.channel-icon.wa { background: rgba(37,211,102,0.16); color: var(--whatsapp); }
.channel-icon.mail { background: rgba(34,211,238,0.14); color: var(--accent); }
.channel-icon.cal { background: rgba(124,108,255,0.18); color: #a89cff; }
.channel-icon.li { background: rgba(10,102,194,0.28); color: #6cb4ee; }
.channel-icon.ph { background: rgba(251,191,36,0.16); color: #fbbf24; }
.channel b { display: block; font-weight: 600; font-size: 15px; }
.channel span { font-size: 13.5px; color: var(--text-3); }
.channel > svg { width: 18px; height: 18px; color: var(--text-3); }
.contact-meta { margin-top: 28px; font-size: 13.5px; color: var(--text-3); display: grid; gap: 6px; }
.contact-meta svg { display: inline-block; width: 15px; height: 15px; vertical-align: -3px; margin-right: 6px; color: var(--text-2); }

.form-card { padding: 36px; }
.form-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.form-card > p { color: var(--text-2); font-size: 14.5px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; font: inherit; font-size: 15px; color: var(--text);
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-strong); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b4c9' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field select option { background: var(--bg-3); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34,211,238,0.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .err { font-size: 12.5px; color: var(--danger); display: none; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); }
.consent input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.form-actions .btn { flex: 1; }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; font-size: 14px; display: none; }
.form-msg.ok { display: block; background: rgba(52,211,153,0.14); border: 1px solid rgba(52,211,153,0.4); color: #a7f3d0; }
.form-msg.error { display: block; background: rgba(248,113,113,0.12); border: 1px solid rgba(248,113,113,0.4); color: #fecaca; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 0 96px; }
.cta-box {
  position: relative; overflow: hidden; padding: 56px; border-radius: 24px; text-align: center;
  background: linear-gradient(135deg, rgba(34,211,238,0.16), rgba(124,108,255,0.18));
  border: 1px solid var(--border-strong);
}
.cta-box::before {
  content: ""; position: absolute; inset: -40%; pointer-events: none;
  background: conic-gradient(from 90deg, transparent, rgba(255,255,255,0.08), transparent 30%);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 600; }
.cta-box p { color: var(--text-2); margin: 14px auto 28px; max-width: 560px; }
.cta-box .hero-cta { justify-content: center; margin: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer p { color: var(--text-3); margin-top: 14px; max-width: 320px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); margin-bottom: 16px; font-family: var(--font); }
.footer ul { display: grid; gap: 10px; color: var(--text-3); }
.footer ul a { color: var(--text-3); transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); transition: .2s; }
.footer-social a:hover { color: var(--text); border-color: var(--border-strong); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13px; }
.footer-bottom a { color: var(--text-3); } .footer-bottom a:hover { color: var(--text); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--whatsapp); color: #062b14; font-weight: 700; font-size: 14px;
  box-shadow: 0 12px 32px rgba(37,211,102,0.4); transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(37,211,102,0.5); }
.wa-float svg { width: 22px; height: 22px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s } .reveal[data-delay="2"] { transition-delay: .2s }
.reveal[data-delay="3"] { transition-delay: .3s } .reveal[data-delay="4"] { transition-delay: .4s }
.reveal[data-delay="5"] { transition-delay: .5s }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .pipe { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .segments { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .float-badge.b1 { right: 0; } .float-badge.b2 { left: 0; }
}
/* Menu com 8 itens: o botão "Contato" (repete "Falar com especialista") sai antes, e abaixo de
   1200px o menu vira hambúrguer — senão os links empurram o logo e os botões para fora da tela. */
@media (max-width: 1400px) {
  .nav-links { gap: 26px; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; left: 0; right: 0; top: 76px; padding: 12px 24px 20px;
    background: rgba(7,11,20,0.97); border-bottom: 1px solid var(--border);
  }
  .nav-links.open a { padding: 12px 8px; font-size: 16px; border-radius: 8px; }
  .nav-links.open a:hover { background: var(--surface); }
}
@media (max-width: 860px) {
  .section { padding-block: 72px; }
  .gov-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-box { padding: 40px 24px; }
}
@media (max-width: 600px) {
  .hero { padding: 72px 0 64px; }
  .cards-3, .steps, .values, .frameworks, .form-grid { grid-template-columns: 1fr; }
  .segments { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .card { padding: 26px; }
  .form-card { padding: 26px 20px; }
  .btn-lg { padding: 16px 24px; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .float-badge { display: none; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .trust-inner { justify-content: center; text-align: center; }
  /* no celular o botão do cabeçalho empurrava o menu (☰) para fora da tela; o hero já tem o mesmo CTA */
  .nav-cta .btn-primary { display: none; }
  /* textos de botão mais longos (en/es) quebram linha em vez de alargar o cartão */
  .btn { white-space: normal; text-align: center; }
  .pipe { grid-template-columns: 36px 1fr; }
  .pipe .status { grid-column: 2; justify-self: start; }
}
