/* Felipe Yuri Coelho — Advocacia Trabalhista
   Visual limpo, sans-serif, logo vazada, sem grid de fundo */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

:root {
  --bg: #07090d;
  --surface: #0f1319;
  --surface-2: #151b24;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f5f7;
  --text-2: rgba(244, 245, 247, 0.72);
  --text-3: rgba(244, 245, 247, 0.48);

  --gold: #c4a574;
  --gold-soft: rgba(196, 165, 116, 0.12);
  --gold-muted: rgba(196, 165, 116, 0.08);
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;
  --whatsapp-glow: rgba(37, 211, 102, 0.28);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1160px;
  --pad-x: clamp(20px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 112px);
  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fundo: apenas degradê suave — sem grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(196, 165, 116, 0.06), transparent 55%),
    radial-gradient(700px 400px at 0% 30%, rgba(196, 165, 116, 0.05), transparent 50%),
    var(--bg);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}

p { color: var(--text-2); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

section { padding-block: var(--section-y); }

.section-tight { padding-block: clamp(48px, 6vw, 72px); }

/* Seções alternadas: preto / cinza escuro */
main > section {
  background-color: var(--bg);
}

main > section:nth-child(even) {
  background-color: var(--surface);
}

main > section + section {
  border-top: 1px solid var(--line);
}

/* Fundo texturizado — mesma ideia do hero */
main > section:not(.hero) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

main > section:not(.hero) > .container {
  position: relative;
  z-index: 1;
}

main > section:not(.hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--section-bg-image, url("../img/img-hero.jpg"));
  background-size: cover;
  background-position: var(--section-bg-position, center);
  background-repeat: no-repeat;
  opacity: var(--section-bg-opacity, 0.08);
  pointer-events: none;
  z-index: 0;
}

main > section:not(.hero)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--section-bg-scrim);
  pointer-events: none;
  z-index: 0;
}

main > section:nth-child(odd):not(.hero) {
  --section-bg-scrim: linear-gradient(180deg, rgba(7, 9, 13, 0.9) 0%, rgba(7, 9, 13, 0.84) 100%);
}

main > section:nth-child(even):not(.hero) {
  --section-bg-scrim: linear-gradient(180deg, rgba(15, 19, 25, 0.92) 0%, rgba(15, 19, 25, 0.85) 100%);
}

main > section:nth-child(2):not(.hero) {
  --section-bg-image: url("../img/section-bg-law.jpg");
  --section-bg-position: center 35%;
  --section-bg-opacity: 0.07;
}

main > section:nth-child(3):not(.hero) {
  --section-bg-image: url("../img/img-hero.jpg");
  --section-bg-position: 72% center;
}

main > section:nth-child(4):not(.hero) {
  --section-bg-image: url("../img/section-bg-docs.jpg");
  --section-bg-position: center;
  --section-bg-opacity: 0.065;
}

main > section:nth-child(5):not(.hero) {
  --section-bg-image: url("../img/section-bg-law.jpg");
  --section-bg-position: center 55%;
}

main > section:nth-child(6):not(.hero) {
  --section-bg-image: url("../img/img-hero.jpg");
  --section-bg-position: center bottom;
  --section-bg-opacity: 0.07;
}

main > section:nth-child(n+7):not(.hero) {
  --section-bg-image: url("../img/section-bg-docs.jpg");
  --section-bg-position: center;
  --section-bg-opacity: 0.065;
}

/* Cards em seções cinza — contraste invertido */
main > section:nth-child(even) .service-card,
main > section:nth-child(even) .service-row,
main > section:nth-child(even) .testimonial-card,
main > section:nth-child(even) .case-card,
main > section:nth-child(even) .pillar-item,
main > section:nth-child(even) .about-quote,
main > section:nth-child(even) .ethics-note,
main > section:nth-child(even) .contact-form,
main > section:nth-child(even) .contact-info-item,
main > section:nth-child(even) .cta-band,
main > section:nth-child(even) .portrait-frame {
  background-color: var(--bg);
}

main > section:nth-child(even) .form-group input,
main > section:nth-child(even) .form-group select,
main > section:nth-child(even) .form-group textarea {
  background-color: var(--surface);
}

/* Footer alterna com a última seção */
main:has(> section:last-child:nth-child(even)) + .site-footer {
  background-color: var(--bg);
}

main:has(> section:last-child:nth-child(odd)) + .site-footer {
  background-color: var(--surface);
}

/* ---- Tipografia utilitária ---- */
.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
}

