/* =========================================================
   Martins Fire — Landing page
   Mobile first: a base é a tela de 320px+. Media queries só com min-width.
   Movimento só em transform/opacity. prefers-reduced-motion desliga tudo.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0E1116;
  --ink-soft:   #161A21;
  --ink-raise:  #1A1F27;
  --ink-deep:   #07090C;
  --paper:      #F6F5F2;
  --paper-pure: #FFFFFF;
  --flame:      #FF5400;   /* laranja da logo */
  --ember:      #CB2106;   /* vermelho da base da chama */
  --amber:      #FF8A2B;   /* clareado do laranja, para acentos */
  --steel:      #5A6472;
  --muted-dark: #A9B1BC;           /* texto secundário no escuro (AA) */
  --line:       rgba(255,255,255,0.09);
  --line-dark:  rgba(14,17,22,0.10);
  --success:    #1F8A4C;
  --danger:     #CB2106;
  --danger-on-dark: #FF8A70;
  --wa:         #25D366;
  --wa-deep:    #177F40;

  --grad-brand: linear-gradient(135deg, var(--amber), var(--flame) 45%, var(--ember));
  --grad-heat:  linear-gradient(90deg, transparent, var(--flame), var(--ember), transparent);
  --grad-cta:   linear-gradient(135deg, var(--amber) 0%, var(--flame) 55%, var(--ember) 125%);

  --font-head: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  --gutter: 20px;
  --section-y: clamp(64px, 12vw, 144px);
  --header-h: 60px;
  --radius: 14px;
  --radius-btn: 10px;
  --shadow: 0 20px 50px -24px rgba(0,0,0,.4);
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);   /* expo out: entrada macia, sem "quique" */
}
@media (min-width: 768px)  { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --header-h: 76px; } }

/* ---------- Travas anti-vazamento ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
/* Quebra de palavra: só quando o texto não couber de jeito nenhum (URL, e-mail).
   Nada de hífen automático nem de word-break, que partiam palavras no meio. */
body, h1, h2, h3, p, li, a, span, strong, em, label, button {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
}
table { display: block; overflow-x: auto; }

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ink);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
/* grão de filme: tira o aspecto "chapado" de tela gerada */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html.is-locked, html.is-locked body { overflow: hidden; }
::selection { background: var(--flame); color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: pretty;          /* evita linha órfã sem picotar o texto */
}
@media (min-width: 768px) { h1, h2 { text-wrap: balance; } }
h1 { font-size: clamp(1.45rem, 7.2vw, 4rem); line-height: 1.16; letter-spacing: -0.025em; text-wrap: pretty; }
h2 { font-size: clamp(1.5rem, 5.6vw, 3rem); line-height: 1.2; letter-spacing: -0.02em; text-wrap: pretty; }
h3 { font-size: clamp(1.05rem, 4vw, 1.35rem); line-height: 1.35; font-weight: 600; }
p, li { font-size: 1rem; line-height: 1.65; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
strong { font-weight: 500; }
button { font: inherit; color: inherit; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flame);
  margin: 0;
}


:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; display: inline-block; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 400;
  background: var(--flame); color: var(--ink); padding: 12px 16px; border-radius: var(--radius-btn);
  font-weight: 500; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: calc(var(--gutter) + env(safe-area-inset-left));
  padding-right: calc(var(--gutter) + env(safe-area-inset-right));
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--light { background: var(--paper); color: var(--ink); }
.section--dark  { background: var(--ink); color: var(--paper); }
.section--dark p { color: var(--muted-dark); }
.section-head { max-width: 820px; margin-bottom: clamp(32px, 6vw, 64px); }
.section-head p { margin-top: 20px; color: var(--steel); max-width: 62ch; }
.section--dark .section-head p { color: var(--muted-dark); }

/* ---------- Palavras que sobem (H1 e H2) ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }

/* ---------- Botões ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease-out), background-color .25s, border-color .25s, color .25s, box-shadow .3s;
}
.btn:active { transform: scale(.98); }
.btn .i { width: 1.3em; height: 1.3em; }
.btn__arrow { display: none; transition: transform .35s var(--ease-out); }
@media (min-width: 480px) { .btn__arrow { display: inline-block; } }
.btn:hover .btn__arrow, .btn:focus-visible .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background-color: var(--flame);          /* base de contraste: tinta sobre laranja ≈ 5:1 */
  background-image: var(--grad-cta);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -14px rgba(232,80,31,.8);
}
/* brilho que atravessa o botão no hover */
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform .7s var(--ease-out);
}
.btn--primary:hover::after, .btn--primary:focus-visible::after { transform: translateX(110%); }
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 16px 34px -14px rgba(232,80,31,.9); }

.btn--wa { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.2); color: #fff; }
.btn--wa .i { color: var(--wa); }
.btn--wa:hover, .btn--wa:focus-visible { border-color: var(--wa); background: rgba(37,211,102,.08); }

