/* Martin Marketing & Design · base e componentes
   Depende de tokens.css. Ordem: base, layout, tipografia, componentes, cabeçalho, rodapé. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h-min) + 24px); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--v700); color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 12px 20px; border-radius: var(--r-pill); background: var(--ink); color: #fff; transform: translateY(-200%); transition: transform var(--d-1) var(--ease); }
.skip:focus { transform: none; }

/* Transições entre páginas (View Transitions API, onde houver suporte) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.section { position: relative; background: var(--bg); color: var(--fg); padding-block: var(--section); }
.section--flush-top { padding-top: 0; }

.head { display: grid; gap: var(--s-3); max-width: 880px; margin-bottom: clamp(48px, 6vw, 88px); }
.head--center { text-align: center; margin-inline: auto; justify-items: center; }
.head--split { max-width: none; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.head--split > :first-child { grid-column: 1 / span 8; display: grid; gap: var(--s-3); }
.head--split > :last-child { grid-column: 9 / -1; justify-self: end; }

/* ---------- Tipografia ---------- */
.display, .h1, .h2, .h3, .h4 { font-family: var(--font-display); }
.display, .h1, .h2 { font-weight: var(--w-display); text-wrap: balance; }
.display { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--tr-display); }
.h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--tr-display); }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--tr-head); }
.h3 { font-size: var(--fs-h3); line-height: 1.14; letter-spacing: var(--tr-sub); font-weight: 550; text-wrap: balance; }
.h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); letter-spacing: -.015em; font-weight: 550; }
.lead { font-size: var(--fs-lead); line-height: 1.45; letter-spacing: -.012em; color: var(--fg-2); max-width: 46ch; text-wrap: pretty; }
.muted { color: var(--fg-2); }
.small { font-size: var(--fs-small); }
.dot { color: var(--dot); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: var(--fs-label); line-height: 1.2; letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--fg-2); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); flex: none; }
.num { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: var(--tr-label); color: var(--fg-3); font-feature-settings: "tnum"; }
.link { color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.link svg { width: 16px; height: 16px; transition: transform var(--d-2) var(--ease); }
.link:hover svg { transform: translateX(4px); }
.link--u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--d-2) var(--ease); }
.link--u:hover { background-size: 100% 1px; }

/* ---------- Botões ---------- */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: -.005em; white-space: nowrap; user-select: none; transition: transform var(--d-2) var(--ease), translate var(--d-2) var(--ease), box-shadow var(--d-2) var(--ease), background-color var(--d-1), color var(--d-1); will-change: transform; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--d-2) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97) !important; transition-duration: 90ms; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 12px 28px -14px rgba(67, 0, 164, .7); }
.btn--primary::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grad-glow); opacity: 0; transition: opacity var(--d-2) var(--ease); z-index: -1; }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, var(--sh-glow); }
[data-theme="dark"] .btn--primary { background: var(--grad-on-dark); box-shadow: 0 1px 0 rgba(255, 255, 255, .28) inset, 0 16px 36px -14px rgba(126, 38, 248, .9); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-4); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist-2); }
.btn--ghost { color: var(--fg); box-shadow: inset 0 0 0 1px var(--bd-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn--sm { height: 40px; padding: 0 18px; font-size: var(--fs-small); }
.btn--lg { height: 60px; padding: 0 32px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
/* ondinha de clique */
.btn .ic--wa { width: 20px; height: 20px; }
.btn:hover .ic--wa { transform: scale(1.08); }
.btn .rp { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .35); transform: scale(0); pointer-events: none; animation: rp .6s var(--ease) forwards; z-index: -1; }
.btn--ghost .rp, .btn--light .rp { background: rgba(21, 4, 31, .12); }
@keyframes rp { to { transform: scale(1); opacity: 0; } }

.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Chips e tags ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 500; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--bd); white-space: nowrap; }
.chip--solid { background: var(--surface); box-shadow: none; }
.chip--accent { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.flag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); padding: 3px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--bd); background: color-mix(in srgb, var(--bg) 70%, transparent); }