.section-head { margin-bottom: 48px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-lead { margin-inline: auto; }

/* Intro centralizada nas seções após o hero */
main > section:not(.hero) .section-head {
  text-align: center;
}

main > section:not(.hero) .section-head .section-lead {
  margin-inline: auto;
}

.about-grid > div:not(.about-visual) > .eyebrow,
.about-grid > div:not(.about-visual) > .section-title {
  text-align: center;
}

.contact-form > .section-title,
.contact-form > p:first-of-type {
  text-align: center;
}

.contact-form > p:first-of-type {
  max-width: 520px;
  margin-inline: auto;
}

.text-accent { color: var(--gold); }

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--whatsapp);
  color: #041208;
  box-shadow: 0 8px 24px -6px var(--whatsapp-glow);
}

.btn-primary:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm { padding: 10px 18px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ---- Splash ---- */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

#splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo {
  width: min(220px, 70vw);
  height: auto;
  opacity: 0;
  animation: splash-in 0.9s var(--ease) forwards 0.15s;
}

.splash-bar {
  width: 120px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.splash-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 35%;
  background: var(--gold);
  animation: splash-load 1.2s ease-in-out infinite;
}

@keyframes splash-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes splash-load {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(380%); }
}

body.no-scroll { overflow: hidden; height: 100vh; }

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), height 0.3s var(--ease);
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(7, 9, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.site-header > .container {
  width: 100%;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.brand-logo img {
  height: 46px;
  width: auto;
  transition: height 0.3s var(--ease);
}

.site-header.is-scrolled .brand-logo img { height: 38px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 490;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: calc(100svh - 80px);
  display: flex;
  align-items: center;
  padding-top: clamp(96px, 11vh, 120px);
  padding-bottom: clamp(56px, 7vh, 88px);
  overflow: hidden;
  background-color: var(--bg);
  box-shadow: inset 0 -1px 0 var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/img-hero.jpg") center / cover no-repeat;
  opacity: 0.14;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.92) 0%, rgba(7, 9, 13, 0.78) 38%, rgba(7, 9, 13, 0.45) 62%, rgba(7, 9, 13, 0.72) 100%),
    linear-gradient(to bottom, transparent 45%, rgba(7, 9, 13, 0.88) 100%);
}

.hero::before,
.hero::after {
  display: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.hero-copy {
  max-width: 620px;
  padding-top: 0;
}

.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.hero-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.hero-link:hover {
  color: var(--text);
  border-color: var(--gold);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 32px;
}

.hero-meta li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hero-meta li::before {
  display: none;
}

.hero-meta li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line-strong);
}

.hero-visual {
  position: relative;
  width: min(100%, 360px);
  margin-inline: auto;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -4px;
  height: 88px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.92) 0%, transparent 76%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.hero-portrait {
  position: relative;
  z-index: 1;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.55) 68%,
    rgba(0, 0, 0, 0.18) 84%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.55) 68%,
    rgba(0, 0, 0, 0.18) 84%,
    transparent 100%
  );
}

.about-visual .portrait-frame img {
  object-position: center center;
}

.portrait-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid rgba(196, 165, 116, 0.18);
  box-shadow:
    0 28px 56px -20px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.portrait-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(7, 9, 13, 0.95));
}

.portrait-caption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.portrait-caption span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- Page hero (internas) ---- */
.page-hero {
  padding-top: 120px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  text-align: center;
}

.page-hero-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-hero-figure {
  margin: 0 auto;
  width: min(100%, 280px);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid rgba(196, 165, 116, 0.18);
  box-shadow:
    0 28px 56px -20px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 560px;
  margin-inline: auto;
  font-size: 1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--text-3);
}

.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--gold); }

/* ---- Stats ---- */
.stats-band {
  border-block: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.stat-item {
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-item:nth-child(2n) { border-right: none; }
.stat-item:nth-last-child(-n+2) { border-bottom: none; }

.stat-number {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
}

.stat-number .suffix { color: var(--gold); }

.stat-label {
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---- Cards serviços ---- */
.grid-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.service-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.service-card.featured {
  border-left: 3px solid var(--gold);
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg { width: 20px; height: 20px; }

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 20px;
  line-height: 1.65;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold);
}

.service-link svg { width: 14px; height: 14px; }
.service-link:hover { gap: 10px; color: var(--text); }

/* ---- Serviços (página detalhada) ---- */
.service-detail { display: flex; flex-direction: column; gap: 16px; }

.service-row {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.service-row-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.service-row-head h3 { font-size: 1.25rem; }

.service-row p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
}

/* ---- Processo ---- */
.process-grid { max-width: 720px; }

.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  align-items: start;
}

.process-step:last-child { border-bottom: 1px solid var(--line); }

.process-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-3);
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.process-step p { font-size: 0.88rem; }

