/* Target Informações · Landing page
   Cores e fontes nas variáveis abaixo. Responsivo no fim do arquivo. */

:root {
  --red: #C23034;
  --red-dark: #9A2327;
  --red-light: #F0555A;          /* vermelho para destaques sobre fundo escuro */
  --black: #000000;
  --ink: #111111;
  --ink-2: #1E1E20;
  --text: #555559;
  --muted: #86868B;
  --line: #EAEAEA;
  --line-2: #E2E2E2;
  --gray-bg: #F5F5F5;
  --white: #FFFFFF;
  --on-dark: rgba(255, 255, 255, .66);

  --font-display: 'Lexend', 'Segoe UI', sans-serif;
  --font-body: 'Hanken Grotesk', 'Segoe UI', sans-serif;

  --pad-x: clamp(20px, 5vw, 80px);
  --pad-y: clamp(72px, 9vw, 112px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, blockquote, figure, ol, ul { margin: 0; }
button { font-family: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red-light); outline-offset: 3px; }
main { overflow-x: clip; }

.wrap { max-width: var(--max); margin: 0 auto; }
.section { padding: var(--pad-y) var(--pad-x); }
.d { font-family: var(--font-display); }
.hl { color: var(--red-light); }
.hl-l { color: var(--red); }
.eb { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eb--red { color: var(--red); letter-spacing: .12em; }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead { font-size: 18px; line-height: 1.6; color: var(--text); }
.head-center { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.head-center .h2 { max-width: 860px; }
.head-center .lead { max-width: 700px; }
.cta-row { display: flex; justify-content: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 36px; border-radius: 12px;
  background: var(--red); color: var(--white);
  text-decoration: none; font-weight: 600; font-size: 16px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.18), 0 4px 6px -4px rgba(0,0,0,.14);
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn--sm { min-height: 52px; padding: 0 26px; font-weight: 700; box-shadow: none; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr, .pill-out:hover .arr, .link-line:hover .arr { transform: translateX(3px); }

.pill-out {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 36px; border-radius: 999px;
  background: rgba(240,85,90,.08); border: 1px solid rgba(240,85,90,.38);
  color: var(--red-light); text-decoration: none;
  font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 0 32px rgba(240,85,90,.14);
  transition: background .2s ease, box-shadow .2s ease;
}
.pill-out:hover { background: rgba(240,85,90,.16); box-shadow: 0 0 40px rgba(240,85,90,.26); }
.arr { display: inline-block; }

.link-line {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 4px;
}
.link-line:hover { border-color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(55% 70% at 82% 38%, rgba(194,48,52,.42) 0%, rgba(194,48,52,0) 70%),
    linear-gradient(180deg, #161616 0%, #0B0B0B 100%);
  padding: 40px var(--pad-x) 0;
}
.hero__logo { height: 52px; width: auto; }
.hero__grid {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px;
  padding: clamp(56px, 7vw, 88px) 0 clamp(72px, 8vw, 104px);
}
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 60px); line-height: 1.06; font-weight: 700;
  letter-spacing: -0.025em; text-wrap: balance;
}
.hero__sub { max-width: 540px; font-size: 19px; line-height: 1.6; color: var(--on-dark); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 12px; }

.hero__visual { flex: 1 1 520px; min-width: 0; position: relative; }
.stack {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  transform: perspective(1600px) rotateY(-14deg) rotateX(6deg); transform-origin: left center;
}
.spine { position: absolute; left: 47px; top: 96px; bottom: 76px; width: 0; border-left: 1.5px dashed rgba(240,85,90,.45); transform-origin: top; }
.mark {
  width: 96px; height: 96px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 10px rgba(240,85,90,.08); position: relative;
}
.mark img { height: 64px; width: auto; }
.front {
  position: relative; display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; border-radius: 18px; background: var(--ink-2);
  border: 1px solid rgba(240,85,90,.14); box-shadow: 0 24px 48px -16px rgba(0,0,0,.5);
}
.front--1 { margin-left: 28px; }
.front--2 { margin-left: 72px; }
.front--3 { margin-left: 116px; }
.front__logo { flex: 0 0 132px; width: 132px; height: 56px; display: flex; align-items: center; }
.front__logo .logo-plate img { max-width: none; }
.front__logo img { width: auto; max-width: 100%; }
.front__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.front__txt strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.front__txt span { font-size: 15px; color: var(--on-dark); }
.final-chip {
  margin-left: 116px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--red); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
}

/* Sequência do hero: marca → três frentes, uma por vez → "Tudo em um só lugar" */
@keyframes tIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tPop { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@keyframes tLine { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.js .hero__text { animation: tIn .7s .1s both ease-out; }
.js .mark { animation: tPop .6s .3s both cubic-bezier(.2,.8,.2,1); }
.js .front--1 { animation: tIn .6s 1.0s both ease-out; }
.js .front--2 { animation: tIn .6s 1.7s both ease-out; }
.js .front--3 { animation: tIn .6s 2.4s both ease-out; }
.js .final-chip { animation: tPop .6s 3.2s both cubic-bezier(.2,.8,.2,1); }
.js .spine { animation: tLine 2.4s .6s both ease-in-out; }

/* ---------- Números ---------- */
.stats { background: var(--black); padding: 56px var(--pad-x); }
.stats__row { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 24px; list-style: none; padding: 0; }
.stat { flex: 1 1 220px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.stat__n { font-family: var(--font-display); font-size: clamp(40px, 4.4vw, 56px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--white); }
.stat__n em { font-style: normal; color: var(--red-light); }
.stat__l { font-size: 16px; font-weight: 500; color: rgba(255,255,255,.62); }
.stats__sep { width: 1px; height: 64px; background: rgba(255,255,255,.14); }

/* ---------- Soluções (abas) ---------- */
.solucoes .wrap { display: flex; flex-direction: column; gap: 40px; }
.solucoes .h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.12; max-width: 820px; }
.solucoes .lead { max-width: 640px; }
.solucoes [data-tabs] { display: flex; flex-direction: column; gap: 40px; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tab {
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--white); color: var(--ink);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.panel {
  border-radius: 28px; color: var(--white);
  background: radial-gradient(60% 90% at 100% 0%, rgba(194,48,52,.45) 0%, rgba(194,48,52,0) 70%), var(--ink);
  padding: clamp(28px, 4vw, 56px);
  display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center;
}
.panel[hidden] { display: none; }
.panel.is-entering { animation: tIn .45s ease-out both; }
.panel__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel__logo { width: 180px; min-height: 68px; display: flex; align-items: center; }
.panel__logo img { width: auto; max-width: 100%; }
.panel h3 { font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.panel__bar { width: 48px; height: 3px; border-radius: 2px; background: var(--red-light); }
.panel p { max-width: 480px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.7); }
.panel__shot {
  flex: 1 1 440px; min-width: 0; width: 100%; height: auto;
  border-radius: 14px; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
}

/* ---------- História ---------- */
.historia { background: var(--gray-bg); }
.historia .wrap { display: flex; flex-direction: column; gap: 48px; }
.historia__top { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.historia__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.historia__text p { font-size: 17.5px; line-height: 1.7; color: var(--text); }
.mosaic {
  flex: 1 1 480px; min-width: 0;
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: 200px 180px; gap: 12px;
}
.mosaic__big { grid-row: span 2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; border-radius: 20px; }
.mosaic__seal { display: flex; align-items: center; justify-content: center; min-height: 0; }
.mosaic__seal img { height: 100%; max-height: 180px; width: auto; object-fit: contain; }
.mosaic__small { width: 100%; height: 100%; object-fit: cover; object-position: 72% 46%; border-radius: 20px; }

.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; gap: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.card__head { display: flex; align-items: center; gap: 14px; }
.tile { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--red-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.card p { font-size: 16px; line-height: 1.65; color: var(--text); }
.card .grow { flex-grow: 1; }
.card__foot { border-top: 1px solid var(--line); padding-top: 18px; }
.card__foot img { height: 48px; width: auto; }
.timeline { list-style: none; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.timeline li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.timeline b { font-family: var(--font-display); min-width: 64px; font-weight: 700; color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 14px; border-radius: 999px; background: var(--gray-bg); font-size: 14px; font-weight: 600; }

/* ---------- Como funciona ---------- */
.como .wrap { display: flex; flex-direction: column; gap: 56px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 40px 32px; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.step__line { position: absolute; top: 32px; left: calc(50% + 48px); right: calc(-50% + 32px); height: 1px; background: var(--line-2); }
.step__n {
  font-family: var(--font-display); width: 64px; height: 64px; border-radius: 16px;
  background: var(--ink); color: var(--red-light);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}
.step__n--red { background: var(--red); color: var(--white); }
.step .eb { margin-top: 8px; letter-spacing: .18em; }
.step h3 { font-family: var(--font-display); font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.step p { max-width: 320px; font-size: 16px; line-height: 1.6; color: var(--text); }

/* ---------- Depoimentos ---------- */
.depo { background: var(--ink); color: var(--white); }
.depo .wrap { display: flex; flex-direction: column; gap: 48px; }
.depo__head { display: flex; flex-direction: column; gap: 18px; max-width: 860px; }
.depo__head p { max-width: 680px; font-size: 17.5px; line-height: 1.6; color: var(--on-dark); }
.depo__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; align-items: stretch; }
.quote { background: var(--white); color: var(--ink); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.quote__img { aspect-ratio: 4 / 3; background: var(--ink-2); overflow: hidden; }
.quote__img img { width: 100%; height: 100%; object-fit: cover; }
.quote__body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.quote blockquote { font-size: 18px; line-height: 1.55; flex-grow: 1; }
.quote figcaption { border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; line-height: 1.4; color: var(--text); }
.quote figcaption strong { color: var(--ink); }

/* ---------- Chamada final ---------- */
.final { background: var(--black); color: var(--white); }
.final .wrap { max-width: 1000px; display: flex; flex-direction: column; gap: 40px; }
.final .h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; max-width: 820px; }
.final .lead { color: var(--on-dark); }
.choices { background: var(--white); color: var(--ink); border-radius: 28px; padding: clamp(12px, 2vw, 20px) clamp(24px, 4vw, 48px); }
.choice { display: flex; align-items: center; gap: 24px 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.choice:last-child { border-bottom: 0; }
.choice__logo { flex: 0 0 168px; display: flex; align-items: center; }
.choice__logo img { width: auto; max-width: 100%; }
.choice__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.choice h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.choice p { font-size: 16px; line-height: 1.6; color: var(--text); }
.choice .btn { flex: 0 0 auto; padding: 0 26px; white-space: nowrap; }

/* ---------- Rodapé ---------- */
.footer { background: var(--black); color: rgba(255,255,255,.6); padding: 32px var(--pad-x) 40px; border-top: 1px solid rgba(255,255,255,.08); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer img { height: 44px; width: auto; }
.footer p { font-size: 14px; }

/* ---------- Botão fixo de WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 16px;
  border-radius: 999px; background: var(--ink); border: 1px solid rgba(240,85,90,.3);
  color: var(--red-light); text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  transition: translate .2s ease, background .2s ease;
}
.wa-fab:hover { translate: 0 -2px; background: #1A1A1A; }
.js .wa-fab { animation: tIn .5s 1.2s both ease-out; }

/* Logo sobre fundo escuro: plaquinha branca (o PNG é transparente) */
.logo-plate { display: inline-flex; align-items: center; justify-content: center; background: var(--white); border-radius: 10px; padding: 6px 10px; }
.logo-plate--lg { padding: 8px 14px; border-radius: 12px; }
.logo-plate img { display: block; width: auto; max-width: 100%; }
.stat__n { font-variant-numeric: tabular-nums; }

/* Barra de progresso da troca automática das abas */
.tab { position: relative; overflow: hidden; }
.tab__progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--red-light); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.tab[aria-selected="true"] .tab__progress.is-running { animation: tabProgress var(--autoplay, 5s) linear forwards; }
.tabs.is-paused .tab__progress { animation-play-state: paused; }
@keyframes tabProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Animações de rolagem (fade + leve deslize) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal="zoom"] { transform: scale(.96); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { --reveal-delay: .12s; }
.js [data-reveal-delay="2"] { --reveal-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .tab__progress { display: none; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero__text, .js .mark, .js .front--1, .js .front--2, .js .front--3,
  .js .final-chip, .js .spine, .js .wa-fab, .panel.is-entering { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .stack { transform: none; }
  .front--1, .front--2, .front--3, .final-chip { margin-left: 0; }
  .spine, .step__line { display: none; }
}
@media (max-width: 640px) {
  .hero__logo { height: 44px; }
  .pill-out { padding: 0 24px; letter-spacing: .08em; }
  .front { padding: 16px 18px; gap: 14px; }
  .front__logo { flex-basis: 96px; width: 96px; }
  .stats__sep { display: none; }
  .tabs { overflow-x: auto; justify-content: flex-start; flex-wrap: nowrap; padding-bottom: 4px; margin: 0 calc(var(--pad-x) * -1); padding-left: var(--pad-x); padding-right: var(--pad-x); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }
  .mosaic { grid-template-rows: 180px 160px; }
  .choice { flex-direction: column; align-items: flex-start; }
  .choice__logo { flex: 0 0 auto; }
  .choice .btn { align-self: stretch; white-space: normal; text-align: center; }
  .wa-fab { right: 16px; bottom: 16px; padding: 0 18px 0 14px; font-size: 14px; }
  .footer { padding-bottom: 96px; }
}
