/* ==========================================================================
   WP Easy Pages — Landing Page Direito Trabalhista
   Clone fiel e limpo da referência original (advogadoandrealexandre.com.br/direitotrabalhista)
   ========================================================================== */

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

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

body {
  font-family: var(--wep-font-montserrat);
  background-color: var(--wep-bg-body);
  color: var(--wep-color-white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ==========================================================================
   Botões WhatsApp
   ========================================================================== */
.btn-whatsapp {
  background-color: var(--wep-color-green-btn);
  color: var(--wep-color-white);
  font-family: var(--wep-font-roboto);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2em;
  letter-spacing: 1.3px;
  border-radius: var(--wep-btn-radius);
  padding: 12px 46px;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--wep-transition-fast), transform var(--wep-transition-fast);
  box-shadow: 0 4px 14px rgba(50, 143, 63, 0.3);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background-color: var(--wep-color-green-hover);
  transform: translateY(-2px);
  color: var(--wep-color-white);
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Botão do meio da lista de especialidades */
.btn-whatsapp-mid {
  font-family: var(--wep-font-montserrat);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 46px;
}

/* ==========================================================================
   1. Header / Top Bar
   ========================================================================== */
.site-header {
  background-color: var(--wep-bg-body);
  padding: 4px 0;
  width: 100%;
  position: relative;
  z-index: 100;
}

.header-container {
  width: var(--wep-header-width);
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
}

.header-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.header-avatar {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.header-titles h2 {
  font-family: var(--wep-font-archivo);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--wep-color-text-dark);
  margin: 0;
}

.header-titles p {
  font-family: var(--wep-font-roboto);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--wep-color-text-muted);
  margin: 4px 0 4px 0;
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-section {
  background-color: var(--wep-bg-dark);
  background-image: url('https://advogadanataliasales.com.br/wp-content/uploads/wp-easypage-templates/landing_page_direito_trabalhista/assets/images/hero-lawyer.png');
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: contain;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 40px 20px;
}

.hero-container {
  width: 100%;
  max-width: var(--wep-container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.hero-content {
  width: 55%;
  text-align: center;
  padding: 20px 0;
}

.hero-prefix {
  display: block;
  font-family: var(--wep-font-montserrat);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3em;
  color: var(--wep-color-white);
  margin-bottom: 6px;
}

.hero-title {
  font-family: var(--wep-font-montserrat);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1em;
  color: var(--wep-color-pin-gold);
  margin: 20px 0 20px 0;
}

.hero-subtitle {
  width: 100%;
  margin: 0 auto 32px auto;
  font-family: var(--wep-font-montserrat);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 1px;
  color: var(--wep-color-white);
}

.hero-spacer {
  width: 45%;
  min-height: 60vh;
}

/* Foto do hero em fluxo — visível só em tablet/mobile (≤1023px).
   Em desktop/laptop a foto segue como background de .hero-section. */
.hero-photo {
  display: none;
}

/* ==========================================================================
   3. Especialidades / Áreas de Atuação
   ========================================================================== */
.specialties-intro {
  background-color: var(--wep-bg-dark);
  padding: 50px 20px 10px 20px;
  text-align: center;
}

.specialties-intro-title {
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--wep-font-archivo-black);
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
  color: var(--wep-color-white);
}

.specialties-section {
  background-color: var(--wep-bg-dark);
  padding: 50px 20px;
}

.specialties-container {
  max-width: var(--wep-container-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

.specialties-col {
  display: flex;
  flex-direction: column;
}

.specialty-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--wep-border-subtle);
}

.specialty-item:first-child {
  border-top: 1px solid var(--wep-border-subtle);
}

.specialty-icon {
  width: 14px;
  height: 14px;
  fill: var(--wep-color-white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.specialty-icon svg {
  width: 14px;
  height: 14px;
  fill: #FFFFFF;
}

.specialty-text {
  font-family: var(--wep-font-montserrat);
  font-size: 16px;
  font-weight: 500;
  color: var(--wep-color-white);
  line-height: 1.4;
}

.specialties-cta {
  background-color: var(--wep-bg-dark);
  padding: 50px 20px;
  text-align: center;
}

/* ==========================================================================
   4. Depoimentos
   ========================================================================== */
.testimonials-section {
  background-color: var(--wep-bg-body);
  min-height: 90vh;
  padding: 50px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-container {
  max-width: var(--wep-container-testimonials);
  width: 100%;
}

.testimonials-title {
  font-family: var(--wep-font-archivo-black);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.25em;
  color: var(--wep-color-text-dark);
  margin-bottom: 35px;
}

#wep-reviews-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px 0px;
}

/* ==========================================================================
   5. Sobre
   ========================================================================== */
.about-section {
  background: linear-gradient(242deg, var(--wep-bg-dark) 55%, var(--wep-bg-dark-gradient-end) 100%);
  min-height: 80vh;
  padding: 20px 0 0 0;
  display: flex;
  align-items: center;
}

.about-container {
  max-width: var(--wep-container-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.about-image-col {
  width: 50%;
  text-align: center;
}

.about-image {
  width: 80%;
  border-radius: 10%;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-text-col {
  width: 54%;
  text-align: left;
  padding: 20px 40px;
}

.about-divider {
  width: 200px;
  height: 3px;
  background-color: var(--wep-color-white);
  margin-bottom: 25px;
}

.about-text {
  font-family: var(--wep-font-archivo);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.6;
  text-align: justify;
  color: var(--wep-color-white);
  margin-bottom: 32px;
}

.about-text strong {
  font-weight: 700;
}

/* ==========================================================================
   6. Endereço dos Escritórios & Contato
   ========================================================================== */
.offices-section {
  background: linear-gradient(143deg, var(--wep-bg-dark-gradient-end) 0%, var(--wep-bg-dark) 33%);
  padding: 70px 20px 70px 20px;
  text-align: center;
}

.offices-container {
  max-width: var(--wep-container-max);
  margin: 0 auto;
}

.offices-title {
  font-family: var(--wep-font-montserrat);
  font-size: 26px;
  font-weight: 600;
  line-height: 40px;
  color: var(--wep-color-white);
  margin-bottom: 50px;
}

.offices-grid {
  display: flex;
  flex-direction: row;
  gap: 50px;
  margin-bottom: 50px;
}

/* Uma linha por escritório: endereço + mapa lado a lado */
.office-row {
  display: flex;
  justify-content: space-around;
  flex-direction: column-reverse;
  gap: 30px;
  width: 100%;
}

.office-card {
  flex: 1;
  min-width: 360px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.office-pin {
  width: 30px;
  height: 30px;
  fill: var(--wep-color-pin-gold);
  margin: 0 auto 12px auto;
}

.office-pin svg {
  width: 30px;
  height: 30px;
  fill: var(--wep-color-pin-gold);
}

.office-name {
  font-family: var(--wep-font-montserrat);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--wep-color-white);
  margin-bottom: 16px;
}

.office-desc {
  font-family: var(--wep-font-montserrat);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 33px;
  color: var(--wep-color-white);
}

.office-divider {
  width: 50%;
  height: 1px;
  background-color: var(--wep-color-white);
  margin: 30px auto;
  opacity: 0.8;
}

.office-map {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-map:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.office-map iframe {
  width: 100%;
  height: 320px;
  border-radius: 10px;
  display: block;
}

.contact-block {
  text-align: center;
  margin: 124px 0 0;
}

.contact-icon {
  width: 45px;
  height: 45px;
  fill: var(--wep-color-green-btn);
  margin: 0 auto 10px auto;
  display: block;
}

.contact-icon svg {
  width: 45px;
  height: 45px;
  fill: var(--wep-color-green-btn);
}

.contact-heading {
  font-family: var(--wep-font-montserrat);
  font-size: 26px;
  font-weight: 600;
  line-height: 40px;
  color: var(--wep-color-white);
  margin-bottom: 6px;
}

.contact-phone {
  font-family: var(--wep-font-montserrat);
  font-size: 25px;
  font-weight: 400;
  color: var(--wep-color-white);
  text-decoration: none;
  transition: color var(--wep-transition-fast);
}

.contact-phone:hover {
  color: var(--wep-color-green-btn);
}

/* ==========================================================================
   7. Rodapé
   Fundo #0C0C0C, copyright Montserrat 16px
   ========================================================================== */
.site-footer {
  background-color: var(--wep-bg-dark);
  padding: 25px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copy {
  font-family: var(--wep-font-montserrat);
  font-size: 16px;
  font-weight: 400;
  color: var(--wep-color-white);
}

.footer-credit {
  font-family: var(--wep-font-montserrat);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

.footer-credit a {
  color: var(--wep-color-white);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--wep-transition-fast);
}

.footer-credit a:hover {
  color: var(--wep-color-pin-gold);
}

/* ==========================================================================
   8. Widget Flutuante WhatsApp (Joinchat Nativo)
   ========================================================================== */
.joinchat-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.joinchat-tooltip {
  background-color: #ffffff;
  color: #333333;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--wep-font-roboto);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  pointer-events: none;
  animation: joinchat-fade-in 0.3s ease;
}

.joinchat-btn {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  outline: none;
}

.joinchat-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.joinchat-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

@keyframes joinchat-fade-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   Colunas de especialidades com base alinhada (só desktop/laptop)
   ========================================================================== */
@media (min-width: 1024px) {
  .specialties-col {
    justify-content: space-between;
  }
}

/* ==========================================================================
   Responsividade (Breakpoints do Elementor: 1365px, 1023px, 767px)
   ========================================================================== */
@media (max-width: 1365px) and (min-width: 1024px) {
  .header-container {
    width: 90%;
  }
  /* Laptop: foto à direita e reduzida, texto sem invadir a área da foto */
  .hero-section {
    background-size: 70%;
    background-position: right center;
  }
  .hero-content {
    width: 52%;
  }

  .hero-prefix {
    font-size: 2rem;
    margin-bottom: 6px;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-spacer {
    width: 42%;
  }
}

@media (max-width: 1023px) {
  .header-container {
    width: 95%;
    text-align: center;
    padding: 12px 15px;
    gap: 15px;
  }
  
  .header-brand {
    justify-content: center;
  }
  
  /* Tablet: foto em fluxo acima do título, sem overlay nem background */
  .hero-section {
    background-image: none;
    min-height: auto;
    padding: 20px 20px;
  }

  .hero-container {
    flex-direction: column;
  }

  .hero-content {
    width: 100%;
    text-align: center;
  }

  .hero-photo {
    display: block;
    width: 100%;
    max-width: 512px;
    height: auto;
    margin: 0 auto -28px auto;
  }

  .hero-spacer {
    display: none;
  }

  .hero-prefix {
    font-size: 2.2rem;
    line-height: 1.25em;
    margin-bottom: 5px;
  }

  .hero-subtitle {
    width: 100%;
    margin: 0 auto 32px auto;
  }

  .specialties-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
    margin: 50px 0px;
  }

  .about-image-col,
  .about-text-col {
    width: 100%;
  }

.about-image {
  width: 50%;
}

  .about-text-col {
    text-align: center;
  }

  .about-divider {
    margin: 0 auto 25px auto;
  }

  .offices-grid {
    flex-direction: column;
    gap: 40px;
  }

  .office-row {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    background-image: none;
    padding: 20px 0px;
  }

  .hero-content {
    width: 100%;
    text-align: center;
  }

  /* Mobile: mesma foto em fluxo, menor */

  /* Botão do meio da lista de especialidades */
  
  .header-container {
    width: 100%;
    flex-direction: column;
    padding: 5px 0;
    gap: 5px;
  }

  .header-avatar {
  width: 80px;
  height: 80px;
  }

  .header-titles h2 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
  }

  .header-titles p {
    font-size: 1rem;
    font-weight: 400;
  }
  
  .hero-container {
    width: 96%;
  }

  .hero-photo {
    max-width: 512px;
    margin: -24px 0 -24px 0;
  }

  .hero-prefix {
    font-size: 1.4rem;
    line-height: 1.25em;
    margin: 0px;
  }

  .hero-title {
    font-size: 2.2rem;
    margin: 4px 0;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 24px;
	  width: 80%;
    margin: 0 auto 20px auto;
  }

  .hero-spacer {
    display: none;
  }

  .specialties-intro-title {
    width: 100%;
    font-size: 22px;
    line-height: 30px;
  }

  /* Uma linha por escritório: endereço + mapa lado a lado */
  .office-row {
    flex-direction: column;
  }

  /* Telas estreitas: cards de escritório sem largura mínima fixa */
  .office-card {
    min-width: 0;
    width: 100%;
  }

  .office-map {
    max-width: 100%;
    margin: -20px 0 30px 0;
  }

  .office-name {
    font-size: 1.5rem;   
  }

  .office-desc {
    font-size: 1.2rem;
  }

  .btn-whatsapp {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
  }

  .testimonials-title {
    font-size: 1.8rem;
  }

  .about-image {
  width: 70%;
  }

  .about-text {
    font-size: 1.4rem;
    text-align: center;
  }
}