/*
Theme Name: Campos & Aggio Advogados
Theme URI: https://camposeaggio.com.br
Author: Jurídico Visual
Author URI: https://juridicovisual.com.br
Description: Tema institucional para escritório de advocacia empresarial e tributária
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: campos-aggio
*/

/* ===================================
   CSS RESET & BASE
=================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #2D2F31;
  --color-secondary: #F9F8F8;
  --color-dark: #1a1a1a;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-accent: #4a4a4a;
  --color-light-cream: #F9F8F8;
  --color-glass: rgba(45, 47, 49, 0.05);
  --color-glass-border: rgba(45, 47, 49, 0.15);
  --font-primary: 'Perpetua Titling MT', Georgia, serif;
  --font-display: 'Perpetua Titling MT', Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--color-dark);
  color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  letter-spacing: 0.03em;
}

/* ===================================
   LOADING SCREEN
=================================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh; /* Mobile viewport fix */
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: all;
}

.loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  max-width: 400px;
  width: 90%;
  padding: 0 1rem;
}

.loading-logo {
  height: 80px;
  width: auto;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInLogo 0.8s ease forwards;
}

@keyframes fadeInLogo {
  to {
    opacity: 1;
  }
}

.loading-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.loading-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(45, 47, 49, 0.5);
}

.loading-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Mobile Loading Adjustments */
@media (max-width: 768px) {
  .loading-screen {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }
  
  .loading-content {
    width: 85%;
    padding: 0 1.5rem;
  }
  
  .loading-logo {
    height: 60px;
    margin-bottom: 2rem;
  }
  
  .loading-bar-container {
    height: 3px;
    margin-bottom: 1rem;
  }
  
  .loading-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .loading-logo {
    height: 50px;
    margin-bottom: 1.5rem;
  }
  
  .loading-text {
    font-size: 0.8rem;
  }
}

/* ===================================
   LIQUID GLASS EFFECTS
=================================== */
.glass-morphism {
  background: rgba(45, 47, 49, 0.08);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(45, 47, 49, 0.2);
  box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.37),
    inset 0 1px 1px 0 rgba(45, 47, 49, 0.15);
}

.glass-reflect {
  position: relative;
  overflow: hidden;
}

.glass-reflect::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(45, 47, 49, 0.2),
    transparent
  );
  transition: left 0.7s ease;
}

.glass-reflect:hover::before {
  left: 100%;
}

/* ===================================
   MAIN SECTIONS Z-INDEX
=================================== */
section:not(.video-scroll-section) {
  position: relative;
  z-index: 10;
}

/* ===================================
   HEADER
=================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2rem 5%;
  transition: all 0.4s linear;
}

.site-header.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 5%;
  box-shadow: 0 4px 30px rgba(45, 47, 49, 0.3);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: block;
  transition: opacity 0.3s ease;
}

.site-logo:hover {
  opacity: 0.7;
}

.logo-image {
  height: 50px;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.main-nav a {
  color: var(--color-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: rgba(249, 248, 248, 0.7);
}

.main-nav a:hover::after {
  width: 100%;
}

/* ===================================
   HERO SECTION - LIQUID GLASS 2025
=================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&h=1080&fit=crop') center center / cover no-repeat, radial-gradient(ellipse at center, #0a0a0a 0%, #000000 100%);
  z-index: 10;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, 
    rgba(10, 10, 10, 0.2) 0%, 
    rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    transparent 60%,
    transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Animated Background Grid */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: 3;
}

.grid-line {
  position: absolute;
  background: linear-gradient(180deg, 
    transparent 0%, 
    var(--color-light-cream) 50%, 
    transparent 100%);
}

.grid-line.vertical {
  width: 1px;
  height: 100%;
  left: var(--line-position);
}

.grid-line.horizontal {
  width: 100%;
  height: 1px;
  top: var(--line-position);
}

