/* ==========================================================================
   Busanelli Advogados — estilos principais
   Tokens extraídos do Figma (Site, frame "Main")
   ========================================================================== */

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/kanit-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/kanit-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/syne-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/syne-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/rubik-400.woff2') format('woff2');
}

:root {
  /* Cores */
  --brand-base: #262626;
  --brand-complementary: #d9d9d9;
  --brand-support: #b0aca3;
  --action-primary: #a28544;
  --accent-gold: #caa34c;
  --neutral-80: #414141;
  --neutral-40: #949494;
  --neutral-gray-50: #4a4a4a;
  --neutral-gray-30: #868686;
  --neutral-gray-80: #333333;
  --neutral-white: #ffffff;

  /* Fontes */
  --font-heading: 'Kanit', sans-serif;
  --font-action: 'Syne', sans-serif;
  --font-meta: 'Rubik', sans-serif;

  /* Espaçamento */
  --space-micro: 4px;
  --space-small: 8px;
  --space-medium: 16px;
  --space-large: 24px;
  --space-xl: 32px;
  --space-session-gap: 48px;
  --space-session-padding: 84px;

  --container-width: 1250px;
  --container-max: calc(var(--container-width) + 48px);

  /* Altura do header sticky; o JS reescreve com o valor real */
  --header-height: 102px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--neutral-80);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

button { font-family: inherit; border: none; background: none; cursor: pointer; }
button:focus { outline: none; }
button:focus-visible { outline: 2px solid var(--action-primary); outline-offset: 2px; }

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.section-title {
  font-size: 40px;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 16px;
  color: var(--neutral-40);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-small);
  padding: var(--space-medium) var(--space-large);
  border-radius: var(--space-micro);
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
}
.btn img { width: 16px; height: 16px; }
.btn--primary { background: #fff; color: var(--brand-base); }
.btn--dark { background: var(--brand-base); color: var(--brand-complementary); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  height: 102px;
}
.site-header__logo img { height: 64px; width: auto; }
.site-header__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-medium);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header__nav a {
  display: flex;
  align-items: center;
  padding: var(--space-medium);
  border-radius: var(--space-micro);
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 12px;
  color: var(--action-primary);
}
.site-header__nav .current-menu-item a,
.site-header__nav a:hover { background: rgba(140, 140, 140, 0.2); }
.site-header__nav-social { display: none; }
.site-header__social {
  display: flex;
  align-items: center;
  gap: var(--space-medium);
}
.site-header__social img { width: 16px; height: 16px; }
.site-header__toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px;
}
.site-header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-base);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero / Banner
   ========================================================================== */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero__slide {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.2), rgba(0,0,0,.2)),
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) 24px 56px;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}
.hero__content--controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}
.hero__text { max-width: 750px; }
.hero__title {
  font-family: var(--font-action);
  font-weight: 500;
  font-size: 36px;
  color: var(--accent-gold);
  margin: 0 0 var(--space-large);
}
.hero__desc {
  font-size: 24px;
  color: var(--brand-complementary);
  margin: 0 0 var(--space-large);
}
.hero__controls {
  display: flex;
  align-items: center;
  gap: var(--space-small);
  max-width: 750px;
  pointer-events: auto;
}
.hero__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--brand-complementary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  position: static !important;
  margin: 0 !important;
  flex: 0 0 auto;
}
.hero__arrow::after { display: none !important; }
.hero__arrow img { width: 16px; height: 16px; }
.hero__arrow:hover { opacity: 1; }
.hero__dots { 
  display: flex; 
  align-items: center; 
  gap: var(--space-small);
  position: static !important;
  width: auto !important;
  transform: none !important;
  flex: 0 0 auto;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-complementary) 40%, transparent);
  padding: 0;
}
.hero__dot.is-active { background: var(--brand-complementary); height: 16px; }

/* ==========================================================================
   Sobre
   ========================================================================== */
