/* ==========================================================================
   Livia Garcia Advocacia — Theme CSS
   ========================================================================== */

@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-VariableFont_wght.woff2') format('woff2-variations'),
       url('../fonts/Sora-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores — identidade Preto & Dourado */
  --black-950: #000000;
  --black-900: #0a0a0a;
  --black-800: #141414;
  --black-700: #1f1f1f;
  --black-600: #2b2b2b;

  --gold-700: #8f7936;
  --gold-600: #B69B48;
  --gold-500: #c7ae66;
  --gold-400: #d8c68f;
  --gold-100: #f2e9d2;

  --ice-000: #ffffff;
  --ice-050: #f6f3ea;
  --ice-100: #ece6d5;
  --ice-300: #cfc9ba;

  --ink-900: #000000;

  --success-500: #2fa84f;
  --whatsapp-hover: #37bd5a;
  --star-500: #f2b400;

  --surface-page: var(--black-900);
  --surface-gold-band: linear-gradient(180deg, var(--gold-500), var(--gold-700));

  --border-subtle: rgba(182, 155, 72, 0.25);
  --border-subtle-onlight: rgba(0, 0, 0, 0.15);
  --border-hairline: rgba(255, 255, 255, 0.08);

  --text-onDark-primary: var(--ice-000);
  --text-onDark-secondary: rgba(255, 255, 255, 0.72);
  --text-onDark-muted: rgba(255, 255, 255, 0.5);
  --text-onGold-primary: var(--ink-900);
  --text-onGold-secondary: rgba(0, 0, 0, 0.7);
  --text-accent: var(--gold-500);

  /* Tipografia */
  --font-family-base: 'Sora', -apple-system, 'Segoe UI', sans-serif;
  --text-h1: clamp(2.5rem, 4vw, 2.75rem);
  --text-h2: clamp(1.875rem, 3vw, 2.25rem);
  --text-h3: clamp(1.5rem, 2.2vw, 1.75rem);
  --text-eyebrow: 0.8125rem;
  --text-body-lg: 1.125rem;
  --text-body: 1rem;
  --text-body-sm: 0.875rem;
  --text-caption: 0.75rem;

  --lh-tight: 1.15;
  --lh-heading: 1.25;
  --lh-body: 1.6;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --tracking-wide: 0.08em;

  /* Espaçamento */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --content-max-width: 1140px;
  --content-padding-inline: clamp(20px, 5vw, 64px);
  --section-padding-y: clamp(56px, 8vw, 112px);

  /* Efeitos */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-card-lift: 0 20px 48px rgba(0, 0, 0, 0.45);
  --shadow-button: 0 8px 20px rgba(182, 155, 72, 0.28);

  --duration-fast: 150ms;
  --duration-base: 220ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset básico ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-onDark-primary);
  font-family: var(--font-family-base);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  font-weight: var(--weight-regular);
}

h1, h2, h3, p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding-left: var(--content-padding-inline);
  padding-right: var(--content-padding-inline);
}

.section {
  position: relative;
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.section-divider {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  background: var(--gold-500) !important;
  opacity: 0.9 !important;
  pointer-events: none !important;
  z-index: 999 !important;
}

/* Alternância de fundo: Hero começa preto, depois alterna com dourado seção a seção.
   Cada seção recebe uma direção/formato de gradiente diferente para não repetir o mesmo padrão visual. */
.section-bg--black {
  background: linear-gradient(160deg, var(--black-800) 0%, var(--black-900) 45%, var(--black-950) 100%);
}

.section-bg--gold {
  background: linear-gradient(160deg, var(--gold-500) 0%, var(--gold-700) 55%, var(--black-950) 130%);
  border-bottom-color: var(--border-subtle-onlight);
}

#problemas.section-bg--gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--black-950) 0%, var(--gold-700) 90%, var(--gold-500) 100%);
}

#problemas.section-bg--gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/balanca-mesa-2.webp");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 148%;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(to right, #000 25%, transparent 60%);
  mask-image: linear-gradient(to right, #000 25%, transparent 60%);
  pointer-events: none;
}

#problemas.section-bg--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 34px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 34px);
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at center, transparent 25%, #000 80%);
  mask-image: radial-gradient(ellipse 65% 65% at center, transparent 25%, #000 80%);
  pointer-events: none;
}

