/* ============================================================
   AM Engenharia — site institucional (identidade 2026)
   Grafite #222628 (primária) · Ardósia #6F7C84 (secundária)
   #D5D4D4 no lugar do branco · tipografia Figtree
   Dark-first com seções claras alternadas, cantos arredondados,
   vidro (backdrop-filter) e animações discretas.
   ============================================================ */

:root {
  --ink:      #222628;
  --ink-2:    #2a2f32;
  --ink-3:    #353b3e;
  --ink-4:    #43494d;
  --slate:    #6f7c84;
  --slate-2:  #8d99a1;
  --slate-3:  #aab4ba;
  --paper:    #d5d4d4;
  --paper-2:  #e1e0e0;
  --paper-3:  #c4c3c3;
  --paper-4:  #b1b0b0;
  --wa:       #25d366;

  --bg:       var(--ink);
  --fg:       var(--paper);
  --fg-2:     var(--slate-3);
  --fg-3:     var(--slate-2);
  --line:     rgba(213, 212, 212, .12);
  --line-2:   rgba(213, 212, 212, .22);
  --card:     rgba(213, 212, 212, .05);
  --card-hover: rgba(213, 212, 212, .09);
  --glass:    rgba(34, 38, 40, .62);
  --glass-line: rgba(213, 212, 212, .14);

  --r-xl: 32px; --r-lg: 24px; --r-md: 18px; --r-sm: 12px; --r-pill: 999px;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .45);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, .3);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--fg); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[class], ol[class] { list-style: none; }
strong { font-weight: 700; }
::selection { background: var(--slate); color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 1000; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--slate-3); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1400px; }

/* ── Tipografia ───────────────────────────────────────────── */
.h1, .h2, .h3, .h4, .display { font-weight: 700; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.display { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -.04em; line-height: .98; }
.h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -.02em; line-height: 1.15; }
.h4 { font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.25; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--fg-2); text-wrap: pretty; max-width: 62ch; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.eyebrow::before { content: ''; display: inline-block; width: 22px; height: 2px; background: var(--slate); vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.muted { color: var(--fg-3); }
.text-center { text-align: center; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head .h2 + p { margin-top: 16px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::before { display: none; }

/* ── Seções / temas ───────────────────────────────────────── */
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--light {
  --bg: var(--paper); --fg: var(--ink); --fg-2: var(--ink-4); --fg-3: var(--slate);
  --line: rgba(34, 38, 40, .1); --line-2: rgba(34, 38, 40, .2);
  --card: rgba(255, 255, 255, .34); --card-hover: rgba(255, 255, 255, .55);
  --glass: rgba(213, 212, 212, .6); --glass-line: rgba(34, 38, 40, .12);
  background: var(--bg); color: var(--fg);
}
.section--light ::selection { background: var(--ink); color: var(--paper); }
.section--muted { background: var(--ink-2); }
.section--cta { padding-block: 0 clamp(64px, 9vw, 128px); }
/* Depois de seção clara (ou de qualquer bloco que não seja seção escura), o card não encosta na borda */
.section--light + .section--cta, .page-hero + .section--cta, .section--cta:first-child { padding-top: clamp(56px, 8vw, 112px); }

/* ── Botões ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--r-pill); font-weight: 600; font-size: 1rem;
  line-height: 1; border: 1px solid transparent; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .35s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--light { background: var(--paper); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { background: rgba(213, 212, 212, .06); border-color: var(--line-2); color: var(--fg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--ghost:hover { background: rgba(213, 212, 212, .12); border-color: var(--fg-3); }
.section--light .btn--ghost { background: rgba(34, 38, 40, .05); }
.section--light .btn--ghost:hover { background: rgba(34, 38, 40, .1); }
.section--light .btn--light { background: var(--ink); color: var(--paper); box-shadow: 0 10px 30px rgba(34, 38, 40, .25); }
.section--light .btn--light:hover { background: var(--ink-3); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--wa { background: var(--wa); color: #06281a; }
.btn--wa:hover { background: #3ee47b; }
.linklike { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.link { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.link .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link:hover .ico { transform: translateX(4px); }

/* ── Vidro ────────────────────────────────────────────────── */
.glass {
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-radius: var(--r-lg);
}

/* ── Header ───────────────────────────────────────────────── */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 12px var(--gutter) 0; pointer-events: none; }
.header__bar {
  pointer-events: auto; margin-inline: auto; max-width: 1360px; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 10px 0 20px; border-radius: var(--r-pill);
  background: rgba(34, 38, 40, .45); border: 1px solid rgba(213, 212, 212, .1);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  transition: background .35s, box-shadow .35s, border-color .35s;
}
.header.is-scrolled .header__bar { background: rgba(34, 38, 40, .78); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); border-color: rgba(213, 212, 212, .16); }
.header__logo img { height: 34px; width: auto; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.nav { display: none; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--r-pill);
  font-weight: 500; font-size: .95rem; color: var(--slate-3); transition: color .25s, background .25s;
}
.nav__link:hover, .nav__link.is-active, .nav__item.is-open > .nav__link { color: var(--paper); background: rgba(213, 212, 212, .08); }
.nav__chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
.mega {
  position: absolute; left: 50%; top: calc(100% + 14px); transform: translate(-50%, 8px);
  width: min(780px, calc(100vw - 2 * var(--gutter))); padding: 12px;
  background: rgba(34, 38, 40, .86); border: 1px solid rgba(213, 212, 212, .14); border-radius: var(--r-lg);
  backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.nav__item.is-open .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega__area { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); transition: background .25s; }
.mega__area:hover { background: rgba(213, 212, 212, .08); }
.mega__icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(213, 212, 212, .07); border: 1px solid var(--line); color: var(--slate-3); }
.mega__icon .ico { width: 22px; height: 22px; }
.mega__text { display: flex; flex-direction: column; line-height: 1.25; }
.mega__text strong { font-weight: 600; font-size: .95rem; }
.mega__text small { color: var(--slate-2); font-size: .8rem; margin-top: 3px; }
.mega__area--all { grid-column: 1 / -1; justify-content: center; text-align: center; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-md) var(--r-md); margin-top: 4px; padding-top: 14px; }

