/* ═══════════════════════════════════════════════════════
   CONSILIUM | HUB DE INTELIGÊNCIA JURÍDICA
   Design System — Premium Dark + Gold
   Arquétipo: Soberano + Sábio + Guardião
═══════════════════════════════════════════════════════ */

/* ── TOKENS ────────────────────────────────────────── */
:root {
  /* Background */
  --bg-base:        #0B0A08;
  --bg-surface:     #131108;
  --bg-card:        #1C1913;
  --bg-card-hover:  #232018;
  --bg-elevated:    #28241B;

  /* Gold */
  --gold:           #C09030;
  --gold-light:     #D4A84A;
  --gold-pale:      #E8C870;
  --gold-dim:       rgba(192, 144, 48, 0.55);
  --gold-glow:      rgba(192, 144, 48, 0.10);
  --gold-border:    rgba(192, 144, 48, 0.18);
  --gold-border-md: rgba(192, 144, 48, 0.35);
  --gold-border-hi: rgba(192, 144, 48, 0.60);

  /* Text */
  --text-primary:   #EDE5D2;
  --text-secondary: #A8987A;
  --text-muted:     #6A5E44;
  --text-inverse:   #0B0A08;

  /* Misc */
  --border-sub:     rgba(255,255,255,0.055);
  --border-med:     rgba(255,255,255,0.095);

  /* Typography */
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-py:   100px;
  --container-w:  1200px;
  --container-px: clamp(20px, 5vw, 40px);

  /* Radii */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;

  /* Transitions */
  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --t-fast:   0.18s;
  --t-med:    0.32s;
  --t-slow:   0.55s;
}


/* ── SKIP LINK (WCAG 2.4.1) ────────────────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--gold, #C09030);
  color: #0B0A08;
  font-family: var(--ff-body, sans-serif);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; outline: 2px solid #fff; outline-offset: 2px; }


/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
address { font-style: normal; }
cite { font-style: normal; }


/* ── CONTAINER ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: calc(var(--container-w) + var(--container-px) * 2);
  margin-inline: auto;
  padding-inline: var(--container-px);
}


/* ── BADGE ─────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 5px 12px;
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  background: var(--gold-glow);
}


/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--r-md);
  transition: all var(--t-med) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gold);
  color: var(--text-inverse);
  border: 1px solid var(--gold);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}

.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(192,144,48,0.35); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-med);
}

.btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--gold-border-md);
  background: var(--gold-glow);
}

.btn--full { width: 100%; justify-content: center; }


/* ── SECTION LAYOUT ─────────────────────────────────── */
.section { padding-block: var(--section-py); }
.section--alt { background: var(--bg-surface); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
}


/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              backdrop-filter var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(11, 10, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-sub);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__logo-brand {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.nav__logo-divider {
  width: 1px;
  height: 18px;
  background: var(--gold-border);
}

.nav__logo-suffix {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav__link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }

.nav__link--cta {
  color: var(--gold);
  border: 1px solid var(--gold-border);
  background: var(--gold-glow);
  transition: all var(--t-fast);
}

.nav__link--cta:hover {
  background: rgba(192,144,48,0.18);
  border-color: var(--gold-border-md);
  color: var(--gold-light);
}

/* ─── DROPDOWN · "Serviços" ────────────────────── */
.nav__item--dropdown {
  position: relative;
}

.nav__link--toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-body);
  font-weight: 500;
  cursor: pointer;
}

.nav__caret {
  transition: transform var(--t-med) var(--ease);
  color: var(--text-muted);
}

.nav__item--dropdown:hover .nav__caret,
.nav__item--dropdown:focus-within .nav__caret,
.nav__item--dropdown.open .nav__caret {
  transform: rotate(180deg);
  color: var(--gold);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 340px;
  background: rgba(13, 12, 9, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--gold-border-md);
  border-radius: var(--r-md);
  padding: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 40px rgba(192, 144, 48, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease),
              transform var(--t-med) var(--ease),
              visibility var(--t-med) var(--ease);
  z-index: 101;
}

/* Bridge invisível para evitar "gap" entre link e dropdown ao mover o mouse */
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Seta do dropdown */
.nav__dropdown::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(13, 12, 9, 0.96);
  border-left: 1px solid var(--gold-border-md);
  border-top: 1px solid var(--gold-border-md);
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown,
.nav__item--dropdown.open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-item {
  display: block;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--ease);
}

.nav__dropdown-item:hover,
.nav__dropdown-item:focus-visible {
  background: var(--gold-glow);
}

.nav__dropdown-item strong {
  display: block;
  color: var(--gold);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  margin-bottom: 4px;
}

.nav__dropdown-item span {
  display: block;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.45;
  letter-spacing: 0.005em;
}

.nav__dropdown-item--active strong { color: var(--gold-light); }
.nav__dropdown-item--active { background: var(--gold-glow); }

