/* ====================================
   BERENGUER — Advogados & Consultores
   Design inspirado em Demarest
   ==================================== */

:root {
  /* Cores extraídas diretamente do logo: charcoal #383838 + ouro #987010 */
  --navy:       #2C2C2C;   /* charcoal escuro – hero, header, footer */
  --navy-light: #383838;   /* charcoal exato do logo */
  --navy-mid:   #4A4A4A;
  --gold:       #987010;   /* ouro exato do logo */
  --gold-light: #B89030;   /* ouro claro – hover, acentos */
  --gold-dark:  #7A5A0C;
  --white:      #FFFFFF;
  --off-white:  #F5F3EE;   /* creme quente que complementa charcoal+ouro */
  --gray-light: #E8E5E0;
  --gray:       #9B9B9B;
  --gray-dark:  #555555;
  --text:       #383838;   /* charcoal exato do logo para texto */

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --container:  1200px;
  --header-h:   80px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: var(--header-h, 80px); overflow-x: hidden; overflow-y: scroll; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ====== UTILITIES ====== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}

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

/* ====== BUTTONS ====== */
.btn-outline {
  display: inline-block;
  margin-top: 32px;
  padding: 13px 32px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-sm {
  display: inline-block;
  padding: 10px 24px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  align-self: flex-end;
}
.btn-outline-sm:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-hero {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 40px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-hero:hover {
  background: rgba(200,169,110,0.25);
  border-color: var(--gold);
}

.btn-contact {
  display: inline-block;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.25s var(--ease);
}
.btn-contact:hover { background: var(--gold-dark); }

.btn-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 48px;
  background: var(--gold);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.25s var(--ease);
}
.btn-cta:hover { background: var(--gold-dark); }

/* ====== HEADER ====== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
#header.scrolled {
  background: rgba(72, 70, 66, 0.96);
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.logo-mark { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; gap: 4px; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 5px;
  color: var(--white);
  line-height: 1;
}
.logo-tagline {
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--gold-light);
  text-transform: uppercase;
}

#nav ul {
  display: flex;
  gap: 36px;
}
#nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  position: relative;
}
#nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
#nav a:hover { color: var(--white); }
#nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

/* ====== FULL-SCREEN NAV OVERLAY ====== */
.fullnav {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 500;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.fullnav.open {
  opacity: 1;
  pointer-events: all;
}

.fullnav-close {
  position: absolute;
  top: 28px;
  left: 36px;
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  padding: 8px;
  transition: color 0.2s;
  z-index: 10;
}
.fullnav-close:hover { color: var(--gold); }

.fullnav-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px 80px clamp(120px, 14vw, 240px);
  gap: clamp(24px, 3vh, 44px);
}

.fullnav-group {
  display: grid;
  grid-template-columns: clamp(100px, 13vw, 200px) 1fr;
  align-items: start;
  gap: 16px;
}

.fullnav-cat {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: clamp(8px, 1vw, 14px);
  line-height: 1;
}

.fullnav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fullnav-link {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  transition: color 0.2s var(--ease);
  display: block;
}
.fullnav-link:hover { color: var(--gold-light); }

/* ====== HERO ====== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-light);
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,31,53,0.85) 0%,
    rgba(11,31,53,0.55) 60%,
    rgba(11,31,53,0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.5px;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s;
}
.dot.active { background: var(--gold); }

/* ====== SOBRE ====== */
.sobre {
  padding: 100px 0;
  background: var(--white);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre-text p {
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 15px;
}

.sobre-numeros {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.numero-item {
  background: var(--off-white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.numero-valor {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
}

.numero-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--gray);
  text-transform: uppercase;
}

/* ====== ÁREAS ====== */
.areas {
  background: var(--navy);
  padding: 100px 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
}

.areas-header {
  padding: 0 40px 60px;
  max-width: var(--container);
  margin: 0 auto;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.area-card {
  padding: 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.area-card:last-child { border-right: none; }

.area-card-inner {
  padding: 48px 40px 56px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.3s var(--ease);
}
.area-card:hover .area-card-inner {
  background: rgba(200,169,110,0.06);
}

.area-icon {
  color: var(--gold);
  width: 48px; height: 48px;
  margin-bottom: 28px;
}

.area-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.area-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  flex: 1;
  margin-bottom: 28px;
}

.area-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  transition: letter-spacing 0.25s var(--ease);
}
.area-link:hover { letter-spacing: 2px; }

/* ====== NÓS BERENGUER ====== */
.nos-berenguer {
  background: var(--off-white);
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
}
.nos-berenguer .container { padding-bottom: 32px; }
.nos-berenguer .section-title { color: var(--navy); margin-top: 8px; }
.nos-berenguer .section-label { color: var(--gold); }

/* Lista de profissionais */
.prof-lista {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.prof-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border-top: 2px solid rgba(152, 112, 16, 0.4);
  background: var(--white);
}

/* Avatar / monograma */
.prof-avatar-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.prof-avatar {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 2px;
}

.prof-contato {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prof-contato a {
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}
.prof-contato a:hover { color: var(--gold); }

.prof-linkedin {
  font-size: 11px !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin-top: 4px;
}

.prof-cargo {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
}

.prof-contato span {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.02em;
}

.prof-idioma {
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase;
  color: var(--gray) !important;
  margin-top: 4px;
}

/* Dados do profissional */
.prof-dados {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prof-nome {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
}

.prof-especialidades {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.prof-bio {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-dark);
  margin: 0;
}

/* ====== INSIGHTS ====== */
.insights {
  padding: 80px 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  scroll-snap-align: start;
}
.insights .section-label { color: var(--gold); }
.insights .section-title { color: var(--off-white); }
.insights .btn-outline-sm { border-color: rgba(245,243,238,0.4); color: var(--off-white); }
.insights .btn-outline-sm:hover { background: var(--off-white); color: var(--navy); }

.insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

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

.insight-card {
  background: var(--navy-light);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.25s;
}
.insight-card:hover { background: var(--navy-mid); }
.insight-card:hover .insight-tag,
.insight-card:hover h3,
.insight-card:hover p { color: var(--white); }
.insight-card:hover .insight-date { color: rgba(255,255,255,0.5); }
.insight-card:hover .insight-link { color: var(--gold); }

.insight-card--featured {
  grid-column: 1 / -1;
}

.insight-card--agenda {
  grid-column: 1 / -1;
  padding: 32px 40px;
}

.agenda-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 13px;
}

.agenda-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 16px 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.agenda-table td {
  padding: 10px 16px 10px 0;
  color: rgba(245,243,238,0.75);
  line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}

.agenda-table tr:last-child td { border-bottom: none; }

.agenda-data {
  white-space: nowrap;
  color: var(--off-white) !important;
  font-weight: 500;
  min-width: 110px;
}

.agenda-prov {
  color: rgba(152,112,16,0.9) !important;
  font-style: italic;
}

.insight-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.insight-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--off-white);
  flex: 1;
  transition: color 0.25s;
}
.insight-card--featured h3 { font-size: 26px; }

.insight-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245,243,238,0.6);
  transition: color 0.25s;
}