#problemas.section-bg--gold > * {
  position: relative;
  z-index: 1;
}

#atuacao.section-bg--black {
  position: relative;
  overflow: hidden;
  background: linear-gradient(200deg, var(--black-800) 0%, var(--black-900) 50%, var(--black-950) 100%);
}

#atuacao.section-bg--black::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/escritorio-2.webp");
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: cover;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at center 40%, #000 32%, transparent 94%);
  mask-image: radial-gradient(ellipse 75% 70% at center 40%, #000 32%, transparent 94%);
  pointer-events: none;
}

#atuacao.section-bg--black::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(182, 155, 72, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 78% 15%, rgba(0, 0, 0, 0.4) 0%, transparent 48%),
    radial-gradient(circle at 65% 70%, rgba(182, 155, 72, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 25% 85%, rgba(0, 0, 0, 0.35) 0%, transparent 50%),
    linear-gradient(180deg, var(--black-900) 0%, transparent 22%, transparent 58%, var(--black-950) 100%);
  opacity: 0.55;
  pointer-events: none;
}

#atuacao.section-bg--black > * {
  position: relative;
  z-index: 1;
}

#prova-social.section-bg--gold {
  position: relative;
  overflow: hidden;
  background:
    repeating-radial-gradient(circle at center 35%, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 34px),
    radial-gradient(ellipse 900px 500px at center 35%, rgba(255, 255, 255, 0.23) 0%, transparent 65%),
    radial-gradient(ellipse at center, var(--gold-500) 0%, var(--gold-700) 60%, var(--black-950) 135%);
}

#prova-social.section-bg--gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/themis.webp");
  background-repeat: no-repeat;
  background-position: right -60px center;
  background-size: auto 100%;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 55%);
  mask-image: linear-gradient(to left, #000 20%, transparent 55%);
  pointer-events: none;
}

#prova-social.section-bg--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, var(--gold-700) 0%, transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

#prova-social.section-bg--gold > * {
  position: relative;
  z-index: 1;
}

#sobre.section-bg--black {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(30deg, var(--black-900) 0%, var(--black-950) 50%, var(--black-900) 100%);
  background-size: 26px 26px, 26px 26px, auto;
}

#diferenciais.section-bg--gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(250deg, var(--gold-500) 0%, var(--gold-700) 60%, var(--black-950) 140%);
}

#diferenciais.section-bg--gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/escritorio.webp");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.6;
  pointer-events: none;
}

#diferenciais.section-bg--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(rgba(0, 0, 0, 0.6) 1px, transparent 1px),
    radial-gradient(circle at 15% 20%, rgba(0, 0, 0, 0.5) 0%, transparent 40%),
    radial-gradient(circle at 70% 10%, rgba(0, 0, 0, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(0, 0, 0, 0.5) 0%, transparent 42%),
    radial-gradient(circle at 25% 80%, rgba(0, 0, 0, 0.42) 0%, transparent 46%),
    radial-gradient(circle at 50% 45%, rgba(182, 155, 72, 0.07) 0%, transparent 38%),
    linear-gradient(180deg, var(--black-950) 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.35) 65%, var(--black-950) 100%);
  background-size: 3px 3px, auto, auto, auto, auto, auto, auto;
  opacity: 0.85;
  pointer-events: none;
}

#diferenciais.section-bg--gold > * {
  position: relative;
  z-index: 1;
}

#diferenciais.section-bg--gold > * {
  position: relative;
  z-index: 1;
}

#faq.section-bg--black {
  background:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(ellipse 900px 500px at center 15%, rgba(182, 155, 72, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse at top, var(--black-800) 0%, var(--black-900) 55%, var(--black-950) 130%);
  background-size: 22px 22px, auto, auto;
}

/* Grid 50/50 — reservado para blocos texto + imagem, um lado cada. */
.grid-50-50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 20, 32, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
}

.site-header__logo img {
  height: 60px;
  display: block;
}

.btn--header {
  padding: 10px 20px;
  font-size: var(--text-body-sm);
}

.site-header__nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.site-header__nav a {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-onDark-primary);
  transition: color var(--duration-fast) var(--ease-standard);
}

.site-header__nav a:hover {
  color: var(--gold-500);
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-onDark-primary);
  cursor: pointer;
}