.nav__item--active .nav__link--toggle { color: var(--text-primary); }


.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}

.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: luminosity;
  pointer-events: none;
  z-index: 0;
}

.hero__bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192,144,48,0.14) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(192,144,48,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 5% 80%, rgba(192,144,48,0.04) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, var(--bg-base) 100%);
  pointer-events: none;
}

/* ── Scenario Ticker ──────────────────── */
.hero__ticker {
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.hero__ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: tickerScroll 35s linear infinite;
  padding-block: 8px;
}

.hero__ticker-track span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(192, 144, 48, 0.25);
  text-transform: uppercase;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Hero Grid ──────────────────────────── */
.hero__container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 80px 20px;
  text-align: center;
}

.hero__content { max-width: 840px; }

/* ── Badge with pulse ─────────────────── */
.hero__content .badge {
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: badgePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(192,144,48,0.4); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 6px rgba(192,144,48,0); }
}

/* ── Title ─────────────────────────────── */
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.14;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

/* ── Subtitle ──────────────────────────── */
.hero__subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 680px;
  margin-inline: auto;
}

.hero__subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ── CTAs ──────────────────────────────── */
.hero__ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* ── Trust Bar (replaces footnote) ─────── */
.hero__trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.hero__trust-item svg {
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.7;
}

.hero__trust-item:hover {
  color: var(--text-secondary);
}

/* ── Hero Card ─────────────────────────── */
.hero__card-wrap { position: relative; }



/* ── Scroll indicator ──────────────────── */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}


/* ═══════════════════════════════════════
   PAIN POINTS
═══════════════════════════════════════ */
.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-med) var(--ease),
              transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--t-med);
}

.pain-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px var(--gold-glow);
}

.pain-card:hover::before { opacity: 1; }

.pain-card__num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--ff-display);
  font-size: 56px;
  font-weight: 700;
  color: rgba(192,144,48,0.07);
  line-height: 1;
  user-select: none;
}

.pain-card__icon {
  color: var(--gold);
  margin-bottom: 20px;
}

.pain-card__title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.pain-card__body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
}

.svc-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.svc-card--featured {
  background: var(--bg-elevated);
  border-color: var(--gold-border-md);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px rgba(192,144,48,0.08);
}

.svc-card--featured:hover {
  transform: translateY(-12px);
  border-color: var(--gold-border-hi);
  box-shadow: 0 32px 70px rgba(0,0,0,0.5), 0 0 50px rgba(192,144,48,0.12);
}

.svc-card__featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-inverse);
  background: var(--gold);
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.svc-card__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 16px;
}

.svc-card__icon {
  color: var(--gold);
  margin-bottom: 18px;
}

.svc-card__title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.svc-card__subtitle {
  font-size: 13px;
  color: var(--gold-dim);
  font-style: italic;
  margin-bottom: 14px;
}

.svc-card__body {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 24px;
  flex: 1;
}

.svc-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-sub);
}

.svc-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.svc-card__list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
}

.svc-card__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.01em;
  transition: color var(--t-fast), gap var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.svc-card__link:hover { color: var(--gold-pale); gap: 10px; }





/* ═══════════════════════════════════════
   PROCESS
═══════════════════════════════════════ */
.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin-inline: auto;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  position: relative;
}

.process-step__num {
  font-family: var(--ff-display);
  font-size: 48px;
  font-weight: 700;
  color: rgba(192,144,48,0.18);
  line-height: 1;
  padding-top: 4px;
  transition: color var(--t-med);
}

.process-step:hover .process-step__num { color: rgba(192,144,48,0.40); }

.process-step__connector {
  position: absolute;
  left: 36px;
  top: 60px;
  bottom: -24px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-border), transparent);
}

.process-step__body {
  padding: 0 0 48px;
}

.process-step:last-child .process-step__body { padding-bottom: 0; }

.process-step__title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-top: 6px;
}

.process-step__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}


/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual { position: relative; }

.about__photo-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.about__photo-hub {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5/6;
}

.about__photo-hub img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.about__photo-hub:hover img {
  transform: scale(1.05);
}

.about__photo-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,10,8,0.55);
}

.about__photo-hint span {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 8px 16px;
  background: rgba(28,25,19,0.8);
  border: 1px dashed var(--gold-border);
  border-radius: var(--r-sm);
}

.about__hub-card {
  position: absolute;
  bottom: 28px;
  right: -20px;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border-md);
  border-radius: var(--r-md);
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.about__oab-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.about__oab-value {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
}

.about__visual-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl);
  z-index: -1;
  pointer-events: none;
}

.about__content .badge { margin-bottom: 24px; }

.about__name {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.about__role {
  font-size: 14px;
  color: var(--gold-dim);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.about__bio {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 16px;
}

.about__creds {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-block: 28px;
}

.about__creds li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.about__creds svg { color: var(--gold); flex-shrink: 0; }


/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-lg);
  padding: 36px 30px 30px;
  position: relative;
  transition: border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
}