.burger { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; gap: 0; position: relative; }
.burger span { position: absolute; width: 20px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); top: calc(50% - 4px); }
.burger span + span { top: calc(50% + 2px); }
.burger[aria-expanded="true"] span { top: 50%; transform: rotate(45deg); }
.burger[aria-expanded="true"] span + span { transform: rotate(-45deg); }
.mobile {
  pointer-events: auto; margin: 10px auto 0; max-width: 1360px; padding: 10px;
  background: rgba(34, 38, 40, .9); border: 1px solid rgba(213, 212, 212, .14); border-radius: var(--r-lg);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); box-shadow: var(--shadow-lg);
  max-height: calc(100dvh - 100px); overflow: auto;
}
.mobile[hidden] { display: none; }
.mobile__label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); padding: 14px 14px 6px; }
.mobile__link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); font-weight: 500; }
.mobile__link:hover { background: rgba(213, 212, 212, .08); }
.mobile__link .ico { width: 20px; height: 20px; color: var(--slate-3); }
.mobile__link small { margin-left: auto; color: var(--slate-2); font-size: .8rem; }
.mobile__cta { display: grid; gap: 8px; padding: 14px; }
.header__actions .btn { display: none; }
@media (min-width: 560px) { .header__actions .btn { display: inline-flex; } }
@media (min-width: 1080px) {
  .nav { display: block; }
  .burger, .mobile { display: none !important; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 48px) 0 clamp(48px, 7vw, 96px); overflow: clip; isolation: isolate; }
.hero--short { min-height: 72svh; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media .media { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(34, 38, 40, .9) 0%, rgba(34, 38, 40, .72) 45%, rgba(34, 38, 40, .5) 100%),
  linear-gradient(180deg, rgba(34, 38, 40, .6) 0%, rgba(34, 38, 40, .4) 35%, rgba(34, 38, 40, .85) 80%, var(--ink) 100%); }
.hero__inner { display: grid; gap: 32px; }
.hero__title { max-width: 14ch; }
.hero__lead { max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 500; background: rgba(213, 212, 212, .08); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.chip .ico { width: 14px; height: 14px; }
.hero__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 16px; }
.stat { padding: 22px 24px; border-radius: var(--r-lg); }
.stat__n { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat__n small { font-size: .5em; font-weight: 700; letter-spacing: 0; margin-left: 2px; color: var(--slate-3); }
.stat__l { margin-top: 8px; color: var(--fg-2); font-size: .95rem; line-height: 1.35; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 28px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); display: none; align-items: center; gap: 10px; }
.hero__scroll::after { content: ''; width: 1px; height: 44px; background: linear-gradient(var(--slate-2), transparent); animation: drop 2s infinite; }
@media (min-width: 900px) { .hero__scroll { display: flex; } }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }

/* Hero interno (páginas) */
.page-hero { position: relative; padding: calc(var(--header-h) + 56px) 0 clamp(40px, 6vw, 72px); overflow: clip; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media .media { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.page-hero__media img, .page-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.page-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34, 38, 40, .7), rgba(34, 38, 40, .85) 70%, var(--ink)); }
.page-hero__inner { display: grid; gap: 20px; max-width: 900px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ── Mídia / placeholders ─────────────────────────────────── */
.media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-2); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--fill { position: absolute; inset: 0; border-radius: 0; }
.media--placeholder {
  background: repeating-linear-gradient(135deg, rgba(213, 212, 212, .035) 0 14px, transparent 14px 28px), var(--ink-2);
  border: 1px dashed rgba(213, 212, 212, .25);
}
.section--light .media--placeholder { background: repeating-linear-gradient(135deg, rgba(34, 38, 40, .05) 0 14px, transparent 14px 28px), var(--paper-3); border-color: rgba(34, 38, 40, .3); }
.media__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 16px; color: var(--slate-3); }
.section--light .media__ph { color: var(--ink-4); }
.media__ph svg { width: 34px; height: 34px; opacity: .7; margin-bottom: 4px; }
.media__kind { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.media__desc { font-size: .85rem; max-width: 36ch; line-height: 1.35; opacity: .85; }
.media__ratio { font-size: .7rem; opacity: .55; font-variant-numeric: tabular-nums; }
.media--logo { border-radius: var(--r-sm); }
.media--logo .media__ph svg, .media--logo .media__desc, .media--logo .media__ratio { display: none; }
.media--logo .media__kind { font-size: .62rem; }

/* ── Grades e cartões ─────────────────────────────────────── */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card {
  display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line);
  overflow: hidden; transition: transform .5s var(--ease), background .3s, border-color .3s, box-shadow .5s var(--ease);
}
a.card:hover { transform: translateY(-6px); background: var(--card-hover); border-color: var(--line-2); box-shadow: var(--shadow-md); }
.card__media .media { border-radius: 0; }
.card__media img { transition: transform .8s var(--ease); }
a.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__kicker { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--fg-3); }
.card__title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.card__text { color: var(--fg-2); font-size: .97rem; flex: 1; }
.card__more { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .95rem; }
.card__more .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
a.card:hover .card__more .ico { transform: translateX(4px); }
.card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(213, 212, 212, .07); border: 1px solid var(--line); color: var(--fg-2); margin-bottom: 8px; }
.section--light .card__icon { background: rgba(34, 38, 40, .06); }
.card__icon .ico { width: 26px; height: 26px; }
.card--feature .card__body { padding: 28px; }
.card--area { min-height: 100%; }
.card--area .card__title { font-size: 1.35rem; }
.card__count { font-size: .8rem; color: var(--fg-3); }

