@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --black: #0a0a0b;
  --black-soft: #141416;
  --black-elev: #1c1c20;
  --white: #ffffff;
  --offwhite: #f7f7f8;
  --gray: #4a4a4a;
  --gray-light: #f6f6f7;
  --gray-mid: #c8c8c8;
  --silver: #b8bcc4;
  --silver-light: #dfe2e7;
  --silver-dark: #8a8f99;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 50px -28px rgba(10, 10, 11, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

/* Ampersand da marca — glifo mais limpo e discreto que o do Playfair */
.amp {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-style: normal;
  color: var(--silver);
  margin: 0 0.08em;
  font-size: 0.82em;
  vertical-align: 0.02em;
}

/* HEADER */
header {
  background: var(--black);
  padding: 0 5%;
  position: sticky;
  top: 0;
  z-index: 1300;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.logo-name {
  display: block;
  white-space: nowrap;
}

/* na logo o & fica branco e um pouco mais sutil, sem destoar do nome */
.logo .amp {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0.04em;
  white-space: nowrap;
}

.logo-oab {
  display: block;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--silver) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.logo-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--silver);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
}

nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

nav a {
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--silver);
  transition: width 0.25s ease;
}

nav a:hover,
nav a.active {
  color: var(--white);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* nav CTA pill */
nav a.nav-cta {
  color: var(--black);
  background: linear-gradient(135deg, #e9ecf1, #b8bcc4);
  padding: 9px 22px;
  border-radius: 40px;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: filter 0.2s, transform 0.15s;
}

nav a.nav-cta::after {
  display: none;
}

nav a.nav-cta:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(184, 188, 196, 0.5);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* HERO — imagem de capa full-width com texto por cima */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: var(--white);
  background:
    linear-gradient(to bottom, rgba(6, 6, 8, 0.72) 0%, rgba(6, 6, 8, 0.6) 55%, rgba(6, 6, 8, 0.82) 100%),
    url('../img/Capa.png') center center / cover no-repeat;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 90px 5%;
  min-height: min(620px, calc(82vh - 76px));
  position: relative;
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 760px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.4rem;
}

.hero-eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--silver);
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero h1 .amp {
  color: var(--silver);
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.8rem;
}

.hero-desc {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 2.4rem;
  line-height: 1.85;
  max-width: 580px;
}

.hero-divider {
  width: 44px;
  height: 1px;
  background: var(--silver);
  margin: 0 auto 1.8rem;
  opacity: 0.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  justify-content: center;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 32px;
  background: linear-gradient(135deg, #e9ecf1, #b8bcc4);
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 40px;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(184, 188, 196, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(223, 226, 231, 0.5);
  color: var(--silver-light);
  margin-left: 0.8rem;
}

.btn-outline:hover {
  background: rgba(223, 226, 231, 0.12);
  border-color: var(--silver-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: none;
  filter: none;
}

/* btn escuro para fundos claros */
.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--black-elev);
  box-shadow: 0 8px 22px rgba(10, 10, 11, 0.25);
}

/* SECTIONS */
section {
  padding: 100px 5%;
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-dark);
  margin-bottom: 0.8rem;
}

.section-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--silver-dark);
  flex-shrink: 0;
}

/* eyebrow centralizado (seções center) */
.cta-section .section-eyebrow,
.mvv-section .section-eyebrow {
  justify-content: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.section-line {
  width: 40px;
  height: 1px;
  background: var(--silver-dark);
  margin-bottom: 2.6rem;
  opacity: 0.8;
}

/* AREAS */
.areas-section {
  background: var(--offwhite);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2.6rem;
}

.area-card {
  position: relative;
  background: var(--white);
  border: 1px solid #e8e8ec;
  border-radius: var(--radius);
  padding: 2.6rem 2rem 2.2rem;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.area-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
  border-color: #d4d6db;
}

.area-num {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  color: #ececee;
  transition: color 0.3s;
  user-select: none;
}

.area-card:hover .area-num {
  color: var(--silver);
}

.area-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: transform 0.3s, background 0.3s;
}

.area-card:hover .area-icon {
  transform: translateY(-2px);
}