.testi-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.testi-card__quote {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--ff-display);
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  color: rgba(192,144,48,0.10);
  user-select: none;
}

.testi-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 28px;
  font-style: italic;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-sub);
}

.testi-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.testi-card__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.testi-card__company {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}


/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 80px;
  align-items: start;
}

.contact__info .badge { margin-bottom: 24px; }

.contact__title {
  font-family: var(--ff-display);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact__sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 420px;
}

.contact__details { display: flex; flex-direction: column; gap: 22px; }

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__detail-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-sm);
  color: var(--gold);
  flex-shrink: 0;
}

.contact__detail strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact__detail span {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Form */
.contact__form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-xl);
  padding: 40px;
}

.contact__form-title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-optional { color: var(--text-muted); font-weight: 400; }

.form-input {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: var(--gold-border-md);
  box-shadow: 0 0 0 3px rgba(192,144,48,0.08);
}

.form-input.error { border-color: rgba(220,80,60,0.5); }

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236A5E44' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-textarea { min-height: 90px; resize: vertical; line-height: 1.6; }

.contact__form .btn { margin-top: 4px; }

.contact__form-note {
  text-align: center;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Success state */
.contact__success {
  text-align: center;
  padding: 48px 32px;
}

.contact__success-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border-md);
  border-radius: 50%;
  color: var(--gold);
  margin: 0 auto 20px;
}

.contact__success h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.contact__success p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-sub);
  padding-top: 72px;
  padding-bottom: 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 220px;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__logo { margin-bottom: 16px; }

.footer__tagline {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.footer__oab {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer__nav-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer__nav ul { display: flex; flex-direction: column; gap: 12px; }

.footer__nav a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

.footer__nav a:hover { color: var(--gold-light); }

.footer__address p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 10px;
}

.footer__address a {
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

.footer__address a:hover { color: var(--gold-light); }

.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-sub);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__bottom > p:first-child {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__disclaimer {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 800px;
  opacity: 0.75;
}


/* ═══════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════ */
.reveal,
.reveal-instant {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}

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

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }


/* ═══════════════════════════════════════
   GRID MODIFIERS (substituem styles inline)
═══════════════════════════════════════ */
.pain__grid--two {
  grid-template-columns: repeat(2, 1fr);
}


/* ═══════════════════════════════════════
   CORE WEB VITALS · Otimizações render
═══════════════════════════════════════ */
/* content-visibility: auto em seções below-the-fold acelera LCP/INP
   sem impactar SEO. Navegador pula render até próximas do viewport. */
.pain, .services, .metrics, .testimonials,
.contact, .about, .process,
.policy-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* Containment em cards reduz trabalho de re-layout */
.pain-card, .svc-card, .testi-card, .metric {
  contain: layout style;
}

/* Pré-reserva de espaço para metric number (evita CLS) */
.metric__number { min-height: 1em; }

/* Reduz layout shift do hero card quando os dados animam */
.hero__card-wrap { min-height: 0; }


/* ═══════════════════════════════════════
   RESPONSIVE — TABLET LANDSCAPE (< 1024px)
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

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

  .hero__subtitle { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .hero__trust-bar { justify-content: center; }
  .hero__ticker { display: none; }

  .hero__card-wrap {
    max-width: 500px;
    margin-inline: auto;
  }

  .hero__stats {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .hero__stat { flex: 1; text-align: center; padding-inline: 20px; padding-block: 0; }

  .hero__stat-divider {
    width: 1px;
    height: 48px;
    flex-shrink: 0;
  }

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

  .services__grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .svc-card--featured { transform: none; }



  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .about__visual { max-width: 360px; margin-inline: auto; }
  .about__oab-card { right: 0; }
  .about__visual-accent { display: none; }
  .about__creds { align-items: center; }
  .about__content .btn { margin-inline: auto; }

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

  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__sub { max-width: 100%; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}


/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (< 640px)
═══════════════════════════════════════ */
@media (max-width: 640px) {
  :root {
    --section-py: 64px;
    --container-px: 20px;
  }

  /* Nav mobile */
  .nav__links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: rgba(11,10,8,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-sub);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link { padding: 12px 16px; text-align: center; border-radius: var(--r-sm); }
  .nav__link--cta { margin-top: 8px; }
  .nav__toggle { display: flex; }

  /* Dropdown "Serviços" em modo mobile (dentro do hamburger) */
  .nav__item--dropdown { width: 100%; }
  .nav__link--toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--t-fast), background var(--t-fast);
  }
  .nav__link--toggle:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }

  .nav__dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-left: 1px solid var(--gold-border);
    border-radius: 0;
    margin-left: 16px;
    margin-top: 4px;
    padding: 4px 0 4px 12px;
    box-shadow: none;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-med) var(--ease);
  }
  .nav__dropdown::before, .nav__dropdown::after { display: none; }

  .nav__item--dropdown.open .nav__dropdown {
    max-height: 280px;
    margin-bottom: 8px;
  }

  .nav__item--dropdown .nav__caret { transition: transform var(--t-med); }
  .nav__item--dropdown.open .nav__caret { transform: rotate(180deg); color: var(--gold); }

  .nav__dropdown-item { padding: 10px 14px; }
  .nav__dropdown-item strong { font-size: 13px; }
  .nav__dropdown-item span { font-size: 11.5px; }

  .hero__title { font-size: clamp(32px, 8vw, 44px); }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; justify-content: center; max-width: 360px; }
  .hero__trust-bar { flex-direction: column; gap: 12px; align-items: center; }
  .hero__card-quote { display: none; }

  .hero__stats { flex-direction: column; }
  .hero__stat { padding-inline: 0; padding-block: 14px; text-align: center; }
  .hero__stat-divider { width: 80%; height: 1px; }


  .metric { padding: 32px 20px; }
  .metric__number { font-size: 36px; }

  .contact__form-wrap { padding: 28px 20px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand { grid-column: auto; }
  .footer__address { display: none; }

  .process-step { grid-template-columns: 60px 1fr; gap: 20px; }
  .process-step__num { font-size: 36px; }
  .process-step__connector { left: 28px; }
}


