/* RDB Auto Center — folha de estilos
   Paleta: preto, branco, cinza claro. Violeta só nos botões de ação. */

:root {
  --black: #0A0A0A;
  --ink: #111827;
  --white: #FFFFFF;
  --paper: #F9FAFB;
  --line: #E5E7EB;
  --muted: #5B6472;
  --on-dark: #C9CED6;
  --line-dark: rgba(255, 255, 255, .14);
  --cta: #7A57D1;
  --cta-hover: #6846BF;

  --display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --header-h: 64px;
  --gutter: 20px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, dl, dd, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 3px;
}
.hero :focus-visible, .header :focus-visible, .final :focus-visible, .footer :focus-visible {
  outline-color: var(--white);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Títulos em caixa alta (a Bebas Neue só tem maiúsculas; isto mantém o visual se a fonte não carregar) */
.hero__title, .h2, .card__title, .pillar__title, .final__title, .nav__list a { text-transform: uppercase; }

/* ---------- Botão de ação (único uso do violeta) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  background: var(--cta);
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--cta-hover); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 22px; height: 22px; flex: none; }
.btn--lg { min-height: 56px; padding: 16px 26px; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: 10px 14px; font-size: .9375rem; }
.btn--block { width: 100%; }

.link-light, .link-dark {
  font-weight: 500;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.link-light { color: var(--white); }
.link-dark { color: var(--ink); font-weight: 600; }
.link-light:hover, .link-dark:hover { text-decoration-thickness: 2px; }

/* ---------- 1. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.header.is-scrolled,
.menu-open .header {
  background: var(--black);
  border-bottom-color: var(--line-dark);
}
.header__in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header__logo { flex: none; display: block; }
.header__logo img { width: 150px; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { width: 44px; padding: 0; }
.header__cta-txt { display: none; }

.burger {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
}
.burger span {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menu mobile: overlay em tela cheia */
.nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--gutter) 28px;
  background: var(--black);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
}
.menu-open .nav { visibility: visible; opacity: 1; }
.menu-open { overflow: hidden; }
.nav__list a {
  display: block;
  padding: 14px 0;
  font-family: var(--display);
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: .01em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}

/* ---------- 2. Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(100svh, 880px);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero__mark {
  position: absolute;
  z-index: 0;
  right: -34%;
  bottom: 12%;
  width: 96%;
  max-width: 520px;
  opacity: .1;
  pointer-events: none;
  user-select: none;
}
.hero__in {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 48px;
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 13.500vw, 7.5rem);
  line-height: .9;
  letter-spacing: .005em;
  text-wrap: balance;
}
.hero__sub {
  max-width: 36rem;
  margin-top: 24px;
  color: var(--white);
  font-size: 1.0625rem;
}
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin-top: 32px;
}

  position: relative;
  z-index: 1;
  background: var(--black);
  border-top: 1px solid var(--line-dark);
}

/* ---------- Seções ---------- */
.section { padding-block: 72px; background: var(--white); }
.section--paper { background: var(--paper); }
.section__head { max-width: 46rem; margin-bottom: 40px; }
.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1;
  letter-spacing: .005em;
  text-wrap: balance;
}
.lead { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }

/* ---------- 3. Serviços ---------- */
.services { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.card:hover {
  border-color: var(--black);
  box-shadow: 0 14px 30px -12px rgba(10, 10, 10, .28);
  transform: translateY(-3px);
}
.card__ico {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--black);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.card:hover .card__ico { background: var(--black); border-color: var(--black); color: var(--white); }
.card__ico svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.05;
  letter-spacing: .01em;
}
.card__title, .h2, .hero__title, .final__title, .pillar__title { overflow-wrap: break-word; }
.card__title { hyphens: auto; }
.card__txt { margin-top: 10px; color: var(--muted); font-size: .9375rem; }

/* ---------- 4. Diferenciais ---------- */
.pillars { display: grid; gap: 32px; }
.pillar { padding-top: 20px; border-top: 3px solid var(--black); }
.pillar__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: .01em;
}
.pillar p { margin-top: 10px; color: var(--muted); max-width: 34rem; }

/* ---------- 5. FAQ ---------- */
.faq__list { border-top: 1px solid var(--black); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__body { padding: 0 0 22px; color: var(--muted); max-width: 40rem; }

.brand { margin-top: 18px; }
.brand label { display: block; margin-bottom: 8px; color: var(--ink); font-size: .9375rem; font-weight: 500; }
.brand__row { display: grid; gap: 10px; }
.brand select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  border: 1px solid #9CA3AF;
  border-radius: var(--radius);
}

/* ---------- 6. CTA final ---------- */
.final { background: var(--black); color: var(--white); padding-block: 80px; }
.final__in { display: flex; flex-direction: column; align-items: stretch; }
.final__title {
  max-width: 20ch;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 4.75rem);
  line-height: .96;
  text-wrap: balance;
}
.final__txt { margin: 16px 0 32px; color: var(--on-dark); font-size: 1.1875rem; }