/* Hero Content */
.hero-content {
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 10;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-secondary);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.badge-icon {
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(30px);
  max-width: 50%;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, 
    var(--color-secondary) 0%, 
    #d0d0d0 50%, 
    var(--color-secondary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.hero-title .highlight {
  display: block;
  color: var(--color-secondary);
  text-shadow: 0 0 60px rgba(45, 47, 49, 0.4);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--color-light-cream);
  max-width: 600px;
  margin: 0 0 3rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(30px);
  font-weight: 300;
  font-family: var(--font-body);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.4s linear;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.btn-secondary {
  background: rgba(45, 47, 49, 0.1);
  color: var(--color-secondary);
  border: 1px solid rgba(45, 47, 49, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(45, 47, 49, 0.2);
  border-color: rgba(45, 47, 49, 0.5);
  transform: translateY(-3px);
}

.btn-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(5px);
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1024px) {
  .site-header {
    padding: 1.5rem 4%;
  }
  
  .main-nav ul {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .hero-content {
    width: 95%;
    text-align: center;
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
    max-width: 100%;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
    margin: 0 auto 3rem;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
    justify-content: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hero-section::after {
    background: radial-gradient(ellipse at center, 
      rgba(0, 0, 0, 0.5) 0%, 
      rgba(0, 0, 0, 0.7) 100%);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }
}

/* ===================================
   ACCESSIBILITY
=================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus Styles */
a:focus,
button:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}

/* ===================================
   ANIMATION INITIAL STATES
=================================== */
.section-header,
.contact-card,
.gallery-item,
.gallery-card,
.stat-item,
.keyword-tag,
.feature-card,
.mission-card,
.area-card {
  opacity: 0;
  transform: translateY(30px);
}

.keyword-tag {
  transform: translateY(30px) scale(0.8);
}

.feature-card,
.area-card,
.gallery-card {
  transform: translateY(50px);
}



/* REMOVI .gsap-loaded RULES QUE ESTAVAM SOBRESCREVENDO AS ANIMAÇÕES */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .section-header {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===================================
   VALORES SECTION - SCROLL PANELS
=================================== */
.valores-section {
  position: relative;
  background: radial-gradient(ellipse at center, #0d0d0d 0%, #000000 100%);
  overflow: hidden;
  min-height: 100vh;
  padding-top: 4rem;
}

/* Section Header */
.valores-section .section-header {
  text-align: center;
  padding: 2rem 5%;
  margin-bottom: 0;
}

.valores-pin-container {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* Fixed Number Display Left */
.valores-number-fixed {
  width: 40%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.valores-number-display {
  padding: 4rem 3rem;
  border-radius: 32px;
  text-align: center;
}

.display-number {
  font-size: clamp(8rem, 15vw, 12rem);
  font-weight: 700;
  background: linear-gradient(135deg, 
    var(--color-white) 0%, 
    var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
  font-family: var(--font-display);
  transition: all 0.6s ease;
}

.display-total {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-light-cream);
  font-weight: 300;
  display: block;
  margin-top: 1rem;
}

/* Scrolling Content Right */
.valores-content-scroll {
  width: 60%;
  position: relative;
  padding: 0 4rem 0 2rem;
  overflow: visible;
}

.valor-panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  position: relative;
}

.valor-panel .panel-content {
  max-width: 600px;
  width: 100%;
}

.valor-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.valor-icon svg {
  width: 50px;
  height: 50px;
  color: var(--color-secondary);
}

.valor-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-family: var(--font-display);
}

.valor-description {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.6;
  color: var(--color-light-cream);
  max-width: 600px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.valor-badge {
  display: inline-flex;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  background: rgba(45, 47, 49, 0.15);
  border: 1px solid rgba(45, 47, 49, 0.3);
  color: var(--color-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Stats Bar */
.valores-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.valores-stats .stat-item {
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s linear;
}

.valores-stats .stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(45, 47, 49, 0.2);
}

.stat-number {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, 
    var(--color-white) 0%, 
    var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.stat-label {
  font-size: 1rem;
  color: var(--color-light-cream);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===================================
   VALORES SECTION RESPONSIVE
=================================== */
@media (max-width: 1024px) {
  .valores-section {
    min-height: auto;
    padding-top: 3rem;
  }
  
  .valores-pin-container {
    flex-direction: column;
    min-height: auto;
  }
  
  .valores-number-fixed {
    width: 100%;
    min-height: auto;
    padding: 2rem 0;
  }
  
  .valores-content-scroll {
    width: 100%;
    padding: 0 2rem;
  }
  
  .valor-panel {
    min-height: 60vh;
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .valores-section {
    padding-top: 2rem;
  }
  
  .valores-section .section-header {
    padding: 2rem 5% 1rem;
  }
  
  .valores-number-fixed {
    padding: 1.5rem 0;
  }
  
  .valores-number-display {
    padding: 2rem 1.5rem;
  }
  
  .display-number {
    font-size: clamp(6rem, 20vw, 8rem);
  }
  
  .valores-content-scroll {
    padding: 0 1.5rem;
  }
  
  .valor-panel {
    min-height: 50vh;
    padding: 2rem 0;
  }
  
  .valor-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
  }
  
  .valor-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .valor-title {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-bottom: 1.5rem;
  }
  
  .valor-description {
    font-size: clamp(1rem, 4vw, 1.25rem);
    margin-bottom: 1.5rem;
  }
  
  .valores-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 3rem 5%;
  }
}

@media (max-width: 480px) {
  .valores-content-scroll {
    padding: 0 1rem;
  }
  
  .valor-panel {
    min-height: 40vh;
    padding: 1.5rem 0;
  }
  
  .valor-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .valor-icon svg {
    width: 30px;
    height: 30px;
  }
}

/* ===================================
   VISÃO SECTION - NOVA VERSÃO
=================================== */
.visao-section {
  min-height: 100vh;
  padding: 4rem 5% 8rem;
  position: relative;
  background: radial-gradient(ellipse at center, #0d0d0d 0%, #000000 100%);
  overflow: hidden;
}

.visao-container {
  max-width: 1400px;
  margin: 0 auto;
}

.visao-wrapper {
  position: relative;
}

/* Section Header Centered */
.section-header.centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 6rem;
}

/* Keywords Cloud */
.keywords-cloud {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4rem 0 6rem;
  min-height: 200px;
}

.keyword-tag {
  position: absolute;
  padding: 0.75rem 1.5rem;
  background: rgba(45, 47, 49, 0.1);
  border: 1px solid rgba(45, 47, 49, 0.3);
  border-radius: 50px;
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.keyword-tag:hover {
  background: rgba(45, 47, 49, 0.2);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(45, 47, 49, 0.3);
}

/* Posicionamento das keywords */
.keyword-tag[data-keyword="1"] { top: 20%; left: 15%; }
.keyword-tag[data-keyword="2"] { top: 10%; right: 20%; }
.keyword-tag[data-keyword="3"] { top: 50%; left: 10%; }
.keyword-tag[data-keyword="4"] { bottom: 30%; right: 15%; }
.keyword-tag[data-keyword="5"] { bottom: 20%; left: 25%; }
.keyword-tag[data-keyword="6"] { top: 35%; right: 10%; }

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 3rem 2rem;
  background: rgba(45, 47, 49, 0.06);
  border: 1px solid rgba(45, 47, 49, 0.2);
  border-radius: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease;
  backdrop-filter: blur(15px);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(45, 47, 49, 0.12);
  border-color: rgba(45, 47, 49, 0.4);
  box-shadow: 0 20px 60px rgba(45, 47, 49, 0.25);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  color: var(--color-secondary);
  transition: all 0.4s ease;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 20px rgba(45, 47, 49, 0.4));
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--color-secondary);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.feature-card p {
  color: var(--color-light-cream);
  line-height: 1.6;
  font-weight: 300;
}

/* ===================================
   VISÃO E MISSÃO UNIFICADA SECTION
=================================== */
.visao-missao-section {
  min-height: 100vh;
  padding: 4rem 5% 8rem;
  position: relative;
  background: radial-gradient(ellipse at center, #0d0d0d 0%, #000000 100%);
  overflow: hidden;
}

.visao-missao-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Unified Card */
.unified-card {
  background: rgba(45, 47, 49, 0.06);
  border: 1px solid rgba(45, 47, 49, 0.2);
  border-radius: 24px;
  padding: 4rem;
  margin: 4rem 0;
  backdrop-filter: blur(15px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: start;
}

.unified-section {
  text-align: center;
}

.unified-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  color: var(--color-secondary);
}

.unified-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 20px rgba(45, 47, 49, 0.3));
}

.unified-section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.unified-section p {
  color: var(--color-light-cream);
  line-height: 1.7;
  font-weight: 300;
  font-size: 1.05rem;
}

.unified-divider {
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-secondary), transparent);
  opacity: 0.3;
  align-self: stretch;
}

.mission-highlight {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: rgba(45, 47, 49, 0.08);
  border-left: 3px solid var(--color-secondary);
  border-radius: 8px;
  font-style: italic;
  color: var(--color-white);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Principles Grid (reduzido) */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.principle-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(45, 47, 49, 0.04);
  border: 1px solid rgba(45, 47, 49, 0.15);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.principle-item:hover {
  transform: translateY(-5px);
  background: rgba(45, 47, 49, 0.08);
  border-color: rgba(45, 47, 49, 0.3);
}

.principle-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  color: var(--color-secondary);
}

.principle-icon svg {
  width: 100%;
  height: 100%;
}

.principle-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.principle-item p {
  color: var(--color-light-cream);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 300;
}

/* ===================================
   VISÃO SECTION - NOVA VERSÃO (DEPRECADO - manter para compatibilidade)
=================================== */
.visao-section {
  min-height: 100vh;
  padding: 4rem 5% 8rem;
  position: relative;
  background: radial-gradient(ellipse at center, #0d0d0d 0%, #000000 100%);
  overflow: hidden;
}

.missao-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Mission Grid - Layout Moderno */
.missao-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 1.5rem;
  margin: 4rem 0;
}

/* Card Base */
.mission-card {
  background: rgba(45, 47, 49, 0.06);
  border: 1px solid rgba(45, 47, 49, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), rgba(249, 248, 248, 0.3));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mission-card:hover::before {
  opacity: 1;
}

.mission-card:hover {
  transform: translateY(-5px);
  background: rgba(45, 47, 49, 0.12);
  border-color: rgba(45, 47, 49, 0.4);
  box-shadow: 0 20px 60px rgba(45, 47, 49, 0.3);
}

/* Card Layouts */
.main-card {
  grid-column: span 4;
  grid-row: span 1;
  text-align: center;
}

.medium-card {
  grid-column: span 2;
  grid-row: span 1;
}

.small-card {
  grid-column: span 1;
  grid-row: span 1;
}

.quote-card {
  grid-column: span 2;
  grid-row: span 1;
  text-align: center;
}

/* Card Content Styles */
.card-icon-large {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  color: var(--color-secondary);
}

.card-icon-large svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 20px rgba(45, 47, 49, 0.3));
}

.card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.main-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.medium-card h4,
.small-card h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.mission-card p {
  color: var(--color-light-cream);
  line-height: 1.7;
  font-weight: 300;
}

.card-highlight {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(45, 47, 49, 0.08);
  border-left: 3px solid var(--color-secondary);
  border-radius: 8px;
  font-style: italic;
  color: var(--color-white);
}

/* Card Numbers */
.card-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

/* Quote Styles */
.quote-icon {
  font-size: 4rem;
  color: rgba(45, 47, 49, 0.2);
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.quote-card blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-white);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.quote-card cite {
  color: var(--color-secondary);
  font-weight: 500;
}

/* Section CTA */
.section-cta {
  text-align: center;
  margin-top: 4rem;
}

.cta-text {
  font-size: 1.2rem;
  color: var(--color-light-cream);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* ===================================
   ÁREAS SECTION - NOVA VERSÃO
=================================== */
.areas-section {
  min-height: 100vh;
  padding: 4rem 5% 8rem;
  position: relative;
  background: radial-gradient(ellipse at center, #0d0d0d 0%, #000000 100%);
  overflow: hidden;
}

.areas-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Areas Grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.area-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(45, 47, 49, 0.1);
  border-radius: 20px;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease;
  backdrop-filter: blur(15px);
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.area-card:hover::before {
  opacity: 1;
}

.area-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(45, 47, 49, 0.3);
  box-shadow: 0 20px 60px rgba(45, 47, 49, 0.2);
}

/* Area Number */
.area-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(45, 47, 49, 0.1);
  font-family: var(--font-display);
}

/* Area Icon */
.area-icon {
  width: 60px;
  height: 60px;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.area-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 20px rgba(45, 47, 49, 0.2));
}

.area-card:hover .area-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--color-white);
}

