/* =========================================================
   Denise Belchor Advocacia
   ========================================================= */

@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/libre-caslon-display-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/libre-caslon-display-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --wine: #5a1726;
  --wine-deep: #3f0f1a;
  --wine-ink: #f3e6e3;      /* texto sobre vinho */
  --wine-soft: #d9b9b6;     /* texto secundário sobre vinho */
  --gold: #b08a3e;
  --gold-deep: #8a6a2a;     /* ouro legível sobre branco */
  --gold-soft: #e7d6ad;
  --ink: #1f1a1b;
  --text: #3a3234;
  --muted: #6b6163;
  --line: #e6dfdc;
  --paper: #ffffff;
  --mist: #f6f3f2;          /* faixa secundária, cinza levemente rosado */

  --display: "Libre Caslon Display", "Times New Roman", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 400; }
h1, h2 { font-family: var(--display); text-wrap: balance; letter-spacing: -0.01em; }
h3 { font-family: var(--sans); font-weight: 700; }
p { margin: 0; }
::selection { background: var(--wine); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: #c9bdbb var(--mist); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 20px; height: 20px; flex: none; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--wine); color: #fff; padding: 10px 16px;
}
.skip:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font: 700 15px/1 var(--sans); letter-spacing: .01em;
  border: 1px solid transparent; border-radius: 2px;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn--gold {
  background: var(--wine); color: #fff;
  box-shadow: inset 0 -2px 0 var(--gold), 0 8px 20px -10px rgba(63, 15, 26, .55);
}
.btn--gold .ico { color: var(--gold-soft); }
.btn--gold:hover { background: var(--wine-deep); transform: translateY(-1px); box-shadow: inset 0 -2px 0 var(--gold), 0 14px 26px -12px rgba(63, 15, 26, .6); }
.btn--gold:active { transform: translateY(0); }
.btn--line { border-color: #cdbfbc; color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--wine); color: var(--wine); }
.btn--line .ico { transition: transform .3s var(--ease); }
.btn--line:hover .ico { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--wine);
  border-bottom: 1px solid var(--gold); padding-bottom: 4px;
}
.link .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link:hover .ico { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__logo { width: 56px; height: 56px; object-fit: cover; object-position: 50% 30%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--display); font-size: 21px; color: var(--wine); letter-spacing: .06em; text-transform: uppercase; }
.brand__meta { font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }

.nav { display: flex; gap: 28px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--text); padding: 6px 0; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--wine); }
.nav a:hover::after { transform: scaleX(1); }

.menuBtn {
  display: none; width: 44px; height: 44px; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 2px; cursor: pointer;
}
.menuBtn .ico { width: 22px; height: 22px; }
.mobileNav { border-top: 1px solid var(--line); background: #fff; padding: 8px var(--gutter) 20px; }
.mobileNav a:not(.btn) { display: block; padding: 14px 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobileNav__cta { margin-top: 20px; color: #fff; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.08; }
.lead { margin-top: 28px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.7; max-width: 56ch; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.facts {
  list-style: none; margin: 48px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 0;
  font-size: 14px; color: var(--muted);
}
.facts li { padding: 0 24px 0 14px; border-left: 1px solid var(--gold); }
.facts strong { color: var(--ink); font-weight: 700; }

.portrait { margin: 0; position: relative; }
.portrait__frame { position: relative; aspect-ratio: 4 / 5; }
.portrait__frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); z-index: 0;
}
.portrait__frame img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  filter: saturate(.92) contrast(1.03);
}
.portrait__plate {
  position: absolute; z-index: 2; left: -28px; bottom: 36px;
  background: var(--wine); color: var(--wine-ink);
  padding: 16px 22px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 18px 40px -18px rgba(63, 15, 26, .6);
}
.portrait__name { font-family: var(--display); font-size: 20px; color: #fff; }
.portrait__role { font-size: 12.5px; letter-spacing: .03em; color: var(--wine-soft); }

/* ---------- seções ---------- */
.section { padding: var(--sec) 0; }
.section__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; }
.section__head p { color: var(--muted); max-width: 52ch; }

/* áreas */
.areas { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.area { padding: 44px 48px 48px 0; display: flex; flex-direction: column; }
.area + .area { padding: 44px 0 48px 48px; border-left: 1px solid var(--line); }
.area h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); color: var(--wine); }
.area__intro { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.area__list { list-style: none; padding: 0; margin: 28px 0 36px; }
.area__list li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; display: flex; gap: 14px; align-items: baseline; }
.area__list li::before { content: ""; width: 14px; height: 1px; background: var(--gold); flex: none; transform: translateY(-4px); }
.area .link { margin-top: auto; align-self: flex-start; }

/* sobre (faixa vinho) */
.about { background: var(--wine); color: var(--wine-ink); padding: var(--sec) 0; position: relative; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 104px); position: relative; }
.about h2 { color: #fff; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; }
.about__lead { margin-top: 28px; font-family: var(--display); font-size: clamp(21px, 2vw, 25px); line-height: 1.45; color: #fff; }
.about__copy p + p { margin-top: 18px; }
.about__copy p:not(.about__lead) { color: var(--wine-soft); max-width: 60ch; }
.values { margin: 0; display: grid; gap: 0; align-content: start; border-top: 1px solid rgba(231, 214, 173, .35); }
.values div { padding: 24px 0; border-bottom: 1px solid rgba(231, 214, 173, .2); }
.values dt { font-weight: 700; color: var(--gold-soft); font-size: 15px; letter-spacing: .02em; }
.values dd { margin: 6px 0 0; color: var(--wine-ink); }

/* como funciona */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; counter-reset: s; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 1px; background: var(--gold); }
.step__n { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--gold); display: block; }
.step h3 { margin-top: 18px; font-size: 19px; }
.step p { margin-top: 10px; color: var(--muted); }