.site-header__toggle i {
  width: 22px;
  height: 22px;
}

.site-header__nav-mobile {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-base) var(--ease-standard);
  border-top: 1px solid var(--border-hairline);
}

.site-header__nav-mobile.is-open {
  max-height: 400px;
}

.site-header__nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--content-padding-inline) var(--space-6);
}

.site-header__nav-mobile a {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-onDark-primary);
}

.site-header__nav-mobile li:last-child {
  margin-top: var(--space-2);
}

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: var(--weight-semibold);
  font-size: var(--text-body-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-standard),
              background var(--duration-fast) var(--ease-standard),
              border-color var(--duration-fast) var(--ease-standard),
              box-shadow var(--duration-fast) var(--ease-standard);
}

.btn--whatsapp {
  background: var(--success-500);
  color: var(--ice-000);
  border: 1px solid transparent;
  box-shadow: var(--shadow-button);
}

.btn--whatsapp:hover {
  background: var(--gold-600);
  border-color: var(--ink-900);
  color: var(--ice-000);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(182, 155, 72, 0.35);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ---- Section heading ---- */
.section-heading {
  margin-bottom: var(--space-8);
}

.section-heading__eyebrow {
  display: inline-block;
  font-size: var(--text-eyebrow);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: var(--space-3);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

.section-heading__title {
  font-size: var(--text-h2);
  line-height: var(--lh-heading);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
}

.section-heading__subtitle {
  font-size: var(--text-body-lg);
  color: var(--text-onDark-secondary);
  max-width: 640px;
}

.section-heading--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading--onlight .section-heading__eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.section-heading--onlight .section-heading__subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin-left: auto;
  margin-right: auto;
}

.section-atuacao .section-heading__eyebrow {
  color: var(--gold-500) !important;
}

.section-atuacao .section-heading__subtitle {
  color: var(--text-onDark-secondary) !important;
}

.section-heading--onlight .section-heading__title {
  color: #fff;
}

.section-heading__title--nowrap {
  color: var(--text-onDark-primary) !important;
  font-weight: var(--weight-bold);
  white-space: normal;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.375rem, 2.6vw, 2rem);
}

/* ==========================================================================
   Hero — grid 50/50: texto + foto moldurada
   ========================================================================== */
.section-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  overflow: hidden;
  z-index: 0;
}

#hero.section-bg--black {
  background: linear-gradient(160deg, var(--black-700) 0%, var(--black-900) 45%, var(--ink-900) 100%);
}

#hero.section-bg--black::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-secundario.webp");
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: cover;
  opacity: 0.18;
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at center 40%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 65% 60% at center 40%, #000 25%, transparent 80%);
  pointer-events: none;
}

#hero.section-bg--black > * {
  position: relative;
  z-index: 1;
}

.section-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  grid-template-columns: 1fr 1fr;
}

.section-hero__content {
  max-width: 560px;
}

.section-hero__logo {
  height: 68px;
  width: auto;
  margin-bottom: var(--space-6);
}

.section-hero__title {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.1;
  font-weight: var(--weight-bold);
  color: var(--text-onDark-primary);
  margin-bottom: var(--space-5);
  white-space: normal;
}

.section-hero__title--sm {
  font-size: clamp(1.5rem, 2.1vw, 1.875rem);
}

.section-hero__text {
  font-size: var(--text-body-lg);
  color: var(--text-onDark-secondary);
  max-width: 560px;
  margin-bottom: var(--space-8);
}

/* ==========================================================================
   Problemas (Pain Points)
   ========================================================================== */
.section-problemas {
  position: relative;
  overflow: hidden;
}

.section-problemas__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.section-problemas__spacer {
  pointer-events: none;
}

.section-problemas__content {
  max-width: 640px;
}

.section-problemas__content .btn {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.section-problemas__title {
  font-size: var(--text-h2);
  line-height: var(--lh-heading);
  font-weight: var(--weight-bold);
  color: #fff;
  margin-bottom: var(--space-6);
  text-align: center;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-sm);
  font-weight: var(--weight-semibold);
  font-size: var(--text-body-sm);
  color: #fff;
  transition: background var(--duration-fast) var(--ease-standard);
}

.checklist-item:hover {
  background: rgba(0, 0, 0, 0.15);
}

.checklist-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(182, 155, 72, 0.4);
}