.area-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.area-card p {
  color: var(--color-light-cream);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* Area Features List */
.area-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.area-features li {
  color: var(--color-light-cream);
  font-size: 0.9rem;
  padding-left: 1.5rem;
  position: relative;
  font-weight: 300;
  transition: color 0.3s ease;
}

.area-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 400;
}

.area-card:hover .area-features li {
  color: var(--color-white);
}

/* ===================================
   RESPONSIVE - NOVAS SEÇÕES
=================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .missao-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .main-card {
    grid-column: span 2;
  }
  
  .medium-card,
  .quote-card {
    grid-column: span 2;
  }
  
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Visão-Missão Unificada */
  .unified-card {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    gap: 3rem;
  }
  
  .unified-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-secondary), transparent);
  }
  
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .visao-section,
  .missao-section,
  .visao-missao-section,
  .areas-section {
    padding: 4rem 5%;
  }
  
  .keywords-cloud {
    margin: 3rem 0 4rem;
    min-height: 150px;
  }
  
  .keyword-tag {
    position: relative;
    display: inline-block;
    margin: 0.5rem;
    transform: none;
  }
  
  .features-grid {
    gap: 1.25rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .missao-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .main-card,
  .medium-card,
  .small-card,
  .quote-card {
    grid-column: span 1;
  }
  
  .areas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .area-card {
    padding: 2rem;
  }
  
  /* Visão-Missão mobile */
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  /* Galeria mobile */
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .gallery-card.large-card:nth-child(1),
  .gallery-card.large-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4),
  .gallery-card:nth-child(5),
  .gallery-card:nth-child(6) {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 480px) {
  .feature-card,
  .mission-card,
  .area-card {
    padding: 1.5rem;
  }
  
  .feature-icon,
  .card-icon-large {
    width: 60px;
    height: 60px;
  }
  
  .area-icon {
    width: 50px;
    height: 50px;
  }
}

