/* =========================================================
   Baroni Advocacia — paleta: nude, areia, dourado, marrom, branco
   ========================================================= */
:root {
  --branco: #FFFDFA;
  --areia: #F5EEE6;
  --nude: #EADBCB;
  --nude-2: #DCC6AF;
  --dourado: #B88A45;
  --dourado-claro: #D4AE6E;
  --dourado-escuro: #96702F;
  --marrom: #3A2416;
  --marrom-2: #5B3D28;
  --texto: #4A3628;
  --texto-suave: #7A6252;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --raio: 2px;
  --header-h: 78px;
  --max: 1180px;
  --gold-grad: linear-gradient(135deg, #C9A05E 0%, #E2C186 45%, #B88A45 100%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--texto);
  background: var(--areia);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
strong { font-weight: 500; color: var(--marrom); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--marrom);
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.4rem; }
h1 em, h2 em { font-style: italic; color: var(--dourado); }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--marrom); color: var(--branco); padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 1.1rem;
}
.eyebrow .sep { color: var(--dourado-claro); margin: 0 .35em; }
.eyebrow-light { color: var(--dourado-claro); }

/* ---------- Botões ---------- */
.btn {
  --pad: .95rem 1.8rem;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: var(--pad);
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--raio);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn .ico { width: 1.25em; height: 1.25em; }
.btn-gold { background: var(--gold-grad); color: var(--branco); box-shadow: 0 6px 20px -8px rgba(150, 112, 47, .6); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(150, 112, 47, .7); }
.btn-ghost { border-color: var(--dourado); color: var(--marrom); }
.btn-ghost:hover { background: var(--marrom); border-color: var(--marrom); color: var(--areia); }
.btn-sm { --pad: .6rem 1.15rem; font-size: .72rem; }
.btn-lg { --pad: 1.15rem 2.3rem; font-size: .9rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--dourado); outline-offset: 3px; }

.ico { width: 1.6rem; height: 1.6rem; display: inline-block; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(245, 238, 230, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: rgba(184, 138, 69, .25); box-shadow: 0 8px 30px -20px rgba(58, 36, 22, .35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif); font-weight: 500; font-size: 1.55rem;
  letter-spacing: .32em; text-transform: uppercase; color: var(--marrom); margin: 0;
}
.brand-sub {
  font-family: var(--sans); font-size: .62rem; font-weight: 500;
  letter-spacing: .42em; text-transform: uppercase; color: var(--dourado); margin: .35rem 0 0;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) {
  font-size: .8rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--marrom); position: relative; padding: .3rem 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--dourado); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--marrom); margin: 6px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 60; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 1.4rem; padding: 2.2rem 1.5rem 2.6rem;
    background: var(--areia); border-bottom: 1px solid rgba(184, 138, 69, .3);
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: transform .35s ease, opacity .35s ease, visibility .35s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(234, 219, 203, .9), transparent 60%),
    var(--areia);
}
.hero-watermark {
  position: absolute; right: -6%; top: 50%; translate: 0 -50%;
  width: min(70vw, 760px); aspect-ratio: 1;
  background: url("/assets/img/monograma.png") center / contain no-repeat;
  opacity: .07; pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero .lead { font-size: 1.2rem; color: var(--texto-suave); max-width: 32em; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-photo { position: relative; justify-self: center; width: min(100%, 440px); }
.arch {
  position: relative; z-index: 1;
  border-radius: 999px 999px var(--raio) var(--raio);
  overflow: hidden; aspect-ratio: 4 / 5.6;
  box-shadow: 0 30px 60px -30px rgba(58, 36, 22, .45);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.arch-line {
  position: absolute; inset: -16px -16px 22px 22px;
  border: 1px solid var(--dourado);
  border-radius: 999px 999px var(--raio) var(--raio);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-photo { width: min(80%, 360px); order: -1; }
}

/* ---------- Boas-vindas ---------- */
.welcome { background: var(--branco); padding: clamp(4rem, 8vw, 7rem) 0; text-align: center; }
.quote {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.3; color: var(--marrom-2);
}
.ornament {
  width: 220px; height: 22px; margin: 2.2rem auto 2.4rem;
  background:
    radial-gradient(circle, var(--dourado) 0 3px, transparent 3.5px) center / 22px 22px no-repeat,
    linear-gradient(var(--dourado), var(--dourado)) left center / 42% 1px no-repeat,
    linear-gradient(var(--dourado), var(--dourado)) right center / 42% 1px no-repeat;
  opacity: .8;
}
.h-sm { font-size: 1.9rem; }
.welcome p { color: var(--texto); }
.signoff { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--dourado-escuro); margin-top: 1.8rem; }

/* ---------- Sobre ---------- */
.about { overflow: hidden; padding: clamp(4rem, 9vw, 8rem) 0; background: var(--areia); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-photo { position: relative; max-width: 460px; justify-self: center; width: 100%; }
.about-photo img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%;
  border-radius: var(--raio);
}
.about-photo .frame {
  position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--dourado); border-radius: var(--raio);
}
.credentials {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.5rem;
}
.credentials li {
  position: relative; padding-left: 1.6rem;
  font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--marrom);
}
.credentials li::before { content: "✻"; position: absolute; left: 0; color: var(--dourado); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }
}
@media (max-width: 520px) { .credentials { grid-template-columns: 1fr; } }