.checklist-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-500);
  flex-shrink: 0;
}

.section-problemas__lead {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-6);
  text-align: center;
}

/* ==========================================================================
   Atuação (Compromisso) — banda dourada, cards escuros
   ========================================================================== */
.card-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.service-card {
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: transform var(--duration-fast) var(--ease-standard),
              box-shadow var(--duration-fast) var(--ease-standard);
}

.service-card--dark {
  background: linear-gradient(180deg, var(--black-900) 0%, var(--black-900) 100%);
  border: 1px solid var(--border-hairline);
  transition: background var(--duration-fast) var(--ease-standard),
              border-color var(--duration-fast) var(--ease-standard),
              transform var(--duration-fast) var(--ease-standard),
              box-shadow var(--duration-fast) var(--ease-standard);
}

.service-card--dark:hover {
  background: var(--surface-gold-band);
  border-color: #fff;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-lift);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-600);
  margin-bottom: var(--space-3);
  border: 2px solid transparent;
  transition: background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}

.service-card--dark:hover .service-card__icon {
  background: #fff;
  border-color: var(--black-900);
}

.service-card__icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
  transition: color var(--duration-fast) var(--ease-standard);
}

.service-card--dark:hover .service-card__icon svg {
  color: var(--ink-900);
}

.service-card h3 {
  font-size: var(--text-body);
  font-weight: var(--weight-bold);
  color: var(--text-onDark-primary);
  margin-bottom: var(--space-2);
  transition: color var(--duration-fast) var(--ease-standard);
}

.service-card p {
  font-size: var(--text-body-sm);
  color: var(--text-onDark-secondary);
  transition: color var(--duration-fast) var(--ease-standard);
}

.service-card--dark:hover h3,
.service-card--dark:hover p {
  color: #fff;
}

.section-atuacao__cta {
  text-align: center;
}

/* ==========================================================================
   Prova Social (Testemunhos)
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.testimonial-card {
  display: block;
  background: linear-gradient(180deg, var(--black-800) 0%, var(--black-800) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-standard),
              box-shadow var(--duration-fast) var(--ease-standard),
              border-color var(--duration-fast) var(--ease-standard),
              background var(--duration-fast) var(--ease-standard);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  background: var(--surface-gold-band);
  border-color: #fff;
  box-shadow: var(--shadow-card-lift);
}

.testimonial-card:hover strong,
.testimonial-card:hover p,
.testimonial-card:hover .testimonial-card__date {
  color: #fff;
}

.testimonial-card:hover .testimonial-card__source {
  color: #fff;
}

.testimonial-card:hover .testimonial-card__avatar {
  background: #fff;
  color: var(--gold-700);
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  position: relative;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-600);
  color: var(--text-onGold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  flex-shrink: 0;
}

.testimonial-card__date {
  display: block;
  font-size: var(--text-caption);
  color: var(--text-onDark-muted);
}

.testimonial-card__source {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--gold-500);
  flex-shrink: 0;
}

.testimonial-card__stars {
  color: var(--star-500);
  margin-bottom: var(--space-3);
}

.testimonial-card p {
  font-size: var(--text-body-sm);
  color: var(--text-onDark-secondary);
}

.section-testemunhos__note {
  text-align: center;
  margin-top: var(--space-6);
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Sobre (Bio) — banda dourada, texto + foto 50/50
   ========================================================================== */
#sobre .section-heading__title {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-4);
}

#sobre .section-heading__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-600);
}

.section-sobre p {
  font-size: var(--text-body-sm);
  color: var(--text-onDark-secondary);
  margin-bottom: var(--space-4);
}

.section-sobre .btn {
  margin-top: var(--space-2);
}

.about-card__photo-wrap {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(182, 155, 72, 0.5);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.about-card__photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--black-800), var(--black-950));
  border: 1px solid rgba(182, 155, 72, 0.7);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-standard);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

#hero .about-card__photo-wrap {
  max-width: 100%;
}

#hero .about-card__photo {
  aspect-ratio: 3.9 / 3.9;
}

.about-card__photo:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-lift);
}

.about-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

#sobre .about-card__photo img {
  object-position: center 12%;
}

#hero .about-card__photo img {
  object-position: center 10%;
}

.about-card__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 21, 38, 0.55) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   Diferenciais
   ========================================================================== */
