/* ===== TOKENS ===== */
:root {
  --purple-dark:  #24012d;
  --purple:       #662D80;
  --purple-light: #9035a8;
  --purple-soft:  #f3eaf6;   /* tint extra claro p/ fundos */
  --purple-mid:   #ead9f0;   /* tint médio p/ bordas/hover */
  --white:        #ffffff;
  --black:        #0e0011;
  --gray-50:      #faf9fb;
  --gray-100:     #f4f1f7;
  --gray-200:     #e8e0ed;
  --gray-400:     #9e8aaa;
  --gray-600:     #5c4d6a;
  --gray-800:     #2d1e38;

  --shadow-sm:  0 1px 4px rgba(102,45,128,.08);
  --shadow-md:  0 4px 20px rgba(102,45,128,.12);
  --shadow-lg:  0 16px 56px rgba(102,45,128,.18);
  --shadow-purple: 0 8px 32px rgba(102,45,128,.32);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-head: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden; /* impede scroll horizontal em iOS Safari */
}
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-accent { color: var(--purple); }
.text-accent-light { color: #e879f9; }
.hide-mobile { display: inline; }
.show-mobile { display: none; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--purple-soft);
  border: 1px solid var(--purple-mid);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}
.section-badge--light {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  color: var(--white);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--purple-dark);
  margin-bottom: 14px;
}
.section-title--light { color: var(--white); }

.section-desc {
  font-size: 1.02rem;
  color: var(--gray-600);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.services .section-title { margin-bottom: 28px; }
.services .section-desc  { max-width: 680px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
  box-shadow: var(--shadow-purple);
}
.btn--primary:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(36,1,45,.35);
}
.btn--outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn--outline:hover {
  background: var(--purple-soft);
  transform: translateY(-2px);
}
.btn--white {
  background: var(--white);
  color: var(--purple-dark);
  border-color: var(--white);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--purple-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,.25);
}
.btn--ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}
.btn--lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn--sm { padding: 10px 22px; font-size: 0.875rem; }

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(102,45,128,.1);
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.navbar__logo { flex-shrink: 0; display: flex; align-items: center; }
.navbar__logo-img { display: block; width: auto; }
.navbar__logo-branca { display: block; }
.navbar__logo-roxa  { display: none; }
.navbar.scrolled .navbar__logo-branca { display: none; }
.navbar.scrolled .navbar__logo-roxa   { display: block; }
/* picture wrapper transparente na navbar */
.navbar__logo picture { display: contents; }
.logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--purple-dark);
}
.logo-accent { color: var(--purple); }
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.navbar.scrolled .nav-link {
  color: var(--gray-800);
}
.navbar.scrolled .nav-link:hover {
  color: var(--purple);
  background: var(--purple-soft);
}
.navbar__cta { margin-left: 8px; }
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white); /* branco sobre o hero */
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .navbar__toggle span {
  background: var(--purple-dark); /* escuro quando navbar fica branca */
}

/* Navbar scrolled — logo escuro */
.navbar.scrolled .logo-text { color: var(--purple-dark); }
.navbar.scrolled .logo-accent { color: var(--purple); }

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
  display: none; /* oculto no desktop */
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 1999;
  flex-direction: column;
  padding: 28px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}
.mobile-menu__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--purple-dark);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.mobile-menu__link {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--purple-dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: color 0.2s ease;
  text-decoration: none;
}
.mobile-menu__link:first-child { border-top: 1px solid var(--gray-200); }
.mobile-menu__link:hover { color: var(--purple); }

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
}
.mobile-menu__cta {
  width: 100%;
  justify-content: center;
}
.mobile-menu__socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.mobile-menu__socials a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--purple-soft);
  border: 1px solid var(--purple-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  transition: var(--transition);
}
.mobile-menu__socials a:hover {
  background: var(--purple);
  color: var(--white);
}
.mobile-menu__copy {
  font-size: 0.78rem;
  color: var(--gray-400);
}
@media (max-width: 768px) {
  .mobile-menu { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 180px; /* bottom maior para stats-band sobrepor com folga */
}

/* Imagem + overlay escuro */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.35) 100%),
    linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
}