/* ===================================
   CONTATO SECTION
=================================== */
.contato-section {
  min-height: 100vh;
  padding: 8rem 5%;
  position: relative;
  background: radial-gradient(ellipse at bottom, #0d0d0d 0%, #000000 100%);
  overflow: hidden;
}

.contato-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Contato Grid */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

/* Contact Info Side */
.contato-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Contact Cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-card {
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  gap: 1rem;
  transition: all 0.2s ease;
  opacity: 0;
  transform: translateY(20px);
}

.contact-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 15px 50px rgba(45, 47, 49, 0.15);
}

.contact-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.contact-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-light-cream);
  font-weight: 300;
}

.contact-content a {
  color: var(--color-light-cream);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-content a:hover {
  color: var(--color-white);
}

/* Map Side */
.contato-map {
  position: relative;
  opacity: 0;
  transform: translateX(30px);
}

.map-container {
  position: sticky;
  top: 120px;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
}

.map-overlay {
  position: absolute;
    top: 0.6rem;
    right: 2rem;
    pointer-events: none;
}

.map-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  pointer-events: auto;
}

.map-badge svg {
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
}

.map-badge span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-white);
}

/* ===================================
   GALERIA SECTION - NOVA VERSÃO
=================================== */
.galeria-section {
  min-height: 100vh;
  padding: 4rem 5% 8rem;
  background: radial-gradient(ellipse at center, #0d0d0d 0%, #000000 100%);
  position: relative;
  overflow: hidden;
}

.galeria-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Gallery Grid - Optimized for 6 images */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 320px) auto;
  gap: 1.5rem;
  margin: 4rem 0;
}