.differentiator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.differentiator-card {
  background: linear-gradient(160deg, var(--black-800) 0%, var(--black-800) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-fast) var(--ease-standard),
              box-shadow var(--duration-fast) var(--ease-standard),
              background var(--duration-fast) var(--ease-standard),
              border-color var(--duration-fast) var(--ease-standard);
}

.differentiator-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(160deg, #000 0%, var(--black-900) 45%, var(--black-800) 100%);
  border-color: var(--gold-600);
  box-shadow: var(--shadow-card-lift);
}

.differentiator-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-600);
  margin-bottom: var(--space-4);
  border: 2px solid transparent;
  transition: background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}

.differentiator-card:hover .differentiator-card__icon {
  background: #fff;
  border-color: var(--gold-600);
}

.differentiator-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--ink-900);
  transition: color var(--duration-fast) var(--ease-standard);
}

.differentiator-card:hover .differentiator-card__icon svg {
  color: var(--gold-700);
}

.differentiator-card h3 {
  font-size: var(--text-body);
  font-weight: var(--weight-bold);
  color: var(--text-onDark-primary);
  margin-bottom: var(--space-2);
}

.differentiator-card p {
  font-size: var(--text-body-sm);
  color: var(--text-onDark-secondary);
}

.section-diferenciais__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--black-800);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  gap: var(--space-4);
}

.section-diferenciais__cta span {
  font-weight: var(--weight-semibold);
  color: var(--text-onDark-primary);
  white-space: nowrap;
}

.section-diferenciais__cta .btn {
  white-space: nowrap;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

.faq-whatsapp-card {
  position: sticky;
  top: 35%;
  transform: translateY(-50%);
  background: var(--black-800);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  box-shadow: var(--shadow-card);
}

.faq-whatsapp-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--success-500, #2E9E63);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.faq-whatsapp-card__icon svg {
  width: 22px;
  height: 22px;
}

.faq-whatsapp-card__title {
  font-size: var(--text-h3);
  font-weight: var(--weight-bold);
  color: var(--text-onDark-primary);
  line-height: var(--lh-heading);
}

.faq-whatsapp-card__text {
  font-size: var(--text-body-sm);
  color: var(--text-onDark-secondary);
}

.faq-whatsapp-card__btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-3);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .faq-whatsapp-card__btn {
    font-size: 13px;
    padding: 12px 16px;
  }

  .faq-whatsapp-card__title {
    font-size: 15px;
    white-space: nowrap;
  }
}

@media (max-width: 860px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-whatsapp-card {
    position: static;
    transform: none;
    text-align: center;
    align-items: center;
    padding: var(--space-6) var(--space-5);
  }
}

.faq-item {
  background: linear-gradient(135deg, var(--black-950) 0%, var(--black-900) 55%, var(--black-800) 100%);
  border: 1px solid var(--border-subtle-onlight);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}

.faq-item[open] {
  border-color: var(--gold-600);
  box-shadow: 0 0 0 1px rgba(182, 155, 72, 0.3), 0 6px 16px -6px rgba(182, 155, 72, 0.2);
}

.faq-item:not([open]):hover {
  border-color: var(--gold-600);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: var(--weight-semibold);
  color: var(--text-onDark-primary);
  list-style: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-standard), padding-bottom var(--duration-fast) var(--ease-standard);
}

.faq-item[open] .faq-item__question {
  padding-bottom: var(--space-4);
  border-bottom-color: var(--gold-600);
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  color: var(--gold-500);
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-standard);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  margin-top: var(--space-4);
  font-size: var(--text-body-sm);
  color: var(--text-onDark-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--gold-500) 0%, var(--gold-700) 100%);
  padding-top: var(--space-16);
  padding-bottom: var(--space-10);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

.site-footer__logo {
  height: 84px;
  width: auto;
  margin-bottom: var(--space-4);
}

.site-footer__brand p {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__links h3,
.site-footer__social h3 {
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
  color: var(--ice-000);
  margin-bottom: var(--space-4);
}

.site-footer__links ul li {
  margin-bottom: var(--space-3);
}

.site-footer__links a {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--duration-fast) var(--ease-standard);
}

.site-footer__links a:hover {
  color: var(--ice-000);
}

.site-footer__contact-list {
  margin-bottom: var(--space-6);
}