/* Elementos geométricos */
.hero__geo {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.geo {
  position: absolute;
  opacity: 0.55;
}

/* — Coluna esquerda — */
.geo--rect-fill {
  width: 52px; height: 52px;
  background: var(--white);
}
.geo--left-1 { top: 22%; left: 3.5%; display: none; }

.geo--rect-outline {
  border: 2.5px solid var(--white);
  background: transparent;
}
.geo--left-2 {
  width: 52px; height: 52px;
  top: calc(22% + 64px);
  left: 3.5%;
  display: none;
}

.geo--half-circle {
  width: 52px; height: 26px;
  background: var(--white);
  border-radius: 0 0 52px 52px;
}
.geo--left-3 { top: calc(22% + 128px); left: 3.5%; display: none; }

.geo--circle-sm {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
}
.geo--left-4 { top: calc(22% + 174px); left: calc(3.5% + 15px); display: none; }

/* — Direita — */
/* triângulo via clip-path */
.geo--triangle {
  width: 120px; height: 120px;
  border: 2.5px solid var(--white);
  background: transparent;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border: none;
  /* feito com border-trick mais simples: */
}
/* Substituímos por SVG inline via ::before trick */
.geo--right-1 {
  top: 8%;
  right: 6%;
  width: 0; height: 0;
  border-left: 58px solid transparent;
  border-right: 58px solid transparent;
  border-bottom: 100px solid transparent;
  outline: 2.5px solid var(--white);
  background: transparent;
  /* Triângulo via SVG no HTML */
}
/* Usamos approach mais limpa: formas via div com border */
.geo--triangle {
  width: 100px; height: 100px;
  top: 7%;
  right: 5.5%;
  border-top: 2.5px solid rgba(255,255,255,0.7);
  border-right: 2.5px solid rgba(255,255,255,0.7);
  background: transparent;
  transform: rotate(15deg);
}
.geo--right-1 {
  /* remove o border-trick anterior */
  border-left: none;
  border-right: none;
  border-bottom: none;
  outline: none;
}

.geo--circle-outline {
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.7);
  background: transparent;
}
.geo--right-2 {
  width: 80px; height: 80px;
  top: 15%;
  right: 12%;
}

.geo--right-3 {
  width: 60px; height: 60px;
  top: 60%;
  right: 4.5%;
  border: 2.5px solid rgba(255,255,255,0.55);
  background: transparent;
}

.geo--dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
.geo--right-4 { top: 72%; right: 9%; }

/* Conteúdo do hero — filho do .container */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;          /* centraliza o bloco dentro do container */
  display: flex;
  flex-direction: column;
  align-items: center;     /* centraliza os filhos horizontalmente */
  text-align: center;
  gap: 28px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero__title-sub { font-size: inherit; }

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.8;
  max-width: 100%;
  text-align: center;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ===== STATS BAND (sobreposição) ===== */
.stats-band {
  position: relative;
  z-index: 10;
  margin-top: -72px;
  margin-bottom: -72px;
}
.stats-band__inner {
  background: var(--purple);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 24px 64px rgba(36,1,45,0.35), 0 4px 16px rgba(0,0,0,0.2);
}
.stats-band__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 40px;
  text-align: center;
  flex: 1;
}
.stats-band__number {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stats-band__label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
}
.stats-band__divider {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about {
  padding: 160px 0 120px; /* top maior p/ absorver overlap da stats-band */
  background: var(--white);
}
.about__grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* picture transparente ao layout — img herda posicionamento do flexbox */
.about__photos picture { display: contents; }

/* Coluna de fotos da seção Sobre */
.about__photos {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}
.about__photo-main {
  width: 78%;
  height: 420px;
  object-fit: cover;
  object-position: center 65%; /* foca na pessoa, corta o topo cinza */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.about__photo-secondary {
  width: 68%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  align-self: flex-end;
  margin-top: -70px;
  position: relative;
  z-index: 2;
  border: 5px solid var(--white);
}

.about__desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: left;
}
@media (min-width: 1025px) {
  .about__desc { text-align: justify; }
}
.about__desc strong { color: var(--purple-dark); font-weight: 600; }
.about__values {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 30px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--gray-800);
  font-weight: 500;
}
.value-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--purple-soft);
  border: 1px solid var(--purple-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
}

