/* ============================================================
   TAVARES & PENIDO — ADVOCACIA
   Identidade: grafite profundo, azul petróleo, off-white,
   cinza quente e bronze em detalhes.
   Tipografia: Fraunces (títulos) + Inter (corpo).
   ============================================================ */

:root {
  /* Paleta */
  --ink: #14181e;
  --ink-2: #1b212a;
  --ink-3: #232b36;
  --petrol: #17323c;
  --petrol-2: #1d4250;
  --paper: #f6f4ef;
  --paper-2: #edeae1;
  --stone: #837b6e;
  --bronze: #a6794e;
  --bronze-soft: #c19a70;

  /* Texto */
  --text: #232830;
  --text-muted: #5d6068;
  --text-on-dark: #f3f1ea;
  --text-on-dark-muted: rgba(243, 241, 234, 0.7);

  /* Linhas */
  --line: rgba(20, 24, 30, 0.12);
  --line-dark: rgba(246, 244, 239, 0.14);

  /* Tipografia */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Ritmo */
  --container: 1140px;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Foco visível e consistente */
:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

::selection {
  background: var(--petrol);
  color: var(--paper);
}

/* ---------- Utilidades ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(72px, 10vw, 128px);
}

.section--dark {
  background-color: var(--ink);
  color: var(--text-on-dark);
}

.section--petrol {
  background-color: var(--petrol);
  color: var(--text-on-dark);
}

.section--alt {
  background-color: var(--paper-2);
}

/* Compensa o header fixo na navegação por âncoras */
section[id] {
  scroll-margin-top: 84px;
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 20px;
}

.overline::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--bronze);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.h-xl {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
}

.h-lg {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}

.h-md {
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 40em;
}

.section--dark .lead,
.section--petrol .lead {
  color: var(--text-on-dark-muted);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head .lead {
  margin-top: 18px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--petrol-2);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: #fff;
}

.btn--outline {
  border-color: var(--line);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--bronze);
  color: var(--bronze);
}

.btn--outline-dark {
  border-color: var(--line-dark);
  color: var(--text-on-dark);
}

.btn--outline-dark:hover {
  border-color: var(--bronze-soft);
  color: var(--bronze-soft);
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.brand-name em {
  font-style: italic;
  color: var(--bronze);
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 3px;
}

.site-nav ul {
  display: flex;
  gap: 34px;
}

.site-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  padding-block: 6px;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  padding: 11px 22px;
  font-size: 0.88rem;
}

/* Menu mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 40;
  background: var(--paper);
  padding: 40px 24px;
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
}

.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-menu a[aria-current="page"] {
  color: var(--bronze);
}

.mobile-menu .btn {
  margin-top: 32px;
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--ink);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 80% 70% at 85% 10%,
      rgba(29, 66, 80, 0.55),
      transparent 60%
    ),
    linear-gradient(160deg, rgba(27, 33, 42, 0.4), transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(246, 244, 239, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(246, 244, 239, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 90% at 70% 20%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse 90% 90% at 70% 20%,
    black,
    transparent 75%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(96px, 14vw, 176px);
  max-width: 820px;
}

.hero h1 {
  color: var(--text-on-dark);
}

.hero .lead {
  margin-top: 28px;
  color: var(--text-on-dark-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.hero-note {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

/* ---------- Grades de cards ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: rgba(166, 121, 78, 0.45);
  transform: translateY(-3px);
}

.card-index {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--bronze);
  display: block;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 14px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.card .text-link {
  margin-top: 20px;
  font-size: 0.9rem;
}

.card .card-tags {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* Rótulo e lista de soluções (cards e personas) */
.card-list-label {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}

.card-list {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.card-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 1px;
  background: var(--bronze);
}

/* Cards sobre fundo escuro */
.section--dark .card,
.section--petrol .card {
  background: rgba(246, 244, 239, 0.04);
  border-color: var(--line-dark);
}

.section--dark .card:hover,
.section--petrol .card:hover {
  border-color: rgba(193, 154, 112, 0.5);
}

.section--dark .card p,
.section--petrol .card p {
  color: var(--text-on-dark-muted);
}

.section--dark .card-list-label,
.section--petrol .card-list-label {
  border-top-color: var(--line-dark);
  color: var(--bronze-soft);
}

