/* ==========================================================================
   F A Consultoria — Landing Page
   Raleway + Nunito | Azul #0B2A52 · Vermelho #C81D25 · Dourado #D4AF37 · Branco
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* ---------- Variáveis ---------- */
:root {
  --navy: #0B2A52;
  --navy-dk: #071B36;
  --navy-soft: #2E4463;
  --navy-bg: #E7ECF3;
  --red: #C81D25;
  --red-dk: #9E141A;
  --gold: #D4AF37;
  --gold-dk: #B8952C;
  --ink: #101826;
  --ink-soft: #3D4A5C;
  --ink-lt: #7C8797;
  --bg: #F6F8FB;
  --white: #FFFFFF;
  --line: rgba(11, 42, 82, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: 'Raleway', sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(11, 42, 82, 0.06);
  --shadow-md: 0 16px 40px rgba(11, 42, 82, 0.10);
  --shadow-red: 0 14px 30px rgba(200, 29, 37, 0.25);

  --container: 1160px;
  --header-h: 84px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: var(--ink-soft); }
section h2 { margin-bottom: 16px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--white { background: var(--white); }

.section__hd {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__hd p { font-size: 1.02rem; }
.section__cta { text-align: center; margin-top: clamp(36px, 5vw, 52px); }

.section-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  padding-left: 24px;
  position: relative;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 1.5px;
  background: var(--red);
}
.section-tag--center { padding-left: 0; justify-content: center; display: flex; }
.section-tag--center::before { display: none; }
.section-tag--light { color: var(--gold); }
.section-tag--light::before { background: var(--gold); }
.section-tag__star { color: var(--gold); margin-right: 3px; }

.trust-item__star { color: var(--gold); margin-left: 2px; }

/* Selo de estrela — usado nos pontos que falam do Visto Americano */
.badge-star {
  position: absolute;
  top: -10px; right: -10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.badge-star svg { width: 15px; height: 15px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(11, 42, 82, 0.35);
}
.btn--primary:hover { background: var(--navy-dk); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 42, 82, 0.42); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--line-light); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--red); box-shadow: 0 8px 22px rgba(0,0,0,0.12); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.16); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.btn .icon--whatsapp { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: background 0.3s var(--ease);
}
.header.is-scrolled { border-bottom-color: rgba(255, 255, 255, 0.4); box-shadow: var(--shadow-sm); }
.header.is-scrolled::before { background: rgba(246, 248, 251, 0.68); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.header__logo { display: flex; align-items: center; flex-shrink: 0; }
.header__logo-img { height: 36px; width: auto; }

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__nav ul a {
  font-size: 0.88rem;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s var(--ease);
}
.header__nav ul a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--red);
  transition: width 0.25s var(--ease);
}
.header__nav ul a:hover { color: var(--navy); }
.header__nav ul a:hover::after { width: 100%; }

.header__cta-mobile { display: none; }

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.header__toggle span {
  display: block;
  height: 2px; width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.header__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle.is-active span:nth-child(2) { opacity: 0; }
.header__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ----------
   Fundo em foto cheia. Arquivos esperados: assets/bgdesktop.webp e assets/bgmobile.webp
   (mesma técnica/medida usada no site da Medeiros Oliveira Advocacia).
   Sem overlay sobre a foto — a legibilidade do texto fica por conta do
   enquadramento da própria imagem (deixar a área da esquerda mais "limpa"). */
.hero {
  padding: 168px 0 100px;
  position: relative;
  background-color: var(--navy-bg);
  background-image: url('assets/bgdesktop.webp');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero__lead { font-size: 1.08rem; max-width: 52ch; margin-bottom: 18px; }
.hero__puv {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--red);
  margin-bottom: 30px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.hero__micro { font-size: 0.85rem; color: var(--ink-lt); max-width: 48ch; line-height: 1.7; }

.hero__visual { min-height: 420px; }
.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 100px;
  padding: 10px 18px 10px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 8px 28px rgba(11, 42, 82, 0.2);
}
.hero__badge .icon { color: var(--red); }
.hero__badge--top {
  top: 54%;
  right: 38%;
  animation: hero-float 4.5s ease-in-out infinite;
}
.hero__badge--bottom {
  bottom: 17%;
  right: 8%;
  animation: hero-float 5.2s ease-in-out infinite;
  animation-delay: 0.4s;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__badge--top, .hero__badge--bottom { animation: none; }
}

/* ---------- Trust bar / marquee ---------- */
.trust-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 20px;
  overflow: hidden;
}
.marquee { overflow: hidden; width: 100%; }
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee__track, .aprovados-inner { animation: none; } }
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-inline: 26px;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-item .icon { width: 18px; height: 18px; color: var(--red); }
.marquee__sep { color: rgba(255, 255, 255, 0.35); font-size: 1.1rem; flex-shrink: 0; user-select: none; }