/* ===== ACCOUNTANT ===== */
.accountant {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.accountant__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--purple-dark) 0%, #3d0d4e 50%, #24012d 100%);
}
.accountant__bg::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70%;
  height: 130%;
  background: radial-gradient(ellipse, rgba(144,53,168,.25) 0%, transparent 65%);
}
.accountant__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
  align-items: center;
}
.accountant__text .section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}
/* imagem mobile: escondida por padrão */
.accountant__profile--mobile { display: none; }
.accountant__desc {
  font-size: 1rem;
  color: rgba(255,255,255,.88);
  line-height: 1.8;
  margin-top: 20px;
  text-align: left;
  margin-bottom: 36px;
}
@media (min-width: 1025px) {
  .accountant__desc { text-align: justify; }
}
.accountant__credentials {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.credential {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.credential__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d8a8e8;
  flex-shrink: 0;
}
.credential div { display: flex; flex-direction: column; gap: 2px; }
.credential strong { font-size: 1.02rem; font-weight: 600; color: var(--white); }
.credential span { font-size: 0.9rem; color: rgba(255,255,255,.8); }
.accountant__stats { display: flex; gap: 40px; }
.accountant__stat { display: flex; flex-direction: column; gap: 4px; }
.accountant__stat-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.accountant__stat-label { font-size: 0.8rem; color: rgba(255,255,255,.82); font-weight: 500; }

/* Foto + cards flutuantes — seção Contadora */
.expert-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.expert-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius-xl);
  display: block;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

/* Cards flutuantes sobre a foto */
.expert-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple-dark);
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  white-space: nowrap;
}
.expert-card__icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--purple-soft);
  border: 1px solid var(--purple-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
}
/* Posicionamento individual — sobre a foto, borda esquerda */
.expert-card--1 { top: 10%;  left: 20px; }
.expert-card--2 { top: 42%;  left: 20px; }
.expert-card--3 { top: 72%;  left: 20px; }

/* Badge nome abaixo da foto */
.expert-name-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 28px;
  background: var(--purple);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-purple);
  white-space: nowrap;
}
.expert-name-badge strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.expert-name-badge span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  background: var(--gray-50);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Wrappers transparentes no desktop — filhos entram direto no grid */
.services__featured-row,
.services__regular-row { display: contents; }

/* Título separador entre os dois grupos de cards */
.services__regular-header {
  grid-column: 1 / -1;
  padding-top: 48px;
  padding-bottom: 8px;
  text-align: center;
}

/* Botões do carrossel (estilo base — mantido por compatibilidade) */
.carousel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--purple-mid);
  background: var(--white);
  color: var(--purple-mid);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.carousel-btn:hover { background: var(--purple-mid); color: var(--white); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-counter {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 500;
  min-width: 36px;
}

/* Card base */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--purple-mid);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::after { opacity: 1; }

.service-card__icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  background: var(--purple-soft);
  border: 1px solid var(--purple-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 18px;
  transition: var(--transition);
}
.service-card:not(.service-card--featured):hover .service-card__icon {
  background: var(--white);
  color: var(--purple);
  border-color: var(--purple);
}
.service-card__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 10px;
}
.service-card__desc {
  font-size: 0.87rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Cards destaque (linha 1) */
.service-card--featured {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-card--featured::after {
  background: linear-gradient(90deg, var(--purple-light), #c026d3);
}
.service-card--featured:hover {
  background: #2e0038;
  border-color: var(--purple-mid);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(102,45,128,0.55);
}
.service-card--featured:hover::after { opacity: 1; }
.service-card--featured .service-card__title {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 12px;
  margin-top: 4px;
}
.service-card--featured .service-card__desc {
  color: rgba(255,255,255,0.6);
  flex: 1;
}
.service-card__icon--featured {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.service-card--featured:hover .service-card__icon--featured {
  background: var(--white);
  border-color: var(--white);
  color: var(--purple);
}
.service-card__link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.service-card--featured:hover .service-card__link {
  color: var(--white);
}

/* Card de satisfação (linha 1, posição 3) */
.service-card--stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border-color: var(--gray-200);
  min-height: 220px;
}
.service-card--stat::after { display: none; }
.service-card--stat:hover {
  border-color: var(--purple-mid);
  box-shadow: var(--shadow-lg);
}
.service-card__stat-deco {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.6;
}
.service-card__stat-number {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--purple-dark);
  line-height: 1;
}
.service-card__stat-label {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
}
.service-card__stat-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-top: 4px;
}

/* ===== BRAZIL MAP ===== */
.brazil {
  padding: 80px 0;
  background: var(--white);
  overflow: visible;
}
.brazil__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: visible;
}
.brazil__desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-top: 24px;
  margin-bottom: 28px;
}
.brazil__highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.brazil__highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--gray-800);
}
.brazil__highlight svg { color: var(--purple); flex-shrink: 0; }