/* ---------- Cartões ---------- */
.card { position: relative; background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 36px); }
.card--line { background: transparent; box-shadow: inset 0 0 0 1px var(--bd); }

/* ---------- Números ---------- */
.stat { display: grid; gap: 8px; align-content: start; }
.stat__v { font-family: var(--font-display); font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1; letter-spacing: var(--tr-display); font-weight: var(--w-display); font-feature-settings: "tnum"; }
.stat__l { color: var(--fg-2); font-size: var(--fs-small); max-width: 22ch; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--bd); }
.faq__item { border-bottom: 1px solid var(--bd); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; text-align: left; font-family: var(--font-display); font-size: clamp(1.0625rem, .5vw + 1rem, 1.3125rem); font-weight: 500; letter-spacing: -.012em; line-height: 1.3; }
.faq__q:hover { color: var(--accent); }
.faq__ic { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--bd-strong); transition: background-color var(--d-2), transform var(--d-2) var(--ease), box-shadow var(--d-2); }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform var(--d-2) var(--ease); }
.faq__ic::after { transform: rotate(90deg); }
.faq__item.is-open .faq__ic { background: var(--fg); color: var(--bg); box-shadow: none; transform: rotate(180deg); }
.faq__item.is-open .faq__ic::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--d-2) var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 56px 28px 0; color: var(--fg-2); max-width: 68ch; opacity: 0; transform: translateY(8px); transition: opacity var(--d-2) var(--ease), transform var(--d-2) var(--ease); }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: 80ms; }
html:not(.js) .faq__a { grid-template-rows: 1fr; }
html:not(.js) .faq__a p { opacity: 1; transform: none; }

