/* =========================================================
   E.S Contabilidade — estilos
   Paleta: preto, dourado e marfim (identidade visual do cliente)
   ========================================================= */

:root {
  --ink: #0d0d0c;
  --ink-2: #161513;
  --ink-3: #24211d;
  --ivory: #f6f2ea;
  --ivory-2: #ede6d9;
  --paper: #fcfaf6;
  --text: #1b1916;
  --muted: #6a645b;
  --muted-light: #b9b2a6;
  --line: rgba(27, 25, 22, .12);
  --line-light: rgba(246, 242, 234, .12);

  --gold: #b8914f;
  --gold-light: #dcbd80;
  --gold-deep: #7d5f2c;           /* dourado legível sobre fundo claro */
  --gold-grad: linear-gradient(120deg, #8a6a33 0%, #d9b879 38%, #b48c4c 55%, #f1dba6 76%, #9b763a 100%);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Allura", cursive;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(13, 13, 12, .35);
  --shadow-sm: 0 10px 30px -14px rgba(13, 13, 12, .25);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  font-variant-numeric: lining-nums;
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-light); color: var(--ink); }
[hidden] { display: none !important; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light, .section--dark .eyebrow { color: var(--gold-light); }

.h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -.01em; line-height: 1.05;
  text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; color: var(--gold-deep); }
.section--dark .h2 em { color: var(--gold-light); }

.section__sub { margin-top: 18px; color: var(--muted); font-size: 1.06rem; max-width: 56ch; text-wrap: pretty; }
.section--dark .section__sub { color: var(--muted-light); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--ink); --fg: var(--ivory);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--dark { --bg: var(--ink); --fg: var(--ivory); }
.btn--dark:hover { box-shadow: 0 14px 30px -12px rgba(13,13,12,.55), 0 0 0 1px var(--gold) inset; }
.btn--gold { --fg: var(--ink); background: var(--gold-grad); background-size: 200% 100%; background-position: 0% 0; transition: background-position .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 14px 34px -12px rgba(184,145,79,.7); }
.btn--line { background: transparent; color: var(--ink); border-color: rgba(13,13,12,.25); }
.btn--line:hover { border-color: var(--ink); background: rgba(13,13,12,.04); }