.sobre { padding: var(--space-session-padding) 0; }
.sobre__row {
  display: flex;
  gap: var(--space-session-padding);
  align-items: center;
}
.sobre__row + .sobre__row { margin-top: var(--space-xl); }
.sobre__text { flex: 1; }
.sobre__text h2 {
  font-size: 40px;
  font-weight: 400;
  color: var(--neutral-80);
  margin: 0 0 var(--space-large);
}
.sobre__text p {
  font-size: 16px;
  color: var(--neutral-40);
  text-align: justify;
  margin: 0 0 var(--space-large);
}
.sobre__collage {
  flex: 1;
  display: flex;
  align-items: center;
}
.sobre__collage img {
  position: relative;
  width: 195px;
  height: 400px;
  object-fit: cover;
  border-radius: 9999px;
  box-shadow: 20px 18px 32px rgba(0, 0, 0, 0.25);
  margin-left: -32px;
}
.sobre__collage img:first-child { margin-left: 0; }
.sobre__collage img:nth-child(1) { z-index: 3; }
.sobre__collage img:nth-child(2) { z-index: 2; }
.sobre__collage img:nth-child(3) { z-index: 1; }
.sobre__photo { flex: 1; position: relative; }
.sobre__photo video {
  display: block;
  width: 100%;
  height: 274px;
  object-fit: cover;
}
.sobre__video-controls {
  position: absolute;
  right: var(--space-medium);
  bottom: var(--space-medium);
  display: flex;
  gap: var(--space-small);
}
.sobre__video-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(38, 38, 38, 0.55);
  backdrop-filter: blur(4px);
  color: var(--neutral-white);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.sobre__video-toggle:hover { background: rgba(38, 38, 38, 0.8); transform: scale(1.06); }
.sobre__video-icon--play { display: none; }
.sobre__video-icon--pause { margin-left: 0; }
.sobre__video-toggle.is-paused .sobre__video-icon--pause { display: none; }
.sobre__video-toggle.is-paused .sobre__video-icon--play { display: block; margin-left: 2px; }
.sobre__video-icon--sound-off { display: none; }
.sobre__video-toggle.is-muted .sobre__video-icon--sound-on { display: none; }
.sobre__video-toggle.is-muted .sobre__video-icon--sound-off { display: block; }

/* ==========================================================================
   Áreas de atuação
   ========================================================================== */
.areas {
  padding: var(--space-session-padding) 0 300px;
  color: var(--brand-base);
  background:
    linear-gradient(-16deg, rgb(70, 66, 59) 0%, rgba(102, 102, 102, 0) 74.58%),
    #868686;
}
.areas__head { margin-bottom: var(--space-xl); max-width: 700px; }
.areas__head h2 { font-size: 40px; font-weight: 400; margin: 0 0 var(--space-medium); }
.areas__head p { font-size: 16px; margin: 0; }
.areas__viewport { position: relative; }
.areas-swiper { overflow: hidden; }
.areas-swiper .swiper-slide { height: auto; }
.area-card {
  height: 100%;
  background: #fff;
  border-radius: var(--space-micro);
  overflow: hidden;
  box-shadow: 0 4px 42px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  text-align: left;
}
.area-card__media {
  position: relative;
  height: 238px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-large);
}
.area-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.area-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.8) 3%, rgba(0,0,0,0) 100%);
}
.area-card__media h3 {
  position: relative;
  z-index: 1;
  color: var(--accent-gold);
  font-size: 24px;
  font-weight: 400;
  margin: 0;
}
.area-card__body {
  padding: var(--space-large);
  display: flex;
  flex-direction: column;
  gap: var(--space-large);
  flex: 1;
}
.area-card__body p {
  margin: 0;
  font-size: 16px;
  color: var(--neutral-gray-50);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.area-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-small);
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 12px;
  color: #323c81;
}
.area-card__link img { width: 16px; height: 16px; }
.areas__nav {
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  z-index: 2;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
}
.areas__nav--prev { left: -60px; transform: translateY(-50%) rotate(180deg); }
.areas__nav--next { right: -60px; }

@media (max-width: 1400px) {
  .areas__nav--prev { left: -20px; }
  .areas__nav--next { right: -20px; }
}
@media (max-width: 1024px) {
  .areas__nav { display: none; }
}
.areas__nav.swiper-button-disabled { opacity: 0.3; pointer-events: none; }
.areas__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-small);
  margin-top: var(--space-xl);
}
.areas__pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: var(--brand-base);
  opacity: 1;
}
.areas__pagination .swiper-pagination-bullet-active {
  width: 20px;
  height: 20px;
  background: var(--brand-complementary);
}