/* ---------- Depoimento ---------- */
.quote { display: grid; gap: var(--s-4); align-content: space-between; height: 100%; }
.quote__mark { width: 36px; height: 28px; color: var(--dot); }
.quote__t { font-size: clamp(1.125rem, .7vw + 1rem, 1.4375rem); line-height: 1.38; letter-spacing: -.02em; font-weight: 480; text-wrap: pretty; }
.quote--lg .quote__t { font-size: clamp(1.375rem, 1.5vw + 1rem, 2.125rem); line-height: 1.24; letter-spacing: -.03em; font-weight: 540; }
.quote__who { display: flex; align-items: center; gap: 14px; }
.quote__av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-logo); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .9375rem; flex: none; }
.quote__n { font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.quote__r { color: var(--fg-3); font-size: var(--fs-small); line-height: 1.3; }

/* ---------- Formulário ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; position: relative; }
.field > label, .field > legend { font-size: var(--fs-xs); font-weight: 550; color: var(--fg-2); letter-spacing: 0; }
.input { width: 100%; height: 54px; padding: 0 16px; border-radius: 14px; background: var(--field-bg, var(--mist)); border: 0; box-shadow: inset 0 0 0 1px var(--field-bd, transparent); color: var(--fg); transition: box-shadow var(--d-1), background-color var(--d-1); appearance: none; -webkit-appearance: none; }
.input::placeholder { color: var(--fg-3); }
.input:hover { box-shadow: inset 0 0 0 1px var(--bd-strong); }
.input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--focus); }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236E6A79' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px; }
.field.is-bad .input { box-shadow: inset 0 0 0 2px var(--err-c, var(--err)); }
.field.is-ok .input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230E7A4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px; }
.field__err { min-height: 0; font-size: var(--fs-xs); color: var(--err-c, var(--err)); line-height: 1.3; }
.field__err:empty { display: none; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--field-bg, var(--mist)); font-size: var(--fs-small); font-weight: 500; transition: background-color var(--d-1), color var(--d-1), transform var(--d-2) var(--ease); }
.seg label:hover span { box-shadow: inset 0 0 0 1px var(--bd-strong); }
.seg input:checked + span { background: var(--fg); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.form__note { font-size: var(--fs-xs); color: var(--fg-3); text-align: center; }
.form__note.is-bad { color: var(--err); font-weight: 500; }
.form__ok { display: grid; justify-items: center; text-align: center; gap: 16px; padding: 48px 8px; }
.form__ok svg { width: 72px; height: 72px; }
.form__ok circle { stroke-dasharray: 208; stroke-dashoffset: 208; }
.form__ok path { stroke-dasharray: 48; stroke-dashoffset: 48; }
.form.is-sent .form__ok circle { animation: draw .7s var(--ease) forwards; }
.form.is-sent .form__ok path { animation: draw .45s var(--ease) .45s forwards; }
.form.is-sent .form__ok > :not(svg) { animation: rise .7s var(--ease) .5s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.btn.is-loading { pointer-events: none; }
.btn.is-loading > span { opacity: .0; }
.btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Trilha de navegação ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--fg-3); }
.crumbs a:hover { color: var(--fg); }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs [aria-current] { color: var(--fg-2); }

/* ---------- Cabeçalho ---------- */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hd-h); color: var(--text); transition: color var(--d-2); view-transition-name: header; }
.hd__bg { position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 rgba(21, 4, 31, .07); opacity: 0; transform-origin: top; transition: opacity var(--d-2) var(--ease), transform var(--d-2) var(--ease), background-color var(--d-2); }
.hd.is-scrolled .hd__bg { opacity: 1; }
.hd.is-scrolled .hd__bg { transform: scaleY(.7778); }
.hd.on-dark { color: var(--on-dark); }
.hd.on-dark .hd__bg { background: rgba(21, 4, 31, .66); box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
.hd.is-drawer .hd__bg, .hd.on-dark.is-drawer .hd__bg { opacity: 1; background: #fff; box-shadow: none; transform: none; }
.hd.on-dark.is-drawer { color: var(--text); }
.hd__bar { height: 100%; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); transition: transform var(--d-2) var(--ease); }
.hd.is-scrolled .hd__bar { transform: translateY(-8px); }
.hd__logo { display: block; flex: none; transform-origin: left center; transition: transform var(--d-2) var(--ease); }
.hd.is-scrolled .hd__logo { transform: scale(.88); }
.logo { height: 26px; width: auto; overflow: visible; }
.hd.on-dark:not(.is-drawer) .logo .lg-sym, [data-theme="dark"] .logo .lg-sym { fill: currentColor; }
.hd__nav { margin-left: auto; }
.hd__nav > ul { display: flex; align-items: center; gap: 4px; }
.hd__link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: var(--r-pill); font-family: var(--font-display); font-size: var(--fs-small); font-weight: 500; letter-spacing: -.005em; opacity: .82; transition: opacity var(--d-1), background-color var(--d-1); }
.hd__link:hover, .hd__link[aria-expanded="true"], .hd__link[aria-current] { opacity: 1; background: color-mix(in srgb, currentColor 7%, transparent); }
.hd__link svg { width: 12px; height: 12px; transition: transform var(--d-2) var(--ease); }
.hd__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.hd__side { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 16%, transparent); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.lang a { display: grid; place-items: center; height: 26px; min-width: 32px; padding: 0 8px; border-radius: var(--r-pill); opacity: .6; transition: opacity var(--d-1), background-color var(--d-1); }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }
.hd__burger { display: none; position: relative; width: 40px; height: 40px; border-radius: 50%; }
.hd__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform var(--d-2) var(--ease); }
.hd__burger span:nth-child(1) { top: 16px; }
.hd__burger span:nth-child(2) { top: 23px; }
.hd.is-drawer .hd__burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.hd.is-drawer .hd__burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* progresso de leitura: o ponto do "m." percorre a página */
.hd__prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; opacity: 0; transition: opacity var(--d-2), transform var(--d-2) var(--ease); }
.hd.is-scrolled .hd__prog { opacity: 1; transform: translateY(-16px); }
.hd__prog i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, transparent, var(--v400)); }
.hd__prog b { position: absolute; top: -2px; left: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--v400); box-shadow: 0 0 12px 2px rgba(126, 38, 248, .7); transform: translateX(calc(var(--p, 0) * 100vw)); }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 8px; color: var(--text); pointer-events: none; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity var(--d-2) var(--ease), transform var(--d-2) var(--ease), visibility 0s var(--d-2); }
.hd.is-scrolled .mega { top: var(--hd-h-min); }
.hd.is-open .mega { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.mega__panel { display: grid; grid-template-columns: 1fr 1fr 300px; gap: 8px; padding: 12px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px rgba(21, 4, 31, .06), var(--sh-2); }
.mega__col { padding: 8px; display: grid; align-content: start; gap: 2px; }
.mega__t { padding: 0 12px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--text-3); }
.mega__a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 12px; border-radius: 16px; transition: background-color var(--d-1); }
.mega__a:hover, .mega__a:focus-visible { background: var(--mist); }
.mega__a .mega__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--v700); transition: background-color var(--d-1), color var(--d-1), transform var(--d-2) var(--ease); }
.mega__a:hover .mega__ic, .mega__a:focus-visible .mega__ic { background: var(--v700); color: #fff; transform: scale(1.06) rotate(-4deg); }
.mega__ic svg { width: 20px; height: 20px; flex: none; }
.mega__tx { display: grid; gap: 1px; min-width: 0; }
.mega__tx b { font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: -.005em; line-height: 1.3; color: var(--text); }
.mega__tx small { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.35; }
.mega__cta { position: relative; overflow: hidden; display: grid; align-content: end; gap: 12px; padding: 24px; border-radius: 20px; background: var(--ink); color: var(--on-dark); min-height: 260px; }
.mega__cta::before { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(126, 38, 248, .75), transparent); }
.mega__cta p { position: relative; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; letter-spacing: var(--tr-sub); font-weight: 550; }
.mega__cta small { position: relative; color: var(--on-dark-2); font-size: var(--fs-xs); line-height: 1.4; }
.mega__cta .btn { justify-self: start; margin-top: 4px; }
.mega__cta { min-height: 0; align-self: stretch; }