/* ---------- Aviso (topo) ---------- */
.notice { background: var(--ink); color: var(--ivory); font-size: .88rem; position: relative; z-index: 51; }
.notice__inner { display: flex; align-items: center; gap: 12px; padding-block: 10px; }
.notice__inner > .ico { color: var(--gold-light); }
.notice p { flex: 1; color: #d8d2c6; }
.notice strong { color: var(--ivory); font-weight: 700; }
.notice a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light); font-weight: 700; white-space: nowrap; }
.notice a:hover { text-decoration: underline; }
.notice__close { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--muted-light); display: grid; place-items: center; border-radius: 50%; }
.notice__close:hover { color: var(--ivory); background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  transition: background-color .4s, box-shadow .4s;
}
.header.is-scrolled {
  background: rgba(246, 242, 234, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo (recriado em HTML/CSS para ficar nítido em qualquer tela) */
.logo { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 14px; }
.logo__mark {
  display: inline-flex; align-items: baseline;
  font-family: var(--font-display); font-weight: 700; font-size: 2.35rem; line-height: 1;
  color: var(--ink); -webkit-text-stroke: 1.4px var(--gold); paint-order: stroke fill;
  letter-spacing: -.01em;
}
.logo__dot { width: .17em; height: .17em; margin: 0 .06em; border-radius: 50%; background: var(--gold-grad); align-self: flex-end; transform: translateY(-.1em); box-shadow: 0 0 0 .5px rgba(0,0,0,.15); }
.logo__text { display: grid; gap: 4px; font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ink); }
.logo__rule { display: flex; align-items: center; gap: 4px; }
.logo__rule i { flex: 1; height: 1px; background: var(--gold); }
.logo__rule b { display: flex; align-items: flex-end; gap: 2px; height: 8px; }
.logo__rule em { width: 2.5px; background: var(--gold); }
.logo__rule em:nth-child(1) { height: 35%; } .logo__rule em:nth-child(2) { height: 65%; } .logo__rule em:nth-child(3) { height: 100%; }
.logo--light .logo__mark { color: var(--gold-light); -webkit-text-stroke: 0; }
.logo--light .logo__text { color: var(--ivory); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav ul { display: flex; gap: 30px; }
.nav ul a { position: relative; font-size: .93rem; font-weight: 600; color: var(--text); padding-block: 6px; white-space: nowrap; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 11px 18px; font-size: .88rem; }

.burger { display: none; background: none; border: 1px solid var(--line); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; place-items: center; }
.burger .ico { width: 22px; height: 22px; }
.burger .ico--close { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 90px));
  padding-bottom: clamp(70px, 9vw, 120px);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(220,189,128,.28), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(220,189,128,.18), transparent 70%),
    linear-gradient(180deg, var(--paper), var(--ivory));
}
.hero::after { /* textura sutil de papel */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .38 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__ribbon { position: absolute; width: 520px; height: 64px; background: var(--ink); z-index: 0; }
.hero__ribbon::after { content: ""; position: absolute; left: 0; right: 0; height: 5px; background: var(--gold-grad); }
.hero__ribbon--tl { bottom: 40px; left: -230px; transform: rotate(45deg); width: 420px; height: 46px; }
.hero__ribbon--tl::after { top: -14px; }
.hero__ribbon--br { bottom: 40px; right: -190px; transform: rotate(-45deg); }
.hero__ribbon--br::after { top: -14px; }

.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 8.4vw, 6.8rem); line-height: .92; letter-spacing: -.02em; text-transform: uppercase; }
.hero__kicker { display: block; font-family: var(--font-body); font-weight: 500; font-size: clamp(.95rem, 1.6vw, 1.2rem); letter-spacing: .32em; color: var(--text); margin-bottom: 14px; }
.hero__title { color: var(--ink); }
.hero__lead { margin-top: 26px; font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 52ch; }
.hero__lead::before { content: ""; display: block; width: 64px; height: 2px; background: var(--gold-grad); margin-bottom: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { display: grid; gap: 10px; margin-top: 34px; font-size: .95rem; font-weight: 500; }
.hero__trust li { display: flex; align-items: center; gap: 10px; }
.hero__trust .ico { color: var(--ivory); background: var(--ink); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 2.4; box-shadow: 0 0 0 1px var(--gold); }

/* Composição visual */
.hero__visual { position: relative; min-height: 520px; }
.hv-monogram {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(14rem, 26vw, 22rem); line-height: 1;
  color: rgba(184,145,79,.11); user-select: none;
}
.hv-monogram span { width: .12em; height: .12em; border-radius: 50%; background: var(--gold-grad); align-self: center; margin: .32em .04em 0; opacity: .8; }

.hv-card { position: absolute; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); will-change: transform; }
.hv-card--dark { background: linear-gradient(160deg, #1d1b18, #0b0b0a); color: var(--ivory); border: 1px solid rgba(220,189,128,.25); }
.hv-card--light { background: rgba(252,250,246,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(184,145,79,.25); }
.hv-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hv-chip { white-space: nowrap; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--gold-grad); padding: 5px 10px; border-radius: 999px; }
.hv-muted { display: block; font-size: .8rem; color: var(--muted); }
.hv-card--dark .hv-muted { color: var(--muted-light); }
.hv-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hv-gold { color: var(--gold-deep); width: 20px; height: 20px; }
.hv-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 10px 0; border-top: 1px solid rgba(246,242,234,.08); font-size: .9rem; }
.hv-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light); font-weight: 600; font-size: .82rem; }
.hv-ok .ico { stroke-width: 2.6; width: 14px; height: 14px; }
.hv-progress { margin-top: 12px; height: 6px; border-radius: 99px; background: rgba(246,242,234,.08); overflow: hidden; }
.hv-progress i { display: block; height: 100%; width: 100%; background: var(--gold-grad); border-radius: inherit; transform-origin: left; animation: grow 2.2s var(--ease) .6s both; }
@keyframes grow { from { transform: scaleX(0); } }