/* ═══════════════════════════════════════
   PAGE HERO (páginas internas — /sobre.html)
═══════════════════════════════════════ */
.page-hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}

.page-hero__content {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero__content .badge { margin-bottom: 24px; }

.page-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.page-hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.page-hero__subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.page-hero .hero__ctas { justify-content: center; }


/* ═══════════════════════════════════════
   BACK LINK (retorno contextual à home)
═══════════════════════════════════════ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  padding: 8px 14px;
  border: 1px solid var(--border-sub);
  border-radius: 100px;
  background: transparent;
  margin-bottom: 24px;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.back-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-border-md);
  background: var(--gold-glow);
}

.back-link:hover svg { transform: translateX(-2px); }
.back-link svg { transition: transform var(--t-fast) var(--ease); color: var(--gold); }


/* ═══════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════ */
.breadcrumb {
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.breadcrumb__item a {
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

.breadcrumb__item a:hover { color: var(--gold-light); }

.breadcrumb__item--current {
  color: var(--gold);
  font-weight: 500;
}

.breadcrumb__sep {
  color: var(--text-muted);
  font-size: 12px;
}


/* ═══════════════════════════════════════
   NAV LINK · ACTIVE (para páginas internas)
═══════════════════════════════════════ */
.nav__link--active {
  color: var(--text-primary);
  position: relative;
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
}


/* ═══════════════════════════════════════
   PAGE HERO · META (data de atualização)
═══════════════════════════════════════ */
.page-hero__meta {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.page-hero__meta strong { color: var(--text-secondary); font-weight: 500; }


/* ═══════════════════════════════════════
   TABLE OF CONTENTS (índice — privacidade)
═══════════════════════════════════════ */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border-sub);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 28px 32px;
}

.toc__title {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.toc__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
  list-style: none;
  padding: 0;
  counter-reset: toc-counter;
}

.toc__list li {
  font-size: 14px;
  line-height: 1.5;
}

.toc__list a {
  color: var(--text-secondary);
  transition: color var(--t-fast);
  border-bottom: 1px dotted transparent;
}

.toc__list a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-border-md);
}


/* ═══════════════════════════════════════
   PROSE — corpo de texto longo (privacidade)
═══════════════════════════════════════ */
.prose {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text-secondary);
}

.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }

.prose strong { color: var(--text-primary); font-weight: 500; }

.prose a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-border-md);
  transition: text-decoration-color var(--t-fast);
}

.prose a:hover { text-decoration-color: var(--gold); }


/* ═══════════════════════════════════════
   POLICY SECTIONS
═══════════════════════════════════════ */
.policy-section {
  padding-block: 28px;
  border-top: 1px solid var(--border-sub);
  scroll-margin-top: 90px;
}

.policy-section:first-child { border-top: 0; padding-top: 0; }

.policy-section__title {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.policy-section__subtitle {
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 18px;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin-block: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--text-secondary);
}

.policy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.policy-list--ordered {
  counter-reset: policy-counter;
}

.policy-list--ordered li {
  padding-left: 36px;
  counter-increment: policy-counter;
}

