/* IR Despachantes
   Layout: página única escura, hero com logo em anel animado, faixa de serviços em movimento,
   serviços em 4 grupos (os mesmos do logo), passos, orçamento por WhatsApp, dúvidas e rodapé. */

:root {
  --bg: #0a0a0b;
  --surface: #131315;
  --surface-2: #1b1b1e;
  --line: #2b2b2f;
  --fg: #f3f0e9;
  --muted: #a19d93;
  --gold: #d6aa4f;
  --gold-hi: #f1d48e;
  --silver: #c8cbd0;
  --on-gold: #17120a;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Pinyon Script', 'Snell Roundhand', cursive;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--on-gold); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.sec { padding-block: 88px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.speed { display: inline-grid; gap: 3px; }
.speed i { display: block; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); transform-origin: right; animation: dash 2.4s var(--ease) infinite; }
.speed i:nth-child(1) { width: 34px; }
.speed i:nth-child(2) { width: 24px; margin-left: 10px; animation-delay: .2s; }
.speed i:nth-child(3) { width: 30px; margin-left: 4px; animation-delay: .4s; }
@keyframes dash { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.4); opacity: .5; } }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
.lead { color: var(--muted); max-width: 56ch; }
.head { display: grid; gap: 14px; margin-bottom: 40px; }

/* barra de progresso */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transform-origin: left; transform: scaleX(0);
}

/* cabeçalho */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  background: var(--bg); z-index: 20;
}
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 25;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.top.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; transition: padding .3s ease; }
.top.scrolled .wrap { padding-block: 9px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.mark { font-weight: 800; font-style: italic; font-size: 30px; letter-spacing: -.04em; line-height: 1; display: flex; }
.mark b:first-child { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mark b:last-child { background: linear-gradient(180deg, #fff, var(--silver)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .n { font-weight: 700; letter-spacing: .22em; font-size: 12px; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a.lnk { position: relative; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); padding-block: 6px; transition: color .2s ease; }
.nav a.lnk::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a.lnk:hover { color: var(--fg); }
.nav a.lnk:hover::after { transform: scaleX(1); }

/* botões */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--on-gold); }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--gold) 70%, transparent); }
.btn-gold:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn-gold:active { transform: translateY(0); }
.btn-line { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-line:hover { border-color: var(--gold); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-big { flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 24px 12px 20px; border-radius: 16px; min-height: 64px; text-align: left; }
.btn-big .r { display: flex; align-items: center; gap: 10px; }
.btn-big small { font-size: 13px; font-weight: 600; opacity: .75; padding-left: 30px; }
.btn-block { width: 100%; }

/* hero */
.hero { padding-block: 48px 88px; position: relative; overflow: hidden; --mx: 78%; --my: 20%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.5rem); font-weight: 800; letter-spacing: -.025em; margin-top: 22px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-hi) 40%, var(--gold) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s linear infinite;
}
@keyframes sheen { to { background-position: -200% 0; } }
.hero .lead { margin-top: 22px; font-size: 17px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .note { margin-top: 18px; font-size: 13px; color: var(--muted); }

.logo { position: relative; justify-self: center; width: 100%; max-width: 390px; aspect-ratio: 1; animation: float 7s ease-in-out infinite; }
.logo img { position: relative; width: 100%; height: 100%; display: block; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0,0,0,.6); object-fit: cover; }
.logo .ring {
  position: absolute; inset: -14px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), transparent 28%, var(--silver) 52%, transparent 78%, var(--gold));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 16s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* entrada do hero */
.js .rise { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 100ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .logo { opacity: 0; animation: pop 1.1s var(--ease) .3s forwards, float 7s ease-in-out 1.4s infinite; }
@keyframes pop { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }

/* faixa em movimento */
.ticker { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.ticker .track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 28px; padding: 18px 0 18px 28px; white-space: nowrap; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--silver); }
.ticker li::after { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* diferenciais */
.pillars .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { padding: 28px 24px; display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; transition: transform .3s var(--ease), border-color .3s ease; }
.pillar:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.pillar .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 14%, transparent); }
.pillar .ic svg { width: 24px; height: 24px; stroke: var(--gold-hi); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar b { font-size: 17px; }
.pillar span { font-size: 14.5px; color: var(--muted); }

/* serviços */
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 28px; }
.who > span { font-size: 14px; color: var(--muted); }
.seg { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.seg button {
  position: relative; z-index: 1;
  font-family: inherit; font-size: 14px; font-weight: 700; color: var(--muted);
  background: transparent; border: 0; border-radius: 999px; padding: 8px 22px; cursor: pointer; min-height: 40px;
  transition: color .25s ease;
}
.seg button[aria-pressed="true"] { color: var(--on-gold); }
.seg .pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  transition: transform .35s var(--ease), width .35s var(--ease);
}
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.group { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 10px; transition: border-color .3s ease; }
.group:hover { border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
.group h3 { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding-bottom: 12px; }
.group h3 svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li + li { border-top: 1px solid var(--line); }
.group a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; text-decoration: none; font-weight: 500; font-size: 15.5px; min-height: 52px;
  transition: color .2s ease, padding .25s var(--ease);
}
.group a svg { width: 18px; height: 18px; flex: none; stroke: var(--gold); fill: none; stroke-width: 2; transition: transform .25s var(--ease); }
.group a:hover { color: var(--gold-hi); padding-left: 6px; }
.group a:hover svg { transform: translateX(4px); }
.more {
  margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px dashed color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 20px; padding: 24px;
}
.more b { font-size: 19px; }
.more p { color: var(--muted); font-size: 15px; }