.hv-card--main { width: min(360px, 78%); top: 9%; left: 4%; }
.hv-card--chart { width: 220px; right: 0; top: 46%; }
.hv-bars { display: flex; align-items: flex-end; gap: 9px; height: 96px; }
.hv-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); transform-origin: bottom; animation: rise 1.4s var(--ease) both; }
.hv-bars i:nth-child(2){animation-delay:.08s}.hv-bars i:nth-child(3){animation-delay:.16s}.hv-bars i:nth-child(4){animation-delay:.24s}.hv-bars i:nth-child(5){animation-delay:.32s}.hv-bars i:nth-child(6){animation-delay:.4s}
@keyframes rise { from { transform: scaleY(0); } }
.hv-card--payroll { display: flex; align-items: center; gap: 14px; left: 0; bottom: 6%; font-size: .9rem; }
.hv-card--payroll strong { display: block; }
.hv-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); }
.hv-icon .ico { width: 22px; height: 22px; }
.hv-badge { position: absolute; right: 8%; top: 4%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--ivory); font-size: .85rem; font-weight: 700; box-shadow: var(--shadow-sm); border: 1px solid rgba(220,189,128,.35); }
.hv-badge .ico { color: var(--gold-light); }

/* ---------- Faixa ---------- */
.band { background: var(--ink); color: var(--ivory); overflow: hidden; padding-block: 18px; border-block: 1px solid rgba(220,189,128,.25); }
.band__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.band span { display: inline-flex; align-items: center; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.55rem); white-space: nowrap; }
.band span::after { content: ""; width: 8px; height: 8px; margin-inline: 34px; background: var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); position: relative; }
.section--dark { background: var(--ink); color: var(--ivory); }
.section--dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 100% 0%, rgba(184,145,79,.14), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(184,145,79,.1), transparent 70%); }
.section--dark > .container { position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 70px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services__group { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.services__group:first-child { margin-top: 0; }
.services__group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px 26px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
  overflow: hidden;
}
.svc::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(184,145,79,.45); }
.svc:hover::before { transform: scaleX(1); }
.svc__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px var(--paper), 0 0 0 6px rgba(184,145,79,.35); transition: transform .6s var(--ease); }
.svc:hover .svc__icon { transform: rotate(-8deg) scale(1.05); }
.svc__icon .ico { width: 24px; height: 24px; }
.svc h3 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; margin-top: 6px; }
.svc h3 small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-top: 6px; }
.svc p { color: var(--muted); font-size: .97rem; }
.svc__link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.svc__link .ico { color: var(--gold-deep); transition: transform .4s var(--ease); }
.svc__link:hover .ico { transform: translateX(5px); }
.svc__link::after { content: ""; position: absolute; inset: 0; } /* cartão inteiro clicável */
.svc--cta { grid-column: span 2; background: var(--ink); color: var(--ivory); border-color: rgba(220,189,128,.3); justify-content: center; }
.svc--cta p { color: var(--muted-light); }
.svc--cta .btn { align-self: flex-start; margin-top: 8px; }
.svc__script { font-family: var(--font-script); font-size: 2.3rem; line-height: 1; color: var(--gold-light) !important; }

/* ---------- Como funciona ---------- */
.split { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.split__col { padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); border: 1px solid var(--line-light); background: rgba(246,242,234,.03); }
.split__col--us { border-color: rgba(220,189,128,.4); background: linear-gradient(160deg, rgba(220,189,128,.12), rgba(220,189,128,.02)); }
.split__tag { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; margin-bottom: 22px; }
.split__col--us .split__tag { color: var(--gold-light); }
.checklist { display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: #ddd6ca; }
.checklist .ico { margin-top: 3px; color: var(--ink); background: var(--gold-grad); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 2.6; }
.split__divider { display: grid; place-items: center; position: relative; }
.split__divider::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(transparent, var(--gold), transparent); }
.split__divider span { position: relative; display: inline-flex; align-items: baseline; padding: 14px 8px; background: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--ink); -webkit-text-stroke: 1.6px var(--gold-light); paint-order: stroke fill; }
.split__divider i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin: 0 2px; }

