/*
Theme Name: Varaschin & Baldissera
Theme URI: https://vbadvocacia.com.br
Author: VB Advocacia
Author URI: https://vbadvocacia.com.br
Description: Tema WordPress para escritório de advocacia corporativa Varaschin & Baldissera
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vb-advocacia
*/

/* Importa as fontes Google */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=EB+Garamond:wght@400;500;600;700&display=swap');

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores principais */
  --background: hsl(200, 6%, 32%);
  --foreground: hsl(0, 0%, 100%);
  --card: hsl(200, 6%, 28%);
  --card-foreground: hsl(0, 0%, 100%);
  --primary: hsl(200, 6%, 32%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(200, 6%, 24%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(200, 6%, 40%);
  --muted-foreground: hsl(0, 0%, 80%);
  --accent: hsl(40, 23%, 51%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(200, 6%, 45%);
  --background-light: hsl(0, 0%, 98%);
  --white: hsl(0, 0%, 100%);
  
  /* Fontes */
  --font-cinzel: 'Cinzel', serif;
  --font-garamond: 'EB Garamond', serif;
  
  /* Transições */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-garamond);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Navegação */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  background-color: transparent;
}

.navigation.scrolled {
  background-color: hsla(200, 6%, 32%, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: none;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-menu a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--accent);
}

.btn-contato {
  background-color: var(--accent);
  color: var(--foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  display: inline-block;
}

.btn-contato:hover {
  background-color: hsl(40, 23%, 45%);
  transform: translateY(-2px);
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, 
    hsla(200, 6%, 32%, 0.95) 0%, 
    hsla(200, 6%, 32%, 0.85) 50%, 
    hsla(200, 6%, 32%, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 5rem 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-family: var(--font-cinzel);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--accent);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), 1px 1px 2px rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
  font-family: var(--font-garamond);
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2rem;
  color: var(--foreground);
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--foreground);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: var(--transition-smooth);
  display: inline-block;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background-color: hsl(40, 23%, 45%);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--foreground);
  padding: 1rem 2rem;
  border: 2px solid var(--foreground);
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: var(--transition-smooth);
  display: inline-block;
}

.btn-secondary:hover {
  background-color: var(--foreground);
  color: var(--primary);
}

.experience-badge {
  position: absolute;
  bottom: 3rem;
  right: 2rem;
  z-index: 20;
  animation: fadeIn 1.5s ease-out;
  display: none;
}

@media (min-width: 768px) {
  .experience-badge {
    display: block;
  }
}