.btn--wa-light { background: transparent; border-color: rgba(14,17,22,.2); color: var(--ink); }
.btn--wa-light .i { color: var(--wa-deep); }
.btn--wa-light:hover, .btn--wa-light:focus-visible { border-color: var(--wa-deep); background: rgba(23,127,64,.06); }

.btn--wa-solid { background: var(--wa-deep); color: #fff; }
.btn--wa-solid:hover, .btn--wa-solid:focus-visible { background: #1B9150; }

.btn--wa-outline { background: transparent; border-color: var(--wa); color: #fff; }
.btn--wa-outline .i { color: var(--wa); }

.btn--sm { min-height: 48px; padding: 10px 14px; font-size: .875rem; width: auto; }
@media (min-width: 480px) { .btn--sm { padding: 10px 18px; font-size: .9375rem; } }
.btn--lg { min-height: 56px; }

.cta-row { display: flex; flex-direction: column; gap: 12px; margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 768px) {
  .btn { width: auto; padding-inline: 24px; }
  .cta-row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; }
  .cta-row--left { justify-content: flex-start; }
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  color: #fff;
  background: rgba(14,17,22,.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, transform .45s var(--ease-out), height .3s var(--ease);
}
.header.is-scrolled { background: rgba(14,17,22,.9); border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--grad-brand); transform-origin: left; transform: scaleX(0);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.header__logo { display: flex; align-items: center; flex: none; min-height: 48px; border-radius: 6px; }
.header__logo img { height: 24px; width: auto; }
.header__nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: inline-flex; gap: .3em; }
.header__cta-long { display: none; }

.header__burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; flex: none;
  background: transparent; border: 1.5px solid rgba(255,255,255,.18); border-radius: var(--radius-btn);
  cursor: pointer; color: #fff;
}
.header__burger .i { width: 24px; height: 24px; }
.header__burger:active { transform: scale(.96); background: rgba(255,255,255,.06); }

@media (min-width: 360px) {
  .header__logo img { height: 26px; }
  }
@media (min-width: 480px) { .header__logo img { height: 30px; } .header__cta-long { display: inline; } }
@media (min-width: 1024px) {
  .header { height: calc(84px + env(safe-area-inset-top)); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header.is-scrolled { height: calc(var(--header-h) - 8px + env(safe-area-inset-top)); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
  .header__logo img { height: 36px; transition: transform .3s var(--ease-out); transform-origin: left center; }
  .header.is-scrolled .header__logo img { transform: scale(.88); }
  .header__nav { display: block; }
  .header__nav ul { display: flex; gap: 6px; }
  .header__nav a {
    position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px;
    color: rgba(255,255,255,.75); text-decoration: none; font-size: .9375rem; font-weight: 500;
    transition: color .2s;
  }
  .header__nav a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 1.5px;
    background: var(--flame); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
  }
  .header__nav a:hover, .header__nav a:focus-visible { color: #fff; }
  .header__nav a:hover::after, .header__nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
  .header__burger { display: none; }
}

/* ---------- WordPress: a barra de administração empurra o topo ----------
   (só tem efeito quando o tema roda no WordPress e há admin logado) */
.admin-bar .header { top: 32px; }
.admin-bar .drawer { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .header { top: 46px; }
  .admin-bar .drawer { top: 46px; }
}

/* ---------- Drawer ---------- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(7,9,12,.65);
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility 0s linear .35s;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: 85%; max-width: 400px;
  background: var(--ink); color: #fff;
  border-left: 1px solid var(--line);
  padding: calc(8px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) 20px;
  display: flex; flex-direction: column; gap: 24px;
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .5s var(--ease-out), visibility 0s linear .5s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease-out); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.drawer__logo { height: 28px; width: auto; }
.drawer__close {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid rgba(255,255,255,.18); border-radius: var(--radius-btn); cursor: pointer; color: #fff;
}
.drawer__close .i { width: 24px; height: 24px; }
.drawer__links li { opacity: 0; transform: translateX(24px); transition: opacity .4s, transform .5s var(--ease-out); }
.drawer.is-open .drawer__links li { opacity: 1; transform: none; }
.drawer.is-open .drawer__links li:nth-child(2) { transition-delay: .05s; }
.drawer.is-open .drawer__links li:nth-child(3) { transition-delay: .1s; }
.drawer.is-open .drawer__links li:nth-child(4) { transition-delay: .15s; }
.drawer__links a {
  display: flex; align-items: center; min-height: 60px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em;
  color: #fff; text-decoration: none; border-bottom: 1px solid var(--line);
}
.drawer__links a:active { color: var(--amber); }
.drawer__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.drawer__phone { display: flex; align-items: center; justify-content: center; min-height: 48px; color: var(--muted-dark); text-decoration: none; }
@media (min-width: 1024px) { .drawer, .drawer-overlay { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 100svh;                 /* a primeira tela é só o hero: nada de branco aparecendo */
  background: var(--ink);
  color: var(--paper);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 20px);
  overflow: hidden;
}
@supports not (height: 100svh) { .hero { min-height: 100vh; } }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* a chama da marca também no celular: entra atrás do texto, sem roubar largura */
.hero__flame-mobile {
  position: absolute; right: -10%; top: 9%; width: auto; height: 62%;
  opacity: .5;
  filter: drop-shadow(0 0 70px rgba(255,84,0,.55)) blur(.4px);
  /* dissolve nas bordas: vira luz de fundo, não um objeto colado no texto */
  -webkit-mask-image: radial-gradient(58% 52% at 62% 42%, #000 32%, rgba(0,0,0,.35) 62%, transparent 88%);
  mask-image: radial-gradient(58% 52% at 62% 42%, #000 32%, rgba(0,0,0,.35) 62%, transparent 88%);
  animation: flameDrift 9s ease-in-out infinite;
}
.hero__bg::before {        /* base escura sob o texto: o lado esquerdo fica sempre limpo */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--ink) 26%, rgba(14,17,22,.8) 54%, rgba(14,17,22,.34) 84%, transparent);
}
.orb { position: absolute; border-radius: 50%; aspect-ratio: 1; will-change: transform; }
.orb--1 { width: 120%; right: -60%; bottom: -55%; background: radial-gradient(closest-side, rgba(232,80,31,.42), rgba(194,42,23,.12) 55%, transparent); }
.orb--2 { width: 80%;  left: -40%;  top: -30%;   background: radial-gradient(closest-side, rgba(245,146,33,.13), transparent); }
.orb--3 { width: 60%;  right: 10%;  top: 10%;    background: radial-gradient(closest-side, rgba(194,42,23,.16), transparent); }
.hero__bg::after {                              /* vinheta que assenta o texto */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,17,22,0) 60%, var(--ink) 100%);
}