/* ---------- Situações / problema ---------- */
.problem { padding-block: clamp(64px, 8vw, 104px); position: relative; }
.problem__hd {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.problem__title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 24px;
}
.problem__text p + p { margin-top: 12px; }

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.situation-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.situation-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.situation-card .icon { width: 26px; height: 26px; color: var(--red); }
.situation-card p { font-size: 0.92rem; font-weight: 600; color: var(--ink); }

/* ---------- Serviços ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__icon {
  width: 60px; height: 60px;
  background: var(--navy-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.service-card__icon .icon { width: 30px; height: 30px; color: var(--navy); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; margin-bottom: 18px; }
.service-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
}
.service-card__link .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.service-card__link:hover .icon { transform: translateX(3px); }

/* Destaque no primeiro serviço */
.service-card--destaque { background: var(--navy); }
.service-card--destaque .service-card__icon { background: rgba(255,255,255,0.12); }
.service-card--destaque .service-card__icon .icon { color: var(--gold); }
.service-card--destaque h3, .service-card--destaque p { color: var(--white); }
.service-card--destaque p { opacity: 0.85; }
.service-card--destaque .service-card__link { color: var(--gold); }

/* ---------- Como funciona ---------- */
.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step-card { position: relative; padding-top: 8px; }
.step-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--navy-bg);
  line-height: 1;
  margin-bottom: 12px;
}
.step-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.step-card p { font-size: 0.9rem; }
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -12px;
  width: 24px; height: 1.5px;
  background: var(--line);
}

/* ---------- Diferenciais ---------- */
.differentials__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.differentials__text h2 { margin-bottom: 20px; }
.differentials__text p + p { margin-top: 12px; }
.differentials__list h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-lt);
  margin-bottom: 20px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  background: var(--red);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* ---------- Sobre mim ---------- */
.sobre-mim__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.sobre-mim__text h2 { margin-bottom: 20px; }
.sobre-mim__text p + p { margin-top: 12px; }
.sobre-mim__text .btn { margin-top: 26px; }

.img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-bg), #F6F8FB);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-frame__fallback { color: var(--navy); opacity: 0.3; }
.problem__visual .img-frame { aspect-ratio: 1 / 1; }

/* ---------- Visto Aprovado (carrossel infinito) ---------- */
.aprovados-track { overflow: hidden; padding-block: 8px; }
.aprovados-inner {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 65s linear infinite;
}
.aprovados-track:hover .aprovados-inner { animation-play-state: paused; }
.aprovado-card {
  flex-shrink: 0;
  width: calc((100vw - 60px) / 4);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-bg);
  box-shadow: var(--shadow-sm);
}
.aprovado-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Depoimentos (placeholder — aguardando conteúdo da cliente) ---------- */
.depoimentos-hd {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: -8px;
  margin-bottom: 24px;
}
.depo-arrows { display: flex; gap: 10px; flex-shrink: 0; }
.depo-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  box-shadow: var(--shadow-sm);
}
.depo-arrow:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.06); }
.depo-arrow:disabled { opacity: 0.35; pointer-events: none; }
.depo-arrow svg { width: 20px; height: 20px; flex-shrink: 0; }

