/* =========================================================
   SBJ – Assessoria Contábil Ltda
   Estilos (mobile first)
   ========================================================= */

/* ---------- Variáveis ---------- */
:root {
  --navy-950: #07162b;
  --navy-900: #0b1f3a;
  --navy-800: #102a4c;
  --navy-700: #17396a;
  --navy-100: #e6ecf5;
  --navy-50:  #f4f7fb;

  --gold-500: #c8a25a;
  --gold-400: #d6b57a;
  --gold-700: #8a6a2c; /* versão escura para texto sobre fundo claro */
  --gold-100: #f7f0e1;

  --text: #1b2637;
  --muted: #586478;
  --line: #e3e8f0;
  --white: #ffffff;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 2px 8px rgba(11, 31, 58, .05);
  --shadow: 0 6px 24px rgba(11, 31, 58, .08), 0 2px 6px rgba(11, 31, 58, .05);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, .14), 0 6px 16px rgba(11, 31, 58, .08);

  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

/* Garante que nada cause rolagem horizontal */
html, body { max-width: 100%; overflow-x: clip; }

body.menu-open { overflow: hidden; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.2;
  color: var(--navy-900);
  text-wrap: balance;        /* quebra de linha equilibrada nos títulos */
  overflow-wrap: break-word;
  hyphens: manual;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
img, svg, iframe { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite { display: none; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.break { overflow-wrap: break-word; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;           /* área de toque confortável */
  padding: .8rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 10px;
  font: 600 1rem/1.2 var(--font-sans);
  text-align: center;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--lg { min-height: 54px; padding: 1rem 1.6rem; font-size: 1.05rem; }

.btn--gold {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 6px 18px rgba(200, 162, 90, .28);
}
.btn--gold:hover {
  background: var(--gold-400);
  box-shadow: 0 10px 26px rgba(200, 162, 90, .38);
}

.btn--navy {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(11, 31, 58, .2);
}
.btn--navy:hover { background: var(--navy-700); box-shadow: 0 10px 26px rgba(11, 31, 58, .26); }

.btn--outline-light {
  border-color: rgba(255, 255, 255, .4);
  color: var(--white);
  background: rgba(255, 255, 255, .04);
}
.btn--outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .1);
}

/* ---------- Textos de seção ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--light { color: var(--gold-400); }

.section { padding: 64px 0; }
.section--soft { background: var(--navy-50); }

.section__head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}
.section__head .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.01em;
}

.section__lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 31, 58, .0);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled,
body.menu-open .header {
  background: rgba(11, 31, 58, .96);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 44px;
  color: var(--white);
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  border: 1px solid rgba(200, 162, 90, .45);
}
.logo__mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 3.2;
  stroke-linecap: round;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: .01em;
}
.logo__text small {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-400);
}

/* Botão hambúrguer */
.nav-toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu (celular: painel que desce) */
.nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  /* painel ocupa a tela toda abaixo do cabeçalho */
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .5rem 20px 1.75rem;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: .75rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: color .2s;
}
.nav__link:hover,
.nav__link.is-active { color: var(--gold-400); }

.nav__cta { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 64px;
  background: var(--navy-900);
  color: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(200, 162, 90, .18), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(23, 57, 106, .9), transparent 70%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 100%);
}
.hero__bg::after {
  /* grade sutil */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 70% 30%, #000 20%, transparent 75%);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
  min-width: 0;
}
.hero__content { min-width: 0; }

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 8.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--white);
}
.hero__title em {
  font-style: italic;
  color: var(--gold-500);
}

.hero__subtitle {
  max-width: 560px;
  margin-top: 1.25rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .78);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: 2rem;
}

.hero__trust {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: 1.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, .72);
}
.hero__trust li { display: flex; align-items: center; gap: .55rem; }
.hero__trust .icon { color: var(--gold-500); stroke-width: 2.4; }

/* Ilustração do hero */
.hero__visual {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
  padding: 48px 0 52px;   /* espaço para os selos flutuantes não cobrirem o card */
}