.badge-content {
  background-color: hsla(40, 23%, 51%, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid hsla(40, 23%, 51%, 0.3);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s;
}

.badge-content:hover {
  transform: scale(1.05);
}

.badge-number {
  font-family: var(--font-cinzel);
  font-size: 2rem;
  font-weight: 700;
  color: white;
  padding-right: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-text {
  font-family: var(--font-garamond);
  color: white;
  line-height: 1.4;
}

.badge-text span {
  display: block;
  font-size: 0.875rem;
}

/* Seções */
section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-family: var(--font-cinzel);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

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

.section-divider {
  width: 6rem;
  height: 4px;
  background-color: var(--accent);
  margin: 0 auto 2rem;
}

.section-description {
  font-size: 1.125rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* Sobre */
.about-section {
  background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 50%, hsl(40, 23%, 51%, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos da seção Sobre */
.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background-color: hsla(40, 23%, 51%, 0.1);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.about-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 18rem;
  height: 18rem;
  background-color: hsla(200, 6%, 32%, 0.1);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.about-section .container {
  position: relative;
  z-index: 10;
}

/* Gradiente de transição suave no final da seção Sobre */
.about-section .transition-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8rem;
  background: linear-gradient(to bottom, transparent 0%, var(--primary) 100%);
  z-index: 5;
}

.about-section .section-title {
  color: var(--primary);
}

.about-section .section-description {
  color: hsl(200, 6%, 32%, 0.8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background-color: hsla(0, 0%, 100%, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid hsla(40, 23%, 51%, 0.2);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  background-color: white;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.stat-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, hsl(40, 23%, 60%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, hsl(40, 23%, 70%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--primary);
  font-weight: 500;
}

/* Áreas de Atuação */
.practice-areas {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
  position: relative;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.area-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.area-card:hover {
  border-color: hsla(40, 23%, 51%, 0.5);
  transform: translateY(-4px);
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, hsla(40, 23%, 51%, 0.05) 0%, transparent 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.7s;
}

.area-card:hover::before {
  opacity: 1;
}

.area-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--accent) 0%, hsl(40, 23%, 51%, 0.5) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

.area-card:hover .area-card-accent {
  transform: scaleX(1);
}

.area-card-content {
  padding: 2rem;
  position: relative;
}

.area-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  background-color: hsla(40, 23%, 51%, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.area-card:hover .area-icon {
  background-color: var(--accent);
  transform: scale(1.1) rotate(3deg);
}

.area-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
  transition: color 0.5s;
}

.area-card:hover .area-icon svg {
  color: white;
}

.area-title {
  font-family: var(--font-cinzel);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--card-foreground);
  transition: color 0.3s;
}

.area-card:hover .area-title {
  color: var(--accent);
}

.area-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  transition: color 0.3s;
}

.area-card:hover .area-description {
  color: hsla(0, 0%, 100%, 0.8);
}

.area-more {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.5s;
}

.area-card:hover .area-more {
  opacity: 1;
  transform: translateX(0);
}

.area-more svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

/* Equipe */
.team-section {
  background-color: white;
  position: relative;
}

.team-section .section-title {
  color: var(--primary);
}

.team-section .section-description {
  color: var(--primary);
  font-weight: 500;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background-color: white;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid hsla(40, 23%, 51%, 0.1);
  transition: var(--transition-smooth);
}

.team-card:hover {
  box-shadow: 0 20px 50px -10px hsla(40, 23%, 51%, 0.2);
  transform: translateY(-8px);
}

.team-image {
  height: 300px;
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, hsla(200, 6%, 32%, 0.6) 0%, transparent 100%);
}

.team-content {
  padding: 1.5rem;
  background-color: white;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-specialty {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.team-description {
  color: hsl(200, 6%, 32%, 0.7);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.team-social {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid hsla(40, 23%, 51%, 0.2);
}

.social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: hsla(40, 23%, 51%, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
}

.social-btn:hover {
  background-color: var(--accent);
  color: white;
  transform: scale(1.1);
}

.social-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Contato */
.contact-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--secondary) 100%);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: hsla(255, 255%, 255%, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid hsla(255, 255%, 255%, 0.1);
  transition: var(--transition-smooth);
}

.contact-card:hover {
  background-color: hsla(255, 255%, 255%, 0.1);
  border-color: hsla(40, 23%, 51%, 0.3);
  box-shadow: 0 15px 40px -10px hsla(40, 23%, 51%, 0.1);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: hsla(40, 23%, 51%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

.contact-details h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-details p,
.contact-details a {
  color: hsla(0, 0%, 100%, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-cta {
  background: linear-gradient(135deg, var(--accent) 0%, hsl(40, 23%, 51%, 0.8) 100%);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.3);
  border: 1px solid hsla(40, 23%, 51%, 0.2);
}

.contact-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.contact-cta p {
  color: hsla(0, 0%, 100%, 0.9);
  margin-bottom: 1.5rem;
}

.contact-cta .btn-primary {
  width: 100%;
  background-color: white;
  color: var(--accent);
}

.contact-cta .btn-primary:hover {
  background-color: hsla(0, 0%, 100%, 0.9);
}

.contact-map {
  margin-top: 2rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.3);
  border: 1px solid hsla(40, 23%, 51%, 0.2);
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* Footer */
footer {
  background-color: var(--secondary);
  padding: 2rem 0;
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-logo img {
  height: 96px;
  width: auto;
  object-fit: contain;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsla(0, 0%, 100%, 0.6);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.875rem;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-copy {
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.7s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.7s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out;
}

/* Utilitários */
.text-center {
  text-align: center;
}

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

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

.mb-6 {
  margin-bottom: 1.5rem;
}

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

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

/* Scroll suave */
html {
  scroll-behavior: smooth;
}
