/* =========================================================
   Franklin Batista Advogados Associados — folha de estilo
   Paleta da marca: carvão #202326, dourado #cca876 / #92754c
   ========================================================= */
:root {
  --ink: #17191c;
  --ink-2: #202326;
  --ink-3: #2c2c2c;
  --gold: #cca876;
  --gold-deep: #92754c;
  --bronze: #5b4830;
  --paper: #f8f6f2;
  --paper-2: #f1ede6;
  --white: #ffffff;
  --line: #e4ddd1;
  --line-dark: rgba(204, 168, 118, 0.18);
  --text: #3b3e43;
  --muted: #6d7179;
  --on-dark: #d9d6d0;
  --on-dark-muted: #9a9890;

  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.25;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 8px 14px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Rótulos e títulos de seção ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }

.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink-2); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-head p { color: var(--muted); }
.section--dark .section-head p { color: var(--on-dark-muted); }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--gold); border-radius: var(--radius);
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--solid { background: var(--gold); color: var(--ink); }
.btn--solid::before { background: var(--gold-deep); }
.btn--solid:hover { color: var(--white); border-color: var(--gold-deep); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--ink); border-color: var(--white); }

.btn--outline { background: transparent; color: var(--ink-2); border-color: var(--gold-deep); }
.btn--outline::before { background: var(--ink-2); }
.btn--outline:hover { color: var(--white); border-color: var(--ink-2); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Barra superior e cabeçalho ---------- */
.topbar {
  background: var(--ink); color: var(--on-dark-muted);
  font-size: 0.78rem; letter-spacing: 0.03em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { transition: color 0.3s; }
.topbar a:hover { color: var(--gold); }
.topbar-info { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; color: var(--gold); }
.topbar-social { display: flex; gap: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(32, 35, 38, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); transition: height 0.4s var(--ease);
}
.site-header.is-scrolled .wrap { height: 70px; }

.brand img { height: 52px; width: auto; transition: height 0.4s var(--ease); }
.site-header.is-scrolled .brand img { height: 44px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-dark); transition: color 0.3s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-ext svg { width: 11px; height: 11px; margin-left: 4px; vertical-align: -1px; opacity: 0.6; }
.nav .nav-cta {
  margin-left: 12px; padding: 11px 20px;
  border: 1px solid var(--gold); border-radius: var(--radius); color: var(--gold);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--gold); color: var(--ink); }

.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line-dark); border-radius: var(--radius);
  cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--gold);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero da página inicial ---------- */
.hero {
  position: relative; min-height: min(88vh, 820px);
  display: flex; align-items: center;
  background: var(--ink); color: var(--white); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  animation: slowZoom 22s ease-out forwards;
}
@keyframes slowZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(23,25,28,0.94) 0%, rgba(23,25,28,0.82) 45%, rgba(23,25,28,0.45) 100%),
    linear-gradient(0deg, rgba(23,25,28,0.7) 0%, transparent 40%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 140px; }
.hero-content { max-width: 680px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead { font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--on-dark); max-width: 560px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid var(--line-dark);
  background: rgba(23,25,28,0.55); backdrop-filter: blur(6px);
}
.hero-stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 0; padding-bottom: 0; }
.stat { padding: 26px 0 26px 28px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--gold); line-height: 1.1;
}
.stat > span { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }

