/* ============================================
   R.C. PERON ADVOCACIA — STYLES
   Design system: clássico premium
   Palette: preto + dourado champagne + off-white
============================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Cores */
  --black:          #0A0A0A;
  --black-soft:     #121212;
  --black-card:     #1A1A1A;
  --black-elev:     #222222;

  --gold:           #C9A961;
  --gold-soft:      #D4B673;
  --gold-dark:      #9D7E3A;
  --gold-glow:      rgba(201, 169, 97, 0.18);

  --cream:          #F5F1E8;
  --cream-soft:     #FAF7F0;
  --white:          #FFFFFF;

  --gray:           #9A9A9A;
  --gray-dim:       #6B6B6B;
  --gray-dark:      #3A3A3A;
  --line:           rgba(255, 255, 255, 0.08);
  --line-strong:    rgba(255, 255, 255, 0.16);

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

  /* Layout */
  --container:      1280px;
  --container-narrow: 960px;
  --header-h:       96px;

  /* Spacing */
  --s-1:  0.5rem;
  --s-2:  1rem;
  --s-3:  1.5rem;
  --s-4:  2rem;
  --s-5:  2.5rem;
  --s-6:  3rem;
  --s-8:  4rem;
  --s-10: 5rem;
  --s-12: 6rem;
  --s-16: 8rem;
  --s-20: 10rem;

  /* Transitions */
  --t-fast: 180ms ease;
  --t-base: 320ms ease;
  --t-slow: 600ms cubic-bezier(0.22, 1, 0.36, 1);

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::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: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--cream);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

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

ul, ol { list-style: none; }

::selection {
  background: var(--gold);
  color: var(--black);
}

/* Acessibilidade */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--gold);
  color: var(--black);
  padding: var(--s-2) var(--s-3);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }

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

/* ---------- 3. TIPOGRAFIA ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cream);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

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

p { color: var(--gray); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--s-3);
}

.eyebrow--gold { color: var(--gold); }

.section-title {
  margin-bottom: var(--s-4);
}

.section-sub {
  font-size: 1.0625rem;
  max-width: 640px;
  color: var(--gray);
}

.section-header {
  margin-bottom: var(--s-10);
}

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

.section-header--center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 4. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-4);
}

section {
  padding: var(--s-16) 0;
  position: relative;
}

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  text-transform: none;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--gold-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--xl { padding: 1.3rem 2.5rem; font-size: 1.05rem; }

/* ---------- 6. HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), height var(--t-base);
}

.header.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--line);
  height: 76px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 88px;
  width: auto;
  transition: height var(--t-base);
}
.header.is-scrolled .header__logo img { height: 68px; }

.nav__list {
  display: flex;
  gap: var(--s-5);
}

.nav__link {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.02em;
  position: relative;
  padding: var(--s-1) 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.header__cta { display: inline-flex; }

/* Hamburger */
.hamburger {
  display: none;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  transition: transform var(--t-base), opacity var(--t-fast);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
  overflow-y: auto;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  padding: var(--s-6) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.mobile-menu__nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.mobile-menu__nav a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--cream);
  display: block;
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__nav a:hover { color: var(--gold); }

.mobile-menu__cta { margin-top: var(--s-3); align-self: flex-start; }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--s-20) 0 var(--s-12);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.75) 60%, rgba(10,10,10,0.95) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.2) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.08;
  margin-bottom: var(--s-4);
  font-weight: 500;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--cream);
  opacity: 0.85;
  max-width: 640px;
  margin-bottom: var(--s-6);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.hero__scroll {
  position: absolute;
  bottom: var(--s-6);
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  z-index: 2;
  transition: border-color var(--t-base);
}
.hero__scroll:hover { border-color: var(--gold); }
.hero__scroll span {
  width: 2px;
  height: 8px;
  background: var(--gold);
  border-radius: 1px;
  animation: scroll-pulse 2s infinite;
}
@keyframes scroll-pulse {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ---------- 8. STATS ---------- */
.stats {
  padding: var(--s-10) 0;
  background: var(--black-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  align-items: center;
}

.stats__item {
  text-align: center;
  position: relative;
}
.stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(var(--s-6) * -0.5);
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: var(--line);
}

.stats__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--s-2);
}