.hero__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 30px; }
.hero__content { max-width: 680px; }
.hero__eyebrow { margin-bottom: 14px; }
.hero__eyebrow-extra { display: none; }   /* em telas bem estreitas, só a primeira linha */
@media (min-width: 560px) { .hero__eyebrow-extra { display: inline; } }
.hero h1 { color: #fff; }
.hl {
  background-image: var(--grad-brand);
  background-repeat: no-repeat;
  background-position: 0 94%;
  background-size: 0% .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__sub { margin-top: 16px; color: var(--muted-dark); font-size: 1.0625rem; line-height: 1.6; max-width: 600px; }
.hero__sub--longo { display: none; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.hero__micro { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .9375rem; color: var(--muted-dark); }
.hero__micro .i { width: 18px; height: 18px; color: var(--amber); flex: none; }

/* No celular o hero fica só com olho + título + ação + credenciais.
   O texto de apoio, o botão de WhatsApp e a linha de resposta entram a partir de 768px. */
.hero__sub, .hero__micro, .hero__ctas .btn--wa { display: none; }
.hero__art { display: none; }

/* coreografia de entrada do hero (CSS puro: roda antes do JS) */
.hero__title .w > span { animation: rise .9s var(--ease-out) both; animation-delay: calc(var(--i) * 32ms + 60ms); }
.hl { animation: underline 1s var(--ease-out) 1s forwards; }
.hero__eyebrow, .hero__sub, .hero__ctas, .hero__micro { animation: fadeUp .9s var(--ease-out) both; }
.hero__eyebrow { animation-delay: 0s; }
.hero__sub   { animation-delay: .35s; }
.hero__ctas  { animation-delay: .45s; }
.hero__micro { animation-delay: .55s; }


@media (min-width: 480px) {
  .hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 36px); }
  .eyebrow { font-size: .8125rem; letter-spacing: .12em; }
}
@media (min-width: 768px) {
  .hero__flame-mobile, .hero__bg::before { display: none; }
  .hero__sub--curto { display: none; }
  .hero__sub--longo { display: inline; }
  .hero__inner { padding-bottom: 72px; }
  .hero__eyebrow { margin-bottom: 20px; }
  .hero__sub { display: block; margin-top: 22px; font-size: 1.125rem; line-height: 1.6; }
  .hero__ctas .btn--wa { display: inline-flex; }
  .hero__micro { display: flex; }
  .hero__ctas { flex-direction: row; flex-wrap: wrap; align-items: center; margin-top: 34px; }
  .hero__micro { margin-top: 16px; }
  .orb--1 { animation: drift1 22s ease-in-out infinite alternate; }
  .orb--2 { animation: drift2 26s ease-in-out infinite alternate; }
  .orb--3 { animation: drift3 18s ease-in-out infinite alternate; }
}
@media (min-width: 1024px) {
  .hero { min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(84px + 40px); }
  .hero__inner {
    flex: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center; gap: 40px; padding-bottom: 80px;
  }
  .hero__content { max-width: 720px; }
  .hero h1 { font-size: clamp(2.5rem, 3.8vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; }
  .orb--1 { width: 90%; right: -25%; bottom: -60%; }
  .hero__art { display: block; position: relative; animation: artIn 1.4s var(--ease-out) .3s both; }
  .art { position: relative; max-width: 560px; margin-left: auto; }
  .art__plan { width: 100%; height: auto; }
  /* a chama é o arquivo da própria marca, com o brilho vindo dela */
  .art__flame {
    position: absolute; left: 50%; top: 45%; width: auto; height: 46%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 34px rgba(255,84,0,.5)) drop-shadow(0 18px 60px rgba(203,33,6,.45));
    animation: flameFloat 6s ease-in-out infinite;
  }
  /* varredura: passa uma linha de leitura sobre a planta */
  .art__scan {
    position: absolute; left: 6%; right: 6%; top: 0; height: 90px; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(255,138,43,.06) 65%, rgba(255,138,43,.34) 97%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    animation: scan 7s cubic-bezier(.5,0,.5,1) infinite;
  }
  .art__tag {
    position: absolute; font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em;
    text-transform: uppercase; color: rgba(255,255,255,.55); white-space: nowrap;
  }
  .art__tag::before {
    content: ""; position: absolute; top: 50%; width: 22px; height: 1px; background: rgba(255,255,255,.25);
  }
  .art__tag--rota { left: 0; top: 85%; padding-left: 30px; }
  .art__tag--rota::before { left: 0; }
  .art__tag--selo { right: 0; top: 70%; padding-right: 30px; }
  .art__tag--selo::before { right: 0; }
  .hero__seal-ring { transform-origin: 0 0; animation: spin 40s linear infinite; }
  .art-glow  { transform-box: fill-box; transform-origin: 50% 50%; animation: breathe 5s ease-in-out infinite; }
  .art-route { animation: dash 1.4s linear infinite; }
  .art-pings circle { transform-box: fill-box; transform-origin: 50% 50%; animation: ping 2.6s var(--ease-out) infinite; }
  .art-pings circle:nth-child(2) { animation-delay: .65s; }
  .art-pings circle:nth-child(3) { animation-delay: 1.3s; }
  .art-pings circle:nth-child(4) { animation-delay: 1.95s; }
}
@supports not (height: 100svh) {
  @media (min-width: 1024px) { .hero { min-height: 100vh; } }
}

/* ---------- Credenciais ---------- */
.creds { position: relative; border-top: 1px solid var(--line); background: rgba(22,26,33,.6); }
.creds__list {
  display: grid; grid-template-columns: 1fr;
  gap: 12px; padding-block: 16px;
}
.cred { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 12px; min-width: 0; }
.cred__icon { width: 24px; height: 24px; color: var(--amber); margin-top: 1px; }
.cred strong {
  display: block; font-family: var(--font-mono); font-weight: 500; font-size: .875rem; letter-spacing: .06em; color: #fff;
}
.cred span { display: block; font-size: .8125rem; line-height: 1.4; color: var(--muted-dark); margin-top: 2px; }

@media (min-width: 560px) {
  .creds__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; padding-block: 24px; }
  .cred__icon { width: 28px; height: 28px; margin-top: 2px; }
  .cred strong { font-size: 1rem; }
  .cred span { font-size: .875rem; line-height: 1.45; margin-top: 3px; }
}
@media (min-width: 768px) {
  .creds__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-block: 0; }
  .cred { padding: 26px 24px; border-left: 1px solid var(--line); }
  .cred:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Spotlight: brilho que segue o cursor ---------- */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(232,80,31,.16), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.section--light [data-spot]::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(232,80,31,.09), transparent 55%); }