/* ---------- 7. Footer ---------- */
.footer {
  background: var(--black);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark);
  font-size: .9375rem;
}
.footer__in { display: grid; gap: 32px; padding-block: 48px 36px; }
.footer__brand img { width: 190px; }
.footer__brand p { margin-top: 14px; max-width: 22rem; }
.footer__h { margin-bottom: 8px; color: var(--white); font-size: .9375rem; font-weight: 600; }
.footer__links li + li { margin-top: 6px; }
.footer a { color: var(--white); text-underline-offset: 4px; }
.footer__base { padding-block: 20px; border-top: 1px solid var(--line-dark); font-size: .8125rem; }

/* ---------- Entrada do hero (única animação automática) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: sobe .6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__sub { animation-delay: .08s; }
  .hero__cta { animation-delay: .16s; }
  .hero__mark { animation: entra .9s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } }
@keyframes entra { from { opacity: 0; transform: translateX(40px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- ≥ 480px ---------- */
@media (min-width: 480px) {
  .header__cta { width: auto; padding: 10px 14px; }
  .header__cta-txt { display: inline; }
  .brand__row { grid-template-columns: 1fr auto; }
}

/* ---------- Tablet ≥ 768px: menu horizontal + grid de 2 colunas ---------- */
@media (min-width: 768px) {
  :root { --header-h: 72px; --gutter: 32px; }

  .burger, .nav__cta { display: none; }
  .nav {
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    overflow: visible;
    visibility: visible;
    opacity: 1;
  }
  .nav__list { display: flex; gap: 28px; }
  .nav__list a {
    padding: 8px 0;
    text-transform: none;
    font-family: var(--body);
    font-size: .9375rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
  }
  .nav__list a:hover { border-bottom-color: var(--white); }
  .header__logo img { width: 176px; }

  .hero__mark { right: -12%; bottom: 14%; width: 62%; max-width: 620px; opacity: .14; }
  .hero__title { font-size: clamp(4.5rem, 8.600vw, 7rem); }
  .hero__sub { font-size: 1.1875rem; }
  .hero__cta { flex-direction: row; align-items: center; gap: 28px; }


  .section { padding-block: 96px; }
  .section__head { margin-bottom: 48px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

  .final { padding-block: 112px; }
  .final__in { align-items: flex-start; }
  .footer__in { grid-template-columns: 1.4fr 1fr; gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Desktop ≥ 1100px: 5 colunas de serviços, 3 de diferenciais ---------- */
@media (min-width: 1100px) {
  .hero__content { width: 66%; }
  .hero__mark {
    right: -4%;
    top: 50%;
    bottom: auto;
    width: 46%;
    max-width: 660px;
    margin-top: -22%;
    opacity: 1;
  }

  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .card { padding: 28px; }
  .card__title { font-size: 1.875rem; }
  .card__txt { font-size: 1rem; }

  .pillars { grid-template-columns: repeat(3, 1fr); gap: 40px; }

  .faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .faq__head { margin-bottom: 0; }

  .footer__in { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-block: 64px 48px; }
  .footer__brand { grid-column: auto; }
}

/* ---------- Hero: destaque ---------- */
.hero { background: radial-gradient(60% 70% at 82% 42%, #26262b 0%, var(--black) 70%); }
.hero__line, .hero__slab { display: block; }
.hero__slab {
  width: fit-content;
  margin: .07em 0 .09em -.04em;
  padding: .05em .16em 0;
  background: var(--white);
  color: var(--black);
  transform: rotate(-1.500deg);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #8B93A1; flex: none; }
.status.is-open .status__dot { background: var(--white); box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
.hero__where { margin-top: 26px; color: var(--on-dark); font-size: .9375rem; max-width: 36rem; }

.btn--lg { box-shadow: 0 14px 34px -10px rgba(122, 87, 209, .75); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 24px;
  color: var(--white);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius);
  transition: background-color .15s ease, color .15s ease;
}
.btn-ghost:hover { background: var(--white); color: var(--black); }

/* Faixa de serviços em movimento */
.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--white);
  color: var(--black);
}
.ticker__track {
  display: flex;
  width: max-content;
  padding-block: 11px 8px;
  font-family: var(--display);
  font-size: 1.625rem;
  line-height: 1;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__track span { display: inline-flex; align-items: center; }
.ticker__track span::after {
  content: "";
  width: 9px;
  height: 9px;
  margin: 0 22px 3px;
  background: var(--black);
  transform: rotate(45deg);
}

/* Card escuro (Remap) */
.card--dark { background: var(--black); border-color: var(--black); color: var(--white); }
.card--dark .card__txt { color: var(--on-dark); }
.card--dark .card__ico { background: transparent; border-color: rgba(255, 255, 255, .35); color: var(--white); }
.card--dark:hover .card__ico { background: var(--white); border-color: var(--white); color: var(--black); }

@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: corre 38s linear infinite; }
  .status.is-open .status__dot { animation: pulsa 1.800s ease-out infinite; }
}
@keyframes corre { to { transform: translateX(-50%); } }
@keyframes pulsa { to { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }

@media (min-width: 768px) {
  .ticker__track { font-size: 2.125rem; padding-block: 14px 10px; }
  .hero__in { padding-bottom: 64px; }
}
@media (min-width: 1100px) {
  .hero__mark { width: 42%; right: -9%; }
}