.policy-list--ordered li::before {
  content: counter(policy-counter, decimal-leading-zero);
  width: auto;
  height: auto;
  background: transparent;
  top: 0;
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.policy-contact {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-block: 16px;
  font-size: 14.5px;
}


/* ═══════════════════════════════════════
   RESPONSIVE · TABLET PORTRAIT (≤ 768px)
   Gap entre desktop (>1024) e mobile (<640) reforçado
═══════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-py: 72px; }

  /* Grids 2-col caem para 1-col no tablet portrait */
  .pain__grid--two { grid-template-columns: 1fr; }

  /* Hero card stats: passa para coluna (evita apertar números) */
  .hero__card { padding: 28px 22px; }
  .hero__stat-number { font-size: 30px; }

  /* Page hero interno: reduz padding vertical */
  .page-hero { padding-top: 120px; padding-bottom: 60px; }
  .page-hero__title { font-size: clamp(28px, 5vw, 42px); }

  /* Back-link ganha mais respiro */
  .back-link { font-size: 12.5px; padding: 7px 12px; }

  /* TOC: uma coluna */
  .toc__list { grid-template-columns: 1fr; }

  /* Process steps: reduz gap */
  .process-step { gap: 20px; }

  /* About: foto menor */
  .about__visual { max-width: 320px; }

  /* Metric labels: ajuste de line-height */
  .metric__label { font-size: 13px; }
}


/* ═══════════════════════════════════════
   RESPONSIVE — TOC e policy em mobile (≤ 640px)
═══════════════════════════════════════ */
@media (max-width: 640px) {
  .toc__list { grid-template-columns: 1fr; }
  .toc { padding: 22px 20px; }
  .policy-section { padding-block: 24px; }

  /* Touch targets ≥ 44px (WCAG 2.5.5 / Apple HIG / Material) */
  .btn { padding: 14px 24px; min-height: 44px; }
  .nav__link {
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav__link--cta { justify-content: center; }
  .svc-card__link, .back-link, .breadcrumb__item a {
    padding: 8px 4px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }
  .form-input, .form-select, .form-textarea {
    min-height: 48px;
    font-size: 16px; /* evita zoom no iOS */
  }
  .form-textarea { min-height: 90px; }

  /* Container lateral: 18px em telas muito estreitas */
  :root { --container-px: 18px; }

  /* Hero: ajuste de espaçamento */
  .hero__title { line-height: 1.16; }
  .hero__subtitle { font-size: 16px; }
  .hero__footnote { font-size: 12px; gap: 8px; }

  /* Metric: reduz padding no mobile pequeno */
  .metric { padding: 28px 18px; }
  .metric__number { font-size: 32px; }

  /* Cards: reduz padding */
  .pain-card, .svc-card, .testi-card { padding: 28px 22px; }
  .pain-card__title, .svc-card__title { font-size: 18px; }

  /* Process step number menor */
  .process-step__num { font-size: 30px; }

  /* Contact form wrap */
  .contact__form-wrap { padding: 24px 18px; }

  /* About grid gap reduzido */
  .about__grid { gap: 40px; }
  .about__oab-card { right: auto; left: 50%; transform: translateX(-50%); bottom: -16px; }

  /* Policy: ordered list com número menor */
  .policy-list--ordered li { padding-left: 32px; }
  .policy-list--ordered li::before { font-size: 13px; }

  /* Footer: bloco único em coluna */
  .footer { padding-top: 56px; padding-bottom: 32px; }

  /* Prevenir overflow horizontal de monetárias/números longos */
  .metric__number, .hero__stat-number {
    word-break: break-word;
    hyphens: auto;
  }
}


/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE PEQUENO (≤ 380px)
   iPhone SE / Galaxy S8 / dispositivos antigos
═══════════════════════════════════════ */
@media (max-width: 380px) {
  .hero__title { font-size: clamp(28px, 7vw, 34px); }
  .page-hero__title { font-size: clamp(24px, 6vw, 32px); }
  .section-title { font-size: clamp(24px, 6vw, 32px); }
  .btn { font-size: 14px; padding: 13px 20px; }
  .badge { font-size: 10px; padding: 4px 10px; }
  .metric__number { font-size: 28px; }
}


/* ═══════════════════════════════════════════════════════
   SERVICE PAGE · componentes de conversão
═══════════════════════════════════════════════════════ */

/* ─── Button large (CTA final) ─────────────────────── */
.btn--large {
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 600;
}


/* ─── Strip de features (3 cards horizontais) ────── */
.svc-strip {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-sub);
}

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

.svc-strip__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 56px;
  position: relative;
}

.svc-strip__icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  color: var(--gold);
}

.svc-strip__item strong {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: 0.005em;
}

.svc-strip__item span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ─── Split content + image (2 colunas) ────────── */
.svc-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.svc-split__content { display: flex; flex-direction: column; align-items: flex-start; }


/* ─── Service image com fallback visual ────────── */
.svc-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(192,144,48,0.04), transparent 40%),
    radial-gradient(ellipse at 30% 20%, rgba(192,144,48,0.08), transparent 60%),
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--gold-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.svc-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192,144,48,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}