/* Gallery Cards */
.gallery-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(45, 47, 49, 0.1);
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease;
  backdrop-filter: blur(15px);
  cursor: pointer;
}

/* Two large cards at the top (2x2 each) */
.gallery-card.large-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-card.large-card:nth-child(2) {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
}

/* Remaining cards in third row (smaller) */
.gallery-card:nth-child(3) {
  grid-column: 1;
  grid-row: 3;
}

.gallery-card:nth-child(4) {
  grid-column: 2;
  grid-row: 3;
}

.gallery-card:nth-child(5) {
  grid-column: 3;
  grid-row: 3;
}

.gallery-card:nth-child(6) {
  grid-column: 4;
  grid-row: 3;
}

.gallery-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(45, 47, 49, 0.3);
  box-shadow: 0 20px 60px rgba(45, 47, 49, 0.2);
}

/* Gallery Image Wrapper */
.gallery-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  filter: grayscale(30%) brightness(0.8);
}

/* Ajuste específico para o segundo card (Enrique) */
.gallery-card.large-card:nth-child(2) img {
  object-position: center 25%;
}

.gallery-card:hover .gallery-image-wrapper img {
  transform: scale(1.1);
  filter: grayscale(0%) brightness(1);
}

/* Gallery Overlay */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.8) 0%, 
    rgba(0, 0, 0, 0.4) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* Gallery Content */