.section--dark .card-list li,
.section--petrol .card-list li {
  color: var(--text-on-dark-muted);
}

.section--dark .card-list li::before,
.section--petrol .card-list li::before {
  background: var(--bronze-soft);
}

.section--dark .card h3,
.section--petrol .card h3 {
  color: var(--text-on-dark);
}

/* ---------- Personas (cards tipográficos; soluções abrem no card) ---------- */
.persona-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.persona-card {
  background: rgba(246, 244, 239, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.persona-card:hover {
  border-color: rgba(193, 154, 112, 0.5);
  background: rgba(246, 244, 239, 0.06);
}

.persona-card.is-open {
  border-color: var(--bronze-soft);
}

.persona-head {
  display: grid;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 34px 30px;
  cursor: pointer;
}

.persona-icon {
  width: 40px;
  height: 40px;
  color: var(--bronze);
}

.persona-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.25;
}

.persona-name {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.9vw, 1.55rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-on-dark);
}

.persona-teaser {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
}

.persona-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-soft);
}

.persona-toggle::before {
  content: "+";
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1;
}

.persona-card.is-open .persona-toggle::before {
  content: "\2013";
}

.persona-content {
  padding: 0 30px 34px;
  animation: persona-content-in 0.4s ease both;
}

@keyframes persona-content-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.persona-content > p:first-child {
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
}

.persona-content .card-list-label {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
  color: var(--bronze-soft);
}

.persona-content .card-list li {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
}

.persona-content .card-list li::before {
  background: var(--bronze-soft);
}

.persona-content .text-link {
  margin-top: 22px;
}

@media (max-width: 900px) {
  .persona-deck {
    grid-template-columns: 1fr;
  }
}

/* Card com ícone */
.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--bronze);
}

.card-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.25;
}

/* Lista de diferenciais */
.feature {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px 280px 1fr;
  gap: 24px;
  align-items: baseline;
}

.feature:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--bronze);
  font-size: 1rem;
}

.feature h3 {
  font-size: 1.2rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ---------- Bloco "sobre" na home ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(165deg, var(--ink-2), var(--petrol) 85%);
  border-radius: var(--radius);
  overflow: hidden;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(193, 154, 112, 0.35);
  border-radius: var(--radius);
}

.about-visual::after {
  content: "T&P";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: rgba(193, 154, 112, 0.5);
  letter-spacing: 0.05em;
}

.about-copy .lead {
  margin-top: 20px;
  margin-bottom: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--petrol-2);
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 3px;
  transition: color 0.2s ease, gap 0.25s ease;
}

.text-link:hover {
  color: var(--bronze);
  gap: 14px;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

.text-link--dark {
  color: var(--text-on-dark);
}

.text-link--dark:hover {
  color: var(--bronze-soft);
}

/* ---------- CTA final ---------- */
.cta-band {
  text-align: center;
}

.cta-band .section-head {
  margin-inline: auto;
}

.cta-band .lead {
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

/* ---------- Sócios ---------- */
.partner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}

.partner:last-of-type {
  border-bottom: 1px solid var(--line);
}

.partner-visual {
  aspect-ratio: 4 / 5;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.partner-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-info h3 {
  font-size: 1.55rem;
}

.partner-role {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 10px 0 20px;
}

.partner-info p {
  color: var(--text-muted);
  max-width: 620px;
}

.partner-info p + p {
  margin-top: 14px;
}

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.contact-channels {
  display: grid;
  gap: 8px;
  margin-top: 36px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}

.contact-channel:hover {
  color: var(--bronze);
}

.contact-channel svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.4;
  color: var(--bronze);
  flex-shrink: 0;
}

.contact-channel div {
  line-height: 1.4;
}

.contact-channel .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.contact-channel .value {
  font-weight: 500;
}

/* ---------- Convite de conversa (abre o WhatsApp real) ---------- */
.wa-invite {
  max-width: 470px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(20, 24, 30, 0.08);
}

.wa-invite-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--ink);
  color: var(--text-on-dark);
}

.wa-invite-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--petrol);
  border: 1px solid rgba(193, 154, 112, 0.5);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--bronze-soft);
  flex-shrink: 0;
}

