/* Design System - Baseado no projeto React */
:root {
  --background: 43 33% 95%;
  --foreground: 0 0% 10%;

  --card: 0 0% 100%;
  --card-foreground: 0 0% 10%;

  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 10%;

  --primary: 357 59% 43%;
  --primary-foreground: 43 33% 95%;

  --secondary: 43 20% 85%;
  --secondary-foreground: 0 0% 10%;

  --muted: 43 20% 90%;
  --muted-foreground: 0 0% 45%;

  --accent: 357 59% 43%;
  --accent-foreground: 43 33% 95%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 43 33% 95%;

  --border: 43 20% 85%;
  --input: 43 20% 90%;
  --ring: 357 59% 43%;

  --radius: 0.5rem;
  
  --law-red: 357 59% 43%;
  --law-beige: 43 33% 95%;
  --law-beige-dark: 43 20% 85%;
  --law-gold: 43 80% 50%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Layout */
.min-h-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

/* Spacing */
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

/* Typography */
.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.text-center {
  text-align: center;
}

.leading-relaxed {
  line-height: 1.75;
}

/* Colors */
.bg-background {
  background-color: hsl(var(--background));
}

.bg-card {
  background-color: hsl(var(--card));
}

.bg-secondary {
  background-color: hsl(var(--secondary));
}

.bg-primary {
  background-color: hsl(var(--primary));
}

.bg-muted {
  background-color: hsl(var(--muted));
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-primary {
  color: hsl(var(--primary));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}

/* Borders */
.border {
  border: 1px solid hsl(var(--border));
}

.border-t {
  border-top: 1px solid hsl(var(--border));
}

.border-b {
  border-top: 1px solid hsl(var(--border));
}

.border-border {
  border-color: hsl(var(--border));
}

.rounded-lg {
  border-radius: var(--radius);
}

.rounded-full {
  border-radius: 9999px;
}

/* Shadows */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Header */
header {
  background-color: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.logo img {
  height: 100px;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: hsl(var(--primary));
}

.nav-link.active {
  color: hsl(var(--primary));
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: color 0.2s;
}

.mobile-menu-btn:hover {
  color: hsl(var(--primary));
}

.mobile-menu {
  display: none;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .nav-link {
  display: block;
  padding: 0.75rem 0;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  background-color: hsl(var(--secondary));
  overflow: hidden;
  height: 600px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.hero-slide .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  max-width: 48rem;
  margin: 0;
  line-height: 1.2;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.85rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 10px 30px -12px rgba(191, 59, 73, 0.7);
  z-index: 20;
}

.carousel-nav:hover {
  background-color: hsl(var(--primary));
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 12px 36px -10px rgba(191, 59, 73, 0.85);
}

.carousel-nav svg {
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
}

.carousel-nav.prev {
  left: 1rem;
}

.carousel-nav.next {
  right: 1rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.carousel-indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  border: none;
  background-color: hsla(var(--primary), 0.3);
  cursor: pointer;
  transition: background-color 0.2s;
}

.carousel-indicator.active {
  background-color: hsl(var(--primary));
}

/* Page Header */
.page-header {
  position: relative;
  height: 256px;
  background-color: hsl(var(--secondary));
  overflow: hidden;
}

.page-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  position: absolute;
  inset: 0;
}

.page-header .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.page-header h1 {
  position: relative;
  z-index: 10;
  width: 100%;
  text-align: left;
  margin: 0;
}

/* Cards */
.card {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-header {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.card-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-6 {
  gap: 1.5rem;
}

/* Sections */
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Footer */
footer {
  background-color: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
}

.footer-content {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo img {
  height: 180px;
  margin-bottom: 1rem;
}

.footer-section h3 {
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-links a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact-item a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  background-color: hsla(var(--primary), 0.1);
  padding: 0.75rem;
  border-radius: var(--radius);
  color: hsl(var(--primary));
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.social-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Social Icons Home */
.social-icon-home {
  width: 4rem;
  height: 4rem;
  background-color: rgba(191, 59, 73, 0.12);
  border: 1px solid rgba(191, 59, 73, 0.25);
  border-radius: 1rem;
  color: hsl(var(--primary));
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px -12px hsla(var(--primary), 0.55);
}

.social-icon-home:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px hsla(var(--primary), 0.7);
}

.social-icon-home svg {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(191, 59, 73, 0.12);
  border: 1px solid rgba(191, 59, 73, 0.25);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px -12px hsla(var(--primary), 0.55);
}

.contact-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.contact-details h3 {
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.contact-details a:hover {
  color: hsl(var(--primary));
}

.news-card-cover img,
.news-detail-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.news-card-cover {
  overflow: hidden;
  border-radius: var(--radius);
  max-height: 220px;
}

.news-card-cover img {
  object-fit: cover;
}

.news-detail-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.prose img {
  max-width: 100%;
  border-radius: var(--radius);
}

/* Map */
.map-container {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Partners/Socios */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.partner-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.partner-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.partner-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: hsl(var(--secondary));
}

.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-info {
  padding: 1.5rem;
}

.partner-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.partner-oab {
  color: hsl(var(--primary));
  font-weight: 500;
  margin-bottom: 1rem;
}

.partner-bio {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  line-height: 1.75;
}

.partner-social {
  display: flex;
  gap: 0.75rem;
}

.partner-social a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.partner-social a:hover {
  color: hsl(var(--primary));
}

.partner-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Practice Areas Icons */
.practice-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

/* Values List */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1.125rem;
}

.values-list li {
  display: flex;
  align-items: flex-start;
}

.values-list li span:first-child {
  color: hsl(var(--primary));
  margin-right: 0.5rem;
}

/* Utilities */
.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-50 {
  z-index: 50;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-30 {
  opacity: 0.3;
}

.transition-colors {
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.transition-shadow {
  transition: box-shadow 0.2s;
}

.transition-opacity {
  transition: opacity 0.2s;
}

.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:text-primary:hover {
  color: hsl(var(--primary));
}

/* Responsive */
@media (min-width: 768px) {
  .logo img {
    height: 120px;
  }

  .hero-carousel {
    height: 500px;
  }

  .page-header {
    height: 320px;
  }

  .page-header h1 {
    font-size: 3rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 2fr 1fr;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Utility classes for md breakpoint */
  .md\:text-5xl {
    font-size: 3rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
  }

  .md\:h-16 {
    height: 4rem;
  }
}

@media (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .practice-areas-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .hero-content {
    padding-left: 4rem;
  }
}

@media (max-width: 767px) {
  .mobile-menu-btn {
    display: block;
  }

  nav.desktop-menu {
    display: none;
  }

  h3.footer-section{margin-bottom: 1rem;}
}

/* 404 Page */
.not-found {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--muted));
}

.not-found-content {
  text-align: center;
}

.not-found-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.not-found-content p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.not-found-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
  transition: color 0.2s;
}

.not-found-content a:hover {
  color: hsla(var(--primary), 0.9);
}

/* Hero News Button */
.hero-news-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: hsl(var(--primary));
  color: white;
  text-decoration: none;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
}

.hero-news-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