/* gaveta mobile */
.drawer { position: fixed; inset: 0; z-index: 99; background: var(--paper); color: var(--text); padding: calc(var(--hd-h) + 16px) var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity var(--d-2) var(--ease), transform var(--d-2) var(--ease), visibility 0s var(--d-2); }
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer__t { font-family: var(--mono); font-size: 11px; letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--text-3); margin: 20px 0 8px; }
.drawer__big a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 580; letter-spacing: -.03em; border-bottom: 1px solid var(--line); }
.drawer__sm { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.drawer__sm a { display: block; padding: 9px 0; font-family: var(--font-display); font-weight: 500; color: var(--text-2); }
.drawer .btn { margin-top: 28px; }

/* ---------- Rodapé ---------- */
.ft { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: clamp(64px, 8vw, 104px) 0 32px; }
.ft__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); }
.ft__brand { grid-column: span 4; display: grid; gap: 20px; align-content: start; }
.ft__brand .logo { height: 30px; }
.ft__brand p { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; letter-spacing: var(--tr-sub); font-weight: 550; max-width: 15ch; }
.ft__col { grid-column: span 2; }
.ft__col--wide { grid-column: span 4; }
.ft__col--wide ul { columns: 2; column-gap: var(--gap); }
.ft__t { font-family: var(--mono); font-size: 11px; letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 16px; }
.ft li { break-inside: avoid; }
.ft li a { display: inline-block; padding: 5px 0; color: var(--on-dark-2); font-size: var(--fs-small); transition: color var(--d-1); }
.ft li a:hover { color: #fff; }
.ft__nap { font-style: normal; display: grid; gap: 2px; }
.ft__nap a, .ft__nap span { display: inline-block; padding: 5px 0; color: var(--on-dark-2); font-size: var(--fs-small); }
.ft__nap a:hover { color: #fff; }
.ft__soc { display: flex; gap: 8px; margin-top: 16px; }
.ft__soc a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--on-dark-2); transition: background-color var(--d-1), color var(--d-1), transform var(--d-2) var(--ease); }
.ft__soc a:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.ft__soc svg { width: 18px; height: 18px; }
.ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); color: var(--on-dark-3); }
.ft__bottom a:hover { color: #fff; }
.ft__mark { position: absolute; right: -4%; bottom: -18%; width: min(52vw, 720px); opacity: .05; pointer-events: none; }
.ft__mark { fill: #fff; }

/* WhatsApp flutuante */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; height: 56px; padding: 0 22px 0 16px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: var(--fs-small); letter-spacing: -.005em; background: var(--ink); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 16px 40px -12px rgba(21, 4, 31, .5); transform: translateY(96px); transition: transform var(--d-3) var(--ease), background-color var(--d-1); }
.wa.is-in { transform: none; }
.wa:hover { background: var(--v700); }
.wa svg { width: 26px; height: 26px; flex: none; }

/* aviso do protótipo */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; padding: 12px 20px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: var(--fs-small); box-shadow: var(--sh-2); transform: translate(-50%, 140%); opacity: 0; transition: transform var(--d-2) var(--ease), opacity var(--d-2); pointer-events: none; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast.is-in { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Entradas por scroll ---------- */
/* usa a propriedade translate para não disputar o transform dos componentes (tilt, magnético) */
.js .rv { opacity: 0; translate: 0 24px; transition: opacity var(--d-3) var(--ease), translate var(--d-3) var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rv.is-in { opacity: 1; translate: none; }
/* A primeira dobra não espera o JavaScript: entra por animação do próprio CSS (o resto da página entra ao rolar). */
.js main > :first-child :is(.rv, .split) { animation: entra var(--d-3) var(--ease) both; animation-delay: calc(min(var(--i, 0), 6) * 60ms); }
@keyframes entra { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: none; } }
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js .split .w > span { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1s var(--ease); transition-delay: calc(var(--wi, 0) * 55ms + var(--delay, 0ms)); }
.js .split.is-in .w > span { transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .hd__nav, .hd__side > .btn { display: none; }
  .hd__side { margin-left: auto; }
  .hd__burger { display: block; }
  .mega { display: none; }
  .ft__brand { grid-column: 1 / -1; }
  .ft__col, .ft__col--wide { grid-column: span 6; }
  .ft__col--wide ul { columns: 1; }
  .head--split > :first-child, .head--split > :last-child { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  :root { --hd-h: 64px; }
  .hd.is-scrolled .hd__bg { transform: scaleY(.875); }
  .hd.is-scrolled .hd__bar { transform: translateY(-4px); }
  .hd.is-scrolled .hd__prog { transform: translateY(-8px); }
  .logo { height: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .btn { height: 50px; }
  .faq__a p { padding-right: 0; }
  .ft__col, .ft__col--wide { grid-column: 1 / -1; }
  .ft__col--wide ul { columns: 2; }
  .wa { right: 14px; bottom: 14px; width: 52px; height: 52px; padding: 0; justify-content: center; }
  .wa__t { display: none; }
}

/* ---------- Movimento reduzido: tudo vira fade simples ou estático ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; transition-delay: 0s !important; }
  .js .rv { translate: none !important; }
  .js .split .w > span { transform: none !important; }
  .js .split .w > span { opacity: 0; transition: opacity .3s linear !important; }
  .js .split.is-in .w > span { opacity: 1; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Ícones por <use> ---------- */
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form__grid { display: grid; gap: 18px; }