/* ---------- Abordagem ---------- */
.approach { background: var(--marrom); color: var(--nude); padding: clamp(4rem, 8vw, 7rem) 0; position: relative; overflow: hidden; }
.approach::before {
  content: ""; position: absolute; left: -120px; bottom: -160px; width: 460px; aspect-ratio: 1;
  background: url("/assets/img/monograma.png") center / contain no-repeat; opacity: .06;
}
.approach-grid { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.approach h2 { color: var(--branco); }
.approach strong { color: var(--dourado-claro); }
.approach-note {
  margin-top: 2rem; padding-left: 1.5rem; border-left: 1px solid var(--dourado);
  font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.5; color: var(--branco);
}
@media (max-width: 900px) { .approach-grid { grid-template-columns: 1fr; } }

/* ---------- Áreas ---------- */
.areas { background: var(--branco); padding: clamp(4rem, 9vw, 8rem) 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  position: relative; padding: 2.4rem 2rem 2.1rem;
  background: var(--areia); border: 1px solid rgba(184, 138, 69, .18); border-radius: var(--raio);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s;
}
.card::after {
  content: ""; position: absolute; left: 2rem; right: 2rem; bottom: 0; height: 2px;
  background: var(--gold-grad); transform: scaleX(0); transition: transform .4s ease;
}
.card:hover { transform: translateY(-4px); background: var(--branco); border-color: rgba(184, 138, 69, .45); box-shadow: 0 22px 40px -28px rgba(58, 36, 22, .45); }
.card:hover::after { transform: scaleX(1); }
.card-num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--dourado); margin-bottom: .9rem; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .98rem; margin: 0; color: var(--texto-suave); }

@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Multiportas ---------- */
.multi { background: var(--nude); padding: clamp(4rem, 9vw, 8rem) 0; }
.multi-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.highlight {
  font-family: var(--serif); font-size: 1.4rem; line-height: 1.45; font-style: italic; color: var(--marrom);
  padding: 1.3rem 1.6rem; background: rgba(255, 253, 250, .55); border-left: 2px solid var(--dourado); margin-top: 1.6rem;
}
.multi-sub { text-align: center; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 2.5rem; }

.doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.door {
  background: var(--branco); padding: 2rem 1.8rem 1.9rem; text-align: center;
  border-radius: 140px 140px var(--raio) var(--raio);
  border: 1px solid rgba(184, 138, 69, .25);
  transition: transform .35s, box-shadow .35s;
}
.door:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(58, 36, 22, .5); }
.door-arch {
  display: grid; place-items: center; width: 74px; height: 86px; margin: .4rem auto 1.2rem;
  border: 1px solid var(--dourado); border-radius: 40px 40px 2px 2px; color: var(--dourado-escuro);
}
.door-arch .ico { width: 30px; height: 30px; }
.door h4 { margin-bottom: .45rem; }
.door p { font-size: .97rem; color: var(--texto-suave); margin: 0; }