.area-icon svg {
  width: 24px;
  height: 24px;
  color: var(--silver-light);
}

.area-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.5rem;
}

/* traço decorativo que cresce no hover */
.area-card h3 + p::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--silver-dark);
  margin-bottom: 0.9rem;
  transition: width 0.3s ease;
}

.area-card:hover h3 + p::before {
  width: 48px;
}

.area-card p {
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
}

/* DESTAQUE DIREITO CIVIL */
.civil-section {
  background: var(--white);
}

.civil-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3.4rem;
  align-items: start;
}

.civil-intro .civil-slogan {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 1.4rem;
}

.civil-intro p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--gray);
  margin-bottom: 1.1rem;
}

.civil-intro p:last-child {
  margin-bottom: 0;
}

.civil-temas {
  background: var(--black);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  position: sticky;
  top: 90px;
}

.civil-temas-titulo {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.3rem;
}

.civil-temas ul {
  list-style: none;
}

.civil-temas li {
  position: relative;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.civil-temas li:last-child {
  border-bottom: none;
}

.civil-temas li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 7px;
  height: 1px;
  background: var(--silver);
}

/* MISSAO VISAO VALORES */
.mvv-section {
  background: var(--black);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.mvv-section .section-inner {
  position: relative;
  z-index: 2;
}

.mvv-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(184, 188, 196, 0.08), transparent 70%);
  pointer-events: none;
}

.mvv-section .section-eyebrow {
  color: var(--silver);
}

.mvv-section .section-line {
  margin-left: auto;
  margin-right: auto;
}

.mvv-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 2.6rem;
  text-align: left;
}

.mvv-highlight {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 2.6rem 2.2rem 2.2rem 2.6rem;
  overflow: hidden;
}

.mvv-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  top: 2.6rem;
  bottom: 2.6rem;
  width: 2px;
  background: linear-gradient(var(--silver), transparent);
}

.mvv-roman {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--silver);
  display: block;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.mvv-highlight h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.mvv-highlight p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.68);
}

.mvv-valores {
  margin-top: 2rem;
  padding-top: 2.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
}

.mvv-valores-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
}

.mvv-roman-inline {
  font-size: 1.1rem;
  color: var(--silver);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.4rem 2.6rem;
}

.valor-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.valor-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--silver-dark);
  padding-top: 0.25rem;
  min-width: 22px;
}

.valor-item strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--silver-light);
  margin-bottom: 0.2rem;
}

.valor-item p {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

/* EQUIPE / LAWYER CARDS */
.equipe {
  background: var(--offwhite);
}

.equipe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-top: 2.4rem;
}

.advogado-card {
  position: relative;
  background: var(--white);
  border: 1px solid #e8e8ec;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: stretch;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.advogado-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
  border-color: #d4d6db;
}

.advogado-foto {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-right: 3px solid var(--silver);
}

.advogado-card .card-body {
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.advogado-card .adv-nome {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.advogado-card .adv-oab {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dark);
  margin-bottom: 1rem;
}

.advogado-card .adv-desc {
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1.3rem;
}

.advogado-card .adv-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--silver-dark);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}

.advogado-card .adv-link:hover {
  color: var(--silver-dark);
  gap: 0.65rem;
}

/* PHOTO PLACEHOLDER */
.foto-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(45deg, #ededf0, #ededf0 12px, #e4e4e8 12px, #e4e4e8 24px);
  border-bottom: 3px solid var(--silver);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--silver-dark);
  text-align: center;
}

.foto-placeholder .ph-mono {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--silver-dark);
  width: 70px;
  height: 70px;
  border: 1px solid var(--silver-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
}

.foto-placeholder .ph-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* PROFILE SWITCHER (advogados page) */
.perfil-wrap {
  background: var(--black);
  color: var(--white);
  padding: 70px 5% 100px;
  position: relative;
  overflow: hidden;
}

.perfil-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(184, 188, 196, 0.1), transparent 55%);
  transition: background 1s ease;
}

.perfil-bg.right {
  background: radial-gradient(circle at 80% 30%, rgba(184, 188, 196, 0.1), transparent 55%);
}