.gallery-content {
  color: var(--color-white);
  width: 100%;
  position: relative;
}

.gallery-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.gallery-content p {
  font-size: 0.9rem;
  color: var(--color-light-cream);
  margin-bottom: 1rem;
  font-weight: 300;
}

/* Gallery Expand Button */
.gallery-expand {
  position: absolute;
  top: -1rem;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--color-white);
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.gallery-card:hover .gallery-expand {
  transform: scale(1);
  background: rgba(45, 47, 49, 0.2);
}

.gallery-expand svg {
  width: 20px;
  height: 20px;
}

/* Gallery Tags */
.gallery-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(45, 47, 49, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--color-white);
  font-weight: 500;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}

.gallery-card:hover .gallery-tag {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery Stats */
.gallery-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 6rem;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(45, 47, 49, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(15px);
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 1rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-light-cream);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===================================
   GALERIA RESPONSIVE
=================================== */
@media (max-width: 1200px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 280px);
  }
  
  .gallery-card.featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  /* Reset specific positioning for responsive */
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4),
  .gallery-card:nth-child(5),
  .gallery-card:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .galeria-section {
    padding: 4rem 5%;
  }
  
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 280px);
    gap: 1.25rem;
  }
  
  .gallery-card.featured {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .gallery-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    padding: 2rem;
  }
  
  .gallery-content {
    padding: 0;
  }
  
  .gallery-overlay {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    grid-template-rows: repeat(6, 250px);
  }
  
  .gallery-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stat-item {
    padding: 1rem 0;
  }
}

/* ===================================
   WHATSAPP FLOATING BUTTON
=================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
              0 8px 40px rgba(37, 211, 102, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5),
              0 12px 60px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: #ffffff;
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
                0 8px 40px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6),
                0 12px 60px rgba(37, 211, 102, 0.5);
  }
}

/* ===================================
   FOOTER
=================================== */
.site-footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 5% 2rem;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Footer Main */
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand */
.footer-brand {
  max-width: 400px;
}

.footer-logo-link {
  display: block;
  margin-bottom: 1rem;
  transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
  opacity: 0.8;
}