.svc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* Fallback: emblema central aparece atrás da imagem. Se a imagem carregar,
   ela cobre o emblema (object-fit: cover + z-index:1). Se falhar,
   o navegador não renderiza o <img> e o emblema fica visível. */
.svc-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold-border-md);
  border-radius: 50%;
  background:
    var(--gold-glow)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M6 6h12v12H6V6zm6 4v6M9 13h6' stroke='%23C09030' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
    center/24px no-repeat;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}



/* ─── Feature grid (3 cards numerados) ────────── */
.svc-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-feature {
  padding: 28px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-md);
  transition: border-color var(--t-med), transform var(--t-med);
  position: relative;
}

.svc-feature:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
}

.svc-feature__num {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.svc-feature h3 {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.svc-feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}


/* ─── Hero band com imagem de fundo + CTA ───── */
.svc-hero-band {
  padding-block: 80px;
  position: relative;
}

.svc-hero-band > .container {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--gold-border-md);
  padding: 64px 40px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
  background:
    linear-gradient(135deg, rgba(192,144,48,0.06), transparent 50%),
    linear-gradient(to right, var(--bg-base), var(--bg-surface));
}

.svc-hero-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.svc-hero-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.7);
}

.svc-hero-band__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11,10,8,0.85) 0%, rgba(11,10,8,0.55) 60%, rgba(11,10,8,0.75) 100%);
}

.svc-hero-band__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  text-align: center;
  margin-inline: auto;
}

.svc-hero-band__content h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.2;
}

.svc-hero-band__content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.svc-hero-band--alt > .container {
  background:
    linear-gradient(135deg, rgba(192,144,48,0.04), transparent 50%),
    linear-gradient(to left, var(--bg-base), var(--bg-surface));
}


/* ─── Comparação atendemos × não atendemos ─── */
.svc-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.svc-compare__col {
  padding: 36px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-sub);
  background: var(--bg-card);
}

.svc-compare__col h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-sub);
  display: flex;
  align-items: center;
  gap: 10px;
}

.svc-compare__col--yes { border-left: 3px solid var(--gold); }
.svc-compare__col--yes h3 { color: var(--gold-light); }
.svc-compare__col--yes h3::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border-md);
  border-radius: 50%;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.svc-compare__col--no { border-left: 3px solid rgba(255,255,255,0.15); }
.svc-compare__col--no h3 { color: var(--text-secondary); }
.svc-compare__col--no h3::before {
  content: '×';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-med);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.svc-compare__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-compare__col li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.svc-compare__col--yes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.svc-compare__col--no li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
}


/* ─── Grid de 4 trigger cards (Quando) ────────── */
.svc-trigger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.svc-trigger {
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-md);
  transition: border-color var(--t-med), transform var(--t-med);
}

.svc-trigger:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
}

.svc-trigger__num {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 700;
  color: rgba(192,144,48,0.5);
  line-height: 1;
  margin-bottom: 14px;
}

.svc-trigger h3 {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.svc-trigger p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}


/* ─── Timeline vertical (5 passos) ────────────── */
.svc-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 780px;
  margin-inline: auto;
  position: relative;
}

.svc-timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-border), transparent);
}

.svc-timeline li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.svc-timeline li:last-child { padding-bottom: 0; }

.svc-timeline__num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--gold-border-md);
  border-radius: 50%;
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.svc-timeline h3 {
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  padding-top: 10px;
  line-height: 1.3;
}

.svc-timeline p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}


/* ─── CTA final (card grande centralizado) ──── */
.svc-final-cta {
  background:
    radial-gradient(ellipse at top, rgba(192,144,48,0.08), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--gold-border-md);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4), 0 0 60px rgba(192,144,48,0.04);
}

.svc-final-cta .badge { margin-bottom: 20px; }

.svc-final-cta h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 20px;
}

.svc-final-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.svc-final-cta__links {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.svc-final-cta__links a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.svc-final-cta__links a:hover { color: var(--gold-pale); }


/* ═══════════════════════════════════════
   RESPONSIVE · SERVICE PAGE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .svc-strip__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .svc-split { grid-template-columns: 1fr; gap: 40px; }
  .svc-split__content { text-align: left; }
  .svc-image { aspect-ratio: 16 / 9; max-height: 400px; }
  .svc-feature-grid { grid-template-columns: 1fr 1fr; }
  .svc-trigger-grid { grid-template-columns: 1fr 1fr; }
  .svc-hero-band > .container { padding: 48px 28px; }
}

@media (max-width: 768px) {
  .svc-strip__grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-compare { grid-template-columns: 1fr; }
  .svc-feature-grid { grid-template-columns: 1fr; }
  .svc-trigger-grid { grid-template-columns: 1fr; }
  .svc-hero-band { padding-block: 56px; }
  .svc-hero-band > .container { padding: 40px 24px; }
  .svc-final-cta { padding: 40px 28px; }
}

@media (max-width: 640px) {
  .svc-strip__item { padding-left: 0; padding-top: 52px; }
  .svc-strip__icon { top: 0; left: 0; }
  .svc-timeline li { grid-template-columns: 44px 1fr; gap: 16px; }
  .svc-timeline::before { left: 22px; }
  .svc-timeline h3 { padding-top: 8px; font-size: 17px; }
  .svc-final-cta { padding: 32px 20px; }
  .btn--large { padding: 16px 28px; font-size: 15px; }
}


/* ═══════════════════════════════════════════════════════
   BLOG — Lista de artigos
═══════════════════════════════════════════════════════ */

/* ─── Filtros por categoria ────────────────────────── */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 6px;
  border: 1px solid var(--border-sub);
  border-radius: 100px;
  background: var(--bg-card);
  max-width: fit-content;
  margin-inline: auto;
}