.perfil-inner {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.perfil-content {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
  min-height: 460px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* impede o carrossel (faixa larga) de estourar a coluna do grid */
.perfil-detalhe {
  min-width: 0;
}

/* Dra. Lilian: layout espelhado (foto à direita) */
.perfil-content[data-side="right"] {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.perfil-content[data-side="right"] .perfil-foto {
  order: 2;
}

.perfil-content[data-side="right"] .perfil-detalhe {
  order: 1;
  text-align: right;
}

.perfil-content[data-side="right"] .perfil-areas {
  justify-content: flex-end;
}

.perfil-content[data-side="right"] .perfil-galeria-titulo {
  text-align: right;
}

.perfil-content.fading {
  opacity: 0;
  transform: translateX(24px);
}

.perfil-content[data-side="right"].fading {
  transform: translateX(-24px);
}

.perfil-foto {
  position: relative;
}

.perfil-foto::before,
.perfil-foto::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: 3;
  pointer-events: none;
}

.perfil-foto::before {
  top: -10px;
  left: -10px;
  border-top: 1px solid var(--silver);
  border-left: 1px solid var(--silver);
}

.perfil-foto::after {
  bottom: -10px;
  right: -10px;
  border-bottom: 1px solid var(--silver);
  border-right: 1px solid var(--silver);
}

.perfil-foto .foto-placeholder,
.perfil-foto .foto-real {
  border-radius: var(--radius-sm);
  border-bottom: 3px solid var(--silver);
  max-width: 340px;
}

.perfil-foto .foto-real {
  width: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.perfil-foto .foto-placeholder {
  background:
    repeating-linear-gradient(45deg, #202024, #202024 12px, #1a1a1d 12px, #1a1a1d 24px);
  color: var(--silver);
}

.perfil-foto .foto-placeholder .ph-mono {
  color: var(--silver);
  border-color: var(--silver);
  background: rgba(255, 255, 255, 0.04);
}

.perfil-detalhe .perfil-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dark);
  margin-bottom: 0.6rem;
}

.perfil-detalhe .perfil-nome {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.perfil-detalhe .perfil-oab {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.4rem;
}

.perfil-detalhe .perfil-bio p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.1rem;
}

.perfil-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 1.8rem;
}

.perfil-areas span {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: 40px;
}

.perfil-pendente {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.perfil-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* galeria do perfil */
.perfil-galeria {
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.perfil-galeria-titulo {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dark);
  margin-bottom: 1rem;
}

/* carrossel em loop continuo */
.carrossel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.carrossel-track {
  display: flex;
  gap: 0.8rem;
  width: max-content;
  animation: carrossel-scroll 32s linear infinite;
}

.carrossel:hover .carrossel-track {
  animation-play-state: paused;
}

.carrossel-item {
  margin: 0;
  position: relative;
  flex: 0 0 auto;
  width: 190px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carrossel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(0.15);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s;
}

.carrossel-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0);
}

/* a faixa tem 2 conjuntos iguais; -50% completa um ciclo perfeito */
@keyframes carrossel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .carrossel-track {
    animation: none;
  }
  .carrossel {
    overflow-x: auto;
  }
}

/* switcher control */
.switcher {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.switcher-track {
  display: flex;
  gap: 0.3rem;
  padding: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 46px;
  backdrop-filter: blur(10px);
}

.switcher-btn {
  position: relative;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 10px 26px;
  border-radius: 40px;
  cursor: pointer;
  transition: color 0.3s;
  white-space: nowrap;
}

.switcher-btn.active {
  color: var(--black);
  background: linear-gradient(135deg, #e9ecf1, #b8bcc4);
}

.switcher-btn:not(.active):hover {
  color: var(--white);
}

/* FAQ */
.faq-list {
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid #e8e8ec;
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.open {
  border-color: #d4d6db;
  box-shadow: 0 10px 30px -22px rgba(10, 10, 11, 0.4);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.2rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 400;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--silver-dark);
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--silver-dark);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.4rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-group-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--black);
  margin: 2.6rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.faq-group-title::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--silver-dark);
  flex-shrink: 0;
}