.stats__label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ---------- 9. SOBRE ---------- */
.sobre {
  padding-top: var(--s-20);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-10);
  align-items: center;
  margin-bottom: var(--s-16);
}

.sobre__lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--cream);
  margin-bottom: var(--s-4);
  font-weight: 300;
}

.sobre__text p:not(.eyebrow):not(.sobre__lead) {
  font-size: 1rem;
  line-height: 1.75;
}

.sobre__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 4/5;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.sobre__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}
.sobre__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pilares */
.pilares {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.pilar {
  padding: var(--s-5) var(--s-4);
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform var(--t-base), border-color var(--t-base), background var(--t-base);
}
.pilar:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dark);
  background: var(--black-elev);
}

.pilar__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-3);
  color: var(--gold);
}
.pilar__icon svg { width: 100%; height: 100%; }

.pilar__title {
  font-size: 1.25rem;
  margin-bottom: var(--s-2);
  color: var(--cream);
}

.pilar p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--gray);
}

/* ---------- 10. ÁREAS ---------- */
.areas {
  background: var(--black-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Evita borda dupla quando Equipe e Áreas estão adjacentes (mesmo fundo) */
.equipe + .areas {
  border-top: none;
}

.areas__tabs {
  display: flex;
  gap: var(--s-1);
  margin-bottom: var(--s-8);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge antigo */
}
.areas__tabs::-webkit-scrollbar { display: none; }  /* Chrome/Safari */

.tab {
  padding: var(--s-2) var(--s-4);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.04em;
  position: relative;
  transition: color var(--t-fast);
}
.tab::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--t-base);
}
.tab:hover { color: var(--cream); }
.tab.tab--active {
  color: var(--gold);
}
.tab.tab--active::after {
  transform: scaleX(1);
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

.area {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.area:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
  background: var(--black-elev);
}
.area:hover::before { transform: scaleX(1); }

.area.is-hidden {
  display: none;
}

.area__head {
  margin-bottom: var(--s-3);
}

.area__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-2);
  padding-bottom: var(--s-1);
}

.area__title {
  font-size: 1.4rem;
  color: var(--cream);
  font-weight: 500;
}

.area p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--gray);
}

/* Link discreto pra LP de flagrante (só no card Criminal) */
.area__link {
  display: inline-flex;
  align-items: center;
  margin-top: var(--s-3);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  transition: color var(--t-fast), letter-spacing var(--t-base);
}
.area__link:hover {
  color: var(--gold-soft);
  letter-spacing: 0.08em;
}

/* ---------- 11. ESTRUTURA (GALERIA) ---------- */
.estrutura {
  padding-top: var(--s-20);
  padding-bottom: var(--s-20);
}

.estrutura__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-4);
}

.estrutura__item {
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 4/3;
  position: relative;
}
/* A grande herda altura das 2 pequenas empilhadas (proporção 4/3 igual) */
.estrutura__item--lg {
  grid-row: span 2;
  aspect-ratio: auto;
}
.estrutura__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.estrutura__item:hover img {
  transform: scale(1.04);
}

/* ---------- 12. EQUIPE ---------- */
.equipe {
  background: var(--black-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.equipe__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6) var(--s-5);
}

.advogado {
  display: flex;
  flex-direction: column;
}

.advogado__photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 4/5;
  margin-bottom: var(--s-4);
  background: var(--black-card);
}
.advogado__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}
.advogado__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
  filter: grayscale(15%);
}
.advogado:hover .advogado__photo img {
  transform: scale(1.04);
  filter: grayscale(0);
}

.advogado__name {
  font-size: 1.35rem;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.advogado__role {
  font-size: 0.95rem;
  color: var(--gold);
  font-style: italic;
  font-family: var(--font-serif);
  margin-bottom: var(--s-1);
}

.advogado__oab {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gray-dim);
  margin-bottom: var(--s-3);
  text-transform: uppercase;
}

.advogado__bio {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ---------- 13. METODOLOGIA ---------- */
.metodologia {
  padding-top: var(--s-20);
  padding-bottom: var(--s-20);
}

.metodo__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
  position: relative;
}
.metodo__list::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold-dark), transparent);
}