@media (hover: hover) { [data-spot]:hover::after { opacity: 1; } }

/* ---------- Clientes: marquee ---------- */
.clients { overflow: hidden; }
.clients .section-head { margin-bottom: clamp(22px, 4vw, 48px); }   /* logos mais perto do título */
.marquee {
  position: relative;
  padding-block: 20px;
  border-block: 1px solid var(--line-dark);
  -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; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: clamp(48px, 7vw, 96px); padding-right: clamp(48px, 7vw, 96px); }
.marquee__list li { flex: none; }
.marquee__list img {
  height: 52px; width: auto;
  filter: grayscale(1) contrast(1.15); opacity: .78;
  transition: opacity .3s, filter .3s, transform .4s var(--ease-out);
}
.marquee__list li:hover img, .marquee__list li:active img { filter: none; opacity: 1; transform: scale(1.06); }
/* Bololô é uma marca desenhada para fundo escuro: entra como selo, com a arte original */
.marquee__list img.is-chip { border-radius: 10px; }
/* a placa do Bololô é quadrada: ganha um pouco mais de altura para a arte
   dentro dela ficar do mesmo tamanho dos outros logos */
.marquee__list img.is-chip { height: 60px; }
@media (min-width: 768px) { .marquee__list img { height: 60px; } .marquee__list img.is-chip { height: 72px; } .marquee { padding-block: 32px; } }

/* ---------- Números ---------- */
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
  margin-top: clamp(34px, 6vw, 72px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line-dark);
}
.fact { position: relative; min-width: 0; }
.fact__label {
  display: block; margin-bottom: 10px;
  min-height: 2.6em;                 /* duas linhas: mantém todos os números na mesma linha de base */
  font-size: .75rem; font-weight: 500; line-height: 1.3;
  letter-spacing: .08em; text-transform: uppercase; color: var(--steel);
}
.fact__num {
  display: flex; align-items: baseline; gap: .12em;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.1rem, 8.5vw, 3.25rem); line-height: 1; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.fact__num small {
  font-size: .3em; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ember);
}
@media (min-width: 768px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .fact { padding-left: 32px; border-left: 1px solid var(--line-dark); }
  .fact:first-child { padding-left: 0; border-left: 0; }
  .fact__label { font-size: .8125rem; }
}

