/* ==========================================================================
   DESIGN SYSTEM - DRA. RENATA LANCELLOTTI
   Cores: Navy Blue (Autoridade) + Dourado/Bronze (Elegância) + Off-White (Leveza)
   ========================================================================== */

:root {
  /* Cores Principais */
  --primary: #0A1D37;          /* Navy Blue Escuro */
  --primary-light: #152E52;    /* Navy Blue Médio */
  --accent: #C5A880;           /* Ouro Dourado/Bronze */
  --accent-light: #F5EFEB;     /* Off-White Dourado */
  --accent-hover: #B0946E;     /* Dourado Escuro */
  
  /* Fundos e Neutros */
  --bg-light: #F8F9FA;         /* Off-White Principal */
  --bg-white: #FFFFFF;
  --text-dark: #1E293B;        /* Chumbo Escuro (mais legível que preto) */
  --text-muted: #64748B;      /* Cinza Muted */
  
  /* Conversão */
  --whatsapp: #25D366;         /* Verde Oficial WhatsApp */
  --whatsapp-hover: #20BA5A;
  
  /* Sombras e Bordas */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(10, 29, 55, 0.08);
  --shadow-lg: 0 20px 40px rgba(10, 29, 55, 0.12);
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Fontes */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   RESET & CONFIGURAÇÕES BÁSICAS
   ========================================================================== */

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

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

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

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

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

/* ==========================================================================
   UTILITÁRIOS DE ESTRUTURA
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 12px auto 0 auto;
  border-radius: var(--radius-full);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ==========================================================================
   BOTÕES & AÇÕES (CTAs)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

/* Botão WhatsApp */
.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.icon-whatsapp {
  width: 24px;
  height: 24px;
}

/* Botão Ligação */
.btn-phone {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--accent);
}

.btn-phone:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.icon-phone {
  width: 20px;
  height: 20px;
}

/* Animação Pulsante para os Botões WhatsApp principais */
.btn-glowing {
  position: relative;
  animation: pulseGlowing 2.5s infinite;
}

@keyframes pulseGlowing {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   HEADER / CABEÇALHO
   ========================================================================== */

.main-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid #E2E8F0;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: var(--accent);
}

/* ==========================================================================
   BLOCO 1: HERO SECTION
   ========================================================================== */

.hero-section {
  background-color: var(--primary);
  background-image: radial-gradient(circle at 10% 20%, rgba(21, 46, 82, 0.4) 0%, rgba(10, 29, 55, 1) 90.2%);
  color: var(--bg-white);
  padding: 100px 0 120px 0;
  overflow: hidden;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2.5px;
  border-left: 2px solid var(--accent);
  padding-left: 10px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--bg-white);
}

.hero-text {
  font-size: 1.15rem;
  color: #E2E8F0;
  margin-bottom: 40px;
  max-width: 580px;
  font-weight: 300;
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-left: 12px;
}

/* Moldura e Imagem da Hero */
.hero-image-area {
  display: flex;
  justify-content: center;
  position: relative;
}

.image-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(197, 168, 128, 0.2);
  box-shadow: var(--shadow-lg);
}

.attorney-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(197, 168, 128, 0.4);
  box-shadow: var(--shadow-sm);
}

.image-frame::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  border-radius: 0 var(--radius-lg) 0 0;
  pointer-events: none;
}

.image-frame::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 100px;
  height: 100px;
  border-bottom: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  border-radius: 0 0 0 var(--radius-lg);
  pointer-events: none;
}

/* Badge de Experiência */
.badge-experience {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background-color: var(--primary-light);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.badge-number {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.badge-text {
  font-size: 0.8rem;
  color: var(--bg-white);
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   BLOCO 2: SEUS DIREITOS (GRIDS E CARDS)
   ========================================================================== */

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

.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.right-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.right-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.right-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 168, 128, 0.3);
}

.right-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 54px;
  height: 54px;
  background-color: var(--accent-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

.right-card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-list li {
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding-left: 24px;
}

/* Checkbox Dourado nos Bullets */
.card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ==========================================================================
   BLOCO 3: SOBRE A ADVOGADA (QUEM SOMOS)
   ========================================================================== */

.about-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid #E2E8F0;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-content {
  width: 100%;
}

.about-oab-number {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.about-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--primary);
  line-height: 1.6;
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 24px;
  margin: 30px 0;
  text-align: left;
  font-weight: 400;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: left;
}

/* ==========================================================================
   BLOCO 4: COMO FUNCIONA O ATENDIMENTO
   ========================================================================== */

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

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.step-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 168, 128, 0.2);
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--accent);
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.step-card h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   BLOCO 5: CTA SEÇÃO FINAL (Azul Marinho)
   ========================================================================== */

.cta-section {
  background-color: var(--primary);
  background-image: linear-gradient(135deg, #0A1D37 0%, #152E52 100%);
  color: var(--bg-white);
  text-align: center;
  padding: 90px 0;
  border-top: 1px solid rgba(197, 168, 128, 0.2);
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-section p {
  font-size: 1.15rem;
  color: #E2E8F0;
  margin-bottom: 40px;
  font-weight: 300;
}

/* ==========================================================================
   BLOCO 6: CONTATO E LOCALIZAÇÃO (MAPA E INFO)
   ========================================================================== */

.contact-section {
  background-color: var(--bg-white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 30px;
  font-weight: 700;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-details strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-details p {
  font-size: 1.05rem;
  color: var(--text-dark);
}

/* Botão de Telefone no final */
.btn-phone {
  align-self: flex-start;
}

/* Área do Mapa */
.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #E2E8F0;
  height: 450px;
  min-height: 350px;
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */

.main-footer {
  background-color: #05101E;
  color: #94A3B8;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-oab {
  font-weight: 600;
  color: var(--accent);
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* Telas Médias (Desktops Menores, Tablets deitados) */
@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
}

/* Stacking layout for Hero on smaller tablets/mobile only (keeps it side-by-side on typical desktop viewports) */
@media (max-width: 820px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-wrapper {
    align-items: center;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    max-width: 400px;
  }
  
  .hero-image-area {
    margin-top: 20px;
  }
  
  .badge-experience {
    left: 20px;
    bottom: -20px;
  }
  

  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .btn-phone {
    width: 100%;
    max-width: 400px;
    align-self: center;
  }
  
  .contact-map {
    height: 350px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Celulares (Telas Pequenas) */
@media (max-width: 576px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-text {
    font-size: 1.05rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .rights-grid {
    grid-template-columns: 1fr;
  }
  
  .right-card {
    padding: 30px 20px;
  }
  

  
  .cta-section h2 {
    font-size: 1.8rem;
  }
  
  .cta-section p {
    font-size: 1.05rem;
  }
  
  .contact-details li {
    gap: 12px;
  }
  
  .contact-map {
    height: 300px;
  }
}