/* Entrada do hero (no carregamento) */
.hero-in { opacity: 0; transform: translateY(22px); animation: heroIn 1s var(--ease) forwards; }
.hero-in:nth-child(2) { animation-delay: 0.15s; }
.hero-in:nth-child(3) { animation-delay: 0.3s; }
.hero-in:nth-child(4) { animation-delay: 0.45s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- Faixa de valores ---------- */
.values { background: var(--white); border-bottom: 1px solid var(--line); }
.values ul { display: flex; flex-wrap: wrap; justify-content: center; }
.values li {
  display: flex; align-items: center; gap: 12px;
  padding: 24px 20px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.values li::before {
  content: ""; width: 6px; height: 6px; transform: rotate(45deg);
  border: 1px solid var(--gold-deep);
}

/* ---------- Cards de áreas ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px 32px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 22px 44px -18px rgba(32, 35, 38, 0.28);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 54px; height: 54px; margin-bottom: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--gold-deep);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card-icon svg { width: 24px; height: 24px; }
.card:hover .card-icon { background: var(--ink-2); border-color: var(--ink-2); color: var(--gold); }

.card h3 { margin-bottom: 14px; }
.card p { font-size: 0.93rem; color: var(--muted); flex: 1; }
.card .link-arrow { margin-top: 10px; }

.card--feature {
  background: var(--ink-2); border-color: var(--ink-2); color: var(--on-dark);
  justify-content: center;
}
.card--feature h3 { color: var(--white); font-size: 1.45rem; }
.card--feature p { color: var(--on-dark-muted); flex: 0; }
.card--feature .btn { align-self: flex-start; margin-top: 12px; }

/* ---------- Bloco Sobre (imagem + texto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius); }
.split-media::before {
  content: ""; position: absolute; top: -18px; left: -18px; width: 48%; height: 60%;
  border-top: 1px solid var(--gold); border-left: 1px solid var(--gold);
  pointer-events: none;
}
.split-badge {
  position: absolute; right: -24px; bottom: -28px;
  background: var(--ink-2); color: var(--white);
  padding: 26px 30px; border-radius: var(--radius); min-width: 200px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.4);
}
.split-badge strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.6rem; color: var(--gold); line-height: 1; }
.split-badge span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.split-body p { color: var(--muted); }
.split-body .btn { margin-top: 12px; }

/* ---------- Por que nos escolher ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.reason {
  position: relative; padding: 44px 36px 40px 0;
  border-right: 1px solid var(--line-dark);
}
.reason + .reason { padding-left: 36px; }
.reason:last-child { border-right: 0; }
.reason::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--gold);
  transition: width 0.8s var(--ease);
}
.reason + .reason::before { left: 36px; }
.reason:hover::before { width: 64px; }
.reason-num {
  font-family: var(--serif); font-size: 0.95rem; color: var(--gold);
  display: block; margin-bottom: 20px; letter-spacing: 0.1em;
}
.reason h3 {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px;
}
.reason p { color: var(--on-dark-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Faixa de chamada ---------- */
.cta-band { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/hero-2.jpg") center / cover no-repeat;
  opacity: 0.16; filter: grayscale(1);
}
.cta-band .wrap {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding-top: 72px; padding-bottom: 72px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; letter-spacing: 0.04em; }

/* ---------- Escritórios ---------- */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.office {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.office:hover { box-shadow: 0 22px 44px -20px rgba(32,35,38,0.25); transform: translateY(-4px); }
.office-map { aspect-ratio: 16 / 8; background: var(--paper-2); filter: grayscale(0.85) contrast(1.05); transition: filter 0.6s var(--ease); }
.office:hover .office-map { filter: grayscale(0.2); }
.office-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.office-body { padding: 32px; }
.office-body h3 { display: flex; align-items: center; gap: 12px; }
.office-body h3::before { content: ""; width: 20px; height: 1px; background: var(--gold-deep); }
.office-list li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.office-list li:last-child { border-bottom: 0; }
.office-list svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--gold-deep); }
.office-list a { transition: color 0.3s; }
.office-list a:hover { color: var(--gold-deep); }

/* ---------- Cabeçalho das páginas internas ---------- */
.page-hero {
  position: relative; background: var(--ink-2); color: var(--white);
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 88px); overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/hero-1.jpg") center / cover no-repeat;
  opacity: 0.14; filter: grayscale(1);
  animation: slowZoom 18s ease-out forwards;
}
.page-hero--office::before { background-image: url("../img/escritorio-1.jpg"); }
.page-hero--meeting::before { background-image: url("../img/hero-2.jpg"); }
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: 50%; width: 360px; height: 360px;
  transform: translateY(-50%);
  background: url("../img/icon.png") center / contain no-repeat; opacity: 0.06;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: var(--on-dark); max-width: 620px; margin: 0; }
