:root {
  --bg: #000;
  --bg-soft: #0b0b0b;
  --bg-hero: radial-gradient(ellipse at 70% 40%, #2a2622 0%, #0d0c0b 55%, #000 100%);
  --gold: #b8996f;
  --gold-light: #d6bf98;
  --sand: #cbb291;
  --card: #9a7b57;
  --gradient-gold: linear-gradient(90deg, #4a3a2e 0%, #8a6d50 45%, #c9ab80 100%);
  --text: #fff;
  --text-muted: #d9d9d9;
  --radius-pill: 999px;
  --radius-card: 18px;
  --container: 1040px;
  --serif: "Bodoni Moda", "Playfair Display", Georgia, serif;
  --display: "Questrial", "Montserrat", sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Botão ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px;
  background: var(--gradient-gold);
  color: #fff; text-decoration: none;
  font: 0.8rem var(--display); text-transform: uppercase; letter-spacing: .08em;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { background: var(--bg-hero); overflow: hidden; }
.hero__grid {
  display: grid; gap: 20px;
  align-items: stretch;
}
.hero__text { text-align: center; padding-bottom: 56px; order: 2; }
.hero__name {
  font: 500 clamp(2.2rem, 5vw, 3.4rem)/1.05 var(--serif);
  color: var(--gold); text-transform: uppercase; letter-spacing: .03em;
}
.hero__brand {
  margin-top: 6px;
  font: 0.85rem var(--display); text-transform: uppercase; letter-spacing: .14em;
}
.hero__headline {
  margin: 18px 0 10px;
  font: clamp(1.6rem, 3.4vw, 2.4rem)/1.1 var(--display);
  text-transform: uppercase;
}
.hero__sub { color: var(--text-muted); max-width: 38ch; margin: 0 auto 22px; }

/* Foto recortada apoiada na faixa dourada, painel areia do topo ao chão */
.hero__photo {
  position: relative; order: 1;
  display: flex; align-items: flex-end; justify-content: center;
  padding-top: 24px;
}
.hero__panel {
  position: absolute; top: 0; bottom: 0;
  left: 50%; width: min(46%, 220px);
  background: linear-gradient(180deg, #d8c09b 0%, var(--sand) 55%, #b2946b 100%);
}
.hero__photo img {
  position: relative;
  /* mobile: foto limitada pela altura da tela para o botão aparecer sem rolar */
  width: auto; max-width: 100%; max-height: 38svh;
  filter: drop-shadow(-18px 10px 40px rgba(0,0,0,.55));
}
/* no celular a foto fica sobre o texto: linha dourada fecha a base dela */
.hero__photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: var(--gradient-gold);
}

.gold-band { height: 10px; background: var(--gradient-gold); }

/* ---------- Seções ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: 0 clamp(40px, 6vw, 72px); }
.section__title {
  text-align: center;
  font: 400 clamp(1.8rem, 3.4vw, 2.6rem)/1.1 var(--serif);
  color: var(--gold); text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: 48px;
}
.section__lead { text-align: center; margin: -36px 0 40px; color: var(--text-muted); }

/* Sobre */
.about { display: grid; gap: 40px; align-items: center; }
.about__text p + p { margin-top: 16px; }
.about__text strong { color: var(--gold-light); font-weight: 600; }
.about__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Áreas */
.section--image {
  background:
    linear-gradient(rgba(0,0,0,.82), rgba(0,0,0,.9)),
    url("img/justica.jpg") center / cover no-repeat;
}
.areas { display: grid; gap: 14px; }
.areas li {
  border: 1px solid rgba(184,153,111,.55);
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  text-align: center;
  font: 1rem var(--display); letter-spacing: .02em;
  background: rgba(0,0,0,.35);
  transition: border-color .2s, background .2s;
}
.areas li:hover { border-color: var(--gold-light); background: rgba(184,153,111,.12); }

/* Mapa */
.map { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(.25); }
.map__address { margin-top: 14px; text-align: center; color: var(--text-muted); font-size: .9rem; }

/* Por que */
.why { display: grid; gap: 28px 48px; max-width: 760px; margin-inline: auto; }
.why li {
  text-align: center;
  font: clamp(1.1rem, 2vw, 1.3rem)/1.3 var(--display);
}
.why li::before { content: "– "; color: var(--gold); }

/* Depoimentos */
.carousel { position: relative; padding-inline: 36px; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-behavior: smooth;
}
.carousel__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center;
  background: var(--card); border-radius: var(--radius-card);
  padding: 28px 22px; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.review__avatar {
  width: 56px; height: 56px; margin-bottom: 12px; border-radius: 50%;
  background: #d9d9d9; color: #5b4a38;
  display: grid; place-items: center;
  font: 600 1rem var(--body); letter-spacing: .04em;
}
.review__stars { color: #f5c518; letter-spacing: 3px; font-size: 1.05rem; }
.review__name {
  font: 700 .85rem/1.3 var(--body); text-transform: uppercase; letter-spacing: .04em;
  margin: 8px 0 10px;
}
.review__text {
  font: .78rem/1.5 var(--display); text-transform: uppercase; letter-spacing: .02em;
  color: #f6ece0;
}
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 48px;
  background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer;
  transition: color .2s;
}
.carousel__arrow:hover { color: var(--gold-light); }
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }

.google-badge {
  display: flex; width: fit-content; align-items: center; gap: 16px;
  margin: 40px auto 0;
  padding: 12px 28px 12px 24px;
  border: 1px solid rgba(184,153,111,.55); border-radius: var(--radius-pill);
  color: var(--text-muted); text-decoration: none;
  transition: border-color .2s, color .2s;
}
.google-badge:hover { border-color: var(--gold-light); color: #fff; }
.google-badge__score {
  font: 500 2.4rem/1 var(--serif); color: var(--gold);
}
.google-badge__info {
  display: flex; flex-direction: column; gap: 2px;
  font: .75rem var(--display); text-transform: uppercase; letter-spacing: .08em;
}
.google-badge__stars { color: #f5c518; letter-spacing: 3px; font-size: 1.05rem; }

/* Contato */
.contact { text-align: center; background: var(--bg-soft); }
.contact__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
  margin-top: 32px; font-size: .9rem;
}
.contact__list li { display: inline-flex; align-items: center; gap: 8px; }
.contact__list svg { color: var(--gold); }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--gold-light); }

/* Rodapé */
.footer {
  border-top: 1px solid #1d1d1d;
  padding: 24px; text-align: center;
  font-size: .8rem; color: #8a8a8a;
}
.footer__social { margin-top: 6px; }
.footer__social a { text-decoration: none; color: var(--gold); }
.footer__social a:hover { color: var(--gold-light); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 10;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gradient-gold); color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  /* escondido enquanto a hero está na tela */
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .3s, transform .3s, visibility 0s .3s;
}
.wa-float.is-visible {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s, transform .3s, visibility 0s;
}
.wa-float.is-visible:hover { transform: scale(1.08); }

/* Animação de entrada */
.reveal { animation: fadeUp .9s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 768px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .carousel__track { grid-auto-columns: calc((100% - 40px) / 3); }
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; min-height: 620px; }
  .hero__text { text-align: left; order: 1; align-self: center; padding-block: 64px; }
  .hero__sub { margin-left: 0; margin-bottom: 30px; }
  .hero__headline { margin: 28px 0 14px; }
  .hero__photo { order: 2; padding-top: 56px; }
  .hero__photo::after { display: none; }
  .hero__panel { left: 46%; width: 44%; }
  .hero__photo img { width: 100%; max-width: 430px; max-height: none; }
  .about { grid-template-columns: 1fr 1fr; gap: 56px; }
  .areas { grid-template-columns: repeat(3, 1fr); }
}

.nowrap { white-space: nowrap; }
