/* 
  KARLA OLIMPIO ADVOCACIA - DESIGN SYSTEM & STYLESHEET
  Theme: Modern Luxury Legal (Navy Dark & Legal Gold)
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #0b131f;
  --bg-dark-surface: #111a2a;
  --accent-gold: #c59b3f;
  --accent-gold-light: #e6c667;
  --accent-gold-dark: #9a7629;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --bg-light: #f8fafc;
  --bg-light-alt: #eff3f9;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 35px -10px rgba(12, 20, 33, 0.12);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Navbar Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(11, 19, 31, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 155, 63, 0.15);
  transition: var(--transition-normal);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-gold);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width var(--transition-normal);
}

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

.btn-consultation {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--accent-gold);
  padding: 0.65rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-consultation:hover {
  background-color: var(--accent-gold);
  color: var(--bg-dark);
  box-shadow: 0 0 15px rgba(197, 155, 63, 0.4);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 9rem 1.5rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/hero-bg.png');
  background-size: auto 100%;
  background-position: left top;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 35% 50%, rgba(11, 19, 31, 0.45) 0%, rgba(11, 19, 31, 0.82) 100%),
              linear-gradient(180deg, rgba(11, 19, 31, 0.75) 0%, rgba(11, 19, 31, 0.45) 50%, rgba(11, 19, 31, 0.96) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-icon {
  width: 56px;
  height: 56px;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(197, 155, 63, 0.3));
}

.hero-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  display: block;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 2.8rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #c59b3f 100%);
  color: #0b131f;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: 0 6px 20px rgba(197, 155, 63, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #e6c667 0%, #d4af37 100%);
  box-shadow: 0 10px 25px rgba(197, 155, 63, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  background: rgba(197, 155, 63, 0.08);
  transform: translateY(-3px);
}

/* SEÇÃO ÁREAS DE ATUAÇÃO */
.section-areas {
  padding: 7rem 6%;
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--bg-dark);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 1.2rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.area-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 2.8rem 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.area-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 155, 63, 0.4);
  box-shadow: var(--shadow-lg);
}

.card-top {
  margin-bottom: 2rem;
}

.card-icon-wrapper {
  width: 52px;
  height: 52px;
  background: rgba(197, 155, 63, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
  transition: var(--transition-fast);
}

.area-card:hover .card-icon-wrapper {
  background-color: var(--accent-gold);
  color: var(--bg-dark);
}

.card-icon {
  width: 26px;
  height: 26px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--bg-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-desc {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

.card-link {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.area-card:hover .card-link {
  color: var(--accent-gold-dark);
}

.area-card:hover .card-link svg {
  transform: translateX(4px);
}

/* SEÇÃO O ESCRITÓRIO */
.section-about {
  padding: 7rem 6%;
  background-color: var(--bg-dark-surface);
  color: var(--text-light);
}

.about-container {
  max-width: 1240px;
  margin: 0 auto;
}

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

.about-header .section-title {
  color: #ffffff;
}

.about-header .section-subtitle {
  color: #94a3b8;
}

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

.about-card {
  background-color: rgba(11, 19, 31, 0.7);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(197, 155, 63, 0.2);
  transition: var(--transition-normal);
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(197, 155, 63, 0.12);
  color: var(--accent-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.about-card-icon svg {
  width: 24px;
  height: 24px;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.about-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* SEÇÃO FALE CONOSCO */
.section-contact {
  padding: 7rem 6%;
  background-color: var(--bg-light-alt);
}

.contact-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.contact-left .section-title {
  text-align: left;
}

.contact-left .section-title::after {
  left: 0;
  transform: none;
}

.contact-desc {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.contact-item:hover {
  transform: translateX(8px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.contact-item-icon {
  width: 46px;
  height: 46px;
  background-color: var(--bg-dark);
  color: var(--accent-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-label {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #94a3b8;
  font-weight: 700;
  display: block;
}

.contact-item-value {
  font-size: 1.1rem;
  color: var(--bg-dark);
  font-weight: 700;
  display: block;
  margin-top: 2px;
}

.contact-right {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 3.5rem 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.card-qr-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--bg-dark);
  font-weight: 700;
  margin-bottom: 2rem;
}

.qr-card-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem;
  display: inline-block;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
}

.qr-card-header {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.qr-card-header h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--bg-dark);
}

.qr-card-header p {
  font-size: 0.75rem;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.qr-code-img {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  display: block;
}

.qr-caption {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

/* FOOTER */
.footer {
  background-color: #060a12;
  color: #94a3b8;
  padding: 3.5rem 6% 2.5rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.footer-copyright {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-link {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-gold-light);
}

/* Responsividade */
@media (max-width: 1024px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-left .section-title {
    text-align: center;
  }
  
  .contact-left .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 4%;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 8rem;
  }

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

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