.blog-filter {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 100px;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
}

.blog-filter:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }

.blog-filter--active {
  color: var(--text-inverse);
  background: var(--gold);
  font-weight: 600;
}

.blog-filter--active:hover { background: var(--gold-light); color: var(--text-inverse); }


/* ─── Grid de artigos ──────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin-inline: auto;
}


/* ─── Card de artigo ───────────────────────────────── */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-sub);
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.blog-card__title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0 0 12px;
  transition: color var(--t-fast);
}

.blog-card:hover .blog-card__title { color: var(--gold-light); }

.blog-card__excerpt {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 20px;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-sub);
}

.blog-card__sep { opacity: 0.5; }


/* ─── Estado vazio (nenhum artigo no filtro) ──────── */
.blog-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-secondary);
}

.blog-empty p {
  font-size: 16px;
  margin: 0 0 20px;
}


/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-filters { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }
  .blog-filter { flex-shrink: 0; }
  .blog-card__body { padding: 20px 22px 24px; }
  .blog-card__title { font-size: 18px; }
}


/* ═══════════════════════════════════════════════════════
   BLOG — Páginas de Categoria
═══════════════════════════════════════════════════════ */

/* Badge da categoria no card vira um <a> clicável */
a.blog-card__category {
  text-decoration: none;
  transition: color var(--t-fast);
  position: relative;
  z-index: 2;
}
a.blog-card__category:hover { color: var(--gold-pale); }

/* Impede propagação do clique do link do card quando o usuário
   clica especificamente no badge de categoria */
.blog-card__link { position: relative; z-index: 1; }


/* ─── Related service card (no final de cada categoria) ─── */
.related-service {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--gold-border-md);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: border-color var(--t-med), transform var(--t-med);
}

.related-service:hover {
  border-color: var(--gold-border-hi);
  transform: translateY(-2px);
}

.related-service__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  color: var(--gold);
  flex-shrink: 0;
}

.related-service__content h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.related-service__content p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.related-service__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  transition: color var(--t-fast), gap var(--t-fast);
}

.related-service__link:hover {
  color: var(--gold-light);
  gap: 10px;
}


/* ─── Grid de cards de categoria (outras categorias) ──── */
.cat-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.cat-link {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-md);
  transition: border-color var(--t-med), background var(--t-med), transform var(--t-fast);
}

.cat-link:hover {
  border-color: var(--gold-border-md);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.cat-link__num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 600;
  transition: background var(--t-fast);
}

.cat-link:hover .cat-link__num {
  background: var(--gold);
  color: var(--text-inverse);
  border-color: var(--gold);
}

.cat-link strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 17px;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 3px;
}

.cat-link span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}


/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .cat-links-grid { grid-template-columns: 1fr; }
  .related-service { grid-template-columns: 1fr; text-align: center; padding: 28px 24px; }
  .related-service__icon { margin-inline: auto; }
  .related-service__link { margin-inline: auto; }
}


/* ═══════════════════════════════════════════════════════
   ARTICLE — Corpo do artigo individual do blog
═══════════════════════════════════════════════════════ */

/* ─── Article hero (título + lead + meta) ──────────── */
.article-hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 48px;
  overflow: hidden;
}

.article-hero__content {
  margin-top: 32px;
  text-align: left;
}

.article-hero__content .badge { margin-bottom: 24px; }

.article-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.article-hero__lead {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 36px;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--border-sub);
}

.article-meta__author {
  font-weight: 500;
  color: var(--gold-light);
}

.article-meta__sep { opacity: 0.5; }


/* ─── Article cover image ──────────────────────────── */
.article-cover {
  padding-bottom: 56px;
}

.article-cover__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px solid var(--border-sub);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.article-cover__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ─── Article body (prose tipografada) ─────────────── */
.article-body {
  padding-block: 16px 72px;
}

.article-body .prose {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-secondary);
}

