/*
Theme Name: Henrique Monteiro Advocacia
Description: Tema filho para o site Henrique Monteiro Advocacia
Template: hello-elementor
Version: 1.0
Author: Henrique Monteiro
*/

/* ============================================
   VARIÁVEIS DE COR
   ============================================ */
:root {
  --azul-marinho:     #0D2047;
  --azul-medio:       #1A3A6B;
  --dourado:          #C9A84C;
  --dourado-claro:    #E8D08A;
  --branco:           #FFFFFF;
  --cinza-claro:      #F5F5F0;
  --cinza-texto:      #555555;
  --preto-suave:      #1A1A1A;
}

/* ============================================
   RESET E BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Lato', 'Open Sans', Arial, sans-serif;
  color: var(--preto-suave);
  background-color: var(--branco);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--azul-marinho);
}

a {
  color: var(--dourado);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dourado-claro);
}

/* ============================================
   HEADER / NAVEGAÇÃO
   ============================================ */
.site-header,
.elementor-location-header {
  background-color: var(--azul-marinho);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.site-header .logo img,
.elementor-location-header .logo img {
  max-height: 60px;
  width: auto;
}

/* Nav links */
.elementor-nav-menu a,
.main-navigation a {
  color: var(--branco) !important;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.elementor-nav-menu a:hover,
.main-navigation a:hover {
  color: var(--dourado) !important;
}

/* ============================================
   SEÇÃO HERO (BANNER PRINCIPAL)
   ============================================ */
.section-hero {
  background: linear-gradient(135deg, var(--azul-marinho) 60%, var(--azul-medio) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.section-hero .hero-titulo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--branco);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-hero .hero-subtitulo {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--dourado-claro);
  letter-spacing: 1px;
  margin-bottom: 32px;
}

.section-hero .hero-oab {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Linha decorativa dourada */
.linha-dourada {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--dourado), var(--dourado-claro));
  margin: 16px 0 24px 0;
  border-radius: 2px;
}

.linha-dourada.centralizada {
  margin: 16px auto 24px auto;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn-primario,
.elementor-button.btn-primario {
  background: linear-gradient(135deg, var(--dourado), var(--dourado-claro));
  color: var(--azul-marinho) !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(201,168,76,0.3);
  display: inline-block;
}

.btn-primario:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.5);
  color: var(--azul-marinho) !important;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--branco) !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 16px 36px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  color: var(--branco) !important;
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: var(--branco);
}

/* ============================================
   SEÇÃO SOBRE
   ============================================ */
.section-sobre {
  padding: 90px 0;
  background-color: var(--branco);
}

.section-sobre .sobre-foto {
  border-radius: 2px;
  box-shadow: 8px 8px 0px var(--dourado);
  max-width: 100%;
}

.section-sobre .sobre-titulo {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--azul-marinho);
  margin-bottom: 8px;
}

.section-sobre .sobre-texto {
  font-size: 16px;
  line-height: 1.8;
  color: var(--cinza-texto);
  margin-bottom: 20px;
}

.section-sobre .sobre-destaque {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-style: italic;
  color: var(--azul-medio);
  border-left: 3px solid var(--dourado);
  padding-left: 20px;
  margin: 24px 0;
}

/* ============================================
   SEÇÃO SERVIÇOS
   ============================================ */
.section-servicos {
  padding: 90px 0;
  background-color: var(--cinza-claro);
}

.section-servicos .section-titulo {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--azul-marinho);
  text-align: center;
  margin-bottom: 8px;
}

.section-servicos .section-subtitulo {
  text-align: center;
  color: var(--cinza-texto);
  font-size: 16px;
  margin-bottom: 50px;
}

.card-servico {
  background: var(--branco);
  border-radius: 4px;
  padding: 36px 28px;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  height: 100%;
}

.card-servico:hover {
  border-bottom-color: var(--dourado);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(13,32,71,0.12);
}

.card-servico .icone {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px auto;
  background: linear-gradient(135deg, var(--azul-marinho), var(--azul-medio));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-servico .icone svg {
  width: 26px;
  height: 26px;
  fill: var(--dourado);
}

.card-servico h3 {
  font-size: 18px;
  color: var(--azul-marinho);
  margin-bottom: 12px;
}

.card-servico p {
  font-size: 14px;
  color: var(--cinza-texto);
  line-height: 1.7;
}

/* ============================================
   SEÇÃO CONTATO
   ============================================ */
.section-contato {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--azul-marinho) 0%, var(--azul-medio) 100%);
}

.section-contato .contato-titulo {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--branco);
  text-align: center;
  margin-bottom: 8px;
}

.section-contato .contato-subtitulo {
  color: rgba(255,255,255,0.7);
  text-align: center;
  font-size: 16px;
  margin-bottom: 50px;
}

.contato-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--branco);
}

.contato-info-item .icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.2);
  border: 1px solid var(--dourado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contato-info-item .icon-wrap svg {
  width: 18px;
  height: 18px;
  fill: var(--dourado);
}

.contato-info-item .info-texto {
  font-size: 15px;
  line-height: 1.5;
}

.contato-info-item .info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dourado);
  margin-bottom: 2px;
}

/* Formulário de contato */
.wpcf7-form input,
.wpcf7-form textarea,
.elementor-field input,
.elementor-field textarea {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(201,168,76,0.4) !important;
  border-radius: 2px !important;
  color: var(--branco) !important;
  padding: 14px 18px !important;
  font-size: 14px !important;
  transition: border-color 0.3s ease !important;
  width: 100%;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.elementor-field input:focus,
.elementor-field textarea:focus {
  border-color: var(--dourado) !important;
  outline: none !important;
  background: rgba(255,255,255,0.12) !important;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: rgba(255,255,255,0.4) !important;
}

.wpcf7-submit {
  background: linear-gradient(135deg, var(--dourado), var(--dourado-claro)) !important;
  color: var(--azul-marinho) !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 16px 48px !important;
  border: none !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-size: 13px !important;
}

.wpcf7-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(201,168,76,0.4) !important;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer,
.elementor-location-footer {
  background-color: #080F20;
  padding: 40px 0 24px;
  text-align: center;
}

.site-footer .footer-logo img {
  max-height: 50px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.site-footer .footer-texto {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer .footer-oab {
  color: var(--dourado);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(201,168,76,0.2);
  margin: 24px 0;
}

.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 12px;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.text-center { text-align: center; }
.text-dourado { color: var(--dourado) !important; }
.text-azul { color: var(--azul-marinho) !important; }
.text-branco { color: var(--branco) !important; }
.bg-azul { background-color: var(--azul-marinho) !important; }
.bg-cinza { background-color: var(--cinza-claro) !important; }

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 768px) {
  .section-hero {
    min-height: 70vh;
    text-align: center;
  }

  .section-sobre,
  .section-servicos,
  .section-contato {
    padding: 60px 0;
  }

  .section-sobre .sobre-foto {
    margin-bottom: 36px;
  }
}
