/* =============================================
   RESET & CONFIGURAÇÕES GERAIS
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fafaf8;
  font-family: 'Inter', sans-serif;
  color: #2c2b2b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   TIPOGRAFIA
   ============================================= */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #2c2b2b;
}

p {
  font-weight: 400;
  color: #555;
}

/* =============================================
   VARIÁVEIS DE CORES
   ============================================= */
:root {
  --dourado: #c4a86c;
  --dourado-hover: #b3924f;
  --marrom-escuro: #3d3226;
  --marrom-claro: #6b5e4f;
  --bege: #f7f4ef;
  --branco: #ffffff;
  --sombra: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* =============================================
   HEADER
   ============================================= */
header {
  padding: 20px 0;
  background: #fff;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--dourado);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.logo img {
  max-height: 120px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--marrom-claro);
  font-weight: 450;
  font-size: 0.95rem;
  transition: color 0.3s;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--dourado);
}

.nav-links a.active {
  color: var(--dourado);
  font-weight: 600;
  border-bottom: 2px solid var(--dourado);
  padding-bottom: 3px;
}

.btn-outline {
  border: 1.5px solid var(--dourado);
  color: var(--marrom-escuro);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background: var(--dourado);
  color: white;
  border-color: var(--dourado);
}

/* =============================================
   HERO FULLSCREEN
   ============================================= */
.hero-full {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 600px;
  background-image: url('../img/aposentadoria.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(20, 18, 15, 0.85) 0%,
    rgba(40, 35, 28, 0.75) 50%,
    rgba(20, 18, 15, 0.8) 100%
  );
  z-index: 1;
}

.hero-content-full {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 30px;
}

.hero-content-full .icone-central {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: var(--dourado);
  display: block;
}

.hero-content-full h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 25px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content-full h1 em {
  color: var(--dourado);
  font-style: italic;
}

.subtitle-hero {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.assinatura-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.assinatura-hero .linha {
  width: 50px;
  height: 2px;
  background: var(--dourado);
}

.assinatura-hero span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   BOTÕES
   ============================================= */
.btn-primario {
  background: var(--dourado);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: none;
  font-size: 1rem;
  box-shadow: 0 8px 25px rgba(196, 168, 108, 0.4);
  letter-spacing: 0.3px;
  cursor: pointer;
}

.btn-primario:hover {
  background: var(--dourado-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(196, 168, 108, 0.5);
}

.btn-secundario-hero {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 16px 34px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.btn-secundario-hero:hover {
  background: white;
  color: #3d3226;
  border-color: white;
}

.btn-contato {
  margin-top: 20px;
}

/* =============================================
   SCROLL INDICATOR
   ============================================= */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: white;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.scroll-indicator i {
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* =============================================
   DEPOIMENTO COM FOTO
   ============================================= */
.depoimento {
  padding: 80px 0;
  background: white;
}

.depoimento-grid {
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}

.depoimento-foto {
  flex: 0 0 300px;
  text-align: center;
}

.foto-container {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--dourado);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  background: #e8e3da;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foto-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foto-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d9cebc 0%, #c4b99a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: white;
}

.depoimento-nome-foto {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #3d3226;
  margin-top: 15px;
}

.depoimento-oab {
  color: var(--dourado);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 5px;
}

.depoimento-conteudo {
  flex: 1 1 500px;
  text-align: left;
}

.depoimento-conteudo blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-style: italic;
  color: #3d3226;
  line-height: 1.5;
  position: relative;
  padding-left: 0;
  margin-bottom: 25px;
}

.depoimento-conteudo blockquote::before {
  content: "“";
  font-size: 6rem;
  color: var(--dourado);
  opacity: 0.25;
  position: absolute;
  left: -15px;
  top: -45px;
}

.depoimento-conteudo .autor {
  font-weight: 500;
  color: #6b5e4f;
  font-size: 1.1rem;
  font-style: normal;
  margin-top: 10px;
}

.depoimento-conteudo .btn-primario {
  margin-top: 25px;
}

/* =============================================
   ÁREAS DE ATUAÇÃO
   ============================================= */
.areas {
  padding: 80px 0;
  background: var(--bege);
}

.section-title {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 10px;
  color: #2c2b2b;
}

.section-sub {
  text-align: center;
  color: #6b5e4f;
  margin-bottom: 50px;
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: var(--sombra);
  transition: transform 0.3s, border-color 0.3s;
  border-top: 3px solid transparent;
  text-align: left;
}

.card:hover {
  transform: translateY(-8px);
  border-top-color: var(--dourado);
}

.card .card-icon {
  font-size: 2.5rem;
  color: var(--dourado);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.card ul {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}

.card ul li {
  padding: 6px 0;
  color: #555;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card ul li i {
  color: var(--dourado);
  font-size: 0.5rem;
}

/* =============================================
   SOBRE
   ============================================= */
.sobre {
  padding: 70px 0;
  background: #fafaf8;
}

.sobre-grid {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.sobre-texto {
  flex: 1 1 450px;
}

.sobre-texto h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.sobre-texto p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.frase-destaque {
  font-style: italic;
  color: #3d3226;
  font-size: 1.1rem;
}

.sobre-card {
  flex: 1 1 300px;
  background: var(--bege);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--sombra);
}

.sobre-card i {
  font-size: 3.5rem;
  color: var(--dourado);
  margin-bottom: 20px;
}

.sobre-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

/* =============================================
   CONTATO
   ============================================= */
.contato {
  padding: 70px 0;
  background: var(--bege);
}

.contato-box {
  background: white;
  max-width: 580px;
  margin: 0 auto;
  padding: 45px 40px;
  border-radius: 8px;
  box-shadow: var(--sombra);
  text-align: center;
}

.contato-box h2 {
  margin-bottom: 12px;
  font-size: 2.2rem;
}

.contato-descricao {
  color: #6b5e4f;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.contato-info {
  margin: 30px 0;
}

.contato-info p {
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.05rem;
}

.contato-info i {
  color: var(--dourado);
  width: 20px;
  font-size: 1.1rem;
}

/* =============================================
   BOTÃO VOLTAR AO TOPO
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--dourado);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(196, 168, 108, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--dourado-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(196, 168, 108, 0.5);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  padding: 25px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #e8e3da;
  background: white;
}

.footer-sub {
  margin-top: 5px;
}

/* =============================================
   RESPONSIVIDADE
   ============================================= */
@media (max-width: 768px) {
  .hero-content-full h1 {
    font-size: 2.8rem;
  }
  
  .subtitle-hero {
    font-size: 1.1rem;
  }
  
  .hero-full {
    height: 80vh;
    min-height: 500px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .sobre-grid {
    flex-direction: column;
  }

  .depoimento-grid {
    flex-direction: column;
    text-align: center;
  }

  .depoimento-conteudo {
    text-align: center;
  }

  .depoimento-conteudo blockquote::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .foto-container {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 480px) {
  .hero-content-full h1 {
    font-size: 2.2rem;
  }
  
  .subtitle-hero {
    font-size: 1rem;
  }
}