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

body {
  font-family: 'Montserrat', sans-serif;
  color: #2e2e2e;
  line-height: 1.6;
  background-color: #ffffff;
}
h1, h2, h3, h4 {
  font-weight: 600;
}
h1, h2, h3 {
  letter-spacing: 0.5px;
}


.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* HEADER */
.header {
  background: #0a1f44;
  padding: 20px 0;
  position: relative;
  z-index: 10;
}


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

.logo {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 25px;
  font-size: 15px;
}

.nav a:hover {
  text-decoration: underline;
}

/* HERO */
.hero {
  position: relative;
  background-image: url("../assets/images/advogado.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 120px 0;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 68, 0.75);
}

.hero-content {
  position: relative;
  z-index: 1;
}


.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 16px;
}

/* BUTTON */
.btn {
  display: inline-block;
  background: #c9a24d;
  color: #0a1f44;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
}

.btn-light {
  background: #ffffff;
  color: #0a1f44;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section-light {
  background: #f4f4f4;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

.section-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
}

/* CARDS */

.card {
  border-left: 4px solid #c9a24d;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.card h4 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}

/* CTA */
.cta {
  background: #0a1f44;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.cta h3 {
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

/* FOOTER */
.footer {
  background: #08162f;
  color: #ffffff;
  padding: 30px 0;
  text-align: center;
  font-size: 14px;
}

.footer-note {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.8;
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 1000;
}

.header {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  background: #08162f;
}

.card, .btn, .nav a {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.btn:hover {
  opacity: 0.9;
}

.nav a:hover {
  opacity: 0.8;
}

/* ===== MENU MOBILE ===== */

.menu-mobile {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.menu-mobile span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin-bottom: 5px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {

  .menu-mobile {
    display: flex;
  }

  .nav {
  position: absolute;
  top: 70px;
  right: 0;
  background: #7890ba;
  flex-direction: column;
  width: 200px;
  z-index: 1000;

  /* estado fechado */
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


  .nav a {
    padding: 15px;
    /*border-top: 1px solid rgba(255,255,255,0.2);*/
  }
}