/* ---------- Problema ---------- */
.risks {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.risk { background: var(--ink); padding: 28px 24px 30px; overflow: hidden; }
.risk::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.risk:hover::before { transform: scaleX(1); }
.risk__n {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--font-mono); font-weight: 600; font-size: 3rem; line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12);
  transition: transform .6s var(--ease-out), -webkit-text-stroke-color .4s;
}
.risk:hover .risk__n { transform: translateY(-4px); -webkit-text-stroke-color: rgba(232,80,31,.55); }
.risk__icon { width: 30px; height: 30px; color: var(--amber); }
.risk h3 { margin-top: 28px; color: #fff; }
.risk p { margin-top: 8px; }
.problem__close {
  margin-top: clamp(28px, 5vw, 48px);
  max-width: 900px;
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.05rem, 3.6vw, 1.5rem); line-height: 1.4; letter-spacing: -.015em;
  hyphens: manual;
}
.section--dark .problem__close { color: var(--muted-dark); }
.problem__close strong { color: #fff; font-weight: 600; background: linear-gradient(transparent 62%, rgba(232,80,31,.35) 62%); }
@media (min-width: 768px)  { .risks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .risks { grid-template-columns: repeat(4, minmax(0, 1fr)); } .risk { padding: 32px 28px 36px; } }

/* ---------- Serviços: ficha técnica em largura inteira ---------- */
.section-head--wide { max-width: 940px; }
.svc__list { border-top: 1px solid var(--line-dark); margin-top: clamp(8px, 2vw, 24px); }
.svc {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 14px;
  background: var(--paper-pure); box-shadow: var(--shadow);
  opacity: 0; transform: scale(.98);
  transition: opacity .35s, transform .5s var(--ease-out);
}
.svc__n { font-family: var(--font-mono); font-weight: 500; font-size: .8125rem; line-height: 2; color: var(--ember); font-variant-numeric: tabular-nums; }
.svc h3 { font-size: clamp(1.1rem, 4.2vw, 1.5rem); letter-spacing: -.02em; transition: transform .5s var(--ease-out); }
.svc p { margin-top: 6px; color: var(--steel); }
.svc__icon { width: 26px; height: 26px; margin-top: 2px; color: rgba(14,17,22,.3); transition: color .3s, transform .5s var(--ease-out); }
@media (hover: hover) {
  .svc:hover::before { opacity: 1; transform: none; }
  .svc:hover h3 { transform: translateX(4px); }
  .svc:hover .svc__icon { color: var(--ember); transform: rotate(-8deg) scale(1.12); }
}
.js .svc.is-extra { display: none; }
.js .svc__list.is-expanded .svc.is-extra { display: grid; }
.svc__more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 52px; margin-top: 16px;
  background: transparent; border: 1.5px solid rgba(14,17,22,.18); border-radius: var(--radius-btn);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink);
  cursor: pointer;
}
.svc__more:active { transform: scale(.98); background: rgba(14,17,22,.04); }
.svc__more .i { transition: transform .3s var(--ease-out); }
.svc__more[aria-expanded="true"] .i { transform: rotate(180deg); }
html:not(.js) .svc__more { display: none; }
@media (min-width: 768px) {
  .js .svc.is-extra { display: grid; }
  .svc__more { display: none; }
  .svc { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; padding: 26px 0; }
  .svc::before { inset: 0 -20px; }
}
@media (min-width: 1024px) {
  /* título e descrição viram colunas: a linha ocupa a largura toda sem sobrar vazio */
  .svc { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.25fr) 28px; align-items: center; gap: 28px; padding: 28px 0; }
  .svc__text { display: contents; }
  .svc p { margin-top: 0; max-width: 60ch; }
  .svc__icon { margin-top: 0; }
}