.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.insight-card:hover .insight-meta { border-color: rgba(255,255,255,0.1); }

.insight-date {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color 0.25s;
}

.insight-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  transition: color 0.25s, letter-spacing 0.25s;
}
.insight-link:hover { letter-spacing: 2px; color: var(--gold-light); }

/* ====== CTA SECTION ====== */
.cta-section {
  background: var(--navy);
  padding: 100px 0;
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
}

/* ====== FOOTER ====== */
.footer { background: #060F1A; }

.footer-top { padding: 80px 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 60px;
}

.footer-logo-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 6px;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-logo-tagline {
  display: block;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 2.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  color: rgba(255,255,255,0.4);
  transition: color 0.25s;
}
.footer-social a:hover { color: var(--gold); }

.footer-nav h4,
.footer-contact h4 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-nav li { margin-bottom: 12px; }
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s;
}
.footer-nav a:hover { color: var(--white); }

.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  margin-bottom: 16px;
}
.footer-contact a {
  color: rgba(255,255,255,0.55);
  transition: color 0.25s;
}
.footer-contact a:hover { color: var(--gold); }

/* ====== MAPA ====== */
.mapa-section { background: var(--off-white); height: 100vh; display: flex; flex-direction: column; scroll-snap-align: start; overflow: hidden; }
.mapa-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  flex: 1;
  min-height: 460px;
}
.mapa-info {
  background: var(--white);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  border-right: 1px solid var(--gray-light);
}
.mapa-info .section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}
.mapa-info h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 3px;
}
.mapa-info address p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray-dark);
}
.mapa-info address a {
  color: var(--gray-dark);
  transition: color .2s;
}
.mapa-info address a:hover { color: var(--gold); }
.btn-mapa {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background .22s, color .22s;
  align-self: flex-start;
}
.btn-mapa:hover { background: var(--gold); color: var(--white); }
.mapa-embed { position: relative; min-height: 460px; height: 100%; }
.mapa-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 768px) {
  .mapa-grid { grid-template-columns: 1fr; }
  .mapa-embed { min-height: 300px; }
  .mapa-info { padding: 40px 24px; }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom ul {
  display: flex;
  gap: 24px;
}
.footer-bottom a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  transition: color 0.25s;
}
.footer-bottom a:hover { color: var(--gold); }