.faq-group-title:first-of-type {
  margin-top: 0;
}

/* CONTATO */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 2rem;
}

.contato-info p {
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--gray);
  line-height: 1.6;
}

.map-container {
  margin-top: 1.8rem;
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border-bottom: 3px solid var(--silver);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* card do formulário */
.form-card {
  background: var(--white);
  border: 1px solid #e8e8ec;
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow-soft);
}

form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-field {
  position: relative;
  margin-bottom: 1.4rem;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #d0d0d0;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}

form input::placeholder,
form textarea::placeholder {
  color: #aaa;
  font-weight: 300;
}

form select {
  color: #aaa;
  cursor: pointer;
}

form select.filled {
  color: var(--black);
}

form input:focus,
form textarea:focus,
form select:focus {
  border-bottom-color: var(--black);
}

form textarea {
  resize: none;
  min-height: 100px;
  padding-top: 10px;
}

.form-submit {
  margin-top: 0.8rem;
}

form button[type="submit"] {
  align-self: flex-start;
}

.form-success {
  display: none;
  padding: 14px 0;
  font-size: 0.88rem;
  font-weight: 400;
  color: #2e7d32;
  border-bottom: 1px solid #a5d6a7;
}

.contato-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #f0f0f0;
}

.contato-item:last-of-type {
  border-bottom: none;
}

.contato-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dark);
  margin-bottom: 0.25rem;
}

.contato-valor {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--gray);
}

.contato-link {
  color: var(--black);
  font-weight: 400;
  transition: color 0.2s;
}

.contato-link:hover {
  color: var(--silver-dark);
}

/* PAGE HERO (internas) */
.page-hero {
  background: var(--black);
  padding: 36px 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -5%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(184, 188, 196, 0.08), transparent 70%);
  pointer-events: none;
}

.page-hero .section-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  z-index: 2;
}

.page-hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.page-hero-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
}

/* CTA SECTION — card arredondado */
.cta-section {
  background: var(--offwhite);
  padding: 100px 5%;
}