/* ---------- Segmentos ---------- */
.segments { padding-top: 0; }
.seg__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.seg {
  background: var(--paper-pure); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 8px 20px 20px;
  transition: transform .5s var(--ease-out), box-shadow .4s, border-color .3s;
}
.seg::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; border-radius: var(--radius) var(--radius) 0 0;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.seg:hover::before { transform: scaleX(1); }
.seg__head { display: flex; align-items: center; gap: 12px; }
.seg__icon { width: 28px; height: 28px; color: var(--ember); }
.seg h3 { flex: 1; font-size: clamp(1.05rem, 4vw, 1.35rem); }
.seg__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 56px; padding: 8px 0;
  background: none; border: 0; text-align: left; cursor: pointer;
  font: inherit; letter-spacing: inherit; color: var(--ink);
}
.seg__toggle:disabled { cursor: default; color: var(--ink); opacity: 1; }
.seg__chev { width: 22px; height: 22px; color: var(--steel); transition: transform .35s var(--ease-out); }
.seg__toggle[aria-expanded="true"] .seg__chev { transform: rotate(180deg); }
.seg__pain { color: var(--steel); }
.js .seg:not(.is-open) .seg__body { display: none; }
.seg__body { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.seg.is-open .seg__body { animation: fadeUp .5s var(--ease-out); }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .i { width: 20px; height: 20px; margin-top: 3px; color: var(--success); }
@media (min-width: 768px) {
  .seg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .seg { padding: 28px 28px 32px; }
  .seg__chev { display: none; }
  .seg__toggle { min-height: 0; padding: 0; }
  .js .seg:not(.is-open) .seg__body { display: grid; }
  .seg.is-open .seg__body { animation: none; }
  .seg__pain { margin-top: 12px; }
}
@media (hover: hover) and (min-width: 768px) {
  .seg:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(194,42,23,.2); }
}

/* ---------- Como funciona: trilho que preenche com o scroll ---------- */
.steps-wrap { position: relative; }
.steps__rail {
  position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px;
  background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden;
}
.steps__fill {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--amber), var(--flame), var(--ember));
  transform-origin: top; transform: scaleY(0);
}
.steps { position: relative; display: grid; }
.step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-content: start; gap: 16px; padding-bottom: 32px; }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: relative; z-index: 1; isolation: isolate;
  width: 44px; height: 44px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem;
  color: var(--muted-dark); background: var(--ink-raise);
  box-shadow: 0 0 0 6px var(--ink), inset 0 0 0 1px rgba(255,255,255,.14);
  transition: color .4s, transform .6s var(--ease-out);
}
.step__num::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grad-brand);
  opacity: 0; transform: scale(.4); transition: opacity .4s, transform .6s var(--ease-out); z-index: -1;
}
.step.is-active .step__num { color: var(--ink); transform: scale(1.06); }
.step.is-active .step__num::before { opacity: 1; transform: none; }
.step__body { padding-top: 8px; transition: opacity .5s; }
.js .step:not(.is-active) .step__body { opacity: .45; }
.step h3 { color: #fff; }
.step p { margin-top: 6px; }
.how__band {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: clamp(36px, 5vw, 64px); padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink-soft);
  font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; color: #fff !important;
}
.how__band .i { width: 26px; height: 26px; color: var(--amber); }
.how__band span { min-width: 0; }
.how__band strong { font-weight: 700; color: var(--amber); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .steps__rail { left: 22px; right: calc((100% - 96px) / 5 - 22px); top: 21px; bottom: auto; width: auto; height: 2px; }
  .steps__fill { background: linear-gradient(90deg, var(--amber), var(--flame), var(--ember)); transform-origin: left; transform: scaleX(0); }
  .step { grid-template-columns: 1fr; gap: 20px; padding-bottom: 0; }
  .step__body { padding-top: 0; }
  .how__band { justify-content: center; align-items: center; font-size: 1.25rem; }
}

/* ---------- Diferenciais ---------- */
.diff__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.diff {
  position: relative; overflow: hidden;
  padding: 24px 22px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: var(--paper-pure);
  transition: border-color .3s, transform .5s var(--ease-out);
}
.diff::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.diff:hover::before { transform: scaleX(1); }
.diff__n {
  display: block; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .14em;
  color: var(--steel);
}
.diff__icon { width: 32px; height: 32px; color: var(--ember); transition: transform .6s var(--ease-out); }
.diff:hover .diff__icon { transform: translateY(-3px) rotate(-6deg); }
.diff h3 { margin-top: 16px; }
.diff p { margin-top: 8px; color: var(--steel); }
@media (min-width: 768px)  { .diff__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .diff__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .diff { padding: 28px 26px 32px; } }

/* ---------- Manutenção ---------- */
.maint { overflow: hidden; }
.maint::before {
  content: ""; position: absolute; right: -20%; bottom: -50%; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232,80,31,.2), transparent);
  pointer-events: none;
}
.maint__inner { position: relative; display: grid; gap: 40px; }
.maint__text p { margin-top: 18px; max-width: 620px; }
.cycle { display: grid; gap: 28px; justify-items: center; }
.cycle__ring { position: relative; width: min(320px, 82vw); aspect-ratio: 1; }
.cycle__ring svg { width: 100%; height: auto; }
.cycle__dash { animation: cycleSpin 14s linear infinite; transform-origin: 160px 160px; }
.cycle__flame {
  position: absolute; left: 50%; top: 50%; width: auto; height: 38%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 24px rgba(255,84,0,.5));
  animation: flameFloat 6s ease-in-out infinite;
}
.cycle__node {
  position: absolute; width: 46px; height: 46px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); border: 1px solid var(--line);
  color: var(--amber); box-shadow: 0 0 0 6px var(--ink);
}
.cycle__node .i { width: 22px; height: 22px; }
.cycle__node--1 { top: -2px;  left: 50%; transform: translateX(-50%); }
.cycle__node--2 { right: -2px; top: 50%; transform: translateY(-50%); }
.cycle__node--3 { bottom: -2px; left: 50%; transform: translateX(-50%); }
.cycle__node--4 { left: -2px; top: 50%; transform: translateY(-50%); }
.cycle__list { display: grid; grid-template-columns: 1fr; gap: 8px; width: 100%; }
@media (min-width: 560px) { .cycle__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.cycle__list li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(22,26,33,.7);
}
.cycle__list .i { width: 20px; height: 20px; color: var(--amber); flex: none; }
.cycle__list span { font-size: .9375rem; color: #E6E8EB; line-height: 1.3; }
@media (min-width: 1024px) {
  .maint__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 64px; }
  .cycle { gap: 36px; }
  .cycle__ring { width: 340px; }
  .cycle__list { max-width: 420px; }
}