/* ====== SCROLL ANIMATION ====== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 60px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .area-card { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .prof-lista { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .header-inner { padding: 0 20px; }
  #nav { display: none; }
  .btn-contact { display: none; }
  .hamburger { display: flex; }

  .hero-title { line-height: 1.15; }

  .areas-header { padding: 0 20px 48px; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-card { border-right: none; }

  .prof-avatar { width: 72px; height: 72px; font-size: 24px; }

  .insights-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card--featured { grid-row: auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom .container { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom ul { justify-content: center; }
}

@media (max-width: 480px) {
  .sobre-numeros { grid-template-columns: 1fr 1fr; }
  .prof-nome { font-size: 28px; }
  .areas-header { padding: 0 16px 40px; }
  .area-card-inner { padding: 36px 24px 44px; }
}

/* ====== MODAL ÁREA ====== */
.area-modal-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.area-modal-btn:hover { color: var(--gold-light); }

.area-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  pointer-events: none;
  visibility: hidden;
}
.area-modal.open {
  pointer-events: auto;
  visibility: visible;
}

.area-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 44, 44, 0.55);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.area-modal.open .area-modal-overlay { opacity: 1; }

.area-modal-panel {
  position: relative;
  width: min(680px, 100%);
  background: var(--off-white);
  overflow-y: auto;
  padding: 72px 64px 80px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
}
.area-modal.open .area-modal-panel { transform: translateX(0); }

.area-modal-close {
  position: absolute;
  top: 28px;
  right: 32px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--gray);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.area-modal-close:hover { color: var(--navy); }

.area-modal-content .section-label { display: block; margin-bottom: 12px; }

.area-modal-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 28px;
}

.area-modal-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}

.area-modal-intro {
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray-dark);
  margin-bottom: 48px;
}

.area-modal-topics {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
}

.area-modal-topic {
  padding: 24px 0;
  border-top: 1px solid rgba(152, 112, 16, 0.25);
}
.area-modal-topic:last-child { border-bottom: 1px solid rgba(152, 112, 16, 0.25); }

.area-modal-topic h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.area-modal-topic p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-dark);
  margin: 0;
}

.area-modal-cta {
  display: inline-block;
  padding: 16px 36px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s;
}
.area-modal-cta:hover { background: var(--gold); }

@media (max-width: 640px) {
  .area-modal-panel { padding: 56px 28px 64px; }
}

/* ── Insights skeleton loader ────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.insight-skeleton {
  background: linear-gradient(90deg,
    rgba(152,112,16,0.06) 25%,
    rgba(152,112,16,0.12) 50%,
    rgba(152,112,16,0.06) 75%
  );
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  min-height: 160px;
  border: none !important;
}
.insight-card--featured.insight-skeleton { min-height: 220px; }