.article-body .prose h2 {
  font-family: var(--ff-display);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  margin: 56px 0 18px;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.article-body .prose h2:first-child { margin-top: 0; }

.article-body .prose h3 {
  font-family: var(--ff-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 600;
  color: var(--text-primary);
  margin: 36px 0 14px;
  line-height: 1.3;
}

.article-body .prose p {
  margin-bottom: 20px;
}

.article-body .prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-body .prose em { color: var(--text-primary); }

.article-body .prose a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--gold-border-md);
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}

.article-body .prose a:hover {
  color: var(--gold-pale);
  text-decoration-color: var(--gold);
}

/* Listas */
.article-body .prose ul,
.article-body .prose ol {
  margin: 14px 0 28px;
  padding-left: 4px;
  list-style: none;
}

.article-body .prose ul li,
.article-body .prose ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.article-body .prose ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.article-body .prose ol {
  counter-reset: article-counter;
}

.article-body .prose ol li {
  counter-increment: article-counter;
}

.article-body .prose ol li::before {
  content: counter(article-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 16px;
}

/* Blockquote destacado */
.article-body .prose blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--bg-card);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  position: relative;
}

.article-body .prose blockquote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.article-body .prose blockquote p:not(:last-child) { margin-bottom: 12px; }


/* ─── Blog grid 2 colunas (artigos relacionados) ──── */
.blog-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 960px;
}

@media (max-width: 768px) {
  .blog-grid--2col { grid-template-columns: 1fr; }
}


/* ─── Responsive específico de artigo ──────────────── */
@media (max-width: 768px) {
  .article-hero { padding-top: 100px; }
  .article-hero__lead { padding-left: 18px; font-size: 16px; }
  .article-body .prose { font-size: 16px; }
  .article-body .prose h2 { margin-top: 44px; }
  .article-body .prose blockquote { padding: 18px 20px; }
}


/* ═══════════════════════════════════════
   UTILITY — FOCUS & ACCESSIBILITY
═══════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

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


/* ═══════════════════════════════════════════════════════
   LOCATIONS ACCORDION — Atuação por cidade (SEO programático)
   ═══════════════════════════════════════════════════════ */
.locations-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 920px;
  margin: 48px auto 0;
}

.locations-accordion__item {
  background: linear-gradient(180deg, rgba(192, 144, 48, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(192, 144, 48, 0.22);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.locations-accordion__item:hover {
  border-color: rgba(192, 144, 48, 0.48);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.locations-accordion__item[open] {
  border-color: rgba(192, 144, 48, 0.55);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.32);
}

.locations-accordion__summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-family: var(--font-heading, 'Playfair Display'), serif;
  transition: background 0.24s ease;
}

.locations-accordion__summary::-webkit-details-marker { display: none; }
.locations-accordion__summary::marker { display: none; content: ''; }

.locations-accordion__summary:hover {
  background: rgba(192, 144, 48, 0.05);
}

.locations-accordion__uf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 36px;
  padding: 0 12px;
  background: linear-gradient(135deg, #C09030, #A67722);
  color: #0B0A08;
  font-family: var(--font-body, 'Inter'), sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  border-radius: 8px;
  flex-shrink: 0;
}

.locations-accordion__state {
  flex: 1;
  color: #F4EFE4;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: 0.005em;
}

.locations-accordion__count {
  color: rgba(244, 239, 228, 0.55);
  font-family: var(--font-body, 'Inter'), sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.locations-accordion__chevron {
  color: #C09030;
  flex-shrink: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.locations-accordion__item[open] .locations-accordion__chevron {
  transform: rotate(180deg);
}

.locations-accordion__list {
  list-style: none;
  margin: 0;
  padding: 0 28px 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(192, 144, 48, 0.18);
  padding-top: 18px;
}

.locations-accordion__list li {
  margin: 0;
  padding: 0;
}

.locations-accordion__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: rgba(244, 239, 228, 0.82);
  font-family: var(--font-body, 'Inter'), sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.locations-accordion__list a::before {
  content: '→';
  color: #C09030;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  flex-shrink: 0;
  width: 14px;
}

.locations-accordion__list a:hover {
  background: rgba(192, 144, 48, 0.08);
  color: #F4EFE4;
}

.locations-accordion__list a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.locations-accordion__list a:focus-visible {
  outline: 2px solid #C09030;
  outline-offset: 2px;
  background: rgba(192, 144, 48, 0.1);
  color: #F4EFE4;
}

@media (max-width: 768px) {
  .locations-accordion__summary { padding: 18px 20px; gap: 14px; }
  .locations-accordion__list { grid-template-columns: 1fr; padding: 14px 20px 22px; }
  .locations-accordion__state { font-size: 19px; }
  .locations-accordion__count { font-size: 11px; }
  .locations-accordion__uf { min-width: 44px; height: 30px; font-size: 12px; }
  .locations-accordion__list a { font-size: 14px; padding: 10px 10px; }
}

@media (max-width: 480px) {
  .locations-accordion__count { display: none; }
}