.metodo__step {
  text-align: center;
  padding: 0 var(--s-2);
  position: relative;
  z-index: 1;
}

.metodo__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: var(--s-3);
}

.metodo__title {
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: var(--s-2);
}

.metodo__step p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--gray);
}

/* ---------- 13.5 FAQ (accordion) ---------- */
.faq {
  padding: var(--s-16) 0;
}

.faq__groups {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
}

.faq__group {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.faq__group-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-2);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--line);
}

.faq__item {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--t-base), background var(--t-base);
  overflow: hidden;
}
.faq__item:hover { border-color: var(--line-strong); }
.faq__item[open] {
  border-color: var(--gold-dark);
  background: var(--black-elev);
}

.faq__q {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--cream);
  padding: var(--s-3) var(--s-4);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  letter-spacing: -0.005em;
  transition: color var(--t-fast);
  user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold); }

/* Chevron */
.faq__q::after {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform var(--t-base);
}
.faq__item[open] .faq__q::after {
  transform: rotate(180deg);
}

.faq__a {
  padding: 0 var(--s-4) var(--s-4);
  animation: faq-fade 280ms ease;
}
.faq__a p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray);
}
.faq__a a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq__a a:hover { color: var(--gold-soft); }
.faq__a strong { color: var(--cream); }

@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 14. DEPOIMENTOS ---------- */
.depoimentos {
  background: var(--black-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.depo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.depo {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6) var(--s-5);
  position: relative;
  transition: all var(--t-base);
}
.depo:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
}

.depo__quote {
  width: 32px;
  height: 32px;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: var(--s-3);
}

.depo__text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--cream);
  margin-bottom: var(--s-4);
}

.depo__author {
  border-top: 1px solid var(--line);
  padding-top: var(--s-3);
  font-style: normal;
}
.depo__author strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 2px;
}
.depo__author span {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dim);
}

/* ---------- 15. CTA FINAL ---------- */
.cta-final {
  padding: var(--s-20) 0;
  background:
    radial-gradient(ellipse at center top, rgba(201, 169, 97, 0.08), transparent 70%),
    var(--black);
  text-align: center;
}

.cta-final__inner {
  max-width: 760px;
}

.cta-final__title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: var(--s-4);
}

.cta-final__text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: var(--s-6);
}

.cta-final__info {
  margin-top: var(--s-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.cta-final__info li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.95rem;
  color: var(--gray);
}
.cta-final__info svg {
  color: var(--gold);
  flex-shrink: 0;
}
.cta-final__info a:hover { color: var(--gold); }

/* ---------- 16. FOOTER ---------- */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: var(--s-10) 0 var(--s-4);
  text-align: center;
}

/* Brand: logo + tagline */
.footer__brand {
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--line);
}
.footer__brand img {
  height: 140px;
  width: auto;
  margin: 0 auto var(--s-3);
  display: block;
}
.footer__brand p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--gray);
  max-width: 720px;
  margin: 0 auto;
}

/* Linha de contato com ícones */
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s-2) var(--s-5);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--line);
}
.footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.9rem;
  color: var(--gray);
  transition: color var(--t-fast);
  white-space: nowrap;
}
a.footer__contact-item:hover { color: var(--gold); }
.footer__contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
}
.footer__plantao {
  color: var(--gold);
  font-weight: 500;
}

/* Navegação inline */
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-1) var(--s-4);
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.footer__nav a {
  font-size: 0.85rem;
  color: var(--gray);
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
}
.footer__nav a:hover { color: var(--gold); }

/* Legal: responsável técnico + copyright */
.footer__legal p {
  font-size: 0.78rem;
  color: var(--gray-dim);
  line-height: 1.55;
  margin-bottom: var(--s-1);
}
.footer__legal strong {
  color: var(--gray);
  font-weight: 500;
}

/* Compatibilidade com privacidade.html e perguntas.html (que usam só .footer__bottom + .footer__copy) */
.footer__bottom { padding-top: 0; }
.footer__copy {
  font-size: 0.82rem;
  color: var(--gray-dim);
}
.footer__copy a:hover { color: var(--gold); }

/* ---------- 17. WHATSAPP FLUTUANTE ---------- */
.wa-float {
  position: fixed;
  bottom: var(--s-4);
  right: var(--s-4);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 80;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}