.cta-section .section-inner {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 70px 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .section-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(184, 188, 196, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-section .section-inner > * {
  position: relative;
  z-index: 2;
}

.cta-section .section-title {
  color: var(--white);
}

.cta-section .section-eyebrow {
  color: var(--silver);
}

.cta-section .section-line {
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 2.4rem;
}

/* ANIMACOES */
.animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.delay-1 { transition-delay: 0.1s; }
.animate.delay-2 { transition-delay: 0.2s; }
.animate.delay-3 { transition-delay: 0.3s; }
.animate.delay-4 { transition-delay: 0.4s; }

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* FOOTER */
footer {
  background: #060608;
  color: rgba(255, 255, 255, 0.42);
  padding: 64px 5% 50px;
  text-align: center;
}

footer .footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

footer .footer-name {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

footer .footer-oab {
  color: var(--silver);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

footer p {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.9;
}

footer .footer-divider {
  width: 36px;
  height: 1px;
  background: rgba(184, 188, 196, 0.35);
  margin: 1.6rem auto;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

footer .footer-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: var(--white);
}

footer .footer-credit a {
  color: var(--silver);
  font-weight: 500;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25d366;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  animation: pulse-breath 3s ease-in-out infinite;
}

@keyframes pulse-breath {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); }
  50%       { transform: scale(1.07); box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5); }
}

.whatsapp-float:hover {
  animation: none;
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner {
    min-height: auto;
    padding: 64px 5% 72px;
  }

  .hero-desc {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* painel do menu mobile: flutua POR CIMA de tudo (fixed) e mais translúcido */
  nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 88px;
    left: 12px;
    right: 12px;
    z-index: 1200;
    background: rgba(10, 10, 11, 0.32);
    backdrop-filter: blur(26px) saturate(150%);
    -webkit-backdrop-filter: blur(26px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 1.4rem 1.6rem;
    gap: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  }

  nav.open {
    display: flex;
    animation: nav-pop 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes nav-pop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* fundo escurecido atrás do menu, cobrindo a página ao rolar */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(6, 6, 8, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  nav a:last-child {
    border-bottom: none;
  }

  nav a.nav-cta {
    margin-top: 1rem;
    text-align: center;
    padding: 12px 22px;
  }

  nav a.nav-cta::after {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* logo mais compacta no mobile para não empurrar o layout */
  .header-inner {
    gap: 1rem;
  }

  .logo {
    font-size: 1rem;
    min-width: 0;
  }

  .logo-name {
    white-space: normal;
  }

  .logo-oab {
    display: block;
  }

  section {
    padding: 60px 5%;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 6.5vw, 2.1rem);
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-desc {
    font-size: 0.93rem;
  }

  .hero-inner .btn,
  .hero-inner .btn-outline {
    display: flex;
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 0.8rem;
  }

  .contato-grid,
  .equipe-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .equipe-grid {
    gap: 1.6rem;
  }

  .advogado-card {
    grid-template-columns: 120px 1fr;
  }

  .advogado-foto {
    min-height: 180px;
  }

  .advogado-card .card-body {
    padding: 1.3rem 1.3rem;
  }

  .perfil-content,
  .perfil-content[data-side="right"] {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    text-align: center;
  }

  /* no mobile ambos os perfis ficam na mesma ordem (foto em cima) e centralizados */
  .perfil-content[data-side="right"] .perfil-foto {
    order: 0;
  }

  .perfil-content[data-side="right"] .perfil-detalhe {
    order: 0;
    text-align: center;
  }

  .perfil-content[data-side="right"] .perfil-areas {
    justify-content: center;
  }

  .perfil-content[data-side="right"] .perfil-galeria-titulo,
  .perfil-galeria-titulo {
    text-align: center;
  }

  .perfil-foto {
    max-width: 210px;
    margin: 0 auto;
  }

  .perfil-foto .foto-real {
    aspect-ratio: 4 / 5;
    height: auto;
    object-position: center top;
  }

  .perfil-areas {
    justify-content: center;
  }

  .perfil-detalhe .perfil-nome {
    font-size: 1.7rem;
  }

  .carrossel-item {
    width: 150px;
  }

  form input,
  form textarea,
  form select {
    font-size: 1rem;
  }

  form button[type="submit"] {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }

  .map-container {
    height: 190px;
  }

  .cta-section {
    padding: 60px 5%;
  }

  .cta-section .section-inner {
    padding: 50px 8%;
  }

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

  .mvv-top {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .valores-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mvv-highlight {
    padding: 2rem 1.6rem 1.8rem 2rem;
  }

  .form-card {
    padding: 2rem 1.6rem;
  }

  /* grids: impedir que o conteúdo force largura mínima */
  .areas-grid,
  .valores-grid,
  .mvv-top,
  .contato-grid,
  .equipe-grid,
  .civil-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .civil-grid {
    gap: 2rem;
  }

  .civil-temas {
    position: static;
    padding: 1.8rem 1.6rem;
  }

  /* page-hero interno: título não corta */
  .page-hero h1 {
    font-size: 1.15rem;
  }

  .page-hero .section-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* perfil (advogados): botão full-width e tags centralizadas */
  .perfil-cta {
    width: 100%;
  }

  .perfil-detalhe .perfil-bio p {
    font-size: 0.9rem;
  }

  /* switcher dos advogados cabe em telas estreitas */
  .switcher-track {
    width: 100%;
  }

  .switcher-btn {
    flex: 1;
    padding: 10px 14px;
    text-align: center;
  }
}

/* Telas bem estreitas (celulares pequenos) */
@media (max-width: 400px) {
  section {
    padding: 52px 5%;
  }

  .hero-inner {
    padding: 56px 6% 64px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .brand-areas li,
  .perfil-areas span {
    font-size: 0.66rem;
  }

  footer .footer-links {
    gap: 1.1rem;
  }

  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
  }
}

/* ===================== CTA com dois botões ===================== */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.cta-actions .btn {
  margin-left: 0;
}

/* dica do formulário de contato */
.form-hint {
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--silver-dark);
}

/* ===================== PRÉ-ATENDIMENTO (TRIAGEM) ===================== */
.tri-lock {
  overflow: hidden;
}

.tri-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 6, 8, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.tri-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.tri-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2010;
  width: calc(100vw - 2rem);
  max-width: 460px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e5e5ea;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(10, 10, 11, 0.6);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.tri-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* barra de progresso */
.tri-progress {
  height: 3px;
  background: #ececef;
  flex-shrink: 0;
}

.tri-progress-bar {
  display: block;
  height: 100%;
  width: 16%;
  background: linear-gradient(90deg, var(--silver-dark), var(--black));
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* cabeçalho */
.tri-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem 0.4rem;
  flex-shrink: 0;
}

.tri-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dark);
}

.tri-back[hidden] {
  display: none;
}

.tri-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--silver-dark);
  transition: color 0.2s;
}

.tri-back svg {
  width: 1rem;
  height: 1rem;
}

.tri-back:hover {
  color: var(--black);
}

.tri-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  color: var(--silver-dark);
  transition: background 0.2s, color 0.2s;
}

