/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

:root {
  /* Cores Azul e Branco - inspirado no Toron Advogados */
  --primary-color: #003366;
  --primary-dark: #001f3f;
  --primary-light: #0052a3;
  --accent-blue: #0066cc;
  --accent-blue-light: #3385d6;
  --accent-blue-dark: #004d99;
  --dark-bg: #2d2d2d;
  --dark-header: #003366;
  --dark-hero: #001f3f;
  --gold-color: #0066cc;
  --gold-light: #3385d6;
  --gold-dark: #004d99;
  --brown-dark: #003366;
  --secondary-color: #0066cc;
  --secondary-dark: #004d99;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --bg-light-gray: #f2f2f2;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --accent-brown: #0066cc;
  --accent-brown-dark: #004d99;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
     HEADER & NAVIGATION
     ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.99);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-social-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-separator-vertical {
  width: 1px;
  height: 30px;
  background: var(--border-color);
  opacity: 0.5;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-light-gray);
  padding: 0.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.lang-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  position: relative;
}

.lang-btn:hover {
  background: var(--bg-white);
  transform: scale(1.1);
}

.lang-btn.active {
  background: var(--accent-blue);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.lang-btn.active .flag-emoji {
  transform: scale(1.1);
}

.flag-icon {
  width: 24px;
  height: 24px;
  display: block;
  transition: all 0.3s ease;
}

.flag-br {
  width: 24px;
  height: 24px;
}

.flag-us {
  width: 26px;
  height: 24px;
}

.lang-btn.active .flag-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nav-social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg-white);
  color: var(--text-dark);
  font-size: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 2px solid var(--border-color);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-social-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.nav-social-icon:hover::before {
  width: 100%;
  height: 100%;
}