.visual-card {
  position: relative;
  padding: 18px 18px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  color: var(--text);
}
.visual-card__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.visual-card__head .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.visual-card__head .dot:first-child { background: var(--gold-500); }
.visual-card__title {
  margin-left: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
}
.visual-card__chart { width: 100%; height: auto; }
.visual-card__rows { display: grid; gap: 10px; margin-top: 14px; }
.visual-card__rows .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--navy-50);
  border-radius: 10px;
}
.row__label {
  width: 55%;
  height: 8px;
  border-radius: 6px;
  background: var(--navy-100);
}
.row__label--short { width: 40%; }
.row__tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  color: #1f6f4a;
  background: #e3f4ea;
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .95rem;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
  line-height: 1.25;
}
.float-chip strong { display: block; font-size: .85rem; color: var(--navy-900); }
.float-chip small { font-size: .72rem; color: var(--muted); }
.float-chip__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold-500);
}
.float-chip__icon--gold { background: var(--gold-100); color: var(--gold-700); }
.float-chip--a { top: 0; right: 0; }
.float-chip--b { bottom: 0; left: 0; }

@media (prefers-reduced-motion: no-preference) {
  .float-chip--a { animation: float 6s ease-in-out infinite; }
  .float-chip--b { animation: float 7s ease-in-out 1s infinite; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ---------- Cards de serviços ---------- */
.grid { display: grid; gap: 20px; }

.card {
  position: relative;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--navy-50);
  color: var(--navy-700);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.card__icon .icon { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--navy-900); color: var(--gold-500); }

.card__title { font-size: 1.15rem; font-weight: 600; margin-bottom: .55rem; }
.card__text { color: var(--muted); font-size: 1rem; }

/* ---------- Diferenciais ---------- */
.split { display: grid; gap: 40px; }
.split__intro .section__lead { margin-bottom: 2rem; }

.features { display: grid; gap: 16px; }
.feature {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--gold-700);
}
.feature__icon .icon { width: 24px; height: 24px; }
.feature__title { font-size: 1.05rem; font-weight: 600; margin-bottom: .3rem; }
.feature__text { color: var(--muted); font-size: 1rem; }

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 26px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-500);
  background: var(--navy-900);
  box-shadow: 0 0 0 6px var(--navy-50);
}
.step__title { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
.step__text { color: var(--muted); font-size: 1rem; }

.cta-band {
  display: grid;
  gap: 24px;
  margin-top: 56px;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(200, 162, 90, .22), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.cta-band__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  color: var(--white);
}
.cta-band__text { margin-top: .4rem; color: rgba(255, 255, 255, .75); }
.cta-band__actions { display: flex; flex-direction: column; gap: .75rem; }

/* ---------- Depoimentos ---------- */
.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 30px 26px 26px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial__quote {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  fill: var(--gold-500);
  opacity: .9;
}
.testimonial__text { flex: 1; margin: 0; }
.testimonial__text p { font-size: 1rem; color: var(--text); }
.testimonial__author {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  line-height: 1.3;
}
.testimonial__author strong { display: block; color: var(--navy-900); font-size: .95rem; }
.testimonial__author small { color: var(--muted); font-size: .85rem; }
.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold-500);
  background: var(--navy-900);
}

/* ---------- Contato ---------- */
.contact { display: grid; gap: 24px; }
.contact__list { display: grid; gap: 14px; }
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.4;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
a.contact__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold-400);
}
.contact__item small {
  display: block;
  margin-bottom: .2rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__item strong { display: block; color: var(--navy-900); font-size: 1.02rem; }
.contact__sub { display: block; color: var(--muted); font-size: 1rem; }
.contact__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--gold-500);
}

.contact__map {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--navy-50);
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Rodapé ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .7);
  font-size: 1rem;
}
.footer__inner {
  display: grid;
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer__text { margin-top: 1rem; max-width: 300px; }
.footer__heading {
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.footer__nav ul { display: grid; gap: 0; }
.footer__nav a,
.footer__info a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;           /* área de toque */
}
.footer a { transition: color .2s; }
.footer a:hover { color: var(--gold-400); }
.footer__info p + p { margin-top: .6rem; }
.footer__contacts { display: flex; flex-direction: column; align-items: flex-start; }
.footer__bottom {
  /* espaço extra no celular para o botão flutuante não cobrir o texto */
  padding: 20px 0 calc(96px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 1rem;
  color: rgba(255, 255, 255, .6);
}

/* ---------- Botão flutuante de ligar (só celular) ---------- */
.call-fab {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 56px;
  padding: 0 1.35rem 0 1.15rem;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 28px rgba(7, 22, 43, .35), 0 0 0 4px rgba(255, 255, 255, .9);
  transition: transform .25s var(--ease), opacity .25s var(--ease), visibility .25s;
}
.call-fab .icon { width: 22px; height: 22px; stroke-width: 2.1; }
.call-fab:active { transform: scale(.95); }
body.menu-open .call-fab { opacity: 0; visibility: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .call-fab::before {
    /* anel pulsante discreto */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(200, 162, 90, .55);
    animation: pulse 2.6s ease-out infinite;
  }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200, 162, 90, .55); }
  70%  { box-shadow: 0 0 0 16px rgba(200, 162, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 162, 90, 0); }
}