/* passos */
.steps-sec { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 22px; display: grid; gap: 8px; align-content: start; }
.steps li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); z-index: 1; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) calc(var(--d, 0) * 1ms + 200ms); }
.steps li.in::before { transform: scaleX(1); }
.steps .num { font-weight: 800; font-size: 38px; line-height: 1; font-style: italic; color: var(--gold-hi); }
.steps b { font-size: 17px; }
.steps span.t { color: var(--muted); font-size: 14.5px; }

/* orçamento e contato */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.card h3 { font-size: 22px; font-weight: 800; }
.card > p { color: var(--muted); font-size: 15px; margin-top: 8px; }
form { display: grid; gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--silver); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 48px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fine { font-size: 12.5px; color: var(--muted); }
.people { display: grid; gap: 20px; }
.person { display: grid; gap: 16px; }
.person .nm { font-family: var(--font-script); font-size: 54px; line-height: 1; color: var(--fg); }
.person .rl { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.person .num { font-size: 25px; font-weight: 700; font-variant-numeric: tabular-nums; user-select: all; }
.person .row { display: flex; flex-wrap: wrap; gap: 10px; }

/* dúvidas */
.faq { display: grid; gap: 12px; max-width: 820px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s ease; }
.qa.open { border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.qa button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  font-family: inherit; font-size: 16.5px; font-weight: 600; color: var(--fg);
  background: transparent; border: 0; padding: 20px 22px; cursor: pointer; min-height: 60px;
}
.qa button i { position: relative; width: 18px; height: 18px; flex: none; }
.qa button i::before, .qa button i::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--gold); transition: transform .3s var(--ease); }
.qa button i::after { transform: rotate(90deg); }
.qa.open button i::after { transform: rotate(0); }
.qa .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.qa.open .a { grid-template-rows: 1fr; }
.qa .a > div { overflow: hidden; }
.qa .a p { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; }

/* chamada final */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px circle at 50% 100%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%); }
.final .wrap { display: grid; justify-items: center; gap: 20px; }
.final .script { font-family: var(--font-script); font-size: clamp(2rem, 6vw, 3.2rem); color: var(--gold-hi); line-height: 1.1; }
.final .cta { justify-content: center; margin-top: 8px; }

footer { border-top: 1px solid var(--line); padding-block: 40px 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
footer .tag { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--silver); margin-bottom: 4px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--gold-hi); }

/* botão flutuante (desktop) e barra fixa (celular) */
.fab {
  position: fixed; z-index: 35; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--on-gold);
  box-shadow: 0 12px 30px -6px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .3s ease, transform .4s var(--ease);
}
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab svg { width: 30px; height: 30px; fill: currentColor; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.bar { display: none; }

/* revelar ao rolar */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .logo { order: -1; max-width: 230px; justify-self: start; }
  .groups, .contact { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a.lnk { display: none; }
  .pillars .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  .sec { padding-block: 60px; }
  .brand .n { display: none; }
  .cta .btn-big { width: 100%; }
  .top .btn { display: none; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .fab { display: none; }
  .bar {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .bar .btn { padding: 0 12px; }
  footer { padding-bottom: 110px; }
  .person .num { font-size: 22px; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise, .js .reveal, .js .logo { opacity: 1 !important; transform: none !important; }
  .steps li::before { transform: scaleX(1); }
}

/* painel: atributo hidden sempre vence */
[hidden] { display: none !important; }

/* serviços com atendente definido */
.who small { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.group a .who-tag {
  margin-left: auto; flex: none;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-hi); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  border-radius: 999px; padding: 3px 10px;
}