/* Mapa */
.brazil__map {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.brazil-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* Elementos decorativos ao redor do mapa */
.brazil__map-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-deco-ring {
  position: absolute;
  border-radius: 50%;
  border-style: dashed;
  border-color: var(--purple);
}
.map-deco-ring--1 {
  width: 100px; height: 100px;
  top: 2%; right: 2%;
  border-width: 1.5px;
  opacity: 0.3;
}
.map-deco-ring--2 {
  width: 160px; height: 160px;
  top: -8%; right: -8%;
  border-width: 1px;
  border-color: var(--purple-light);
  opacity: 0.15;
}
.map-deco-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--purple);
}
.map-deco-dot--ne     { width: 10px; height: 10px; top: 28%; right: 5%;  opacity: 0.7; box-shadow: 0 0 10px rgba(102,45,128,.5); }
.map-deco-dot--center { width: 8px;  height: 8px;  top: 52%; left: 50%; opacity: 0.6; }
.map-deco-dot--south  { width: 8px;  height: 8px;  bottom: 12%; left: 38%; opacity: 0.55; background: var(--purple-light); }

/* ===== CTA BAND ===== */
.cta-band {
  padding: 0 0 80px;
  background: var(--gray-50);
}
.cta-band__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Coluna foto */
.cta-band__photo {
  position: relative;
  min-height: 420px;
}
.cta-band__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Coluna conteúdo roxo */
.cta-band__content {
  background: var(--purple-dark);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.cta-band__content::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}
.cta-band__title-accent {
  color: #ddb0ef;
}
.cta-band__desc {
  font-size: 0.9375rem; /* 15px */
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ===== FAQ ===== */
.faq {
  background: var(--gray-50);
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 600px;
}

/* Conteúdo escuro */
.faq__content {
  background: var(--purple-dark);
  position: relative;
  overflow: hidden;
}
.faq__content::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.faq__content::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(102,45,128,0.3) 0%, transparent 65%);
  pointer-events: none;
}
.faq__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* impede o badge de esticar 100% da largura */
}
.faq__title-accent { color: #d8a8e8; }

/* Accordion */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 36px;
}
.faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.faq__item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  transition: color 0.2s ease;
}
.faq__question:hover { color: var(--white); }
.faq__question[aria-expanded="true"] { color: #d8a8e8; }
.faq__icon {
  flex-shrink: 0;
  color: #F0CE27;
  transition: transform 0.3s ease, color 0.2s ease;
}
.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(90deg);
  color: #F0CE27;
}
.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq__answer p {
  padding: 0 0 18px;
  font-size: 0.9375rem;
  color: var(--white);
  line-height: 1.75;
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__inner { padding: 48px 28px; }
}