.tri-close svg {
  width: 1.1rem;
  height: 1.1rem;
}

.tri-close:hover {
  background: #f0f0f2;
  color: var(--black);
}

/* corpo rolável */
.tri-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.6rem 1.3rem 1.5rem;
}

.tri-step {
  opacity: 0;
  transform: translateX(12px);
}

.tri-step.tri-step-in {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.tri-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.2;
}

.tri-sub {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--gray);
}

/* opções */
.tri-options {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.6rem;
}

.tri-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  text-align: left;
  padding: 0.9rem 1.1rem;
  background: var(--white);
  border: 1px solid #e2e2e7;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.tri-option:hover {
  border-color: var(--black);
  background: var(--gray-light);
}

.tri-option:active {
  transform: scale(0.99);
}

.tri-chevron {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--silver-dark);
}

/* ir direto ao whatsapp */
.tri-direct {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid #eeeef1;
  text-align: center;
}

.tri-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--silver-dark);
  transition: color 0.2s, gap 0.2s;
}

.tri-direct-link .tri-arrow {
  width: 0.95rem;
  height: 0.95rem;
}

.tri-direct-link:hover {
  color: var(--black);
  gap: 0.6rem;
}

/* formulários dentro da triagem */
.tri-form {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.8rem;
}

.tri-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid #d9d9df;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
}

.tri-input:focus {
  border-color: var(--black);
}

.tri-textarea {
  resize: none;
  min-height: 110px;
  line-height: 1.6;
}

.tri-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.2rem;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}

.tri-next .tri-arrow {
  width: 1rem;
  height: 1rem;
}

.tri-next:hover {
  background: var(--black-elev);
  transform: translateY(-1px);
}

.tri-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* resumo */
.tri-summary {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.6rem;
  padding: 1.1rem 1.2rem;
  background: var(--gray-light);
  border: 1px solid #e6e6ea;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.tri-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.tri-row-label {
  color: var(--silver-dark);
}

.tri-row-value {
  text-align: right;
  font-weight: 500;
  color: var(--black);
}

.tri-summary-case {
  border-top: 1px solid #e2e2e7;
  padding-top: 0.7rem;
}

.tri-summary-label {
  color: var(--silver-dark);
}

.tri-summary-case p {
  margin-top: 0.3rem;
  color: var(--black);
  line-height: 1.6;
}

/* botão WhatsApp final */
.tri-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 1.3rem;
  padding: 1rem 1.2rem;
  background: #128c4b;
  color: #fff;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 26px -12px rgba(18, 140, 75, 0.8);
  transition: transform 0.2s, filter 0.2s;
}

.tri-wa svg {
  width: 1.25rem;
  height: 1.25rem;
}

.tri-wa:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.tri-note {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 0.74rem;
  color: var(--silver-dark);
}

@media (max-width: 480px) {
  .tri-modal {
    width: calc(100vw - 1.5rem);
    max-height: 90vh;
    border-radius: var(--radius);
  }

  .tri-title {
    font-size: 1.3rem;
  }

  .cta-actions {
    width: 100%;
  }

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