/* Sandra Luz Advocacia — estilos estáticos (sem framework, otimizado para performance) */

:root {
  --petrol: #283d3e;
  --petrol-deep: #152829;
  --copper: #c1835c;
  --copper-soft: #d7ae92;
  --gold: #e8c059;
  --cream: #f7f7f7;
  --whatsapp: #44c763;
  --background: #fbfbfb;
  --foreground: #1c2c2d;
  --card: #ffffff;
  --muted-foreground: #5e6c6d;
  --border: #dadfdf;
  --radius: 0.75rem;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- Reveal animation (on page load, mirrors original mount animation) ---------- */
.reveal { animation: reveal-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .whatsapp-pulse { animation: none !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled {
  background-color: rgba(40, 61, 62, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.site-header__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
}
.site-header__logo img { height: 2.5rem; width: auto; }
.site-header__nav { display: none; align-items: center; gap: 1.75rem; }
.site-header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(247, 247, 247, 0.85);
  transition: color 0.2s ease;
}
.site-header__nav a:hover { color: var(--gold); }
.site-header__menu-btn {
  display: grid;
  place-items: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 247, 247, 0.25);
  background: transparent;
  color: var(--cream);
}
@media (min-width: 64rem) {
  .site-header__nav { display: flex; }
  .site-header__menu-btn { display: none; }
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(21, 40, 41, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed;
  inset-block: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 82%;
  max-width: 20rem;
  background: var(--petrol);
  padding: 1.5rem;
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-drawer__top img { height: 1.75rem; width: auto; }
.mobile-drawer__close {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 247, 247, 0.25);
  background: transparent;
  color: var(--cream);
}
.mobile-drawer nav { display: flex; flex-direction: column; }
.mobile-drawer nav a {
  border-bottom: 1px solid rgba(247, 247, 247, 0.1);
  padding-block: 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--cream);
}
.mobile-drawer nav a:hover { color: var(--gold); }
@media (min-width: 64rem) {
  .mobile-overlay, .mobile-drawer { display: none; }
}

/* ---------- Buttons / CTA ---------- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}
.btn-whatsapp:active { transform: scale(0.98); }
.btn-whatsapp svg { height: 1.25rem; width: 1.25rem; flex-shrink: 0; }
.btn-whatsapp--primary {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 10px 25px rgba(193, 131, 92, 0.25);
}
.btn-whatsapp--primary:hover { background: #b3764f; }
.btn-whatsapp--light { background: var(--cream); color: var(--petrol); }
.btn-whatsapp--light:hover { background: #fff; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(247, 247, 247, 0.3);
  padding: 0.9rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cream);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.btn-outline:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--petrol); isolation: isolate; }
.hero__img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 70% center; opacity: 0.7; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(21,40,41,0.95), rgba(40,61,62,0.85) 55%, rgba(40,61,62,0.95));
}
@media (min-width: 640px) {
  .hero__scrim { background: linear-gradient(to right, rgba(21,40,41,0.97), rgba(40,61,62,0.8) 55%, rgba(40,61,62,0.4)); }
}
.hero__inner { position: relative; padding-block: 7rem 4rem; }
@media (min-width: 640px) { .hero__inner { padding-block: 9rem 6rem; } }
@media (min-width: 64rem) { .hero__inner { padding-block: 11rem 8rem; } }
.hero__content { max-width: 42rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(232, 192, 89, 0.4);
  background: rgba(21, 40, 41, 0.5);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--gold);
}
.hero__badge svg { height: 1rem; width: 1rem; }
.hero h1 {
  margin-top: 1.5rem;
  font-size: 1.875rem; line-height: 1.15; font-weight: 600; color: var(--cream);
}
@media (min-width: 640px) { .hero h1 { font-size: 2.25rem; } }
@media (min-width: 64rem) { .hero h1 { font-size: 3rem; } }
.hero p.hero__lead { margin-top: 1.25rem; font-size: 1rem; line-height: 1.6; color: rgba(247,247,247,0.85); }
@media (min-width: 640px) { .hero p.hero__lead { font-size: 1.125rem; } }
.hero__ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero__ctas { flex-direction: row; } }
.hero__note { margin-top: 1.5rem; font-size: 0.875rem; color: rgba(247,247,247,0.7); }

/* ---------- Section shells ---------- */
.section { padding-block: 4rem; }
@media (min-width: 640px) { .section { padding-block: 6rem; } }
.section--dark { background: var(--petrol); }
.section--cream { background: var(--cream); }
.eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.eyebrow--gold { color: var(--gold); }
.section h2 { margin-top: 0.75rem; font-size: 1.5rem; font-weight: 600; color: var(--petrol); }
@media (min-width: 640px) { .section h2 { font-size: 1.875rem; } }
@media (min-width: 64rem) { .section h2 { font-size: 2.25rem; } }
.section--dark h2 { color: var(--cream); }
.section__lede { max-width: 42rem; }
.section__desc { margin-top: 1rem; font-size: 1rem; line-height: 1.6; color: var(--muted-foreground); }

/* ---------- Areas grid ---------- */
.areas-grid { margin-top: 2.5rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .areas-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 64rem) { .areas-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.area-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.area-card:hover { transform: translateY(-4px); border-color: rgba(193,131,92,0.5); box-shadow: 0 20px 40px rgba(40,61,62,0.06); }
.area-card__icon {
  display: grid; place-items: center;
  height: 3rem; width: 3rem;
  border-radius: 0.75rem;
  background: rgba(193,131,92,0.12);
  color: var(--copper);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.area-card__icon svg { height: 1.5rem; width: 1.5rem; }
.area-card:hover .area-card__icon { background: var(--copper); color: #fff; }
.area-card h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; color: var(--petrol); }
.area-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.section__cta { margin-top: 2.5rem; display: flex; justify-content: center; }

/* ---------- Sobre ---------- */
.sobre-grid { display: grid; align-items: center; gap: 2.5rem; }
@media (min-width: 64rem) { .sobre-grid { grid-template-columns: minmax(0,0.85fr) minmax(0,1fr); gap: 4rem; } }
.sobre-photo { position: relative; margin-inline: auto; width: 100%; max-width: 24rem; }
.sobre-photo::before {
  content: ""; position: absolute; left: -1rem; bottom: -1rem;
  height: 100%; width: 100%;
  border: 1px solid rgba(193,131,92,0.4);
  border-radius: 1.5rem;
}
.sobre-photo img {
  position: relative; width: 100%; border-radius: 1.5rem;
  box-shadow: 0 25px 50px rgba(40,61,62,0.2);
  object-fit: cover; aspect-ratio: 341/512;
}
.sobre-kicker { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--copper); }
.sobre-text { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; font-size: 1rem; line-height: 1.6; color: var(--muted-foreground); }
.sobre-stats { margin-top: 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.sobre-stats div { border-radius: 1rem; background: var(--card); padding: 1rem; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.sobre-stats dt { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--petrol); }
.sobre-stats dd { margin-top: 0.25rem; font-size: 0.75rem; line-height: 1.4; color: var(--muted-foreground); }
.sobre-cta { margin-top: 2rem; }

/* ---------- Como funciona ---------- */
.steps-grid { margin-top: 2.5rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.step-card {
  border-radius: 1rem;
  border: 1px solid rgba(247,247,247,0.12);
  background: rgba(21,40,41,0.4);
  padding: 1.5rem;
  transition: border-color 0.3s ease;
}
.step-card:hover { border-color: rgba(232,192,89,0.5); }
.step-card__icon {
  display: grid; place-items: center;
  height: 3rem; width: 3rem;
  border-radius: 0.75rem;
  background: rgba(232,192,89,0.15);
  color: var(--gold);
}
.step-card__icon svg { height: 1.5rem; width: 1.5rem; }
.step-card h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; color: var(--cream); }
.step-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: rgba(247,247,247,0.75); }

/* ---------- Depoimentos (carrossel sem JS pesado, scroll-snap) ---------- */
.carousel { margin-top: 2.5rem; }
.carousel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: 1rem; padding-bottom: 0.25rem; }
.testimonial {
  scroll-snap-align: start;
  flex: 0 0 100%;
  display: flex; flex-direction: column;
  min-height: 16rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
@media (min-width: 768px) { .testimonial { flex: 0 0 calc(33.333% - 0.667rem); } }
.testimonial__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.testimonial__head svg.quote { height: 1.75rem; width: 1.75rem; color: var(--gold); }
.testimonial__stars { display: flex; gap: 0.125rem; }
.testimonial__stars svg { height: 1rem; width: 1rem; fill: var(--gold); color: var(--gold); }
.testimonial p.testimonial__text { margin-top: 1.25rem; flex: 1; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.testimonial__footer { margin-top: 1.5rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.testimonial__footer strong { font-size: 0.875rem; font-weight: 600; color: var(--petrol); }
.testimonial__footer span { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: var(--muted-foreground); }
.carousel__controls { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.carousel__dots { display: flex; gap: 0.5rem; }
.carousel__dots button { height: 0.625rem; width: 0.625rem; border-radius: 999px; background: var(--border); border: none; padding: 0; transition: all 0.2s ease; }
.carousel__dots button:hover { background: rgba(193,131,92,0.5); }
.carousel__dots button.is-active { width: 1.75rem; background: var(--copper); }
.carousel__arrows { display: flex; gap: 0.5rem; }
.carousel__arrows button {
  display: grid; place-items: center; height: 2.5rem; width: 2.5rem;
  border-radius: 999px; border: 1px solid rgba(40,61,62,0.2);
  background: transparent; color: var(--petrol);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.carousel__arrows button:hover { background: var(--petrol); color: #fff; }
.carousel__arrows svg { height: 1.25rem; width: 1.25rem; }

/* ---------- Contato ---------- */
.contato-grid { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .contato-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.contato-cards { display: flex; flex-direction: column; gap: 1rem; }
.contato-card, .contato-link {
  border-radius: 1rem; background: var(--card); padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex; gap: 1rem; align-items: flex-start;
}
.contato-card h3 { font-size: 1.125rem; font-weight: 600; color: var(--petrol); }
.contato-card .whatsapp-number { margin-top: 0.5rem; font-family: var(--font-display); font-size: 1.25rem; color: var(--petrol); }
.contato-card p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }
.contato-card .btn-whatsapp { margin-top: 1rem; width: 100%; }
.contato-link { transition: background-color 0.2s ease; }
.contato-link:hover { background: #fff; }
.contato-link__icon {
  display: grid; place-items: center; flex-shrink: 0;
  height: 2.75rem; width: 2.75rem; border-radius: 0.75rem;
  background: rgba(193,131,92,0.12); color: var(--copper);
}
.contato-link__icon svg { height: 1.25rem; width: 1.25rem; }
.contato-link strong, .contato-card strong { display: block; font-weight: 600; color: var(--petrol); }
.contato-link span span, .contato-card span span { display: block; margin-top: 0.125rem; font-size: 0.875rem; color: var(--muted-foreground); }
.map-wrap {
  min-height: 20rem; overflow: hidden; border-radius: 1rem;
  background: var(--card); box-shadow: 0 20px 40px rgba(40,61,62,0.1);
}
@media (min-width: 64rem) { .map-wrap { min-height: 32rem; } }
.map-wrap iframe { height: 100%; min-height: 20rem; width: 100%; border: 0; }
@media (min-width: 64rem) { .map-wrap iframe { min-height: 32rem; } }
.map-placeholder { display: grid; height: 100%; min-height: 20rem; width: 100%; place-items: center; font-size: 0.875rem; color: var(--muted-foreground); }
@media (min-width: 64rem) { .map-placeholder { min-height: 32rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-deep); padding-block: 3rem; color: rgba(247,247,247,0.75); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.footer-grid img { height: 2.25rem; width: auto; }
.footer-grid p.tag { margin-top: 1rem; font-size: 0.875rem; line-height: 1.6; }
.footer-grid p.oab { margin-top: 0.5rem; font-size: 0.875rem; color: var(--gold); }
.footer-col h2 { margin-bottom: 1rem; font-size: 1rem; font-weight: 600; color: var(--cream); font-family: var(--font-sans); }
.footer-col nav { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-col nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; }
.footer-contact a { display: flex; align-items: flex-start; gap: 0.75rem; transition: color 0.2s ease; }
.footer-contact svg { height: 1rem; width: 1rem; flex-shrink: 0; color: var(--gold); margin-top: 0.15rem; }
.footer-legal { margin-top: 2.5rem; border-top: 1px solid rgba(247,247,247,0.1); padding-top: 1.5rem; font-size: 0.75rem; line-height: 1.6; color: rgba(247,247,247,0.55); }
.footer-legal-links { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-legal-links a:hover { color: var(--gold); }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-floating {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: grid; place-items: center;
  height: 3.5rem; width: 3.5rem; border-radius: 999px;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 20px 35px rgba(40,61,62,0.25);
  transition: transform 0.3s ease;
}
.whatsapp-floating:hover { transform: scale(1.05); }
.whatsapp-floating svg { height: 1.75rem; width: 1.75rem; }
.whatsapp-pulse { animation: whatsapp-pulse 2.6s ease-in-out infinite; }
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(21,40,41,0.25), 0 0 0 0 rgba(68,199,99,0.28); }
  50% { box-shadow: 0 10px 24px rgba(21,40,41,0.25), 0 0 0 10px rgba(68,199,99,0); }
}

/* ---------- Página de política de privacidade ---------- */
.policy-header { background: var(--petrol); }
.policy-header .container { display: flex; align-items: center; justify-content: space-between; padding-block: 1.5rem; }
.policy-header .brand { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--cream); }
.policy-header .brand:hover, .policy-header .back:hover { color: var(--gold); }
.policy-header .back { font-size: 0.875rem; font-weight: 600; color: rgba(247,247,247,0.8); }
.policy-main { padding-block: 3.5rem; }
@media (min-width: 640px) { .policy-main { padding-block: 5rem; } }
.policy-main article { max-width: 56rem; margin-inline: auto; }
.policy-main h1 { margin-top: 0.75rem; font-size: 1.875rem; font-weight: 600; color: var(--petrol); }
@media (min-width: 640px) { .policy-main h1 { font-size: 2.25rem; } }
.policy-main .updated { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }
.policy-main section { margin-top: 2rem; }
.policy-main h2 { font-size: 1.25rem; font-weight: 600; color: var(--petrol); }
.policy-main p { margin-top: 0.75rem; font-size: 1rem; line-height: 1.6; color: var(--muted-foreground); }
.policy-main a { font-weight: 600; color: var(--copper); }
.policy-main a:hover { color: var(--petrol); }