/* ==========================================================================
   Profissionais
   ========================================================================== */
.profissionais { padding: var(--space-session-padding) 0; overflow-x: clip; overflow-y: visible; position: relative; }
.profissionais .container { position: relative; }
.profissionais__head {
  display: flex;
  gap: var(--space-session-padding);
  align-items: center;
  margin-bottom: var(--space-session-padding);
}
.profissionais__head > div:first-child { width: calc(50% - (var(--space-session-padding) / 2)); }
.profissionais__head h2 { font-size: 40px; font-weight: 400; color: var(--neutral-80); margin: 0 0 var(--space-large); }
.profissionais__head p { font-size: 16px; color: var(--neutral-40); text-align: justify; margin: 0; }
.profissionais__deco {
  position: absolute;
  top: calc(var(--space-session-padding) * -1);
  left: calc(50% + (var(--space-session-padding) / 2));
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 10;
}
.profissionais__deco span {
  position: relative;
  flex-shrink: 0;
  width: 195px;
  height: 409px;
  border: 1px solid var(--action-primary);
  border-radius: 9999px;
  margin-left: -32px;
}
.profissionais__deco span:first-child { margin-left: 0; }
.profissionais__deco span:nth-child(1) { z-index: 7; }
.profissionais__deco span:nth-child(2) { z-index: 6; }
.profissionais__deco span:nth-child(3) { z-index: 5; }
.profissionais__deco span:nth-child(4) { z-index: 4; }
.profissionais__deco span:nth-child(5) { z-index: 3; }
.profissionais__deco span:nth-child(6) { z-index: 2; }
.profissionais__deco span:nth-child(7) { z-index: 1; }
.profissionais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-medium);
}
.profissionais__grid + .profissionais__grid { margin-top: var(--space-medium); }
.adv-card {
  position: relative;
  height: 616px;
  border-radius: 9999px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-small);
  padding: var(--space-session-gap) var(--space-medium);
  background: var(--brand-base);
  text-align: center;
}
.adv-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.adv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(2deg, rgba(0,0,0,.8) 4%, rgba(0,0,0,0) 100%);
}
.adv-card__name, .adv-card__role, .adv-card__plus {
  position: relative;
  z-index: 1;
}
.adv-card__name {
  font-size: 16px;
  color: var(--accent-gold);
  margin: 0;
  line-height: 1.3;
}
.adv-card__role {
  font-size: 12px;
  color: var(--brand-complementary);
  margin: 0;
}
.adv-card__oab {
  font-size: 11px;
  color: var(--brand-support);
  margin: 2px 0 0;
}
.adv-card__plus {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--brand-complementary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  opacity: 0.6;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.adv-card__plus img {
  position: static;
  inset: auto;
  width: 18px;
  height: 18px;
  display: block;
  margin: 0;
}
.adv-card--empty { background: linear-gradient(2deg, rgba(0,0,0,.8) 4%, rgba(0,0,0,0) 100%), #3a3a3a; }

/* ==========================================================================
   Guia de Investidores
   ========================================================================== */
.investidores {
  background: var(--brand-base);
  color: var(--brand-complementary);
  padding: var(--space-session-padding) 0;
}
.investidores__row {
  display: flex;
  gap: var(--space-session-padding);
  align-items: flex-start;
}
.investidores__text { flex: 1; }
.investidores__text h2 { font-size: 40px; font-weight: 400; margin: 0 0 var(--space-large); }
.investidores__text p { font-size: 16px; color: var(--neutral-40); text-align: justify; margin: 0 0 var(--space-large); }
.investidores__image { flex: 1; }
.investidores__image img {
  width: 100%;
  height: 432px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 29px 26px 47.2px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Contato
   ========================================================================== */
.contato {
  background: var(--brand-complementary);
  padding: var(--space-session-padding) 0;
}
.contato__row {
  display: flex;
  gap: 51px;
}
.contato__info { flex: 1; max-width: 453px; }
.contato__info h2 { font-size: 40px; font-weight: 400; color: var(--neutral-80); margin: 0 0 var(--space-large); }
.contato__info p { font-size: 16px; color: var(--neutral-40); text-align: justify; margin: 0 0 var(--space-large); }
.contato__info strong { display: block; color: var(--neutral-80); font-weight: 700; }
.contato-form { flex: 1; display: flex; flex-direction: column; gap: var(--space-xl); }
.contato-form__row { display: flex; gap: var(--space-medium); }
.form-field { flex: 1; display: flex; flex-direction: column; gap: var(--space-micro); }
.form-field label {
  font-family: var(--font-meta);
  font-size: 14px;
  color: var(--neutral-80);
  line-height: 1.5;
}
.form-field input,
.form-field textarea {
  font-family: var(--font-meta);
  font-size: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: var(--space-micro);
  padding: 10px 15px;
  resize: none;
}
.form-field textarea { min-height: 110px; }

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

.form-field--honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.contato-form__feedback { font-family: var(--font-meta); font-size: 14px; padding: var(--space-medium); border-radius: var(--space-micro); }
.contato-form__feedback--success { background: #dff3e3; color: #1e6b32; }
.contato-form__feedback--error { background: #fbe3e0; color: #8a2c1f; }

/* ==========================================================================
   Mapa
   ========================================================================== */
.mapa { line-height: 0; }
.mapa iframe { width: 100%; height: 376px; border: 0; display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--brand-base);
  color: var(--brand-complementary);
  padding-block: var(--space-xl);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-session-gap);
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-large);
}
.site-footer__copy p { margin: 0; font-size: 16px; }
.site-footer__social { display: none; }
.site-footer__credit { font-size: 12px; text-align: right; }
.site-footer__compliance {
  width: 100%;
  border-top: 1px solid rgba(217, 217, 217, 0.2);
  padding-top: var(--space-large);
  font-size: 12px;
  color: var(--neutral-40);
  line-height: 1.6;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 960px) {
  :root {
    --space-session-padding: 48px;
    --space-session-gap: 32px;
  }
  .site-header .container { height: auto; padding-block: var(--space-medium); position: relative; }
  .site-header__toggle { display: flex; margin-left: auto; position: relative; z-index: 61; }
  .site-header__social { display: none; }
  .site-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--neutral-white);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 var(--space-small);
    margin-top: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.3s ease, padding 0.35s ease, margin 0.35s ease;
  }
  .site-header__nav.is-open {
    max-height: 480px;
    opacity: 1;
    padding: var(--space-small);
    margin-top: var(--space-small);
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-header__nav a {
    width: 100%;
    padding: 14px var(--space-medium);
    border-radius: 8px;
    font-size: 14px;
  }
  .site-header__nav .current-menu-item a,
  .site-header__nav a:hover { background: rgba(162, 133, 68, 0.1); }
  .site-header__nav-social {
    display: flex;
    justify-content: center;
    margin-top: 4px;
    padding-top: var(--space-small);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .site-header__nav-social a {
    width: auto;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .site-header__nav-social img { width: 18px; height: 18px; }
  .sobre__row,
  .investidores__row,
  .contato__row,
  .profissionais__head { flex-direction: column; text-align: center; }
  .profissionais__head > div:first-child { width: 100%; }
  .profissionais__head p { text-align: center; }
  .profissionais__grid { grid-template-columns: repeat(2, 1fr); }
  .profissionais__deco { display: none; }
  .areas__viewport { padding-inline: 40px; }
  .contato-form__row { flex-direction: column; }
  .sobre__collage { justify-content: center; margin-top: 32px; }
  .sobre__collage img { width: 140px; height: 280px; margin-left: -20px; }
  .sobre__text p, .investidores__text p, .contato__info p { text-align: center; }
  .investidores__image, .contato-form, .contato__info { width: 100%; max-width: 100%; }
  .contato-form { text-align: left; }
  .contato-form button[type="submit"] { align-self: stretch; justify-content: center; }
}

@media (max-width: 600px) {
  .hero__slide { min-height: 450px; }
  .hero__content { padding-bottom: 120px; }
  .hero__content--controls { padding-bottom: 32px; }
  .hero__title { font-size: 26px; }
  .hero__desc { font-size: 18px; }
  .sobre__text h2, .areas__head h2, .profissionais__head h2, .section-title { font-size: 28px; line-height: 1.2; }
  .profissionais__grid { grid-template-columns: 1fr; }
  .adv-card { height: 420px; }
  .site-footer .container { flex-direction: column; align-items: flex-start; gap: 24px; }
  .site-footer__credit { text-align: left; }
  .site-footer__copy {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-medium);
  }
  .site-footer__social { display: flex; align-items: center; flex-shrink: 0; margin-top: 2px; }
  .site-footer__social img { width: 18px; height: 18px; }
  .sobre__collage img { width: 110px; height: 230px; margin-left: -16px; }
  .investidores__image img { height: 280px; }
  .mapa iframe { height: 250px; }
  .areas { padding-bottom: 64px; }
  .areas__viewport { padding-inline: 0; }
  .prof-modal__container { padding: 40px 24px; }
  .prof-modal__media img { max-height: 420px; }
}

/* ==========================================================================
   Modal de Áreas de Atuação
   ========================================================================== */
.area-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
}
.area-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.area-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.area-modal__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 42.7px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.area-modal.is-open .area-modal__content {
  transform: translateY(0);
}
.area-modal__header {
  position: relative;
  height: 238px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.area-modal__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.area-modal__header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  opacity: 0.8;
  z-index: 2;
}
.area-modal__title {
  position: relative;
  z-index: 3;
  margin: 0;
  color: var(--accent-gold);
  font-family: 'Kanit', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}
.area-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 4;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.area-modal__close:hover {
  opacity: 0.8;
}
.area-modal__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.area-modal__text {
  margin: 0;
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  color: var(--brand-base);
  line-height: 1.5;
  text-align: justify;
}
.area-modal__cta {
  align-self: flex-start;
  padding: 16px 24px;
  border-radius: 4px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.area-modal__cta:hover {
  opacity: 0.9;
}

/* ==========================================================================
   Modal de Profissionais (Full Screen)
   ========================================================================== */
.prof-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  background: var(--neutral-white);
  overflow-y: auto;
}

.prof-modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.prof-modal__container {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
}

.prof-modal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl, 40px);
}
@media (min-width: 960px) {
  .prof-modal__grid {
    grid-template-columns: 304px 1fr;
    gap: 84px;
  }
}