@media (max-width: 900px) {
  .multi-intro { grid-template-columns: 1fr; }
  .doors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta {
  text-align: center; padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(212, 174, 110, .18), transparent 70%),
    var(--branco);
}
.cta-mark { width: 84px; height: 84px; margin: 0 auto 1.6rem; }
.cta h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.cta p { color: var(--texto-suave); font-size: 1.15rem; margin-bottom: 2.2rem; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--marrom); color: var(--nude-2); padding: 3.5rem 0 1.5rem; font-size: .92rem; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(212, 174, 110, .25); }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand .brand-name { color: var(--branco); font-size: 1.4rem; }
.footer-brand .brand-sub { color: var(--dourado-claro); }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--nude); margin: 0; }
.footer-links { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; color: var(--dourado-claro); }
.footer-links a:hover { color: var(--branco); }
.footer-bottom { padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .8rem; color: rgba(220, 198, 175, .75); }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-grad); color: var(--branco);
  box-shadow: 0 10px 28px -8px rgba(58, 36, 22, .55);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .ico { width: 30px; height: 30px; }

/* ---------- Animação ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(3n+2), .doors .reveal:nth-child(3n+2) { transition-delay: .08s; }
.cards .reveal:nth-child(3n), .doors .reveal:nth-child(3n) { transition-delay: .16s; }

@media (max-width: 600px) {
  .about-photo { width: 86%; }
  .about-photo .frame { inset: 14px -14px -14px 14px; }
}

.about-name {
  font-family: var(--sans); font-size: .85rem; font-weight: 500; letter-spacing: .26em;
  text-transform: uppercase; color: var(--dourado); margin: -.6em 0 1.6em;
}
.footer-name { display: block; font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--dourado-claro); margin-bottom: .3rem; }

/* ---------- Avaliações ---------- */
.reviews { background: var(--areia); padding: clamp(4rem, 9vw, 7rem) 0; }
.review-list { columns: 3 300px; column-gap: 1.5rem; }
.review {
  display: block; break-inside: avoid; margin: 0 0 1.5rem; padding: 2rem 1.8rem 1.6rem;
  background: var(--branco); border: 1px solid rgba(184, 138, 69, .2); border-radius: var(--raio);
  text-decoration: none; transition: transform .35s, box-shadow .35s, border-color .35s;
}
.review:hover { transform: translateY(-3px); border-color: rgba(184, 138, 69, .5); box-shadow: 0 22px 40px -28px rgba(58, 36, 22, .45); }
.review-stars { display: flex; gap: 2px; color: var(--dourado); margin-bottom: 1rem; }
.review-stars .ico { width: 16px; height: 16px; }
.review blockquote { margin: 0 0 1.3rem; font-family: var(--serif); font-size: 1.22rem; line-height: 1.5; color: var(--marrom-2); }
.review-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .8rem; letter-spacing: .08em; }
.review-foot strong { font-weight: 500; color: var(--marrom); text-transform: uppercase; letter-spacing: .14em; }
.review-foot span { color: var(--dourado-escuro); }
.reviews-note { text-align: center; font-size: .85rem; color: var(--texto-suave); margin-top: 2.5rem; }

/* Nome embaixo da foto do topo */
.hero-caption { position: relative; z-index: 2; margin: 2.6rem 0 0; text-align: center; line-height: 1.2; }
.hero-caption-name { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--marrom); }
.hero-caption-role { display: block; margin-top: .45rem; font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--dourado); }
.arch-wrap { position: relative; }
.arch-wrap .arch-line { inset: -16px -16px 16px 16px; }
@media (max-width: 900px) {
  .hero-caption { margin: 1.8rem 0 1.4rem; }
  .hero-caption-name { font-size: 1.5rem; }
}

/* Nome "Ana Baroni" no cabeçalho em telas pequenas */
@media (max-width: 420px) {
  .site-header .brand-name { font-size: 1.25rem; letter-spacing: .24em; }
  .site-header .brand-sub { letter-spacing: .34em; }
  .brand img { width: 38px; height: 38px; }
}
.cta-logo { width: min(240px, 60vw); height: auto; margin: 0 auto 2.4rem; }