.footer-logo-image {
  height: 80px;
  width: auto;
  display: block;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-light-cream);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--color-light-cream);
  transition: all 0.3s ease;
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* Footer Links */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu li a {
  font-size: 0.95rem;
  color: var(--color-light-cream);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-menu li a:hover {
  color: var(--color-white);
  transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--color-light-cream);
  font-weight: 300;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legal-link {
  font-size: 0.9rem;
  color: var(--color-light-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: var(--color-white);
}

.separator {
  color: var(--color-light-cream);
  opacity: 0.5;
}

.footer-dev {
  font-size: 0.9rem;
  color: var(--color-light-cream);
  font-weight: 300;
}

.footer-dev a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-dev a:hover {
  color: var(--color-white);
}

/* ===================================
   CONTATO & FOOTER RESPONSIVE
=================================== */
@media (max-width: 1024px) {
  .contato-grid {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    position: relative;
    top: 0;
    height: 450px;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contato-section {
    padding: 4rem 5%;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 3rem 5% 1.5rem;
  }
  
  .footer-main {
    gap: 2rem;
    padding-bottom: 2rem;
  }
  
  .footer-social {
    justify-content: center;
  }
}

/* ===================================
   SOBRE O ADVOGADO SECTION
=================================== */
.sobre-section {
  position: relative;
  background: radial-gradient(ellipse at left, #0d0d0d 0%, #000000 100%);
  overflow: hidden;
  height: 100vh;
}

.sobre-pin-container {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
}

/* Fixed Image Left */
.sobre-image-fixed {
  width: 45%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.sobre-image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.sobre-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Scrolling Content Right */
.sobre-content-scroll {
  width: 55%;
  position: relative;
  padding: 0 4rem 0 2rem;
  overflow: visible;
}

.sobre-text-panel {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  position: relative;
  padding: 2rem 0;
}

.panel-content {
  max-width: 600px;
  width: 100%;
}

.panel-content h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.panel-content h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--color-white);
  font-family: var(--font-display);
}

.panel-content p {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.6;
  color: var(--color-light-cream);
  font-weight: 300;
  margin-bottom: 2rem;
}

.panel-content .sobre-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--color-secondary);
  font-weight: 400;
  margin-bottom: 0;
}

/* Stats Grid in Panel */
.sobre-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s linear;
}

.stat-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(45, 47, 49, 0.2);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, 
    var(--color-white) 0%, 
    var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.stat-label {
  font-size: 1rem;
  color: var(--color-light-cream);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CTA in Panel */
.sobre-cta {
  margin-top: 3rem;
}

/* Badge in Panel */
.panel-content .section-badge {
  margin-bottom: 2rem;
  display: inline-flex;
}

/* Sobre Features */
.sobre-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-box {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  transition: all 0.4s linear;
  opacity: 0;
  transform: translateX(20px);
}

.feature-box:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.06);
}

.feature-box svg {
  width: 40px;
  height: 40px;
  min-width: 40px;
  color: var(--color-secondary);
}

.feature-box h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.feature-box p {
  font-size: 0.95rem;
  color: var(--color-light-cream);
  line-height: 1.5;
  font-weight: 300;
}

/* Sobre CTA */
.sobre-cta {
  opacity: 0;
  transform: translateY(20px);
}

/* ===================================
   SOBRE RESPONSIVE
=================================== */
@media (max-width: 1024px) {
  .sobre-section {
    height: auto;
    min-height: auto;
  }
  
  .sobre-pin-container {
    flex-direction: column;
    height: auto;
  }
  
  .sobre-image-fixed {
    width: 100%;
    height: 40vh;
    position: relative;
  }
  
  .sobre-content-scroll {
    width: 100%;
    padding: 2rem;
  }
  
  .sobre-text-panel {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .sobre-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .sobre-section,
  .galeria-section,
  .contato-section {
    padding: 4rem 5%;
  }
  
  .sobre-image-fixed {
    height: 35vh;
  }
  
  .sobre-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .sobre-content-scroll {
    padding: 1.5rem;
  }
  
  .sobre-text-panel {
    min-height: auto;
    padding: 1.5rem 0;
  }
  
  .panel-content h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 1rem;
  }
  
  .panel-content h3 {
    font-size: clamp(1.3rem, 5vw, 2rem);
    margin-bottom: 1rem;
  }
  
  .panel-content p {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    line-height: 1.6;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
    gap: 1rem;
  }
  
  .gallery-item-large {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  
  .area-icon {
    width: 50px;
    height: 50px;
  }
  
  .feature-box {
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .feature-box svg {
    width: 35px;
    height: 35px;
    min-width: 35px;
  }
}