.depoimentos-track { overflow: hidden; position: relative; }
.depoimentos-track::before,
.depoimentos-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.depoimentos-track::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.depoimentos-track::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.depoimentos-inner {
  display: flex;
  gap: 20px;
  padding-block: 8px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  width: 340px;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card__stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote p { font-style: italic; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.7; }
.testimonial-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-card footer strong { font-size: 0.88rem; display: block; color: var(--ink); }
.testimonial-card footer small { color: var(--ink-lt); }

/* ---------- Depoimentos em vídeo ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(32px, 4vw, 48px);
}
.video-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--navy-dk);
  aspect-ratio: 9 / 16;
}
.video-card__media { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(11, 42, 82, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.video-card__play svg { width: 22px; height: 22px; flex-shrink: 0; margin-left: 3px; }
.video-card__play:hover { background: var(--red); transform: scale(1.06); }
.video-card.is-playing .video-card__play { display: none; }

/* ---------- FAQ ---------- */
.faq__inner { max-width: 760px; margin: 0 auto; }
.faq-list { margin-top: 12px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  transition: color 0.2s;
}
.faq-item__btn:hover { color: var(--navy); }
.faq-item__btn[aria-expanded="true"] { color: var(--navy); }
.faq-item__btn[aria-expanded="true"] .faq-item__icon { transform: rotate(180deg); color: var(--red); }
.faq-item__icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--ink-lt); transition: transform 0.3s ease, color 0.2s; }
.faq-item__body { padding-bottom: 20px; animation: faq-in 0.25s ease; }
.faq-item__body p { font-size: 0.95rem; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Localização ---------- */
.localizacao__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  margin-top: 40px;
}
.localizacao__address p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}
.localizacao__address .icon { flex-shrink: 0; margin-top: 3px; color: var(--red); }
.localizacao__address a { color: var(--navy); font-weight: 700; }
.localizacao__address a:hover { text-decoration: underline; }
.localizacao__hours {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--navy-bg);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--navy);
}
.localizacao__hours p { font-size: 0.85rem; color: var(--navy); font-weight: 700; }
.localizacao__hours p + p { margin-top: 4px; }
.localizacao__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.localizacao__map iframe {
  width: 100%; height: 380px;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: block;
}

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  background: linear-gradient(150deg, var(--navy-dk) 0%, var(--red-dk) 42%, var(--red) 100%);
  padding-block: clamp(80px, 9vw, 120px);
  overflow: hidden;
}
.cta-final::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 80% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 70% at 80% 30%, #000 0%, transparent 70%);
}
.cta-final__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.cta-final__frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.12);
}
.cta-final__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-final__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.cta-final__content h2 { color: var(--white); margin-bottom: 16px; }
.cta-final__lead { color: rgba(255,255,255,0.9); font-size: 1.08rem; margin-bottom: 8px; }
.cta-final__micro { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 12% -10%, rgba(212,175,55,0.10), transparent 60%),
    linear-gradient(160deg, var(--navy-dk) 0%, #040D1B 82%);
  color: rgba(255,255,255,0.72);
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
}
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 65%);
  mask-image: linear-gradient(160deg, #000 0%, transparent 65%);
}
.footer__glow {
  position: absolute;
  top: -260px; left: 8%;
  width: 620px; height: 460px;
  background: radial-gradient(closest-side, rgba(212,175,55,0.14), transparent);
  pointer-events: none;
}
.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 48px;
  padding-block: 88px 48px;
}
.footer__col { position: relative; padding-left: 40px; }
.footer__col::before {
  content: '';
  position: absolute;
  top: 2px; bottom: 2px; left: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), transparent 85%);
}
.footer__logo-img { height: 40px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer__tagline { font-size: 0.92rem; line-height: 1.7; color: rgba(255,255,255,0.5); max-width: 260px; margin-bottom: 22px; }
.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.footer__cta:hover { background: var(--gold); color: var(--navy-dk); transform: translateY(-1px); }
.footer__col h3 {
  position: relative;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 22px;
  padding-bottom: 12px;
}
.footer__col h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.footer__col address, .footer__col p { font-size: 0.88rem; line-height: 1.85; color: rgba(255,255,255,0.7); }
.footer__col a { color: rgba(255,255,255,0.75); }
.footer__col a:hover { color: var(--gold); }
.footer__hours { margin-top: 10px; color: rgba(255,255,255,0.45); font-size: 0.82rem; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: 0.88rem; }
.footer__links a:hover { padding-left: 4px; transition: padding-left 0.2s; }
.footer__pills { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.footer__pill svg { width: 15px; height: 15px; flex-shrink: 0; }
.footer__pill:hover { border-color: var(--gold); background: rgba(212,175,55,0.08); color: var(--gold); }
.footer__bottom { position: relative; border-top: 1px solid rgba(255,255,255,0.08); padding-block: 22px; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom p { font-size: 0.76rem; color: rgba(255,255,255,0.32); letter-spacing: 0.01em; }
.footer__bottom a { color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: var(--gold); }
.footer__top {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer__top:hover { color: var(--gold); transform: translateY(-2px); }

/* ---------- Elementos flutuantes ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 90;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }
.whatsapp-float:focus-visible { outline: 3px solid #25D366; outline-offset: 4px; }
.whatsapp-float svg { width: 30px; height: 30px; flex-shrink: 0; }

/* ---------- Animações de scroll ---------- */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .problem__grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-list { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .step-card:nth-child(2)::after { display: none; }
  .depoimentos-hd { justify-content: flex-start; }
  .testimonial-card { width: 270px; }
  .footer__inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__col { padding-left: 0; }
  .footer__col::before { display: none; }
}

/* Header: com 8 itens de menu + logo + botão, não cabe numa linha só
   abaixo de ~1160px — o menu hambúrguer entra mais cedo pra nunca ficar
   espremido ou vazar da tela. */
@media (max-width: 1150px) {
  .header__logo-img { height: 32px; }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: rgba(246, 248, 251, 0.78);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
  }
  .header__nav.is-open { transform: translateX(0); }
  .header__nav ul { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 24px; width: 100%; }
  .header__nav ul a { display: block; width: 100%; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .header__cta { display: none; }
  .header__cta-mobile { display: flex; width: 100%; }
  .header__toggle { display: flex; }
}

/* Hero: o layout de 2 colunas com foto de fundo só funciona com espaço
   suficiente para a coluna de texto não brigar com a área "cheia" (não
   esmaecida) da foto. Abaixo de 1024px, muda pro empilhado (igual mobile),
   com troca pra bgmobile.webp. */
@media (max-width: 1024px) {
  .hero {
    padding: calc(var(--header-h) + 24px) 0 56px;
    background-color: var(--white);
    background-image: url('assets/bgmobile.webp');
    background-position: center 84px;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .hero__inner { grid-template-columns: 1fr; gap: 14px; }
  .hero__visual { min-height: 340px; order: -1; }
  .hero__content { text-align: center; }
  .hero__lead, .hero__micro { margin-left: auto; margin-right: auto; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__badge { display: none; }
}

@media (max-width: 860px) {
  .problem__hd { grid-template-columns: 1fr; gap: 28px; }
  .problem__visual { width: 100%; max-width: 420px; margin-inline: auto; }
  .problem__grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr; }
  .step-card::after { display: none !important; }

  .video-grid { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }

  .differentials__inner { grid-template-columns: 1fr; gap: 40px; }

  .sobre-mim__inner { grid-template-columns: 1fr; gap: 32px; }
  .sobre-mim__photo { width: 100%; max-width: 380px; margin-inline: auto; }

  .cta-final__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .cta-final__frame { width: 100%; max-width: 300px; }
  .cta-final__tag { justify-content: center; }

  .aprovado-card { width: 82vw; }
  .aprovados-inner { padding-left: 9vw; }

  .depoimentos-track::before, .depoimentos-track::after { display: none; }
  .depoimentos-inner { padding-left: 9vw; }
  .testimonial-card { width: 82vw; }

  .localizacao__inner { grid-template-columns: 1fr; }
  .localizacao__btns { flex-direction: column; }
  .localizacao__btns .btn { width: 100%; }
  .localizacao__map iframe { height: 260px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__tagline { max-width: 100%; }
  .footer__col { padding-left: 0; }
  .footer__col::before { display: none; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
}