.wa-float svg { width: 28px; height: 28px; }

/* ---------- 18. SCROLL REVEAL ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   RESPONSIVE
============================================= */

/* ---------- TABLET (até 1024px) ---------- */
@media (max-width: 1024px) {
  section { padding: var(--s-12) 0; }
  .sobre, .estrutura, .metodologia, .cta-final { padding-top: var(--s-12); padding-bottom: var(--s-12); }

  .sobre__grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .sobre__image { max-width: 500px; margin: 0 auto; }

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

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

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

  .metodo__list { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-3); }
  .metodo__list::before { display: none; }

  .depo__grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }

  .estrutura__grid {
    grid-template-columns: 1fr 1fr;
  }
  .estrutura__item--lg { grid-row: span 1; grid-column: span 2; aspect-ratio: 16/9; }

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

/* ---------- MOBILE GRANDE / TABLET PEQUENO (até 768px) ---------- */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Tipografia base levemente reduzida pra caber mais */
  body { font-size: 15.5px; line-height: 1.6; }

  /* Section padding mais comportado */
  section { padding: var(--s-10) 0; }

  /* Container mais espremido nas bordas */
  .container { padding: 0 var(--s-3); }

  /* ===== HEADER ===== */
  .nav, .header__cta { display: none; }
  .hamburger {
    display: flex;
    width: 44px;          /* touch target mínimo Apple/Google */
    height: 44px;
    padding: 10px;
    margin-right: -10px;  /* extende área tocável sem deslocar visualmente */
  }
  .header__logo img,
  .header.is-scrolled .header__logo img { height: 40px; }
  .header.is-scrolled { height: 56px; }

  /* ===== MOBILE MENU ===== */
  .mobile-menu__nav a {
    font-size: 1.45rem;
    padding: var(--s-2) 0;
  }
  .mobile-menu__nav ul { gap: var(--s-2); }

  /* ===== HERO — altura comportada, padding calculado, sem URL bar ===== */
  .hero {
    min-height: 88vh;
    min-height: 88svh;   /* svh = altura sem barra de URL do mobile */
    padding-top: calc(var(--header-h) + var(--s-5));
    padding-bottom: var(--s-8);
  }
  .hero__title {
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.12;
    margin-bottom: var(--s-3);
  }
  .hero__subtitle {
    font-size: 1rem;
    line-height: 1.55;
    max-width: none;
    margin-bottom: var(--s-5);
  }
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-2);
  }
  .hero__ctas .btn { justify-content: center; }
  .hero__scroll { display: none; }

  /* ===== STATS ===== */
  .stats { padding: var(--s-6) 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-3); }
  .stats__item:not(:last-child)::after { display: none; }
  .stats__num { font-size: 2.5rem; margin-bottom: var(--s-1); }
  .stats__label { font-size: 0.75rem; letter-spacing: 0.08em; }

  /* ===== SOBRE + PILARES — 2 colunas pra menos scroll ===== */
  .sobre { padding-top: var(--s-12); }
  .sobre__lead { font-size: 1.05rem; line-height: 1.55; }
  .sobre__text p:not(.eyebrow):not(.sobre__lead) { font-size: 0.95rem; line-height: 1.65; }

  .pilares { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .pilar { padding: var(--s-4) var(--s-3); }
  .pilar__icon { width: 40px; height: 40px; margin-bottom: var(--s-2); }
  .pilar__title { font-size: 1rem; margin-bottom: var(--s-1); }
  .pilar p { font-size: 0.84rem; line-height: 1.5; }

  /* ===== ÁREAS ===== */
  .areas__tabs {
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: var(--s-4);
  }
  .tab { padding: var(--s-2) var(--s-3); font-size: 0.85rem; white-space: nowrap; }
  .areas__grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .area { padding: var(--s-4); }
  .area__title { font-size: 1.2rem; }
  .area p { font-size: 0.9rem; }

  /* ===== ESTRUTURA ===== */
  .estrutura__grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .estrutura__item--lg { grid-column: span 1; aspect-ratio: 4/3; }

  /* ===== EQUIPE — 2 colunas pra menos scroll (vs 6 cards em coluna única) ===== */
  .equipe { padding: var(--s-10) 0; }
  .equipe__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-5) var(--s-3);
    max-width: none;
  }
  .advogado__photo { margin-bottom: var(--s-2); }
  .advogado__name { font-size: 1rem; line-height: 1.2; }
  .advogado__role { font-size: 0.85rem; }
  .advogado__oab { font-size: 0.68rem; margin-bottom: var(--s-2); }
  .advogado__bio { font-size: 0.8rem; line-height: 1.55; }

  /* ===== METODOLOGIA ===== */
  .metodologia { padding-top: var(--s-10); padding-bottom: var(--s-10); }
  .metodo__list { grid-template-columns: 1fr; gap: var(--s-5); }
  .metodo__step { padding: 0; }
  .metodo__num { width: 56px; height: 56px; font-size: 1.25rem; }

  /* ===== DEPOIMENTOS ===== */
  .depoimentos { padding: var(--s-10) 0; }
  .depo__grid { grid-template-columns: 1fr; max-width: none; gap: var(--s-3); }
  .depo { padding: var(--s-4); }
  .depo__text { font-size: 1.05rem; }

  /* ===== CTA FINAL ===== */
  .cta-final { padding: var(--s-12) 0; }
  .cta-final__title { font-size: clamp(1.85rem, 7vw, 2.5rem); }
  .cta-final__text { font-size: 1rem; }
  .cta-final__info {
    gap: var(--s-2);
    padding-top: var(--s-4);
    margin-top: var(--s-5);
  }
  .cta-final__info li {
    text-align: left;
    line-height: 1.4;
    font-size: 0.88rem;
    align-items: flex-start;
  }
  .cta-final__info svg { margin-top: 2px; }

  /* ===== FOOTER ===== */
  .footer {
    padding: var(--s-8) 0 calc(var(--s-4) + 60px); /* extra padding embaixo pro WA float não cobrir */
  }
  .footer__brand {
    margin-bottom: var(--s-5);
    padding-bottom: var(--s-5);
  }
  .footer__brand img { height: 90px; }
  .footer__brand p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .footer__contact {
    flex-direction: column;
    gap: var(--s-2);
    margin-bottom: var(--s-5);
    padding-bottom: var(--s-5);
  }
  .footer__contact-item {
    font-size: 0.88rem;
    white-space: normal;
  }

  .footer__nav {
    gap: var(--s-1) var(--s-2);
    line-height: 1.8;
  }
  .footer__nav a { font-size: 0.8rem; }

  .footer__legal p { font-size: 0.74rem; }

  /* ===== WHATSAPP FLUTUANTE — safe-area pra iPhone com home indicator ===== */
  .wa-float {
    bottom: max(var(--s-3), env(safe-area-inset-bottom));
    right: var(--s-3);
    width: 52px;
    height: 52px;
  }
  .wa-float svg { width: 26px; height: 26px; }

  /* ===== SECTION HEADERS / TÍTULOS ===== */
  .section-header { margin-bottom: var(--s-6); }
  .section-sub { font-size: 0.95rem; }

  /* ===== FAQ (perguntas.html) ===== */
  .faq__groups { gap: var(--s-6); }
  .faq__q { font-size: 0.98rem; padding: var(--s-3); gap: var(--s-2); }
  .faq__a { padding: 0 var(--s-3) var(--s-3); }
  .faq__a p { font-size: 0.9rem; }
}

/* ---------- MOBILE PEQUENO (até 480px) ---------- */
@media (max-width: 480px) {
  .hero__title { font-size: 1.85rem; }
  .section-title { font-size: 1.65rem; }
  .stats__num { font-size: 2.1rem; }
  .stats__label { font-size: 0.7rem; }

  /* Footer copy mais compacto */
  .footer__legal, .footer__copy { font-size: 0.78rem; line-height: 1.4; }
}

/* ---------- MOBILE MICRO (até 360px — iPhone SE 1ª gen, Galaxy S antigo) ---------- */
@media (max-width: 360px) {
  /* Cards 2 cols ficam apertados — volta pra 1 col */
  .equipe__grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .pilares { grid-template-columns: 1fr; }
  .stats__num { font-size: 1.8rem; }
  .hero__title { font-size: 1.7rem; }
}