.breadcrumb { display: flex; gap: 10px; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-hidden] { color: var(--gold); }

/* ---------- Página Empresa ---------- */
.lead { font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.65; color: var(--ink-2); }
.prose p { color: var(--muted); }
.prose-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }

.experience {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 72px); align-items: center;
}
.experience-num {
  font-family: var(--serif); font-size: clamp(5rem, 12vw, 9rem); line-height: 0.9; color: var(--gold);
}
.experience-num small { font-size: 0.4em; vertical-align: top; }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery button {
  padding: 0; border: 0; cursor: zoom-in; overflow: hidden; border-radius: var(--radius);
  background: var(--paper-2); position: relative;
}
.gallery button:nth-child(1), .gallery button:nth-child(2) { grid-column: span 3; }
.gallery button:nth-child(n+3) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.gallery button::after {
  content: ""; position: absolute; inset: 0; background: rgba(32,35,38,0.35); opacity: 0; transition: opacity 0.5s var(--ease);
}
.gallery button:hover img { transform: scale(1.05); }
.gallery button:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(15,16,18,0.92); padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--radius); transform: scale(0.96); transition: transform 0.5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; background: none; color: var(--white);
  font-size: 22px; cursor: pointer;
}

.team { display: grid; grid-template-columns: 1fr; gap: 32px; }
.profile {
  display: grid; grid-template-columns: 340px 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.profile-photo { position: relative; background: var(--ink-2); min-height: 380px; }
.profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-body { padding: clamp(28px, 4vw, 48px); }
.profile-role { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; display: block; }
.profile h3 { font-size: 1.7rem; margin-bottom: 22px; }
.profile h4 {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-2); margin: 28px 0 12px;
}
.creds li {
  position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line);
  font-size: 0.93rem; color: var(--text);
}
.creds li:last-child { border-bottom: 0; }
.creds li::before {
  content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px;
  border: 1px solid var(--gold-deep); transform: rotate(45deg);
}
.creds ol { margin: 6px 0 0; padding-left: 18px; }
.creds ol li { padding: 4px 0 4px 4px; border-bottom: 0; }
.creds ol li::before { display: none; }
.profile-body .prose p { font-size: 0.95rem; }

.more { margin-top: 8px; }
.more summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep);
  padding: 8px 0;
}
.more summary::-webkit-details-marker { display: none; }
.more summary svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.more[open] summary svg { transform: rotate(180deg); }
.more[open] .more-body { animation: heroIn 0.5s var(--ease); }
.more-body { padding-top: 12px; }

/* ---------- Página Áreas de Atuação ---------- */
.areas-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.areas-nav { position: sticky; top: calc(var(--header-h) + 32px); }
.areas-nav p { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.areas-nav a {
  display: block; padding: 11px 0 11px 18px; font-size: 0.9rem; color: var(--muted);
  border-left: 1px solid var(--line); transition: color 0.3s, border-color 0.3s, padding 0.35s var(--ease);
}
.areas-nav a:hover { color: var(--ink-2); }
.areas-nav a.is-active { color: var(--ink-2); border-left: 2px solid var(--gold-deep); padding-left: 22px; font-weight: 500; }

.area {
  display: grid; grid-template-columns: 64px 1fr; gap: 28px;
  padding: 48px 0; border-bottom: 1px solid var(--line);
}
.area:first-child { padding-top: 0; }
.area:last-child { border-bottom: 0; }
.area .card-icon { margin: 0; width: 64px; height: 64px; background: var(--white); }
.area:hover .card-icon { background: var(--ink-2); border-color: var(--ink-2); color: var(--gold); }
.area h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: 18px; }
.area p { color: var(--muted); }
.area .note {
  border-left: 2px solid var(--gold); background: var(--white);
  padding: 18px 22px; margin: 6px 0 18px; font-size: 0.93rem; color: var(--text);
}
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 6px 0 20px; }
.checklist li { position: relative; padding-left: 26px; font-size: 0.93rem; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 7px;
  border-left: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep); transform: rotate(-45deg);
}