/* depoimentos */
.voices { background: var(--mist); padding: var(--sec) 0; }
.voices__title { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; margin-bottom: clamp(40px, 5vw, 64px); }
.voices__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; }
.voice { margin: 0; padding: 8px 40px; border-left: 1px solid #ddd3d0; display: flex; flex-direction: column; }
.voice:first-child { padding-left: 0; border-left: 0; }
.voice blockquote { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.45; color: var(--ink); }
.voice:first-child blockquote { font-size: clamp(24px, 2.3vw, 29px); color: var(--wine); }
.voice blockquote::before { content: "“"; display: block; font-size: 64px; line-height: .6; color: var(--gold); margin-bottom: 18px; }
.voice figcaption { margin-top: auto; padding-top: 24px; font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }

/* dúvidas */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.faq .section__head { display: block; margin: 0; }
.faq .section__head p { margin-top: 16px; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-weight: 700; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--wine); }
.faq summary .ico { color: var(--gold-deep); transition: transform .35s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--muted); max-width: 64ch; }

/* contato */
.contact { background: var(--wine-deep); color: var(--wine-ink); padding: var(--sec) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 104px); align-items: start; }
.contact h2 { color: #fff; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.contact__copy > p { margin-top: 22px; color: var(--wine-soft); max-width: 44ch; }
.channels { list-style: none; padding: 0; margin: 44px 0 0; border-top: 1px solid rgba(231, 214, 173, .25); }
.channels li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid rgba(231, 214, 173, .15); }
.channels .ico { color: var(--gold-soft); margin-top: 3px; }
.channels span { display: block; font-size: 13px; color: var(--wine-soft); letter-spacing: .03em; }
.channels a, .channels p { color: #fff; font-weight: 600; word-break: break-word; }
.channels a:hover { color: var(--gold-soft); }

.form { background: #fff; color: var(--text); padding: clamp(28px, 4vw, 48px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; padding: 0; }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid #cfc4c1; border-radius: 2px; padding: 13px 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #7d7375; }
.field input:hover, .field textarea:hover { border-color: #a99c99; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(90, 23, 38, .12); }
.field input, .field textarea { caret-color: var(--wine); }

.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; margin: 0 !important; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 10px;
  border: 1px solid #cfc4c1; border-radius: 2px; font-weight: 600; font-size: 15px; color: var(--text);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.choice:hover span { border-color: var(--wine); }
.choice input:checked + span { background: var(--wine); border-color: var(--wine); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.field__err { display: none; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: #a3261c; }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid .choice span { border-color: #a3261c; }
.form__note { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }

/* footer */
.footer { background: #2a0a12; color: var(--wine-soft); padding: 48px 0; font-size: 14px; }
.footer__row { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand img { width: 64px; height: 64px; object-fit: cover; object-position: 50% 30%; border-radius: 50%; background: #fff; }
.footer__brand p { color: var(--wine-ink); line-height: 1.5; }
.footer__legal { max-width: 58ch; }

/* WhatsApp flutuante */
.waFloat {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1f8f4e; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.waFloat .ico { width: 28px; height: 28px; }
.waFloat:hover { transform: scale(1.06); }
.waFloat.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* entrada do hero: um único momento */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .9s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .portrait__frame::before { animation: frame 1.2s var(--ease) .25s both; }
  @keyframes rise { from { opacity: .001; transform: translateY(14px); } }
  @keyframes frame { from { inset: 0; opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav, .header__cta { display: none; }
  .menuBtn { display: grid; }
  .brand__logo { width: 46px; height: 46px; }
  .brand__name { font-size: 18px; }

  .hero__grid { grid-template-columns: 1fr; }
  .portrait { max-width: 440px; width: calc(100% - 18px); }
  .link { min-height: 44px; }
  .channels a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .section__head { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .area, .area + .area { padding: 36px 0 40px; border-left: 0; }
  .area + .area { border-top: 1px solid var(--line); }
  .about__grid, .contact__grid, .faq { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .voices__grid { grid-template-columns: 1fr; gap: 40px; }
  .voice, .voice:first-child { padding: 0; border-left: 0; }
  .voice + .voice { padding-top: 40px; border-top: 1px solid #ddd3d0; }
  .footer__row { grid-template-columns: 1fr; gap: 24px; }
}
/* tablet: texto e foto lado a lado */
@media (min-width: 640px) and (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .hero h1 { font-size: clamp(32px, 4.6vw, 42px); }
  .portrait { width: 100%; }
  .portrait__frame::before { inset: 12px -12px -12px 12px; }
  .portrait__plate { left: -16px; bottom: 20px; padding: 12px 16px; }
  .portrait__name { font-size: 17px; }
  .facts li { padding-right: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 36px; }
  .hero__actions .btn { width: 100%; }
  .facts { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .facts li, .facts li:first-child { padding: 0 0 0 14px; border-left: 1px solid var(--gold); }
  .portrait__plate { left: -10px; bottom: 24px; padding: 12px 16px; }
  .portrait__name { font-size: 18px; }
  .choices { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .choice span { font-size: 14px; padding: 0 4px; }
  .faq details p { padding-right: 0; }
  .waFloat { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