.steps { margin-top: clamp(60px, 8vw, 100px); }
.tabs { position: relative; display: inline-flex; padding: 6px; border-radius: 999px; background: rgba(246,242,234,.06); border: 1px solid var(--line-light); margin-bottom: 40px; }
.tab { position: relative; z-index: 1; background: none; border: 0; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted-light); cursor: pointer; transition: color .4s; }
.tab[aria-selected="true"] { color: var(--ink); }
.tabs__pill { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--gold-grad); transition: transform .5s var(--ease), width .5s var(--ease); }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps__list li { position: relative; padding-top: 30px; border-top: 1px solid var(--line-light); animation: stepIn .7s var(--ease) both; }
.steps__list li:nth-child(2){animation-delay:.08s}.steps__list li:nth-child(3){animation-delay:.16s}.steps__list li:nth-child(4){animation-delay:.24s}
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } }
.steps__list li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(184,145,79,.18); }
.steps__list b { font-family: var(--font-display); font-size: 3rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-light); }
.steps__list h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin: 12px 0 8px; }
.steps__list p { color: var(--muted-light); font-size: .95rem; }

/* ---------- Diferenciais ---------- */
.diff { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.diff__script { font-family: var(--font-script); font-size: clamp(2.8rem, 5vw, 3.8rem); line-height: 1; color: var(--gold-deep); margin-top: 30px; transform: rotate(-4deg); transform-origin: left; }
.diff__grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.diff__item { padding: clamp(24px, 3vw, 36px); transition: background-color .5s; }
.diff__item:nth-child(odd) { border-right: 1px solid var(--line); }
.diff__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.diff__item:hover { background: #fff; }
.diff__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; color: var(--gold-deep); border-radius: 50%; border: 1px solid rgba(184,145,79,.5); margin-bottom: 18px; transition: background-color .5s, color .5s; }
.diff__item:hover .diff__icon { background: var(--ink); color: var(--gold-light); }
.diff__icon .ico { width: 24px; height: 24px; }
.diff__item h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; margin-bottom: 8px; }
.diff__item p { color: var(--muted); font-size: .95rem; }

/* ---------- Destaque ---------- */
.spotlight { padding-bottom: clamp(80px, 10vw, 120px); }
.spotlight__inner {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--radius) + 6px); overflow: hidden;
  background: linear-gradient(135deg, #1b1916, #0b0b0a); color: var(--ivory);
  box-shadow: var(--shadow);
}
.spotlight__inner::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--gold-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.spotlight__icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-grad); color: var(--ink); }
.spotlight__icon .ico { width: 30px; height: 30px; }
.spotlight .eyebrow { margin-bottom: 8px; }
.spotlight h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.8vw, 2.3rem); text-wrap: balance; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__head .btn { margin-top: 30px; }
.faq__list { display: grid; gap: 12px; }
.qa { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); transition: border-color .4s, box-shadow .4s; }
.qa[open] { border-color: rgba(184,145,79,.55); box-shadow: var(--shadow-sm); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.02rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .5s var(--ease), background-color .4s, color .4s; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.qa__body { padding: 0 24px 22px; color: var(--muted); }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- Contato ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact__list { display: grid; gap: 14px; margin-top: 40px; }
.contact__list a, .contact__static { display: flex; align-items: center; gap: 16px; padding: 14px; margin-inline: -14px; border-radius: var(--radius-sm); transition: background-color .3s; }
.contact__list a:hover { background: rgba(246,242,234,.05); }
.contact__list span { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(220,189,128,.45); color: var(--gold-light); }
.contact__list small { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }
.contact__list b { font-weight: 600; word-break: break-word; }

.form { position: relative; padding: clamp(26px, 3.5vw, 42px); border-radius: calc(var(--radius) + 6px); background: var(--paper); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.form::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--gold-grad); }
.form__title { font-family: var(--font-display); font-size: 2rem; font-weight: 600; }
.form__hint { color: var(--muted); font-size: .92rem; margin: 4px 0 24px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > span { font-size: .85rem; font-weight: 700; }
.field em { font-weight: 500; color: var(--muted); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff;
  transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d5f2c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,145,79,.18); }
