:root {
  --azul-principal: #0b1f3a;
  --azul-secundario: #16345c;
  --azul-destaque: #224f86;
  --fundo-claro: #f3f6fa;
  --fundo-branco: #ffffff;
  --texto-principal: #1a1f27;
  --texto-suave: #5f6773;
  --borda-suave: #d9e1ec;
  --sombra: 0 12px 30px rgba(11, 31, 58, 0.08);
  --whatsapp: #25D366;
  --whatsapp-hover: #1ebe5b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--fundo-branco);
  color: var(--texto-principal);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.3px;
}

a {
  text-decoration: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e6ebf2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--azul-principal), transparent);
}

.logo-premium {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo-card {
  width: 120px;
  height: 120px;
  padding: 16px;
  border-radius: 50%;
  border: 2px solid #f3c850;
  background: transparent;
  display: block;
  object-fit: contain;
}

.logo-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.logo-nome {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--texto-principal);
  text-transform: uppercase;
}

.logo-cargo {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--azul-principal);
  text-transform: uppercase;
  margin-top: 4px;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: var(--texto-principal);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
  white-space: nowrap;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--azul-principal);
  transition: 0.3s;
}

nav a:hover {
  color: var(--azul-principal);
}

nav a:hover::after {
  width: 100%;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  padding: 90px 60px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 55%, #eef3fa 100%);
}

.hero-text {
  flex: 1;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text .subtitulo {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--azul-destaque);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: 56px;
  line-height: 1.05;
  color: var(--azul-principal);
  margin-bottom: 18px;
}

.hero-text p {
  color: var(--texto-suave);
  font-size: 17px;
  max-width: 560px;
}

.hero-buttons,
.contato-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn-fale-comigo,
.btn-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
  width: fit-content;
}

.btn-fale-comigo {
  background: var(--azul-principal);
  color: #ffffff;
  border: 1.5px solid var(--azul-principal);
}

.btn-fale-comigo:hover {
  background: var(--azul-secundario);
  border-color: var(--azul-secundario);
  transform: translateY(-2px);
}

.btn-email {
  background: transparent;
  color: var(--azul-principal);
  border: 1.5px solid var(--azul-principal);
}

.btn-email:hover {
  background: var(--azul-principal);
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 560px;
  background: #f8fafc;
  border: 1px solid var(--borda-suave);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--sombra);
}

.hero-card-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.foto-advogada {
  width: 245px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8eef6, #dce7f3);
  border: 1px solid var(--borda-suave);
  display: flex;
  align-items: center;
  justify-content: center;
}

.foto-advogada img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.card-texto {
  flex: 1;
  text-align: center;
}

.card-texto .marca {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  line-height: 0.9;
  color: var(--azul-principal);
  margin-bottom: 14px;
}

.card-texto h3 {
  font-size: 34px;
  color: var(--texto-principal);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.card-texto p {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--azul-principal);
  font-weight: 700;
}

section {
  padding: 80px 60px;
}

.section-title {
  text-align: center;
  font-size: 42px;
  color: var(--azul-principal);
  margin-bottom: 14px;
}

.section-subtitle {
  text-align: center;
  color: var(--texto-suave);
  font-size: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.section-text {
  text-align: center;
  color: var(--texto-suave);
  font-size: 16px;
  max-width: 850px;
  margin: 0 auto;
}

.sobre {
  background: var(--fundo-branco);
}

.atuacao {
  background: var(--fundo-claro);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
  align-items: stretch;
}

.card {
  background: var(--fundo-branco);
  border: 1px solid var(--borda-suave);
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.05);
  transition: 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
  min-height: 230px;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--azul-principal);
}

.card-destaque {
  border: 1.5px solid var(--azul-principal);
  box-shadow: 0 14px 32px rgba(11, 31, 58, 0.10);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(11, 31, 58, 0.10);
}

.card h3 {
  font-size: 28px;
  color: var(--azul-principal);
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: var(--texto-suave);
  line-height: 1.7;
}

.contato {
  text-align: center;
  background: #ffffff;
}

.contato-info {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--texto-suave);
  font-size: 16px;
}

.contato-info a {
  color: var(--azul-principal);
  font-weight: 600;
}

.contato-buttons {
  justify-content: center;
}

footer {
  background: var(--azul-principal);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 24px 20px;
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
  z-index: 2000;
  transition: 0.3s ease;
}

.whatsapp-float:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

@media (max-width: 1100px) {
  header {
    padding: 18px 30px;
  }

  .hero {
    padding: 70px 30px;
    gap: 40px;
  }

  section {
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero-text h1 {
    font-size: 46px;
  }

  .hero-card-content {
    flex-direction: column;
  }

  .foto-advogada {
    width: 250px;
  }

  .hero-card {
    max-width: 500px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px;
  }

  .logo-premium {
    gap: 10px;
    justify-content: center;
  }

  .logo-card {
    width: 88px;
    height: 88px;
    padding: 12px;
  }

  .logo-info {
    align-items: center;
  }

  .logo-nome {
    font-size: 18px;
    text-align: center;
  }

  .logo-cargo {
    font-size: 9px;
    letter-spacing: 2px;
    text-align: center;
  }

  nav {
    width: 100%;
    gap: 8px 10px;
    justify-content: center;
  }

  nav a {
    font-size: 13px;
    padding: 6px 8px;
  }

  .hero {
    flex-direction: column;
    padding: 50px 20px;
    text-align: center;
    gap: 32px;
  }

  .hero-text {
    max-width: 100%;
    align-items: center;
  }

  .hero-text .subtitulo {
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }

  .hero-text h1 {
    font-size: 36px;
    line-height: 1.15;
  }

  .hero-text p {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .contato-buttons {
    justify-content: center;
    width: 100%;
  }

  .btn-fale-comigo,
  .btn-email {
    width: 100%;
    max-width: 300px;
  }

  .hero-image {
    width: 100%;
  }

  .hero-card {
    max-width: 100%;
    padding: 20px;
    border-radius: 24px;
  }

  .hero-card-content {
    flex-direction: column;
    gap: 16px;
  }

  .foto-advogada {
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
  }

  .card-texto .marca {
    font-size: 58px;
  }

  .card-texto h3 {
    font-size: 26px;
  }

  .card-texto p {
    font-size: 10px;
    letter-spacing: 3px;
  }

  section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 34px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}