/* 1. Variáveis */
:root {
  /* Cores */
  --bg-color: #1d294b;
  --text-light: #ffffff;
  --gold-accent: #f6ce89;
  --gold-accent-shadow: #f6ce894f;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --border-light: rgba(255, 255, 255, 0.2);

  /* Padrão de Tipografia (Tamanhos Baseados em 16px = 1rem) */
  --title-hero: 3.25rem; /* 52px - Título principal */
  --title-hero-mobile: 2rem; /* 32px - Título principal no celular */
  --title-section: 2.5rem; /* 40px - Títulos das seções (Atuação, Sobre) */
  --title-card: 1.75rem; /* 28px - Nomes das advogadas */
  --title-sub: 1.25rem; /* 20px - Títulos de serviços */
  --text-large: 1.125rem; /* 18px - Subtítulos e descrições de seção */
  --text-base: 1rem; /* 16px - Textos de parágrafo padrão */
  --text-small: 0.875rem; /* 14px - Botões, links e roles */

  /* Padrão de Ícones */
  --icon-size: 2.5rem; /* 40px */

  /* Padrão de Espaçamento das Seções (Vertical Horizontal) */
  --pad-section-desk: 5rem 1.5rem; /* 80px 24px */
  --pad-section-mob: 2rem 1.5rem; /* 48px 24px */
}

@font-face {
  font-family: "saffela-regular";
  src: url("../fonts/saffela-regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
/* --------------------------------------------------- */
/* REGRA GLOBAL                                        */
/* --------------------------------------------------- */
body {
  background-color: var(--bg-color);
  color: var(--text-light);
  font-family: "Montserrat", sans-serif;
}

/* --------------------------------------------------- */
/* REGRAS EXCLUSIVAS /LINKS                            */
/* --------------------------------------------------- */
.layout-links {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.3rem;
}

/* 2. Container */
.layout-links .container {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-top: 0.5rem;
  flex: 1;
}

/* 3. Seção de Perfil */
.layout-links .profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.layout-links .profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid var(--gold-accent);
  background-color: var(--glass-bg);
  padding: 0px;
  margin-bottom: 1.1rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px var(--gold-accent-shadow);
}

.layout-links .profile-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.layout-links .profile-name {
  color: var(--gold-accent);
  font-family: "Lora";
  font-size: 2rem;
  font-weight: 200;
  line-height: 0.7;
  padding-top: 0.4rem;
}

.layout-links .profile-subtitle {
  color: var(--gold-accent);
  font-size: 0.75rem;
  letter-spacing: 0.1rem;
  padding-top: 0.5rem;
  text-transform: uppercase;
  font-weight: 400;
}

/* 4. Lista de Links e Botões */
.layout-links .links-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 5. Rodapé */
.layout-links .footer {
  width: 100%;
  max-width: 500px;
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-light);
  opacity: 0.7;
  font-size: 0.875rem;
  margin-top: 3rem;
}

/* --------------------------------------------------- */
/* REGRAS GLOBAIS - BOTÕES                             */
/* --------------------------------------------------- */
/* Base Botão */
.btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Interno Botão */
.btn-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Cores Botão Primário */
.btn-primary {
  background-color: var(--gold-accent);
  color: var(--bg-color);
  border: 1px solid var(--gold-accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-small);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

/* Cores Botão Secundário */
.btn-secondary {
  background-color: var(--glass-bg);
  color: var(--text-light);
  border: 1px solid var(--border-light);
}

.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.96);
  opacity: 0.8;
}

/*--------------------------------------------------- */
/* REGRAS DA LANDING PAGE PRINCIPAL                    */
/* --------------------------------------------------- */