.prof-modal__media img {
  width: 100%;
  height: 100%;
  max-height: 616px;
  object-fit: cover;
  border-radius: 9999px;
}

.prof-modal__content {
  display: flex;
  flex-direction: column;
}

.prof-modal__content h3 {
  font-size: 40px;
  font-weight: 400;
  color: var(--neutral-80);
  margin: 0 0 var(--space-large);
}

/* Subtítulo: cargo + OAB + idiomas lado a lado (componente 106:2055 do Figma) */
.prof-modal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-large);
  margin: 0 0 var(--space-xl);
}
.prof-modal__role {
  font-size: 24px;
  color: var(--action-primary);
  margin: 0;
}
.prof-modal__oab,
.prof-modal__idiomas {
  font-size: 14px;
  color: var(--neutral-80);
  margin: 0;
}

.prof-modal__bio {
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-gray-80);
  margin-bottom: var(--space-xl, 40px);
}
.prof-modal__bio p {
  margin-bottom: var(--space-medium, 16px);
}

.prof-modal__close-top {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.prof-modal__close-top:hover {
  opacity: 0.8;
}

.prof-modal__close-bottom {
  align-self: flex-start;
  margin-top: auto;
}

.adv-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.adv-card:hover > img {
  transform: scale(1.05);
}
.adv-card:hover .adv-card__plus {
  transform: scale(1.1) rotate(90deg);
  opacity: 1;
}

.prof-modal__bio ul {
  list-style: none;
  padding: 0;
  margin: var(--space-medium, 16px) 0 0 0;
}
.prof-modal__bio ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}
.prof-modal__bio ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--action-primary);
  border-radius: 50%;
}
.prof-modal__bio strong {
  color: var(--brand-base);
  font-weight: 600;
}

/* Modificadores para quando o card não é clicável (ex: Produção) */
.adv-card.adv-card--unclickable {
  cursor: default;
}
.adv-card.adv-card--unclickable:hover {
  transform: none;
  box-shadow: none;
}
.adv-card.adv-card--unclickable:hover > img {
  transform: none;
}