.wa-invite-info {
  line-height: 1.35;
}

.wa-invite-info strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
}

.wa-invite-info span {
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
}

.wa-invite-body {
  display: grid;
  gap: 12px;
  padding: 26px 22px;
  background: var(--paper);
}

.wa-bubble {
  justify-self: start;
  max-width: 92%;
  padding: 13px 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-top-left-radius: 3px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--text);
}

.wa-invite-btn {
  width: 100%;
  margin-top: 12px;
  gap: 12px;
}

.wa-invite-btn svg {
  width: 20px;
  height: 20px;
}

.wa-invite-note {
  padding: 12px 22px 15px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- Hero das páginas internas ---------- */
.page-hero {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: clamp(72px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 90% at 90% 0%,
    rgba(29, 66, 80, 0.5),
    transparent 65%
  );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--text-on-dark);
  max-width: 16ch;
}

.page-hero .lead {
  margin-top: 24px;
  color: var(--text-on-dark-muted);
}

.page-hero .hero-actions {
  margin-top: 38px;
}

/* ---------- Páginas de área: conteúdo + coluna lateral ---------- */
.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.area-main {
  max-width: 62ch;
}

/* Cada tópico separado por um fio, com ritmo generoso */
.area-main > h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.area-main > h2:not(:first-child) {
  margin-top: clamp(44px, 5vw, 68px);
  padding-top: clamp(44px, 5vw, 68px);
  border-top: 1px solid var(--line);
}

.area-main > p {
  color: var(--text-muted);
  line-height: 1.8;
}

.area-main > p + p {
  margin-top: 18px;
}

.area-main > .card-list {
  margin-top: 26px;
  gap: 12px;
}

.area-main > .card-list li {
  font-size: 0.98rem;
}

/* Coluna lateral fixa */
.area-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 20px;
}

.aside-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.aside-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.aside-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.aside-card .btn {
  width: 100%;
}

.aside-links {
  display: grid;
  gap: 14px;
}

.aside-links a {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--petrol-2);
  transition: color 0.2s ease;
}

.aside-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 1px;
  background: var(--bronze);
  transition: width 0.25s ease;
}

.aside-links a:hover {
  color: var(--bronze);
}

.aside-links a:hover::before {
  width: 16px;
}

/* ---------- FAQ (details/summary nativo) ---------- */
.faq {
  border-top: 1px solid var(--line);
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 4px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  transition: color 0.2s ease;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--bronze);
}

.faq-item[open] summary::after {
  content: "\2013";
}

.faq-item summary:hover {
  color: var(--petrol-2);
}

.faq-answer {
  padding: 0 4px 28px;
}

.faq-answer p {
  max-width: 68ch;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---------- Manifesto (página O Escritório) ---------- */
.manifesto {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.manifesto p {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.5;
  color: var(--text-on-dark);
}

.manifesto p + p {
  margin-top: 28px;
}

.manifesto em {
  font-style: italic;
  color: var(--bronze-soft);
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding: clamp(56px, 8vw, 88px) 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand .brand-name {
  color: var(--text-on-dark);
  font-size: 1.35rem;
}

.footer-brand .brand-sub {
  color: rgba(243, 241, 234, 0.5);
}

.footer-brand p {
  margin-top: 20px;
  font-size: 0.92rem;
  max-width: 34em;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  margin-bottom: 20px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-col a {
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-on-dark);
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(243, 241, 234, 0.45);
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(193, 154, 112, 0.4);
  display: grid;
  place-items: center;
  color: var(--paper);
  box-shadow: 0 8px 28px rgba(20, 24, 30, 0.28);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

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

.wa-float svg {
  width: 24px;
  height: 24px;
}

/* ---------- Animação de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover,
  .persona-card:hover,
  .wa-float:hover {
    transform: none;
  }

  .persona-card {
    transition: none;
  }

  .persona-content {
    animation: none;
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

  .feature {
    grid-template-columns: 48px 1fr;
  }

  .feature p {
    grid-column: 2;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 440px;
    aspect-ratio: 16 / 10;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .area-layout {
    grid-template-columns: 1fr;
  }

  .area-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 28px 24px;
  }

  .partner {
    grid-template-columns: 1fr;
  }

  .partner-visual {
    max-width: 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
}