/* Em telas de toque, evita que cards fiquem "presos" no efeito de hover */
@media (hover: none) {
  .card:hover, .feature:hover, .step:hover,
  .testimonial:hover, a.contact__item:hover, .btn:hover { transform: none; }
  .card:hover::before { transform: scaleX(0); }
}

/* ---------- Celulares pequenos (até 380px) ---------- */
@media (max-width: 380px) {
  .container { padding-inline: 16px; }
  .nav { padding-inline: 16px; }
  .logo__text strong { font-size: 1.25rem; }
  .logo__text small { font-size: .62rem; letter-spacing: .1em; }
  .logo__mark { width: 36px; height: 36px; }
  .eyebrow { font-size: .74rem; letter-spacing: .1em; }
  .card, .step, .testimonial { padding-inline: 20px; }
  .feature, .contact__item { padding: 18px; gap: .9rem; }
  .contact__icon { width: 42px; height: 42px; }
  .cta-band { padding: 28px 20px; }
  .float-chip { padding: .55rem .75rem; gap: .55rem; }
  .float-chip strong { font-size: .8rem; }
  .float-chip small { font-size: .68rem; }
  .float-chip__icon { width: 32px; height: 32px; }
}

/* ---------- Animações de rolagem ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Tablet (≥ 768px) — abaixo disso tudo fica em uma coluna
   ========================================================= */
@media (min-width: 768px) {
  .container { padding-inline: 32px; }

  .section { padding: 88px 0; }
  .section__head { margin-bottom: 48px; }

  .btn { white-space: nowrap; }

  /* botão flutuante só no celular */
  .call-fab { display: none; }
  .footer__bottom { padding-bottom: 20px; }

  .hero__visual { padding: 28px 8px 36px; }

  .hero__actions,
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__trust { flex-direction: row; flex-wrap: wrap; gap: .6rem 1.75rem; }

  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature { flex-direction: column; }
  .grid--testimonials { grid-template-columns: repeat(2, 1fr); }
  .grid--testimonials .testimonial:last-child { grid-column: 1 / -1; }

  .contact__list { grid-template-columns: repeat(2, 1fr); }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .float-chip--a { right: -16px; }
  .float-chip--b { left: -16px; }
}

/* =========================================================
   Desktop (≥ 960px)
   ========================================================= */
@media (min-width: 960px) {
  :root { --header-h: 80px; }

  .section { padding: 112px 0; }
  .section__head { margin-bottom: 64px; }

  /* Menu horizontal */
  .nav-toggle { display: none; }
  .nav {
    position: static;
    height: auto;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__list { flex-direction: row; gap: 1.75rem; }
  .nav__link {
    position: relative;
    padding: .4rem 0;
    font-size: .95rem;
    border: 0;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--gold-500);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .3s var(--ease);
  }
  .nav__link:hover::after,
  .nav__link.is-active::after { transform: scaleX(1); }
  .nav__cta { width: auto; padding: .7rem 1.25rem; }

  .hero { padding: calc(var(--header-h) + 72px) 0 112px; min-height: 92vh; display: flex; align-items: center; }
  .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .hero__visual { margin-right: 0; }

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

  .split { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
  .split__intro .eyebrow,
  .split__intro { text-align: left; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
  .steps::before {
    /* linha que conecta os passos */
    content: "";
    position: absolute;
    top: 60px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--gold-400) 0 8px, transparent 8px 16px);
    opacity: .6;
  }

  .cta-band {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 44px 48px;
  }

  .grid--testimonials { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .grid--testimonials .testimonial:last-child { grid-column: auto; }

  .contact { grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: stretch; }
  .contact__list { grid-template-columns: 1fr; }
  .contact__map { height: auto; min-height: 440px; }

  .footer__inner { grid-template-columns: 1.3fr .8fr 1.2fr; gap: 48px; padding-top: 72px; }
  .footer__brand { grid-column: auto; }
}

@media (min-width: 1200px) {
  .features { gap: 20px; }
}