/* Bento de áreas (home) */
.bento { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); grid-auto-rows: minmax(260px, auto); }
.bento__item { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--card); isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.bento__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.bento__item .media { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.bento__item::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34, 38, 40, .58) 0%, rgba(34, 38, 40, .72) 45%, rgba(34, 38, 40, .95) 100%); transition: opacity .5s var(--ease); }
.bento__item--lg { grid-column: span 2; grid-row: span 2; }
.bento__kicker { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--slate-3); margin-bottom: 8px; }
.bento__title { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.bento__item--lg .bento__title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.bento__text { color: var(--slate-3); margin-top: 8px; font-size: .95rem; max-width: 46ch; }
.bento__more { margin-top: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; }
.bento__more .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.bento__item:hover .bento__more .ico { transform: translateX(4px); }
@media (max-width: 640px) { .bento__item--lg { grid-column: span 1; grid-row: span 1; } }

/* Split (texto + mídia) */
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split .lead { margin-top: 16px; }
.split__list { margin-top: 24px; display: grid; gap: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check .ico { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; color: var(--fg-3); }
.check strong { display: block; }
.check span { color: var(--fg-2); font-size: .97rem; }
.split__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Números */
.numbers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.number { padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.number__n { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.number__n small { font-size: .45em; margin-left: 2px; color: var(--fg-3); letter-spacing: 0; }
.number__l { margin-top: 10px; color: var(--fg-2); }

/* Passos */
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; }
.step { padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--fg-3); display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.step p { color: var(--fg-2); font-size: .97rem; }

/* Logos e depoimentos */
.logos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: clamp(32px, 5vw, 56px); }
.logos__item .media { aspect-ratio: 3/1; }
.testimonials { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.testimonial { padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.testimonial blockquote p { font-size: 1.05rem; line-height: 1.5; text-wrap: pretty; }
.testimonial figcaption { display: flex; flex-direction: column; font-size: .9rem; color: var(--fg-3); margin-top: auto; }
.testimonial figcaption strong { color: var(--fg); }

/* Marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: background .3s; }
.faq__item[open] { background: var(--card-hover); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; cursor: pointer; font-size: 1.05rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { flex: 0 0 18px; width: 18px; height: 18px; transition: transform .35s var(--ease); color: var(--fg-3); }
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__body { padding: 0 22px 22px; color: var(--fg-2); }

/* Breadcrumbs */
.crumbs { font-size: .85rem; color: var(--slate-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a:hover { color: var(--paper); }
.crumbs [aria-current] { color: var(--slate-3); }

/* Faixa CTA */
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-xl); }
.cta-band p { color: var(--fg-2); margin-top: 6px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Lista de entregas (página de serviço) */
.deliverables { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.deliverable { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.deliverable .ico { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; color: var(--fg-3); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 12px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 600; background: rgba(213, 212, 212, .08); border: 1px solid var(--line); }
.section--light .tag { background: rgba(34, 38, 40, .06); }
.service-aside { display: grid; gap: 14px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: grid; gap: 12px; }
.aside-card h3 { font-size: 1.05rem; font-weight: 700; }
.aside-card ul { display: grid; gap: 8px; font-size: .95rem; }
.aside-card li a { display: flex; justify-content: space-between; gap: 8px; color: var(--fg-2); padding: 6px 0; border-bottom: 1px solid var(--line); }
.aside-card li a:hover { color: var(--fg); }
.aside-card li:last-child a { border-bottom: 0; }
.service-layout { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 980px) { .service-layout { grid-template-columns: minmax(0, 1fr) 340px; } }
.service-body { display: grid; gap: clamp(36px, 5vw, 56px); }
.service-body h2 { margin-bottom: 16px; }

/* Blog */
.post-card .card__media .media { aspect-ratio: 16/10; }
.post-meta { font-size: .85rem; color: var(--fg-3); display: flex; gap: 10px; flex-wrap: wrap; }
.prose { font-size: 1.08rem; line-height: 1.7; max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; margin-top: 2em; line-height: 1.15; }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--fg-3); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.prose blockquote { padding: 18px 22px; border-left: 3px solid var(--slate); background: var(--card); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--fg-2); }
.prose .callout { padding: 20px 24px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.prose .callout strong { display: block; margin-bottom: 4px; }

/* Formulário */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--fg-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(213, 212, 212, .06); border: 1px solid var(--line-2); color: var(--fg);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.section--light .field input, .section--light .field select, .section--light .field textarea { background: rgba(255, 255, 255, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate-3); box-shadow: 0 0 0 4px rgba(111, 124, 132, .25); background: rgba(213, 212, 212, .1); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%238d99a1' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field select option { color: var(--ink); background: var(--paper); }
.field textarea { min-height: 150px; resize: vertical; }
.field__error { font-size: .85rem; color: #f0a4a4; }
.section--light .field__error { color: #9b2222; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #d66; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--slate); padding: 0; }
.field--check label { font-weight: 400; font-size: .92rem; }
.field--check label a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__alert { padding: 16px 18px; border-radius: var(--r-md); background: rgba(214, 102, 102, .12); border: 1px solid rgba(214, 102, 102, .4); font-size: .95rem; }
.form__note { font-size: .85rem; color: var(--fg-3); }
.contact-grid { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.25fr; } }
.contact-list { display: grid; gap: 12px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.contact-item .ico { flex: 0 0 22px; width: 22px; height: 22px; color: var(--fg-3); margin-top: 2px; }
.contact-item strong { display: block; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 2px; }
.contact-item a:hover { text-decoration: underline; }

/* Switch (cookies) */
.switch { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; cursor: pointer; padding: 10px 0; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch > span:first-of-type { width: 44px; height: 26px; border-radius: 13px; background: rgba(213, 212, 212, .18); position: relative; transition: background .25s; margin-top: 2px; }
.switch > span:first-of-type::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--slate); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: .5; }
.switch__text { display: flex; flex-direction: column; font-size: .92rem; }
.switch__text small { color: var(--slate-3); font-size: .82rem; margin-top: 2px; }

/* Cookies */
.cookies { position: fixed; inset: auto 0 0 0; z-index: 90; padding: 0 var(--gutter) calc(16px + env(safe-area-inset-bottom)); pointer-events: none; }
.cookies[hidden] { display: none; }
.cookies__card {
  pointer-events: auto; margin-inline: auto; max-width: 720px; padding: 24px 26px; border-radius: var(--r-lg);
  background: rgba(34, 38, 40, .9); border: 1px solid rgba(213, 212, 212, .16); backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow: var(--shadow-lg); display: grid; gap: 16px; animation: rise .6s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.cookies__head h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.cookies__head p { font-size: .9rem; color: var(--slate-3); line-height: 1.5; }
.cookies__head a { text-decoration: underline; text-underline-offset: 3px; color: var(--paper); }
.cookies__prefs { display: grid; border-top: 1px solid var(--line); padding-top: 8px; }
.cookies__prefs[hidden] { display: none; }
.cookies__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookies__actions .btn { padding: 12px 18px; font-size: .92rem; }
.cookies__actions [hidden] { display: none; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px 12px 12px; border-radius: var(--r-pill);
  background: var(--wa); color: #06281a; font-weight: 700; font-size: .92rem; box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 50px rgba(37, 211, 102, .35); }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 12px; } }

/* ── Footer ───────────────────────────────────────────────── */
.footer { padding: clamp(56px, 8vw, 110px) 0 32px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink), #1b1f21); }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: clamp(40px, 6vw, 72px); margin-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.footer__cta .h2 { max-width: 22ch; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer__brand { grid-column: span 1; max-width: 360px; }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--slate-3); font-size: .95rem; }
.footer__legal { margin-top: 12px; font-size: .82rem !important; color: var(--slate-2) !important; }
.footer__title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 16px; font-weight: 600; }
.footer ul { display: grid; gap: 10px; font-size: .95rem; }
.footer ul a { color: var(--slate-3); transition: color .25s; }
.footer ul a:hover { color: var(--paper); }
.footer__contact li a, .footer__contact li span { display: flex; gap: 10px; align-items: center; }
.footer__contact .ico { width: 18px; height: 18px; flex: 0 0 18px; }
.footer__social { display: flex; gap: 8px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--slate-3); transition: background .25s, color .25s; }
.footer__social a:hover { background: var(--paper); color: var(--ink); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--slate-2); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__bottom .linklike { font-size: inherit; color: var(--slate-3); }

/* ── Animações de entrada ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--scale { transform: scale(.96) translateY(16px); }
.grid > .reveal:nth-child(2), .bento > .reveal:nth-child(2), .numbers > .reveal:nth-child(2), .steps > .reveal:nth-child(2), .testimonials > .reveal:nth-child(2) { --d: .08s; }
.grid > .reveal:nth-child(3), .bento > .reveal:nth-child(3), .numbers > .reveal:nth-child(3), .steps > .reveal:nth-child(3), .testimonials > .reveal:nth-child(3) { --d: .16s; }
.grid > .reveal:nth-child(4), .bento > .reveal:nth-child(4), .numbers > .reveal:nth-child(4), .steps > .reveal:nth-child(4), .testimonials > .reveal:nth-child(4) { --d: .24s; }
.grid > .reveal:nth-child(n+5), .bento > .reveal:nth-child(n+5), .testimonials > .reveal:nth-child(n+5) { --d: .3s; }
.hero__inner > .reveal:nth-child(2) { --d: .1s; } .hero__inner > .reveal:nth-child(3) { --d: .2s; } .hero__inner > .reveal:nth-child(4) { --d: .3s; } .hero__inner > .reveal:nth-child(5) { --d: .4s; }
[data-parallax] { will-change: transform; }

/* Divisor suave entre seções escuras e claras */
.section--light + .section:not(.section--light), .section:not(.section--light) + .section--light { border-top: 1px solid rgba(34, 38, 40, .08); }

/* Erro 404 */
.error-page { min-height: 70svh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.error-page .display { font-size: clamp(5rem, 18vw, 12rem); color: var(--ink-4); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .hero__scroll::after { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .header, .footer__cta, .cookies, .wa-float, .hero__media, .hero__veil { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Placeholders de mídia de fundo (hero/bento): etiqueta no topo, longe do texto */
.media--fill .media__ph { justify-content: flex-start; padding-top: 28px; }
.hero__media .media__ph, .page-hero__media .media__ph { padding-top: calc(var(--header-h) + 28px); align-items: flex-end; text-align: right; padding-right: var(--gutter); }
.hero__media .media__desc, .page-hero__media .media__desc { max-width: 44ch; }
.hero__media .media__ph, .page-hero__media .media__ph { opacity: .5; }

/* Logotipos maiores (arquivo recortado sem margem transparente) */
.header__logo img { height: 40px; }
.footer__brand img { height: 28px; margin-bottom: 20px; }
@media (max-width: 420px) { .header__logo img { height: 34px; } }

/* ═══ AM Smart — componentes do site do produto ═══════════════════════════ */
.header__logo--smart img { height: 34px; }
.header__login { display: none; }
@media (min-width: 1180px) { .header__login { display: inline-flex; } }
.mega--sm { width: min(420px, calc(100vw - 2 * var(--gutter))); }
.mega__grid--1 { grid-template-columns: 1fr; }

/* Moldura de dispositivo para capturas de tela (laptop / celular) */
.device { position: relative; border-radius: 22px; padding: 10px; background: linear-gradient(180deg, #2f3538, #1c2022); border: 1px solid rgba(213,212,212,.16); box-shadow: var(--shadow-lg); }
.device .media { border-radius: 14px; }
.device--phone { width: min(300px, 100%); margin-inline: auto; border-radius: 40px; padding: 12px; }
.device--phone .media { border-radius: 30px; }
.device--phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 14px; background: #0f1213; z-index: 2; }
.section--light .device { background: linear-gradient(180deg, #3a4144, #262b2e); }

/* Ticker de normas */
.ticker { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ticker .chip { font-size: .8rem; }

/* Tabela comparativa */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.compare thead th.is-us { color: var(--fg); background: rgba(213,212,212,.07); border-radius: 14px 14px 0 0; }
.compare td.is-us { background: rgba(213,212,212,.05); }
.compare tbody tr:last-child td.is-us { border-radius: 0 0 14px 14px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--fg-3); }
.dot--1 { background: linear-gradient(90deg, var(--fg-3) 50%, transparent 50%); }
.dot--2 { background: var(--fg); border-color: var(--fg); }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); }
.compare-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: .85rem; color: var(--fg-3); }
.compare-legend span { display: inline-flex; align-items: center; gap: 8px; }

/* Planos */
.plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); position: relative; }
.plan--featured { background: var(--paper); color: var(--ink); border-color: transparent; box-shadow: var(--shadow-lg); }
.plan--featured .muted { color: var(--ink-4); }
.plan__badge { position: absolute; top: -12px; left: 24px; padding: 5px 12px; border-radius: var(--r-pill); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); border: 1px solid var(--line-2); }
.plan__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.plan__price { font-size: 1rem; font-weight: 600; }
.plan ul { display: grid; gap: 10px; font-size: .95rem; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ico { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; }
.plan--featured .btn--light { background: var(--ink); color: var(--paper); }
.plan--featured .btn--light:hover { background: var(--ink-3); }

/* Lista de recursos do módulo */
.features { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature { padding: 22px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.feature p { color: var(--fg-2); font-size: .95rem; }
.screens { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* Depoimentos pendentes (modelo) */
.testimonial--pending { border-style: dashed; }
.testimonial--pending blockquote p { color: var(--fg-3); font-style: italic; }

/* Fluxo (como funciona) com setas */
.flow { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.flow__step { padding: 22px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); position: relative; }
.flow__step strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.flow__step span { color: var(--fg-2); font-size: .93rem; }
.flow__step::before { content: attr(data-n); font-size: .75rem; letter-spacing: .12em; color: var(--fg-3); font-weight: 700; display: block; margin-bottom: 10px; }

/* Métricas em linha */
.kpis { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.kpi { padding: 18px 20px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.kpi strong { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.kpi span { color: var(--fg-3); font-size: .85rem; }

/* Menus abertos com fundo sólido (sem transparência/vidro) */
.mega, .mobile {
  background: var(--ink);
  border-color: rgba(213, 212, 212, .16);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.mega__area:hover, .mobile__link:hover { background: var(--ink-3); }
.mega__icon { background: var(--ink-2); }

/* Listas de navegação sem marcadores (os pontinhos ao lado dos itens do menu) */
.nav ul, .nav li, .footer ul, .footer li, .mobile ul, .mobile li { list-style: none; }
/* ═══ Landing pages de tráfego pago (views/layouts/lp.php) ═════════════════
   Sem menu, formulário curto acima da dobra, barra fixa no celular.
   Reaproveita os componentes do site; só o que é específico da LP fica aqui. */
.is-lp { --header-h: 64px; }
.lp-top { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 10px var(--gutter) 0; pointer-events: none; }
.lp-top__bar { pointer-events: auto; margin-inline: auto; max-width: 1360px; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 8px 0 18px; border-radius: var(--r-pill); background: rgba(34, 38, 40, .72); border: 1px solid rgba(213, 212, 212, .12); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.lp-top__logo img { height: 32px; width: auto; }
.lp-top__actions { display: flex; align-items: center; gap: 6px; }
.lp-top__phone { display: none; align-items: center; gap: 8px; padding: 8px 12px; font-weight: 600; font-size: .95rem; color: var(--paper); }
.lp-top__phone .ico { width: 18px; height: 18px; color: var(--slate-3); }
.lp-top__wa { display: none; }
@media (min-width: 600px) { .lp-top__wa { display: inline-flex; } }
@media (min-width: 820px) { .lp-top__phone { display: inline-flex; } }
@media (max-width: 420px) { .lp-top__logo img { height: 26px; } .lp-top__bar { padding-left: 14px; } }

.lp-hero { position: relative; padding: calc(var(--header-h) + 40px) 0 clamp(40px, 6vw, 72px); overflow: clip; isolation: isolate; }
.lp-hero__media { position: absolute; inset: 0; z-index: -2; }
.lp-hero__media .media { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.lp-hero__media img, .lp-hero__media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.lp-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(34, 38, 40, .96) 0%, rgba(34, 38, 40, .9) 50%, rgba(34, 38, 40, .7) 100%), linear-gradient(180deg, rgba(34, 38, 40, .4) 0%, rgba(34, 38, 40, 0) 30%, var(--ink) 100%); }
.lp-hero__inner { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 980px) { .lp-hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(360px, 460px); } .lp-hero { min-height: 92svh; display: flex; align-items: center; } }
.lp-hero__copy { display: grid; gap: 18px; }
.lp-hero__title { max-width: 18ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.lp-hero__title em { font-style: normal; color: var(--slate-3); }
.lp-hero__lead { color: var(--paper); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); max-width: 54ch; }
.lp-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.lp-hero__chips .chip .ico { color: var(--slate-3); }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (min-width: 980px) { .lp-hero__cta { display: none; } }
.lp-hero__form .lp-form { animation: rise .8s var(--ease) both; }

.lp-form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-xl); background: rgba(34, 38, 40, .78); scroll-margin-top: calc(var(--header-h) + 16px); }
.lp-form__head { display: grid; gap: 6px; margin-bottom: 4px; }
.lp-form__kicker { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--slate-3); }
.lp-form__title { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.lp-form__text { color: var(--fg-2); font-size: .95rem; }
.lp-form .field input, .lp-form .field select, .lp-form .field textarea { padding: 12px 14px; }
.lp-form .field textarea { min-height: 72px; }
.lp-form .form__note { display: flex; gap: 8px; align-items: flex-start; }
.lp-form .form__note .ico { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 3px; }
.section--light .lp-form { background: rgba(34, 38, 40, .96); color: var(--paper); --fg: var(--paper); --fg-2: var(--slate-3); --fg-3: var(--slate-2); --line: rgba(213, 212, 212, .12); --line-2: rgba(213, 212, 212, .22); }

.lp-proof { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 64px); }
.lp-stats { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .lp-stats { grid-template-columns: repeat(4, 1fr); } }
.lp-stat { padding: 20px 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.lp-stat__n { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.lp-stat__n small { font-size: .5em; font-weight: 700; letter-spacing: 0; margin-left: 2px; color: var(--slate-3); }
.lp-stat__l { margin-top: 8px; color: var(--fg-2); font-size: .9rem; line-height: 1.35; }
.lp-logos__label { margin-top: clamp(28px, 4vw, 40px); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); font-weight: 600; text-align: center; }
.lp-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 14px; }
.lp-logo { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); }
.lp-logo img { height: 28px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .85; }
.lp-logo--text { font-weight: 700; letter-spacing: -.01em; color: var(--slate-3); font-size: .95rem; }

.lp-table-wrap { margin-top: clamp(32px, 5vw, 56px); padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); }
.lp-table-head { margin-bottom: 16px; }
.lp-table-head p { margin-top: 6px; }
.lp-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lp-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.lp-table th, .lp-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lp-table th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-table-note { margin-top: 12px; font-size: .88rem; color: var(--fg-3); }

.lp-services { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.lp-service { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.lp-service__media .media { border-radius: 0; }
.lp-service__body { padding: 24px; display: grid; gap: 10px; }
.lp-service__body .h3 { font-size: 1.25rem; }
.lp-service__list { display: grid; gap: 8px; margin-top: 6px; list-style: none; }
.lp-service__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--fg-2); }
.lp-service__list .ico { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; color: var(--fg-3); }
.lp-inline-cta { margin-top: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.lp-inline-cta p { color: var(--fg-2); max-width: 60ch; }
.lp-steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.lp-why__media .media { aspect-ratio: 4/5; }
@media (max-width: 899px) { .lp-why__media .media { aspect-ratio: 16/10; } }

.lp-smart { padding-block: clamp(64px, 9vw, 110px); }
.lp-smart__card { display: grid; gap: 24px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); align-items: center; }
@media (min-width: 900px) { .lp-smart__card { grid-template-columns: 1fr 1fr; } }
.lp-smart__card p { color: var(--fg-2); margin-top: 8px; }
.lp-smart__media .media { aspect-ratio: 21/9; }

.lp-final__grid { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 960px) { .lp-final__grid { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.lp-final .contact-list { margin-top: 24px; }

.lp-thanks { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 48px) 0 64px; }

.lp-footer { padding: clamp(48px, 6vw, 72px) 0 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink), #1b1f21); font-size: .93rem; color: var(--slate-3); }
.lp-footer__grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
@media (min-width: 900px) { .lp-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; } }
.lp-footer__brand img { height: 24px; width: auto; margin-bottom: 18px; }
.lp-footer__brand p { max-width: 42ch; line-height: 1.55; }
.lp-footer__parent { margin-top: 10px; font-size: .85rem; color: var(--slate-2); }
.lp-footer__parent a { color: var(--slate-3); text-decoration: underline; text-underline-offset: 3px; }
.lp-footer__title { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 16px; font-weight: 600; }
.lp-footer ul { display: grid; gap: 10px; list-style: none; }
.lp-footer a { transition: color .25s; }
.lp-footer a:hover { color: var(--paper); }
.lp-footer__contact a { display: flex; gap: 10px; align-items: center; }
.lp-footer__contact .ico { width: 18px; height: 18px; flex: 0 0 18px; }
.lp-footer .linklike { font-size: inherit; color: inherit; }
.lp-footer__bottom { margin-top: clamp(32px, 5vw, 48px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .82rem; color: var(--slate-2); }
.lp-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* Barra fixa (celular): só aparece depois do hero e some quando o formulário está na tela */
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: grid; grid-template-columns: 1fr; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(34, 38, 40, .92); border-top: 1px solid rgba(213, 212, 212, .14); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transform: translateY(110%); transition: transform .4s var(--ease); }
.lp-sticky.is-visible { transform: none; }
.lp-sticky .btn { padding: 13px 18px; }
@media (min-width: 980px) { .lp-sticky { display: none; } }
.is-lp .cookies { z-index: 90; }
@media (max-width: 979px) { .is-lp .cookies { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (max-width: 979px) {
  .lp-hero__veil { background: linear-gradient(180deg, rgba(34, 38, 40, .92) 0%, rgba(34, 38, 40, .86) 60%, var(--ink) 100%); }
}

/* LP AM Smart: logo, fluxo com telas, comprovante (prova jurídica) */
.lp-top__logo--smart img { height: 30px; }
@media (max-width: 420px) { .lp-top__logo--smart img { height: 24px; } }
.lp-flow { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.lp-flow__step { display: grid; gap: 8px; align-content: start; }
.lp-flow__step .device { margin-bottom: 8px; }
.lp-flow__photo { margin-bottom: 8px; }
.lp-flow__photo .media { box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.lp-flow__n { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--fg-3); }
.receipt { border-radius: var(--r-lg); background: #fff; color: var(--ink); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-lg); border: 1px solid rgba(34, 38, 40, .12); font-size: .93rem; max-width: 520px; margin-inline: auto; }
.receipt__head { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px dashed rgba(34, 38, 40, .25); }
.receipt__kicker { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.receipt__head strong { font-size: 1.1rem; letter-spacing: -.01em; }
.receipt__nsr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; color: var(--ink-4); }
.receipt__rows { display: grid; gap: 0; padding: 8px 0; }
.receipt__rows > div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(34, 38, 40, .08); }
.receipt__rows dt { color: var(--slate); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.receipt__rows dd { font-weight: 600; }
.receipt__hash { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(34, 38, 40, .05); display: grid; gap: 4px; }
.receipt__hash span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.receipt__hash code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; word-break: break-all; color: var(--ink-3); line-height: 1.5; }
.receipt__foot { margin-top: 12px; font-size: .8rem; color: var(--ink-4); }
.lp-cross .device--phone .media { aspect-ratio: 9/19; }
.dot--0 { background: transparent; }
.lp-thanks__count { margin-top: 18px; font-size: .95rem; color: var(--fg-3); }
.lp-thanks__count strong { color: var(--fg); font-variant-numeric: tabular-nums; }

/* Logotipos de clientes (partials/client-logos.php): cartões brancos em rolagem contínua */
.clients { overflow: hidden; margin-top: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clients__track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.clients:hover .clients__track { animation-play-state: paused; }
.client-logo { flex: 0 0 auto; display: grid; place-items: center; width: 176px; height: 84px; margin-right: 12px; padding: 12px 20px; border-radius: 16px; background: #fff; border: 1px solid rgba(34, 38, 40, .08); }
.client-logo img { width: auto; height: auto; max-width: 100%; max-height: 54px; object-fit: contain; }
.clients-wrap { margin-bottom: clamp(32px, 5vw, 56px); }
@media (max-width: 640px) { .client-logo { width: 140px; height: 70px; padding: 10px 14px; } .client-logo img { max-height: 44px; } }
@media (prefers-reduced-motion: reduce) {
  .clients { -webkit-mask-image: none; mask-image: none; }
  .clients__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .client-logo { margin-right: 0; }
  .client-logo[aria-hidden="true"] { display: none; }
}

/* LPs: botão flutuante do WhatsApp sobe quando a barra fixa do celular aparece */
.is-lp .wa-float { transition: transform .35s var(--ease), box-shadow .35s, bottom .35s var(--ease); }
@media (max-width: 979px) { .is-lp.has-sticky .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); } }
.is-lp .wa-float { transition: transform .35s var(--ease), box-shadow .35s, bottom .35s var(--ease), opacity .3s; }
.is-lp.form-in .wa-float { opacity: 0; pointer-events: none; transform: translateY(12px); }   /* não cobre o formulário */

/* WhatsApp em destaque (hero e cabeçalho das LPs) */
.btn--wa .ico { width: 20px; height: 20px; }
.lp-wa-cta { box-shadow: 0 12px 32px rgba(37, 211, 102, .28); }
.lp-wa-cta:hover { box-shadow: 0 16px 40px rgba(37, 211, 102, .4); }
.lp-top__wa.btn--wa { border-color: transparent; }
.lp-top__wa .ico { width: 16px; height: 16px; }
@media (min-width: 980px) { .lp-hero__actions .lp-wa-cta { display: inline-flex; } }

/* Faixa de clientes: logos maiores */
.client-logo { width: 210px; height: 104px; padding: 14px 22px; }
.client-logo img { max-height: 70px; }
@media (max-width: 640px) { .client-logo { width: 168px; height: 84px; padding: 12px 16px; } .client-logo img { max-height: 56px; } }

/* Carrossel de depoimentos (partials/lp-testimonials.php) */
.tcar { position: relative; }
.tcar__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.tcar__track::-webkit-scrollbar { display: none; }
.tcar__track:focus-visible { outline: 2px solid var(--slate); outline-offset: 6px; }
@media (max-width: 979px) { .tcar__track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .tcar__track { grid-auto-columns: 88%; } }
.tcar__slide { scroll-snap-align: start; margin: 0; height: 100%; }
.tcar__logo { display: flex; align-items: center; height: 64px; padding: 10px 16px; border-radius: 14px; background: #fff; border: 1px solid rgba(34, 38, 40, .08); align-self: flex-start; }
.tcar__logo img { height: 44px; width: auto; max-width: 170px; object-fit: contain; }
.tcar__name { font-weight: 800; letter-spacing: -.01em; color: var(--ink); font-size: 1.05rem; }
.tcar__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.tcar__btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--fg); background: var(--card); transition: background .25s, transform .25s var(--ease); }
.tcar__btn:hover { background: var(--card-hover); transform: scale(1.05); }
.tcar__btn svg { width: 20px; height: 20px; }
.tcar__btn[disabled] { opacity: .35; pointer-events: none; }
.tcar__dots { display: flex; gap: 8px; }
.tcar__dot { width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); transition: width .3s var(--ease), background .3s; }
.tcar__dot[aria-selected="true"] { width: 24px; background: var(--fg); }
.tcar__logo { height: 76px; padding: 10px 18px; }
.tcar__logo img { height: 56px; max-width: 200px; }

/* ═══ LP comercial (AM Smart · EPI): hero com foto, janela do formulário, CTAs por seção,
   antes × depois arrastável e calculadora. Tudo opcional, ligado por config/landings.php. */
.lp-hero--visual { background: radial-gradient(120% 90% at 85% 20%, #2f3538 0%, var(--ink) 60%); }
@media (min-width: 980px) {
  .lp-hero--visual .lp-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lp-hero--visual .lp-hero__cta { display: inline-flex; }
}
.lp-hero__note { font-size: .9rem; color: var(--fg-3); max-width: 52ch; }
.lp-scene { position: relative; margin: 0; }
.lp-scene .media { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.lp-scene .media img { object-position: 40% 30%; }
.lp-scene__tags { position: absolute; left: -18px; bottom: 18px; display: grid; gap: 8px; list-style: none; max-width: 300px; }
.lp-scene__tag { display: flex; gap: 10px; align-items: center; padding: 9px 14px 9px 10px; border-radius: 14px; background: rgba(34, 38, 40, .86); border: 1px solid rgba(213, 212, 212, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(10px); animation: lpTag .6s var(--ease) forwards; animation-delay: calc(.6s + var(--i) * .45s); }
.lp-scene__ico { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(37, 211, 102, .16); color: #6be39a; }
.lp-scene__ico .ico { width: 17px; height: 17px; }
.lp-scene__tag strong { display: block; font-size: .88rem; line-height: 1.2; color: var(--paper); }
.lp-scene__tag small { display: block; font-size: .75rem; color: var(--slate-3); }
@keyframes lpTag { to { opacity: 1; transform: none; } }
@media (max-width: 979px) { .lp-scene__tags { left: 10px; bottom: 10px; max-width: 250px; } .lp-scene__tag { padding: 7px 10px 7px 8px; } .lp-scene__tag:nth-child(n+3) { display: none; } }
@media (prefers-reduced-motion: reduce) { .lp-scene__tag { animation: none; opacity: 1; transform: none; } }

.lp-authority { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 28px auto 0; max-width: 760px; text-align: left; color: var(--fg-2); font-size: .98rem; }
.lp-authority .ico { flex: 0 0 22px; width: 22px; height: 22px; color: var(--fg-3); }

.lp-modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-xl); background: transparent; color: var(--paper); overflow: visible; }
.lp-modal::backdrop { background: rgba(15, 18, 19, .72); backdrop-filter: blur(4px); }
.lp-modal[open] { animation: rise .35s var(--ease); }
.lp-modal .lp-form { max-height: calc(100dvh - 24px); overflow: auto; background: var(--ink-2); border: 1px solid rgba(213, 212, 212, .16); }
.lp-modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); background: rgba(213, 212, 212, .08); }
.lp-modal__close:hover { background: rgba(213, 212, 212, .16); }
.lp-modal__close svg { width: 18px; height: 18px; }
.lp-modal .lp-form__head { padding-right: 40px; }

.lp-cta-row { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.lp-cta-row p { font-weight: 600; max-width: 56ch; }
.lp-cta-row__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-cta-row .btn--wa .ico { width: 18px; height: 18px; }

/* Antes × depois */
.ad { position: relative; max-width: 560px; margin-inline: auto; }
.ad__stage { position: relative; display: grid; border-radius: var(--r-lg); overflow: hidden; }
.ad__after, .ad__before { grid-area: 1 / 1; display: grid; }
.ad__after .receipt { margin: 0; max-width: none; height: 100%; }
.ad__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ad__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--ink); transform: translateX(-1px); pointer-events: none; }
.ad__handle span { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.ad__handle span::before, .ad__handle span::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.ad__handle span::before { left: 5px; border-right-color: var(--paper); }
.ad__handle span::after { right: 5px; border-left-color: var(--paper); }
.ad__label { position: absolute; top: 12px; padding: 5px 10px; border-radius: 99px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ad__label--before { left: 12px; background: #b4372f; color: #fff; }
.ad__label--after { right: 12px; background: var(--ink); color: var(--paper); }
.ad__range { position: absolute; inset: 0 0 auto 0; height: calc(100% - 34px); width: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ad__range:focus-visible + .ad__hint { outline: 2px solid var(--slate); outline-offset: 4px; border-radius: 6px; }
.ad__hint { margin-top: 12px; text-align: center; font-size: .85rem; color: var(--fg-3); }
.paper { height: 100%; padding: clamp(20px, 3vw, 28px); background: #f3eee2; color: #3a3a3a; font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive; background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(80, 110, 160, .18) 27px 28px); }
.paper__title { font-family: var(--font); font-weight: 800; letter-spacing: .06em; font-size: .9rem; color: #555; padding-bottom: 10px; border-bottom: 2px solid #8a8473; margin-bottom: 10px; }
.paper__table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.paper__table th { font-family: var(--font); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #777; text-align: left; padding: 6px 4px; border-bottom: 1px solid #b9b2a0; }
.paper__table td { padding: 10px 4px; border-bottom: 1px dashed #c8c1ae; transform: rotate(-.4deg); }
.paper__sig { font-style: italic; letter-spacing: 2px; }
.paper__notes { margin-top: 16px; display: grid; gap: 6px; list-style: none; font-family: var(--font); font-size: .82rem; color: #9b2f28; }
.paper__notes li::before { content: '✕ '; font-weight: 700; }

/* Calculadora */
.lp-calc-section { background: var(--ink-2); }
.calc { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); }
@media (min-width: 900px) { .calc { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.calc__inputs { display: grid; gap: 14px; }
@media (min-width: 560px) { .calc__inputs { grid-template-columns: 1fr 1fr; } }
.calc__field { display: grid; gap: 6px; font-size: .9rem; color: var(--fg-2); font-weight: 600; }
.calc__field input { padding: 12px 14px; border-radius: var(--r-sm); background: rgba(213, 212, 212, .06); border: 1px solid var(--line-2); color: var(--fg); font-size: 1.05rem; font-weight: 700; }
.calc__field input:focus { outline: none; border-color: var(--slate-3); box-shadow: 0 0 0 4px rgba(111, 124, 132, .25); }
.calc__field small { font-weight: 400; color: var(--fg-3); font-size: .8rem; }
.calc__out { display: grid; gap: 10px; }
.calc__result { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; border-radius: var(--r-md); background: rgba(213, 212, 212, .05); border: 1px solid var(--line); }
.calc__result span { color: var(--fg-2); font-size: .92rem; }
.calc__result strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc__result--main { background: var(--paper); color: var(--ink); border-color: transparent; }
.calc__result--main span { color: var(--ink-4); }
.calc__result--main strong { font-size: 1.8rem; }
.calc__note { font-size: .82rem; color: var(--fg-3); }
.lp-hero--visual .lp-hero__title { font-size: clamp(2rem, 3.4vw, 3rem); max-width: 22ch; }
.lp-hero--visual .lp-hero__copy { gap: 16px; }
.lp-scene__tags { left: auto; right: -18px; bottom: 18px; max-width: 270px; }
@media (max-width: 979px) { .lp-scene__tags { left: auto; right: 10px; bottom: 10px; max-width: 230px; } }
.lp-modal { margin: auto; }   /* o reset global zera as margens e tirava a janela do centro */
.ad .paper { padding-top: 52px; } .ad__after .receipt { padding-top: 52px; }
.is-lp.cta-in .wa-float { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* Hero com foto de fundo (layout 'fundo'): no computador a foto ocupa o hero e fica à direita do texto;
   no celular some o fundo e aparece o recorte em cartão (.lp-hero__visual--mobile). */
.lp-hero--fundo { background: var(--ink); }
.lp-hero__bg, .lp-hero__bgveil, .lp-hero__tags { display: none; }
@media (min-width: 980px) {
  .lp-hero--fundo { min-height: 88svh; }
  .lp-hero--fundo .lp-hero__bg { display: block; position: absolute; inset: 0 0 0 18%; z-index: -2; }
  .lp-hero--fundo .lp-hero__bg .media { position: absolute; inset: 0; border-radius: 0; }
  .lp-hero--fundo .lp-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 30%; }
  .lp-hero--fundo .lp-hero__bgveil { display: block; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 20%, rgba(34, 38, 40, .86) 34%, rgba(34, 38, 40, .35) 52%, rgba(34, 38, 40, .05) 70%, rgba(34, 38, 40, .15) 100%),
    linear-gradient(180deg, rgba(34, 38, 40, .45) 0%, rgba(34, 38, 40, 0) 18%, rgba(34, 38, 40, 0) 75%, var(--ink) 100%); }
  .lp-hero--fundo .lp-hero__inner { grid-template-columns: minmax(0, 560px) 1fr; align-items: end; }
  .lp-hero--fundo .lp-hero__visual--mobile { display: none; }
  .lp-hero--fundo .lp-hero__tags { display: grid; gap: 8px; list-style: none; justify-self: end; align-self: end; max-width: 270px; margin-bottom: 8px; }
}
@media (min-width: 980px) {
  .lp-hero--fundo .lp-hero__bg { inset: 0 0 0 8%; }
  .lp-hero--fundo .lp-hero__bg img { object-position: 14% 25%; }
  .lp-hero--fundo .lp-hero__bgveil { background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 14%, rgba(34, 38, 40, .88) 30%, rgba(34, 38, 40, .4) 46%, rgba(34, 38, 40, .06) 62%, rgba(34, 38, 40, .12) 100%),
    linear-gradient(180deg, rgba(34, 38, 40, .45) 0%, rgba(34, 38, 40, 0) 18%, rgba(34, 38, 40, 0) 75%, var(--ink) 100%); }
}
@media (min-width: 980px) {
  /* foto começa em 30% da largura e entra com transição suave: celular e rosto ficam à direita do texto */
  .lp-hero--fundo .lp-hero__bg { inset: 0 0 0 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
  .lp-hero--fundo .lp-hero__bg img { object-position: 0% 30%; }
  .lp-hero--fundo .lp-hero__bgveil { background: linear-gradient(180deg, rgba(34, 38, 40, .45) 0%, rgba(34, 38, 40, 0) 18%, rgba(34, 38, 40, 0) 75%, var(--ink) 100%); }
}
@media (min-width: 980px) { .lp-hero--fundo .lp-hero__bg img { object-position: 25% 30%; } }
/* Logo oficial do AM Smart no cabeçalho: 23 px de altura (site e LPs) */
.header__logo--smart img, .lp-top__logo--smart img { height: 23px; }
@media (max-width: 420px) { .header__logo--smart img, .lp-top__logo--smart img { height: 23px; } }

/* ── Ponto eletrônico (página do módulo e LP /lp/ponto-facial) ── */
.pt-illus .media { background: transparent; }
.pt-illus img { object-fit: contain; }
.pt-norma { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.pt-objecoes { display: grid; gap: 12px; }
.pt-objecao { padding: 20px 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.pt-objecao strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.pt-objecao p { color: var(--fg-2); font-size: .95rem; line-height: 1.5; }
.pt-fecho { margin-top: clamp(32px, 5vw, 56px); }
.pt-ps { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--fg-2); font-size: .95rem; font-style: italic; max-width: 56ch; }