/* Cabeçalho */
.navbar {
  width: 100%;
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo img {
  height: 35px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.nav-links a:active {
  color: var(--gold-accent);
}

/* Botão Mobile Invisível no Desktop */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 2px;
}

.mobile-menu-btn span {
  font-size: 2rem;
}

/* Responsividade: Telas menores que 768px (Celulares) */
@media (max-width: 900px) {
  .mobile-menu-btn {
    display: block;
  }
  .nav-container {
    padding: 6px 24px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    padding: 10px 24px;
    border-bottom: 1px solid var(--border-light);
    gap: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .brand-logo img {
    height: 24px;
  }

  .nav-links a {
    font-size: 0.625rem;
  }
}
@media (min-width: 1201px) {
  .nav-container {
    padding-left: 0;
    padding-right: 0;
  }
}
/* --------------------------------------------------- */
/* SEÇÃO: Hero Section (Tela cheia com base sobreposta)*/
/* --------------------------------------------------- */
.hero-section {
  width: 100%;
  padding: var(--pad-section-desk);
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-light);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.hero-title {
  font-family: "Lora", serif;
  font-size: 3.25rem;
  color: var(--gold-accent);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: normal;
  max-width: 500px;
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
}

.hero-section .btn {
  width: fit-content;
}

.hero-image-wrapper {
  flex: 1;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
  mask-image: linear-gradient(to right, transparent 0%, black 30%);
  transform: none;
  min-height: 600px;
}

.hero-logo {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin-bottom: 24px;
  display: block;
}

/* Responsividade: Celular */
@media (max-width: 900px) {
  .hero-section {
    border-radius: 0 0 24px 24px;
    padding: var(--pad-section-mob);
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .hero-content {
    align-items: center;
  }
  .hero-image-wrapper {
    overflow: hidden;
  }
  .hero-image-wrapper img {
    object-fit: cover;
    transform: scale(1.15);
    transform-origin: center center;
    -webkit-mask-image: none;
    mask-image: none;
    min-height: 350px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
  }
  .hero-logo {
    max-width: 160px;
    margin-bottom: 1.5rem;
  }
  .hero-title {
    font-size: var(--title-hero-mobile);
    margin-bottom: 1.5rem;
  }

  .hero-section .btn {
    width: fit-content;
    padding: 0.5rem 0.8rem;
    margin: 0.75rem auto 0.75rem auto;
  }
  .hero-section .btn-primary {
    font-size: 0.75rem;
  }
}

/* Telas intermediárias: 769px a 1200px */
@media (min-width: 900px) and (max-width: 1200px) {
  .hero-image-wrapper img {
    object-fit: cover;
    transform: scale(1.05);
    transform-origin: left center;
  }
}
/* --------------------------------------------------- */
/* SEÇÃO: ÁREAS DE ATUAÇÃO                             */
/* --------------------------------------------------- */
.services-section {
  width: 100%;
  padding: var(--pad-section-desk);
  background-color: rgba(0, 0, 0, 0.15);
}

.container-services {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: "lora", serif;
  font-size: 2.5rem;
  color: var(--gold-accent);
  text-align: center;
  margin-bottom: 36px;
  font-weight: normal;
}

/* Grid Responsivo Inteligente */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.service-card.highlight {
  grid-column: 1 / -1;
  text-align: center;
  background-color: rgba(246, 206, 137, 0.05);
  border-color: rgba(246, 206, 137, 0.3);
}

.service-card:active {
  transform: scale(0.98);
  border-color: var(--gold-accent);
  background-color: rgba(246, 206, 137, 0.05);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--gold-accent);
  margin-bottom: 24px;
  display: inline-block;
}
.service-card.highlight .service-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.service-card.highlight p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* Responsividade: Celular */
@media (max-width: 900px) {
  .services-section {
    padding: var(--pad-section-mob);
  }
  .section-title {
    margin-bottom: 1.625rem;
  }
}
@media (max-width: 995px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* --------------------------------------------------- */
/* SEÇÃO: SOBRE AS ADVOGADAS                           */
/* --------------------------------------------------- */
.about-section {
  width: 100%;
  padding: var(--pad-section-desk);
  background-color: var(--bg-color);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 44px;
}

.about-description {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.lawyer-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lawyer-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: 600px;
  background-color: var(--glass-bg);
  overflow: hidden;
}

.lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%;
}

.lawyer-info {
  padding: 32px;
}

.lawyer-info h3 {
  font-family: "Lora", serif;
  font-size: 1.75rem; /* 28px */
  color: var(--gold-accent);
  margin-bottom: 8px;
}

.lawyer-role {
  display: block;
  font-size: 0.875rem; /* 14px */
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  opacity: 0.7;
  font-weight: 600;
}

.lawyer-info p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsividade */
@media (max-width: 900px) {
  .about-section {
    padding: var(--pad-section-mob);
  }

  .lawyer-photo {
    height: 350px;
  }
  .lawyer-card {
    border-radius: 12px;
  }
}

/* --------------------------------------------------- */
/* SEÇÃO: CONTATO                                      */
/* --------------------------------------------------- */
.contact-section {
  width: 100%;
  padding: var(--pad-section-desk);
  background-color: rgba(0, 0, 0, 0.15);
  text-align: center;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact-description {
  font-size: var(--text-large);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.contact-section .btn {
  width: fit-content;
}

/* --------------------------------------------------- */
/* SEÇÃO: RODAPÉ                                       */
/* --------------------------------------------------- */
.footer-section {
  width: 100%;
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-light);
  padding: 4rem 1.5rem 1.5rem 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links h3 {
  font-family: "Lora", serif;
  font-size: var(--title-sub);
  color: var(--gold-accent);
  margin-bottom: 1rem;
  font-weight: normal;
}

.footer-links p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}
.footer-bottom p {
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.5);
}

.footer-action-link,
.footer-whatsapp-link {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: flex-start;
  text-align: left;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.footer-action-link:active,
.footer-whatsapp-link:active {
  color: var(--gold-accent) !important;
}

.footer-wa-icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  margin-right: 8px;
}

/* Responsividade de Contato e Rodapé */
@media (max-width: 900px) {
  .contact-section {
    padding: var(--pad-section-mob);
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-bottom: 1rem;
  }

  .footer-bottom {
    margin-bottom: 3rem;
  }
}

@media (hover: hover) {
  .btn-primary:hover {
    background-color: transparent;
    color: var(--gold-accent);
    transform: translateY(-2px);
  }
  .btn-secondary:hover {
    color: var(--gold-accent);
    border-color: var(--gold-accent);
    transform: translateY(-2px);
  }
  .nav-links a:hover {
    color: var(--gold-accent);
  }
  .service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-accent);
  }
  .service-card.highlight:hover {
    border-color: var(--gold-accent);
    transform: translateY(-8px);
    background-color: rgba(246, 206, 137, 0.08);
  }
  .footer-action-link:hover,
  .footer-whatsapp-link:hover {
    color: var(--gold-accent) !important;
  }
}