/* ===== CONTACT ===== */
.contact {
  padding: 80px 0;
  background: var(--white);
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 38px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--purple-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.contact-card__icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card__icon--whatsapp {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}
.contact-card__icon--email {
  background: var(--purple-soft);
  border: 1px solid var(--purple-mid);
  color: var(--purple);
}
.contact-card__icon--instagram {
  background: #fff1f5;
  border: 1px solid #fecdd3;
  color: #e1306c;
}
.contact-card__title {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--purple-dark);
}
.contact-card__value { font-size: 0.88rem; color: var(--gray-600); word-break: break-all; }
.contact-card__action {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  margin-top: auto;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--purple-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 56px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
  flex-wrap: wrap;
}
.footer .logo-text { color: var(--white); }
.footer .logo-accent { color: #d8a8e8; }
.footer__tagline { font-size: 0.8rem; color: rgba(255,255,255,.65); margin-top: 4px; }
.footer__nav { display: flex; gap: 4px; flex-wrap: wrap; }
.footer__link {
  padding: 8px 13px;
  font-size: 0.87rem;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.footer__link:hover { color: var(--white); background: rgba(255,255,255,.07); }
.footer__social { display: flex; gap: 10px; }
.social-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.social-icon:hover { color: var(--white); background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.18); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,.65);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
  z-index: 999;
  transition: var(--transition);
  overflow: visible;
}
.whatsapp-float__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #25d366;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.whatsapp-float:hover .whatsapp-float__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 16px 48px rgba(37,211,102,.5);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.3);
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}
@keyframes whatsapp-pulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.18); opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--stat { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { order: -1; }
  /* Tablet: mesma altura, ~40% maior que mobile, sem overlap */
  .about__photos { flex-direction: row; align-items: flex-start; gap: 16px; }
  .about__photo-main    { width: 50%; height: 390px; }
  .about__photo-secondary { width: 50%; height: 390px; margin-top: 0; align-self: auto; border: none; }
  .accountant__inner { grid-template-columns: 1fr; gap: 0; }
  /* tablet: esconde imagem do final, mostra imagem abaixo da descrição */
  .accountant__profile { display: none; }
  .accountant__profile--mobile {
    display: block;
    margin-top: 16px;
    margin-bottom: 40px;
  }
  .accountant__profile--mobile .expert-visual { margin: 0; }
  .expert-card--1 { top: 8%;  left: 14px; }
  .expert-card--2 { top: 40%; left: 14px; }
  .expert-card--3 { top: 72%; left: 14px; }
  .stats-band__item { padding: 0 24px; }
}
@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .show-mobile  { display: block; }
  .hero__title-sub { font-size: 1.75rem; white-space: nowrap; }
  .contact-card__value { font-size: 0.82rem; white-space: nowrap; word-break: normal; }
  .navbar__nav { display: none; }
  .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }
  .navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 32px rgba(102,45,128,.1);
    gap: 4px;
  }
  .navbar__nav.open .nav-link { color: var(--gray-600); }
  .navbar__nav.open .nav-link:hover { color: var(--purple); background: var(--purple-soft); }

  /* Stats band: 2 colunas no tablet */
  .stats-band { margin-top: -48px; margin-bottom: -48px; }
  .stats-band__inner {
    flex-wrap: wrap;
    padding: 32px 24px;
    gap: 24px;
    border-radius: var(--radius-md);
  }
  .stats-band__item { padding: 12px 16px; flex: 0 0 calc(50% - 24px); }
  .stats-band__divider { display: none; }

  .hero__actions { justify-content: center; }
  .geo--left-1, .geo--left-2, .geo--left-3, .geo--left-4, .geo--right-2 { display: none; }

  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { max-width: 300px; justify-content: center; }
  .footer__nav { justify-content: center; }
  .footer__social { justify-content: center; }
  .cta-band__card { grid-template-columns: 1fr; }
  .cta-band__photo { min-height: 260px; }
  .cta-band__content { padding: 40px 20px; text-align: center; align-items: center; }
  .cta-band__title { font-size: 1.35rem; }
  .cta-band__desc { font-size: 0.875rem; } /* 14px no mobile */
  .accountant__stats { justify-content: center; }
  /* Contadora mobile: imagem desktop some, imagem mobile aparece entre desc e tópicos */
  .accountant__inner { gap: 0; }
  .accountant__profile { display: none; }
  .accountant__profile--mobile {
    display: block;
    margin-top: 16px;
    margin-bottom: 48px;
  }
  .expert-photo { height: 437px; object-position: center 28%; } /* 312px × 1.4 ≈ 437px */
  /* Brasil mobile: 1 coluna, mapa abaixo do texto */
  .brazil__grid { grid-template-columns: 1fr; }
  .brazil__map { order: 1; } /* aparece depois do texto */
  .brazil-img { max-width: 280px; margin: 0 auto; }
  /* Fotos sobre mobile: mesma altura, 40% menor que tablet */
  .about__photos { flex-direction: row; align-items: flex-start; gap: 12px; }
  .about__photo-main    { width: 50%; height: 234px; margin-top: 0; }
  .about__photo-secondary { width: 50%; height: 234px; margin-top: 0; border: none; }
}
@media (max-width: 480px) {
  /* Reduz padding de seção em ~20%: 120px→96px, 80px→64px */
  .about      { padding: 96px 0; }
  .accountant { padding: 96px 0; }
  .services   { padding: 96px 0; }
  .brazil     { padding: 64px 0; }
  .contact    { padding: 64px 0; }
  .cta-band   { padding: 0 0 64px; }
  .faq__inner { padding: 64px 20px; }

  .hero__actions { flex-direction: column; align-self: stretch; align-items: stretch; gap: 12px; margin-top: 8px; }
  .hero__actions .btn { display: flex; width: 100%; justify-content: center; }
  .about__card-stack { width: 280px; }
  /* fotos sobre: +20% em relação a 190px */
  .about__photo-main    { height: 228px; }
  .about__photo-secondary { height: 228px; }
  .profile-card { padding: 36px 22px; }
  .whatsapp-float { bottom: 20px; right: 20px; }
  .services .section-desc { font-size: 0.94rem; }
  /* Mobile: grid vira display block, wrappers ganham layout próprio */
  /* Mobile: grid vira flex coluna, cards empilhados */
  .services__grid { display: flex; flex-direction: column; gap: 12px; }
  .services__featured-row,
  .services__regular-row { display: flex; flex-direction: column; gap: 12px; }
  .services__regular-header { padding-top: 20px; margin-top: 4px; }

  .stats-band__item { flex: 0 0 100%; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 24px; }
  .stats-band__item:last-child { border-bottom: none; padding-bottom: 0; }
  .stats-band { margin-top: -32px; margin-bottom: -32px; }
}