.field.is-invalid input, .field.is-invalid select { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179,38,30,.1); }
.form__legal { margin-top: 14px; font-size: .78rem; color: var(--muted); text-align: center; }
.form__legal a { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: #070707; color: var(--muted-light); padding-top: 70px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__motto { margin-top: 18px; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; }
.footer__title { color: var(--ivory); font-weight: 700; margin-bottom: 14px; }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; transition: color .3s; }
.footer__nav a:hover { color: var(--gold-light); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.footer__bottom a:hover { color: var(--gold-light); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 84px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.55); transition: transform .4s var(--ease); }
.wa-float .ico { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.07); }
.wa-float__tip { position: absolute; right: calc(100% + 12px); white-space: nowrap; background: var(--ink); color: var(--ivory); font-size: .85rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* ---------- Animações de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav ul { gap: 22px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 460px; max-width: 560px; width: 100%; margin-inline: auto; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc--cta { grid-column: auto; }
  .diff, .faq, .contact__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .burger { display: grid; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: stretch; gap: 30px;
    padding: 100px var(--gutter) 40px; background: var(--ivory);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s;
  }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul a { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; padding-block: 8px; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav__cta { padding: 16px; font-size: 1rem; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .burger .ico--open { display: none; }
  .menu-open .burger .ico--close { display: block; }
  html.menu-lock { overflow: hidden; }
  .menu-open .wa-float { opacity: 0; pointer-events: none; }
  .menu-open .header { background: var(--ivory); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .split { grid-template-columns: 1fr; }
  .split__divider { padding-block: 4px; }
  .split__divider::before { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .spotlight__inner { grid-template-columns: 1fr; }
  .spotlight .btn { justify-self: start; }
}

@media (max-width: 640px) {
  .logo__mark { font-size: 2rem; }
  .logo__text { font-size: .7rem; letter-spacing: .26em; }
  .hero__ribbon { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { min-height: 360px; }
  .hv-card--main { width: 88%; left: 0; top: 12%; }
  .hv-card--chart { display: none; }
  .hv-card__head .hv-muted { display: none; }
  .hv-bars { height: 70px; }
  .hv-card--payroll { bottom: 2%; }
  .hv-badge { right: 0; top: 0; }
  .services { grid-template-columns: 1fr; }
  .diff__grid { grid-template-columns: 1fr; }
  .diff__item:nth-child(odd) { border-right: 0; }
  .diff__item:not(:last-child) { border-bottom: 1px solid var(--line); }
  .steps__list { grid-template-columns: 1fr; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding-inline: 10px; }
  .notice__inner { flex-wrap: wrap; row-gap: 4px; }
  .notice p { flex-basis: calc(100% - 70px); }
  .notice a { margin-left: 30px; }
  .notice__close { position: absolute; right: 8px; top: 8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 80px; }
  .wa-float__tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .band__track { animation: none; }
}

@media print {
  .header, .notice, .wa-float, .band, .hero__visual { display: none !important; }
}

/* ---------- Selo de prévia (CONFIG.preview no main.js) ---------- */
.preview-tag { position: fixed; left: 16px; bottom: 16px; z-index: 70; padding: 8px 14px; border-radius: 999px; background: rgba(13,13,12,.88); color: var(--gold-light); font-size: .78rem; font-weight: 700; letter-spacing: .06em; border: 1px solid rgba(220,189,128,.4); pointer-events: none; }

/* Hero anima no carregamento (não depende de rolagem) */
.js .hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: heroIn 1s var(--ease) both; }
.js .hero [data-reveal]:nth-child(2) { animation-delay: .08s; }
.js .hero [data-reveal]:nth-child(3) { animation-delay: .16s; }
.js .hero [data-reveal]:nth-child(4) { animation-delay: .24s; }
.js .hero [data-reveal]:nth-child(5) { animation-delay: .32s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Aviso dos botões de WhatsApp na prévia ---------- */
.wa-toast { position: fixed; left: 50%; bottom: 90px; z-index: 80; width: min(440px, calc(100% - 32px)); padding: 16px 18px; border-radius: 14px; background: var(--ink); color: #ddd6ca; font-size: .9rem; line-height: 1.5; border: 1px solid rgba(220,189,128,.45); box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.wa-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.wa-toast b { color: var(--gold-light); }
.wa-toast q { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #1f3b2c; color: #e8f5ec; white-space: pre-line; }