/* ---- Sobre ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.about-copy p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-copy strong { color: var(--text); }

.about-quote {
  margin-top: 24px;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.about-quote p {
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
}

.about-quote span {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.pillars-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
  margin-inline: auto;
}

.pillar-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(196, 165, 116, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon svg { width: 20px; height: 20px; }

.pillar-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.pillar-item p { font-size: 0.88rem; }

/* ---- Depoimentos ---- */
.testimonial-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}

.testimonial-stars svg { width: 14px; height: 14px; }

.testimonial-card p.quote {
  font-size: 0.92rem;
  flex-grow: 1;
  margin-bottom: 20px;
  line-height: 1.65;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

.testimonial-person strong { display: block; font-size: 0.85rem; }
.testimonial-person span { font-size: 0.75rem; color: var(--text-3); }

/* ---- Portfólio ---- */
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.case-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.case-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.case-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--text-3);
}

.case-meta strong { color: var(--text-2); font-weight: 500; }

.ethics-note {
  margin-top: 40px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.82rem;
  color: var(--text-3);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ethics-note svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---- CTA ---- */
.cta-band {
  padding: clamp(36px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 12px;
}

.cta-band p {
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contact-portrait {
  margin-bottom: 24px;
}

/* ---- Contato ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.contact-form {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.form-row { margin-bottom: 16px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-3);
  text-align: center;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg { width: 18px; height: 18px; }

.contact-info-item h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a { font-size: 0.85rem; }
.contact-info-item a:hover { color: var(--gold); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 360px;
  background: var(--surface);
}

.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 56px;
  padding-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  max-width: 300px;
  margin-bottom: 20px;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-social a:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a,
.footer-col p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-bottom strong { color: var(--text-2); font-weight: 500; }

/* ---- Float actions ---- */
.float-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #041208;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -4px var(--whatsapp-glow);
  transition: transform 0.25s var(--ease);
}

.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab:hover { transform: scale(1.06); }

.back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, border-color 0.2s;
}

.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { border-color: var(--gold); color: var(--gold); }
.back-to-top svg { width: 16px; height: 16px; }

/* ---- Scroll reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ---- Responsivo ---- */
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item { border-bottom: none; border-right: 1px solid var(--line); }
  .stat-item:last-child { border-right: none; }
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .testimonial-track { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none !important; }

  .site-header > .container.header-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .main-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .header-actions {
    position: relative;
    z-index: 1;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    justify-items: stretch;
    text-align: left;
    gap: clamp(24px, 4vw, 48px);
  }

  .hero-copy {
    order: -1;
    max-width: 620px;
    padding-top: 0;
    text-align: left;
    align-items: flex-start;
  }

  .hero-title,
  .hero-lead,
  .hero-link {
    text-align: left;
  }

  .hero-cta,
  .hero-meta {
    justify-content: flex-start;
  }

  .hero-visual {
    width: 100%;
    max-width: 380px;
    margin-inline: 0;
    justify-self: end;
  }

  .page-hero-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    text-align: left;
    gap: 48px;
  }

  .page-hero-layout .page-hero-copy h1,
  .page-hero-layout .page-hero-copy p {
    margin-inline: 0;
  }

  .page-hero-layout .breadcrumb {
    justify-content: flex-start;
  }

  .page-hero-figure {
    margin: 0;
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: center;
  }

  .contact-grid { grid-template-columns: 1.15fr 0.85fr; }

  .grid-services { grid-template-columns: repeat(3, 1fr); }

  .case-grid { grid-template-columns: repeat(3, 1fr); }

  .testimonial-track { grid-template-columns: repeat(3, 1fr); }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 959px) {
  .hero-inner {
    justify-items: center;
    align-items: center;
    text-align: center;
  }

  .hero-visual {
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .hero-title,
  .hero-lead,
  .hero-link {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
    max-width: 520px;
  }

  .hero-cta {
    justify-content: center;
    width: 100%;
  }

  .hero-meta {
    justify-content: center;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 88px 24px 32px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }

  .main-nav.is-open { transform: translateX(0); }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1rem;
  }

  .nav-toggle { display: inline-flex; }

  .header-actions .btn-primary .full-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