/* ---------- FAQ ---------- */
.faq__inner { max-width: 880px; }
.faq__list { border-top: 1px solid var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.faq__item h3 { font-size: clamp(1.02rem, 3.8vw, 1.2rem); font-weight: 600; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 64px; padding: 18px 0;
  background: none; border: 0; text-align: left; cursor: pointer;
  font: inherit; letter-spacing: inherit; color: var(--ink);
  transition: color .25s;
}
.faq__q:hover { color: var(--ember); }
.faq__q .i {
  width: 34px; height: 34px; padding: 6px; border-radius: 50%; border: 1px solid var(--line-dark);
  color: var(--ember); transition: transform .45s var(--ease-out), background-color .3s, color .3s;
}
.faq__q[aria-expanded="true"] .i { transform: rotate(135deg); background: var(--ember); color: #fff; border-color: var(--ember); }
.faq__q:active { opacity: .8; }
.faq__a { padding: 0 48px 22px 0; }
.faq__a p { color: var(--steel); }
.js .faq__a[hidden] { display: none; }
.faq__a:not([hidden]) { animation: fadeUp .45s var(--ease-out); }

/* ---------- Formulário ---------- */
.lead { overflow: hidden; }
.lead::before {
  content: ""; position: absolute; left: -30%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232,80,31,.14), transparent); pointer-events: none;
}
.lead__inner { position: relative; display: grid; gap: 32px; }
.lead__intro p { margin-top: 16px; }
.lead__contacts { display: none; }
.lead__card {
  background: var(--ink-soft); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 20px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.form__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .9375rem; font-weight: 500; color: #E6E8EB; }
.field .req { color: var(--amber); }
.field .opt { color: var(--muted-dark); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;                 /* obrigatório: evita zoom automático do iOS */
  line-height: 1.4;
  color: #fff;
  background: var(--ink);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius-btn);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  scroll-margin-top: calc(var(--header-h) + 64px);
  scroll-margin-bottom: 120px;
  -webkit-appearance: none;
  appearance: none;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.26); }
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9B1BC' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field select:invalid { color: var(--muted-dark); }
.field select option { color: var(--ink); background: #fff; }
.field input::placeholder { color: #6E7785; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--flame); background-color: #10141A; box-shadow: 0 0 0 4px rgba(232,80,31,.18);
}
.field.has-error input, .field.has-error select { border-color: var(--danger-on-dark); }
.field.has-error input { animation: shake .4s; }
.field__error { font-size: .875rem; line-height: 1.4; color: var(--danger-on-dark) !important; }
.field__error:empty { display: none; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { width: 100%; margin-top: 22px; }
.form__submit[aria-busy="true"] { cursor: progress; filter: saturate(.7); }
.form__submit[aria-busy="true"] .btn__arrow { display: none; }
.form__submit[aria-busy="true"] .form__submit-label::before {
  content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -2px;
  border: 2px solid rgba(14,17,22,.35); border-top-color: var(--ink); border-radius: 50%;
  animation: spin .8s linear infinite;
}
.form__micro { margin-top: 12px; font-size: .875rem; text-align: center; }
.form__fail {
  margin-top: 18px; padding: 16px; border-radius: var(--radius-btn);
  border: 1px solid rgba(255,138,112,.4); background: rgba(194,42,23,.12);
  display: grid; gap: 12px;
}
.form__fail[hidden] { display: none; }
.form__fail p { color: #fff !important; font-weight: 500; }

.form__success { text-align: center; padding: 24px 4px; display: grid; justify-items: center; gap: 18px; animation: fadeUp .6s var(--ease-out); }
.form__success[hidden] { display: none; }
.form__success:focus { outline: none; }
.form__success h3 { color: #fff; font-size: clamp(1.2rem, 4.5vw, 1.5rem); max-width: 440px; }
.form__success-icon {
  width: 64px; height: 64px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(31,138,76,.18); border: 1px solid rgba(31,138,76,.5); color: #7EE2A6;
  animation: pop .6s var(--ease-out) .1s both;
}
.form__success-icon .i { width: 32px; height: 32px; }
.form__success .btn { width: 100%; }

@media (min-width: 768px) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
  .field--full { grid-column: 1 / -1; }
  .lead__card { padding: 32px; }
  .field textarea { min-height: 120px; }
  .form__success .btn { width: auto; }
}
@media (min-width: 1024px) {
  .lead__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
  .lead__intro { padding-top: 12px; }
  .lead__contacts { display: grid; gap: 4px; margin-top: 36px; }
  .lead__contacts a {
    display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
    color: #fff; text-decoration: none; font-weight: 500; transition: color .2s, transform .4s var(--ease-out);
  }
  .lead__contacts a:hover, .lead__contacts a:focus-visible { color: var(--amber); transform: translateX(4px); }
  .lead__contacts .i { color: var(--amber); width: 22px; height: 22px; }
  .lead__card { padding: 40px; }
}

/* ---------- Rodapé ---------- */
.footer {
  position: relative; overflow: hidden;
  background: var(--ink-deep); color: var(--muted-dark);
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: calc(96px + env(safe-area-inset-bottom));   /* espaço para o botão flutuante */
  border-top: 1px solid var(--line);
}
.footer__grid { display: grid; gap: 32px; }
.footer__brand img { height: 32px; width: auto; }
.footer__brand p { margin-top: 16px; max-width: 380px; font-size: .9375rem; }
.footer__list { display: grid; gap: 4px; }
.footer__list li { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; line-height: 1.5; padding-block: 8px; }
.footer__list .i { width: 20px; height: 20px; margin-top: 1px; color: var(--amber); }
.footer__list a { color: #E6E8EB; text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; margin-block: -14px; transition: color .2s; }
.footer__list a:hover, .footer__list a:focus-visible { color: var(--amber); }
.footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .875rem; }
.footer__mega {
  margin-top: 24px; margin-bottom: -.18em;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.6rem, 13.2vw, 12.5rem); line-height: .9; letter-spacing: -.06em; white-space: nowrap;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,84,0,.30), rgba(255,84,0,0) 82%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
@media (min-width: 768px) {
  .footer { padding-bottom: 28px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
  .footer__brand { grid-column: auto; }
}

/* ---------- WhatsApp flutuante (todas as telas) ---------- */
.wa-float {
  position: fixed; z-index: 45;
  bottom: calc(18px + env(safe-area-inset-bottom));
  right: calc(16px + env(safe-area-inset-right));
  width: 58px; height: 58px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--wa-deep); color: #fff;
  box-shadow: 0 16px 34px -12px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), visibility 0s linear .5s;
}
.wa-float::before {                          /* onda discreta chamando atenção */
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa);
  animation: ring 2.8s var(--ease-out) infinite;
}
.wa-float .i { width: 30px; height: 30px; }
.wa-float:hover, .wa-float:focus-visible { background: #1B9150; transform: scale(1.06); }
.wa-float:active { transform: scale(.94); }
html.float-ready.hero-out .wa-float { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
/* some quando o formulário está na tela, para não cobrir o botão de enviar */
html.form-in .wa-float { opacity: 0 !important; visibility: hidden !important; transform: translateY(16px) scale(.9) !important; transition: opacity .3s, transform .3s, visibility 0s linear .3s; }
@media (min-width: 768px) {
  .wa-float { width: 62px; height: 62px; bottom: calc(24px + env(safe-area-inset-bottom)); right: calc(24px + env(safe-area-inset-right)); }
  html.float-ready .wa-float { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- Revelação no scroll ---------- */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .split .w > span { transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 28ms); }
.js .split.is-in .w > span { transform: none; }

/* ---------- Keyframes ---------- */
@keyframes rise      { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fadeUp    { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes underline { to { background-size: 100% .12em; } }
@keyframes drift1    { to { transform: translate3d(-8%, -6%, 0) scale(1.08); } }
@keyframes drift2    { to { transform: translate3d(14%, 10%, 0) scale(1.15); } }
@keyframes drift3    { to { transform: translate3d(-12%, 14%, 0) scale(.9); } }
@keyframes artIn     { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes flameFloat { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -53%) scale(1.035); } }
@keyframes flameDrift { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-14px) scale(1.04); } }
@keyframes scan      { 0% { transform: translateY(-20%); opacity: 0; } 12% { opacity: 1; } 60% { transform: translateY(560%); opacity: 1; } 72%, 100% { transform: translateY(560%); opacity: 0; } }
@keyframes breathe   { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .8; } }
@keyframes dash      { to { stroke-dashoffset: -32; } }
@keyframes ping      { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes marquee   { to { transform: translate3d(-50%, 0, 0); } }
@keyframes cycleSpin { to { transform: rotate(360deg); } }
@keyframes ring      { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes pop       { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shake     { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .split .w > span { opacity: 1; transform: none; }
  .hl { background-size: 100% .12em; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: 100%; animation: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; gap: 32px 48px; padding: 0; width: 100%; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .hero__seal-ring, .art__flame, .art__scan, .cycle__dash, .cycle__flame, .hero__flame-mobile, .art-glow, .art-route, .art-pings circle, .orb, .wa-float::before, .panel__head .dot::after { animation: none !important; }
  .art__scan { display: none; }
}