.nav-social-icon:hover {
  color: var(--bg-white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

.nav-social-icon i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.nav-social-icon:hover i {
  transform: scale(1.1);
}

.nav-social-icon[aria-label="WhatsApp"] {
  border-color: rgba(37, 211, 102, 0.3);
}

.nav-social-icon[aria-label="WhatsApp"]:hover {
  background: #25D366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.nav-social-icon[aria-label="Instagram"] {
  border-color: rgba(188, 24, 136, 0.3);
}

.nav-social-icon[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.logo-image {
  height: 100px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.logo:hover .logo-image {
  transform: scale(1.02);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--bg-white);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
  margin-top: 0.125rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* Garantir que o menu mobile apareça quando ativo */
@media (max-width: 968px) {
  .nav-menu.active {
    left: 0 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1001 !important;
  }
}

@media (max-width: 768px) {
  .nav-menu.active {
    left: 0 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1001 !important;
  }
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 0.75rem 0;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.8px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: rgba(0, 102, 204, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-link:hover::before {
  opacity: 1;
}

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

.nav-link:hover {
  color: var(--accent-blue);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  justify-content: center;
  align-items: center;
  background: var(--bg-white);
  border: 2px solid var(--accent-blue);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
  width: 48px;
  height: 48px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue-dark);
  transform: scale(1.05);
}

.menu-toggle i {
  position: absolute;
  font-size: 1.4rem;
  color: var(--accent-blue);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu-toggle:hover i {
  color: var(--bg-white);
}

.menu-toggle .menu-icon-hamburger {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.menu-toggle .menu-icon-close {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0) rotate(90deg);
}

.menu-toggle.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue-dark);
}

.menu-toggle.active .menu-icon-hamburger {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0) rotate(90deg);
}

.menu-toggle.active .menu-icon-close {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  color: var(--bg-white);
}

/* ============================================
     HERO SECTION
     ============================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-hero);
  margin-top: 80px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(60%) brightness(0.4) contrast(1.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(26, 26, 26, 0.55) 50%, rgba(74, 58, 42, 0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--bg-white);
  max-width: 900px;
  padding: 2rem;
}

.hero-logo {
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease;
}

.hero-logo-image {
  height: 120px;
  width: auto;
  object-fit: contain;
  margin-bottom: 2rem;
  display: block;
}

.hero-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-logo-main {
  font-size: 2rem;
  font-weight: 600;
  color: var(--bg-white);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.hero-logo-sub {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
     BUTTONS
     ============================================ */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-dark {
  background: var(--brown-dark);
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn-dark:hover {
  background: var(--accent-blue-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
  color: var(--bg-white);
}

.btn-dark:hover::before {
  left: 100%;
}

.btn-dark:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-light {
  background: var(--bg-white);
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
     SECTIONS
     ============================================ */

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 0 auto;
  border-radius: 2px;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.text-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
}

.text-content p {
  margin-bottom: 1.5rem;
}

.intro-text {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* ============================================
     QUEM SOMOS SECTION
     ============================================ */

.section-quem-somos {
  background: var(--bg-light-gray);
  padding: 6rem 0;
  position: relative;
}

@media (min-width: 769px) {
  .section-quem-somos {
    border-left: 4px solid var(--text-dark);
  }
}

.quem-somos-header {
  text-align: center;
  margin-bottom: 3rem;
}

.quem-somos-title {
  font-family: 'Merriweather', serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1.2;
  display: inline-block;
  letter-spacing: -0.02em;
}

.title-part-dark {
  color: var(--text-dark);
  margin-right: 0.5rem;
}

.title-part-accent {
  color: var(--accent-brown);
}

.quem-somos-separator {
  width: 100%;
  max-width: 320px;
  height: 2px;
  background: var(--accent-brown);
  margin: 0.5rem auto 2rem;
  border-radius: 2px;
}

/* Padronizar todos os separadores */
.areas-separator,
.equipe-separator,
.contato-separator {
  width: 100%;
  max-width: 320px;
  height: 2px;
  background: var(--accent-brown);
  margin: 0.5rem auto 2rem;
  border-radius: 2px;
}

.quem-somos-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.quem-somos-text {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.quem-somos-text:last-child {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--text-dark);
}

/* ============================================
     NOSSA HISTÓRIA SECTION
     ============================================ */

.section-nossa-historia {
  background: var(--bg-light-gray);
  padding: 6rem 0;
}

.nossa-historia-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.nossa-historia-content {
  display: flex;
  flex-direction: column;
}

.nossa-historia-title {
  font-family: 'Merriweather', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.2;
  text-align: left;
}

.nossa-historia-title .title-part-dark {
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-right: 0.5rem;
}

.nossa-historia-title .title-part-accent {
  color: var(--accent-brown);
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.1em;
}

.nossa-historia-text {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  text-align: left;
}

.nossa-historia-text p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.nossa-historia-text p:last-child {
  margin-bottom: 0;
  font-weight: 500;
}

.historia-text-visible {
  display: block;
}

.historia-text-hidden {
  display: none;
}

.btn-ler-mais {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background: var(--accent-brown);
  color: var(--bg-white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ler-mais:hover {
  background: var(--accent-brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-ler-mais:active {
  transform: translateY(0);
}

.nossa-historia-image {
  position: relative;
}

.nossa-historia-image-frame {
  border: 4px solid var(--accent-brown);
  border-radius: 12px;
  padding: 8px;
  background: var(--bg-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nossa-historia-image-frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 50%, #b0b0b0 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.image-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.4;
  position: relative;
  z-index: 1;
}

.image-placeholder span {
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem;
  font-weight: 500;
}

/* ============================================
     ÁREAS DE ATUAÇÃO
     ============================================ */

.section-areas {
  background: var(--bg-light-gray);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-areas .container {
  position: relative;
  z-index: 1;
}

/* Imagem de fundo - pessoas sentadas ao redor de uma mesa (similar ao PDF) */
/* URL temporária para testes - substitua pela imagem definitiva quando tiver */
/* URLs alternativas para testar:
     https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=1920
     https://images.unsplash.com/photo-1556761175-b413da4baf72?w=1920&q=80
     https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1920
  */
.section-areas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: 0;
  filter: grayscale(100%) brightness(1.25);
}

.areas-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.areas-title {
  font-family: 'Merriweather', serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
  display: inline-block;
  letter-spacing: -0.02em;
}

.areas-title .title-part-dark {
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-right: 0.5rem;
}

.areas-title .title-part-accent {
  color: var(--accent-brown);
  font-family: 'Merriweather', serif;
  font-weight: 700;
}


.areas-intro {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  max-width: 900px;
  margin: 0 auto;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.areas-grid-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.area-card-detailed {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.area-card-detailed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-blue);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.area-card-detailed:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-blue);
}

.area-card-detailed:hover::before {
  transform: scaleY(1);
}

.area-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
}

.area-number {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  z-index: 1;
}

.area-icon-detailed {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
  transition: transform 0.3s ease;
}

.area-card-detailed:hover .area-icon-detailed {
  transform: rotate(5deg) scale(1.05);
}

.area-title-detailed {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.area-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--bg-light-gray);
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.area-list li:last-child {
  border-bottom: none;
}

.area-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.area-list li:hover {
  padding-left: 2rem;
  color: var(--accent-blue);
}

.area-list li:hover::before {
  transform: translateX(3px);
}

.area-card-dark {
  background: var(--brown-dark);
  padding: 3rem 2.5rem;
  border-radius: 12px;
  text-align: center;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: var(--transition);
}

.area-card-black {
  background: var(--text-dark);
}

.area-card-dark:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.area-icon-white {
  width: 100px;
  height: 100px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
}

.area-icon-white i {
  font-size: 3.5rem;
}

.area-text-white {
  color: var(--bg-white);
  font-size: 1rem;
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
  text-align: center;
  margin: 0;
}

/* ============================================
     NOSSA EQUIPE SECTION
     ============================================ */

.section-equipe {
  background: var(--bg-light-gray);
  padding: 6rem 0;
}

.equipe-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.equipe-content {
  display: flex;
  flex-direction: column;
}

.equipe-title {
  font-family: 'Merriweather', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: left;
}

.equipe-title .title-part-dark {
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-right: 0.5rem;
}

.equipe-title .title-part-accent {
  color: var(--accent-brown);
  font-family: 'Merriweather', serif;
  font-weight: 700;
}


.equipe-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  text-align: left;
}

.equipe-text p {
  margin-bottom: 1.5rem;
}

.equipe-text p:last-child {
  margin-bottom: 0;
}

.equipe-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2rem 0 1rem;
  font-family: 'Inter', sans-serif;
}

.equipe-image {
  position: relative;
}

.equipe-image-frame {
  border: 4px solid var(--accent-brown);
  border-radius: 12px;
  padding: 8px;
  background: var(--bg-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.equipe-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 50%, #b0b0b0 100%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.equipe-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.equipe-image-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.4;
  position: relative;
  z-index: 1;
}

.equipe-image-placeholder span {
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem;
  font-weight: 500;
}

/* ============================================
     NOTÍCIAS JURÍDICAS
     ============================================ */

.section-noticias {
  background: var(--bg-white);
  padding: 6rem 0;
}

.noticias-header {
  text-align: center;
  margin-bottom: 3rem;
}

.noticias-title {
  font-family: 'Merriweather', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.noticias-title .title-part-dark {
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-right: 0.5rem;
}

.noticias-title .title-part-accent {
  color: var(--accent-blue);
  font-family: 'Merriweather', serif;
  font-weight: 700;
}

.noticias-separator {
  width: 80px;
  height: 4px;
  background: var(--accent-blue);
  margin: 1.5rem auto;
}

.noticias-intro {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.noticia-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.noticia-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.noticia-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.noticia-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noticia-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.noticia-source {
  font-size: 0.75rem;
  color: var(--accent-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.noticia-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.noticia-title {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noticia-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noticia-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  margin-top: auto;
}

.noticia-link:hover {
  color: var(--accent-blue-dark);
  gap: 0.75rem;
}

.noticias-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}

.noticias-loading i {
  font-size: 3rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  display: block;
}

.noticias-loading p {
  font-size: 1.1rem;
  margin: 0;
}

.noticias-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
}

.noticias-error i {
  font-size: 3rem;
  color: #ffc107;
  margin-bottom: 1rem;
  display: block;
}

.noticias-error p {
  font-size: 1.1rem;
  margin: 0;
  color: #856404;
}

/* ============================================
     CONTATO / FALE CONOSCO
     ============================================ */

.section-contato {
  background: #e5e5e5;
  padding: 6rem 0;
}

.contato-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: start;
}

.contato-info {
  display: flex;
  flex-direction: column;
}

.contato-title {
  font-family: 'Merriweather', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contato-title .title-part-dark {
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-right: 0.5rem;
}

.contato-title .title-part-accent {
  color: var(--accent-brown);
  font-family: 'Merriweather', serif;
  font-weight: 700;
}


.contato-section {
  margin-bottom: 3rem;
}

.contato-section:last-child {
  margin-bottom: 0;
}

.contato-section-title {
  font-family: 'Merriweather', serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.contato-section-title .title-part-dark {
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-right: 0.5rem;
}

.contato-section-title .title-part-accent {
  color: var(--accent-brown);
  font-family: 'Merriweather', serif;
  font-weight: 700;
}

.contato-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contato-item:last-child {
  margin-bottom: 0;
}

.contato-icon {
  color: var(--accent-brown);
  font-size: 1.25rem;
  margin-top: 0.25rem;
  min-width: 24px;
}

.contato-details {
  flex: 1;
}

.contato-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
}

.contato-value {
  color: var(--text-dark);
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.contato-address {
  color: var(--text-dark);
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
  margin: 0;
}

.contato-actions {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: nowrap;
}

.contato-actions .btn-address {
  flex: 1;
  min-width: 0;
}

.btn-address {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 2px solid var(--accent-brown);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  white-space: normal;
  line-height: 1.3;
}

.btn-address-primary {
  background: var(--accent-brown);
  color: var(--bg-white);
  border-color: var(--accent-brown);
}

.btn-address-primary:hover {
  background: var(--accent-brown-dark);
  border-color: var(--accent-brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-address-secondary {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid #ccc;
}

.btn-address-secondary:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-address i {
  font-size: 1.1rem;
}

.contato-separator-vertical {
  width: 2px;
  background: var(--accent-brown);
  height: 100%;
  min-height: 500px;
}

.contato-form {
  display: flex;
  flex-direction: column;
}

.contato-form-title {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contato-form-title .title-part-dark {
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-right: 0.5rem;
}

.contato-form-title .title-part-accent {
  color: var(--accent-brown);
  font-family: 'Merriweather', serif;
  font-weight: 700;
}

.contato-form-description {
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-brown);
  box-shadow: 0 0 0 3px rgba(205, 133, 63, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--accent-brown);
  color: var(--bg-white);
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--accent-brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-submit i {
  font-size: 1.1rem;
}

/* ============================================
     FOOTER
     ============================================ */

.footer {
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  align-items: flex-start;
}

.footer-logo-wrapper {
  margin-bottom: 1rem;
}

.footer-logo-image {
  height: 200px;
  width: auto;
  object-fit: contain;
}

.footer-monogram {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-color);
  font-family: 'Merriweather', serif;
  letter-spacing: -4px;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-color) 0%, var(--accent-brown) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-main {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.footer-logo-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
}

.footer-title {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links li a {
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-decoration: none;
}

.footer-links li a:hover {
  color: var(--accent-blue);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact li:last-child {
  margin-bottom: 0;
}

.footer-contact-icon {
  color: var(--accent-blue);
  font-size: 1rem;
  margin-top: 0.125rem;
  min-width: 18px;
}

.footer-contact li span {
  flex: 1;
}

.footer-social {
  display: flex;
  flex-direction: column;
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.5rem;
  transition: var(--transition);
  border-radius: 4px;
}

.footer-social-link:hover {
  color: var(--accent-blue);
  transform: translateY(-3px);
}

.footer-company-info {
  margin-top: auto;
}

.footer-company-info p {
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-company-info p:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  margin: 0;
}

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

@media (max-width: 968px) {
  .menu-toggle {
    display: flex;
  }

  .nav-wrapper {
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
  }
  
  .header {
    padding: 0.25rem 0;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
  
  .logo-image {
    height: 70px;
  }
  
  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 0.4rem;
  }

  .nav-menu {
    gap: 0;
    position: fixed !important;
    top: 0 !important;
    left: -100%;
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    background: var(--bg-white) !important;
    flex-direction: column !important;
    padding: 4rem 1.5rem 2rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 1001 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .nav-menu li {
    padding: 0;
  }

  .nav-menu.active {
    left: 0 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  /* Overlay removido - conteúdo deve aparecer normalmente */
  .nav-menu.active::before {
    display: none !important;
    content: none !important;
  }
  
  /* Overlay removido - conteúdo deve aparecer normalmente */
  body.menu-open::after {
    display: none !important;
    content: none !important;
  }
  
  /* Garante que o conteúdo apareça normalmente sem blur/escurecimento */
  body.menu-open .hero,
  body.menu-open .section,
  body.menu-open .hero-overlay,
  body.menu-open .hero-content {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
  }
  
  body.menu-open .menu-toggle.active {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 1003 !important;
    pointer-events: auto !important;
  }
  
  body.menu-open .menu-toggle.active i {
    color: var(--bg-white) !important;
  }
  
  /* Header permanece visível normalmente */
  body.menu-open .header {
    z-index: 998;
  }
  
  body.menu-open .header .logo,
  body.menu-open .header .nav-right-actions-desktop {
    opacity: 1;
  }
  
  /* Previne scroll do body quando menu está aberto - mas mantém conteúdo visível */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Remove qualquer overlay ou efeito de escurecimento */
  body.menu-open::before,
  body.menu-open::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
  }
  
  /* Garante que o menu cubra tudo e tenha espaço no topo */
  body.menu-open .nav-menu.active {
    padding-top: 4rem;
    z-index: 1001 !important;
  }
  
  /* Remove qualquer elemento visual indesejado no topo */
  body.menu-open .nav-menu.active::before {
    display: none;
  }
  
  /* Conteúdo principal permanece visível normalmente */
  body.menu-open .hero,
  body.menu-open .section {
    z-index: auto;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.3s ease forwards;
  }

  .nav-menu.active li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav-menu.active li:nth-child(2) {
    animation-delay: 0.2s;
  }

  .nav-menu.active li:nth-child(3) {
    animation-delay: 0.3s;
  }

  .nav-menu.active li:nth-child(4) {
    animation-delay: 0.4s;
  }

  .nav-menu.active li:nth-child(5) {
    animation-delay: 0.45s;
  }

  .nav-menu.active li.nav-mobile-actions {
    animation-delay: 0.55s;
  }

  .nav-link {
    font-size: 1rem;
    display: block;
    padding: 1.25rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    background: var(--accent-blue);
    color: var(--bg-white);
    transform: translateX(8px);
    padding-left: 1.75rem;
  }
  
  .nav-link.active {
    background: var(--accent-blue);
    color: var(--bg-white);
  }

  /* Hide desktop actions on tablets */
  .nav-right-actions-desktop {
    display: none;
  }

  /* Show mobile actions inside menu on tablets */
  .nav-right-actions-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
  }

  .nav-mobile-actions {
    width: 100%;
    padding: 0;
    margin-top: 1rem;
  }

  .nav-mobile-actions .nav-social-icons {
    justify-content: center;
    gap: 1rem;
  }

  .nav-mobile-actions .nav-social-icon {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }

  .nav-mobile-actions .nav-separator-mobile {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
  }

  .nav-mobile-actions .language-selector {
    justify-content: center;
    width: 100%;
  }

  .logo-image {
    height: 80px;
  }

  /* Manter layouts de duas colunas em tablets quando possível */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .areas-grid,
  .areas-grid-detailed {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .area-card-detailed {
    padding: 2rem 1.75rem;
  }

  .area-card-header {
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
  }

  .area-icon-detailed {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }

  .area-title-detailed {
    font-size: 1.3rem;
    font-weight: 700;
  }

  .area-card-dark {
    min-height: 320px;
    padding: 2.75rem 2.25rem;
  }

  .areas-title {
    font-size: 3rem;
  }

  .equipe-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .equipe-title {
    font-size: 2.75rem;
  }

  /* Manter padding generoso nas seções */
  .section-quem-somos,
  .section-nossa-historia,
  .section-areas,
  .section-equipe,
  .section-contato {
    padding: 5.5rem 0;
  }
}

/* Hide mobile actions on desktop */
.nav-right-actions-mobile {
  display: none;
}

/* Show desktop actions on desktop */
.nav-right-actions-desktop {
  display: flex;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-wrapper {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .header {
    padding: 0.25rem 0;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
  
  .logo {
    flex-shrink: 0;
  }
  
  .logo-image {
    height: 60px;
  }
  
  .menu-toggle {
    width: 36px;
    height: 36px;
    padding: 0.4rem;
  }
  
  .menu-toggle i {
    font-size: 1.3rem;
  }
  
  body.menu-open .menu-toggle.active i {
    color: var(--bg-white) !important;
  }
  
  body.menu-open .menu-toggle.active {
    position: fixed !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    z-index: 1002 !important;
  }

  /* Hide desktop actions on mobile */
  .nav-right-actions-desktop {
    display: none;
  }

  /* Show mobile actions inside menu */
  .nav-right-actions-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
  }

  .nav-mobile-actions {
    width: 100%;
    padding: 0;
    margin-top: 1rem;
  }

  .nav-mobile-actions .nav-social-icons {
    justify-content: center;
    gap: 1rem;
  }

  .nav-mobile-actions .nav-social-icon {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }

  .nav-mobile-actions .nav-separator-mobile {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
  }

  .nav-mobile-actions .language-selector {
    justify-content: center;
    width: 100%;
  }

  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: -100%;
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    background: var(--bg-white) !important;
    flex-direction: column !important;
    padding: 4rem 1.5rem 2rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 1001 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-menu.active {
    left: 0 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  /* Overlay removido - conteúdo deve aparecer normalmente */
  .nav-menu.active::before {
    display: none !important;
    content: none !important;
  }
  
  /* Overlay removido - conteúdo deve aparecer normalmente */
  body.menu-open::after {
    display: none !important;
    content: none !important;
  }
  
  /* Garante que o conteúdo apareça normalmente sem blur/escurecimento */
  body.menu-open .hero,
  body.menu-open .section,
  body.menu-open .hero-overlay,
  body.menu-open .hero-content {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
  }
  
  body.menu-open .menu-toggle.active {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 1003 !important;
    pointer-events: auto !important;
  }
  
  body.menu-open .menu-toggle.active i {
    color: var(--bg-white) !important;
  }
  
  /* Header permanece visível normalmente */
  body.menu-open .header {
    z-index: 998;
  }
  
  body.menu-open .header .logo,
  body.menu-open .header .nav-right-actions-desktop {
    opacity: 1;
  }
  
  /* Previne scroll do body quando menu está aberto - mas mantém conteúdo visível */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Remove qualquer overlay ou efeito de escurecimento */
  body.menu-open::before,
  body.menu-open::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
  }
  
  /* Garante que o menu cubra tudo e tenha espaço no topo */
  body.menu-open .nav-menu.active {
    padding-top: 4rem;
    z-index: 1001 !important;
  }
  
  /* Remove qualquer elemento visual indesejado no topo */
  body.menu-open .nav-menu.active::before {
    display: none;
  }
  
  /* Conteúdo principal permanece visível normalmente */
  body.menu-open .hero,
  body.menu-open .section {
    z-index: auto;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.3s ease forwards;
  }

  .nav-menu.active li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav-menu.active li:nth-child(2) {
    animation-delay: 0.2s;
  }

  .nav-menu.active li:nth-child(3) {
    animation-delay: 0.3s;
  }

  .nav-menu.active li:nth-child(4) {
    animation-delay: 0.4s;
  }

  .nav-menu.active li:nth-child(5) {
    animation-delay: 0.45s;
  }

  .nav-menu.active li.nav-mobile-actions {
    animation-delay: 0.55s;
  }

  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .nav-link {
    display: block;
    padding: 1.5rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.5px;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    background: var(--accent-blue);
    color: var(--bg-white);
    transform: translateX(8px);
    padding-left: 1.75rem;
  }
  
  .nav-link.active {
    background: var(--accent-blue);
    color: var(--bg-white);
  }

  .hero {
    min-height: 600px;
    margin-top: 70px;
  }

  .hero-monogram {
    font-size: 4rem;
  }

  .hero-logo-main {
    font-size: 1.85rem;
    letter-spacing: 2.5px;
  }

  .hero-logo-sub {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
  }

  .hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
  }

  .hero-content {
    padding: 2rem 1.5rem;
  }

  .hero-buttons {
    gap: 1rem;
  }

  .btn {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }

  .quem-somos-title {
    font-size: 2.75rem;
  }

  .section-quem-somos {
    border-left: none;
    padding: 5rem 0;
  }

  .section-nossa-historia,
  .section-areas,
  .section-equipe,
  .section-contato {
    padding: 5rem 0;
  }

  /* Manter espaçamentos consistentes */
  .quem-somos-header,
  .areas-header,
  .equipe-wrapper > div:first-child {
    margin-bottom: 2.5rem;
  }

  .quem-somos-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .nossa-historia-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nossa-historia-title {
    font-size: 2.5rem;
  }

  .nossa-historia-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .areas-title {
    font-size: 2.75rem;
  }

  .areas-intro {
    font-size: 1.05rem;
  }

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

  .area-card-dark {
    min-height: 300px;
    padding: 2.25rem 1.75rem;
  }

  .area-icon-white i {
    font-size: 2.75rem;
  }

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

  .equipe-title {
    font-size: 2.5rem;
  }

  .equipe-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .equipe-title {
    font-size: 2.25rem;
  }

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

  .noticias-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .noticias-title {
    font-size: 2.5rem;
  }

  .noticia-card {
    margin-bottom: 0;
  }

  .contato-separator-vertical {
    display: none;
  }

  .contato-title {
    font-size: 2.5rem;
  }

  .contato-form-title {
    font-size: 2rem;
  }

  .contato-section-title {
    font-size: 1.5rem;
  }

  .contato-item {
    margin-bottom: 1.25rem;
  }

  .contato-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-address {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-social-icons {
    justify-content: flex-start;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section {
    padding: 5rem 0;
  }

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

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

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer {
    padding: 4rem 0 2rem;
  }

  .footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .footer-links li a,
  .footer-contact li {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 85vh;
    min-height: 550px;
  }

  .hero-logo-main {
    font-size: 1.65rem;
    letter-spacing: 2px;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .btn {
    padding: 0.9rem 1.75rem;
    font-size: 0.95rem;
  }

  /* Manter identidade visual mesmo em telas muito pequenas */
  .quem-somos-title,
  .areas-title,
  .equipe-title,
  .contato-title {
    font-size: 2.25rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .areas-grid-detailed {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .area-card-detailed {
    padding: 1.25rem;
  }

  .area-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    top: -8px;
    left: -8px;
  }

  .area-icon-detailed {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .area-title-detailed {
    font-size: 1rem;
    line-height: 1.4;
  }

  .area-list li {
    font-size: 0.85rem;
    padding: 0.6rem 0;
    padding-left: 1.25rem;
    line-height: 1.5;
  }

  .container {
    padding: 0 1.5rem;
    max-width: 100%;
  }

  /* Melhorar espaçamentos e manter identidade visual */
  .section {
    padding: 5rem 0;
  }

  /* Manter hierarquia visual similar ao desktop */
  h2 {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
  }

  h3 {
    font-size: 1.75rem !important;
    margin-bottom: 1.25rem;
  }

  /* Melhorar legibilidade mantendo estilo profissional */
  p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  /* Manter cards com mais espaço e identidade */
  .area-card-detailed {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .area-title-detailed {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
  }

  .area-list li {
    font-size: 0.95rem;
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    line-height: 1.6;
  }

  /* Manter footer com identidade */
  .footer {
    padding: 4rem 0 2rem;
  }

  .footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .footer-links li a,
  .footer-contact li {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}

/* ============================================
     UTILITY CLASSES
     ============================================ */

.hidden {
  display: none;
}

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

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}