.site-footer__contact-list li {
  margin-bottom: var(--space-3);
}

.site-footer__contact-list a {
  display: inline-block;
  font-size: var(--text-body-sm);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--duration-fast) var(--ease-standard);
}

.site-footer__contact-list a:hover {
  color: var(--ice-000);
}

.site-footer__social-icons {
  display: flex;
  gap: var(--space-4);
}

.site-footer__social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-fast) var(--ease-standard),
              border-color var(--duration-fast) var(--ease-standard);
}

.site-footer__social-icons a:hover {
  transform: translateY(-2px);
  border-color: var(--ice-000);
}

.site-footer__social-icons svg {
  width: 18px;
  height: 18px;
  color: var(--ice-000);
}

/* ==========================================================================
   WhatsApp float
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-500);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-button);
  z-index: 100;
  transition: transform var(--duration-fast) var(--ease-standard),
              background var(--duration-fast) var(--ease-standard);
}

.whatsapp-float:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: var(--ice-000);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-standard), transform 0.6s var(--ease-standard);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 960px) {
  .site-header__nav {
    display: none;
  }

  .btn--header {
    display: none;
  }

  .site-header__toggle {
    display: flex;
  }

  .site-header__nav-mobile {
    display: block;
  }

  .grid-50-50,
  .section-sobre__grid,
  .section-problemas__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .section-sobre__grid {
    text-align: center;
  }

  .section-problemas__spacer {
    display: none;
  }

  #problemas.section-bg--gold::before {
    background-position: center top 15%;
    background-size: cover;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 80%);
    mask-image: linear-gradient(to bottom, #000 40%, transparent 80%);
  }

  .section-hero {
    min-height: 520px;
  }

  .about-card__photo-wrap {
    max-width: 320px;
    padding: 7px;
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  }

  #hero .about-card__photo-wrap {
    max-width: 100%;
  }

  .section-hero__content {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .section-hero__text {
    max-width: 100%;
  }

  .about-card__photo {
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  }

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

  .testimonial-grid,
  .differentiator-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__social-icons {
    justify-content: center;
  }

  #prova-social.section-bg--gold::before {
    background-size: auto 55%;
    background-position: right -30px top 10%;
    opacity: 0.14;
  }

  #atuacao.section-bg--black::before {
    background-position: center 25%;
    opacity: 0.14;
    -webkit-mask-image: radial-gradient(ellipse 85% 65% at center 35%, #000 20%, transparent 90%);
    mask-image: radial-gradient(ellipse 85% 65% at center 35%, #000 20%, transparent 90%);
  }

  #prova-social.section-bg--gold::after {
    background: linear-gradient(to bottom, var(--gold-700) 0%, transparent 45%);
    opacity: 0.3;
  }

  #diferenciais.section-bg--gold::before {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  :root {
    --text-h1: 2rem;
    --text-h2: 1.625rem;
  }

  .faq-item__question {
    justify-content: center;
    text-align: center;
  }

  .faq-item__answer {
    text-align: center;
  }

  .btn--whatsapp {
    text-align: center;
  }

  #hero.section-bg--black::before {
    background-position: center 20%;
    opacity: 0.16;
    -webkit-mask-image: radial-gradient(ellipse 90% 55% at center 30%, #000 20%, transparent 85%);
    mask-image: radial-gradient(ellipse 90% 55% at center 30%, #000 20%, transparent 85%);
  }

  .btn--whatsapp svg {
    align-self: center;
  }

  .section-hero__title {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
    white-space: normal;
  }

  .section-hero__text {
    font-size: var(--text-body);
  }

  .section-heading__title--nowrap {
    white-space: normal;
    font-size: var(--text-h2);
  }

  .card-grid-4col,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .checklist-grid {
    justify-items: center;
  }

  .checklist-item {
    justify-content: center;
    text-align: left;
  }

  .service-card,
  .differentiator-card,
  .testimonial-card {
    text-align: center;
  }

  .service-card__icon,
  .differentiator-card__icon,
  .testimonial-card__header {
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-card__header {
    justify-content: center;
  }

  .testimonial-card__source {
    margin-left: 0;
  }

  .section-diferenciais__cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section-diferenciais__cta .btn {
    font-size: 13px;
    padding: 12px 16px;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    justify-content: center;
  }
}