/* ---------- Página Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-grid .offices { grid-template-columns: 1fr; }
.form-card { background: var(--ink-2); color: var(--on-dark); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); position: sticky; top: calc(var(--header-h) + 32px); }
.form-card h2 { color: var(--white); font-size: 1.6rem; }
.form-card > p { color: var(--on-dark-muted); font-size: 0.93rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 0; font: inherit; font-size: 0.95rem; color: var(--white);
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.2); border-radius: 0;
  transition: border-color 0.35s;
}
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field-error { display: none; font-size: 0.8rem; color: #e7b4a0; margin-top: 6px; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #e7b4a0; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-hint { font-size: 0.78rem; color: var(--on-dark-muted); margin: 14px 0 0; text-align: center; }

.socials { display: flex; gap: 12px; margin-top: 8px; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--gold-deep);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.socials a:hover { background: var(--ink-2); color: var(--gold); border-color: var(--ink-2); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 0.9rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 80px 0 56px; }
.footer-top h4 {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--white); margin-bottom: 22px;
}
.footer-brand img { height: 54px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { transition: color 0.3s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact li { margin-bottom: 14px; line-height: 1.6; }
.footer-contact strong { display: block; color: var(--on-dark); font-weight: 500; }
.site-footer .socials a { border-color: rgba(255,255,255,0.14); color: var(--gold); }
.site-footer .socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: 0.8rem; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: var(--ink-2); color: var(--white);
  border: 1px solid var(--gold); border-radius: 40px;
  padding: 12px 18px 12px 14px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.45);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.wa-float svg { width: 22px; height: 22px; color: var(--gold); transition: color 0.4s; }
.wa-float:hover { transform: translateY(-3px); background: var(--gold); color: var(--ink); }
.wa-float:hover svg { color: var(--ink); }

/* ---------- Animações ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav a { padding: 10px 10px; }
  .nav a::after { left: 10px; right: 10px; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); padding: 16px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 0.85rem; }
  .nav a::after { display: none; }
  .nav .nav-cta { margin: 24px 0 0; text-align: center; padding: 16px; }
  .site-header.is-scrolled .wrap { height: var(--header-h); }
  .brand img { height: 44px; }

  .split, .prose-cols, .contact-grid, .areas-layout { grid-template-columns: 1fr; }
  .split-badge { right: 16px; bottom: -24px; }
  .reasons { grid-template-columns: 1fr; }
  .reason, .reason + .reason { padding: 36px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .reason + .reason::before { left: 0; }
  .offices { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .areas-nav { display: none; }
  .form-card { position: static; }
  .experience { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 640px) {
  .topbar-info span:nth-child(2) { display: none; }
  .topbar-social { display: none; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
  .hero-stats { position: relative; }
  .hero-stats .wrap { grid-template-columns: 1fr; }
  .stat, .stat:first-child { border-left: 0; padding: 18px 0; border-top: 1px solid var(--line-dark); }
  .stat:first-child { border-top: 0; }
  .values li { padding: 14px 16px; font-size: 0.68rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery button:nth-child(n) { grid-column: span 1; }
  .gallery button:nth-child(1) { grid-column: span 2; }
  .area { grid-template-columns: 1fr; gap: 18px; }
  .checklist { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding-top: 56px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .split-media::before { display: none; }
  .split-badge { position: relative; right: auto; bottom: auto; margin: -40px 16px 0; display: inline-block; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}
