/* =========================================================
   VASCONCELLOS · Sociedade de Advogados
   Design system — luxury editorial
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Dark theme (default) */
  --bg:            #0a0c0b;
  --bg-2:          #0f1211;
  --bg-3:          #141816;
  --surface:       #141816;
  --surface-2:     #1a1f1d;
  --line:          rgba(212, 197, 169, 0.12);
  --line-strong:   rgba(212, 197, 169, 0.22);
  --text:          #ece8df;
  --text-soft:     #b3aea3;
  --text-mute:     #7c7a72;
  --gold:          #c8a86b;
  --gold-soft:     #d9c08a;
  --gold-deep:     #a9854d;
  --emerald:       #1f3b32;
  --emerald-soft:  #2c5446;
  --white:         #f5f2ea;

  --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-body:    "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;

  --radius: 18px;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] {
  --bg:            #f4f1ea;
  --bg-2:          #efebe2;
  --bg-3:          #e9e4d8;
  --surface:       #ffffff;
  --surface-2:     #f7f4ec;
  --line:          rgba(31, 41, 38, 0.12);
  --line-strong:   rgba(31, 41, 38, 0.2);
  --text:          #16201c;
  --text-soft:     #46504a;
  --text-mute:     #767e78;
  --gold:          #9a7635;
  --gold-soft:     #b08e4f;
  --gold-deep:     #7c5e28;
  --emerald:       #1f3b32;
  --emerald-soft:  #2c5446;
  --white:         #16201c;
  --shadow: 0 30px 70px -34px rgba(31, 41, 38, 0.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--gold); color: #0a0c0b; }

/* hide native cursor on fine-pointer devices when custom cursor active */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(5rem, 11vw, 11rem); position: relative; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  background: var(--gold); color: #0a0c0b; padding: 0.6rem 1rem; border-radius: 8px;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography helpers ---------- */
.section-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 1.4rem;
}
.section-title {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.05;
  letter-spacing: -0.01em; color: var(--text);
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { color: var(--text-soft); max-width: 46ch; margin-top: 1.3rem; }
.section-head { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-size: 0.86rem; letter-spacing: 0.04em; font-weight: 500;
  padding: 1rem 1.7rem; border-radius: 100px; position: relative;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform; overflow: hidden;
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.5s var(--ease); }
.btn--gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep)); color: #0a0c0b; box-shadow: 0 12px 40px -14px rgba(200, 168, 107, 0.55); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -16px rgba(200, 168, 107, 0.7); }
.btn--line { border: 1px solid var(--line-strong); color: var(--text); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn--line:hover svg { transform: translateX(5px); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); padding: 0.7rem 1.3rem; font-size: 0.8rem; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--block { width: 100%; }
.btn--wa-inline { background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); margin-top: 2.2rem; }
.btn--wa-inline svg { width: 19px; height: 19px; fill: #25d366; stroke: none; }
.btn--wa-inline:hover { border-color: #25d366; transform: translateY(-3px); }

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: #fff; }
.cursor__ring { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.6); transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease); }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(255,255,255,0.08); border-color: transparent; }
.cursor.is-card .cursor__ring { width: 90px; height: 90px; border-color: rgba(255,255,255,0.9); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 200; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px;
  font-family: var(--ff-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.03em; color: var(--gold);
  border: 1px solid var(--line-strong); background: linear-gradient(150deg, var(--surface-2), transparent);
}
.brand__word { font-size: 0.82rem; letter-spacing: 0.34em; font-weight: 500; }

.nav__menu { display: flex; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.nav__menu a { font-size: 0.82rem; letter-spacing: 0.05em; color: var(--text-soft); position: relative; padding: 0.3rem 0; transition: color 0.4s var(--ease); }
.nav__menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.4s var(--ease); }
.nav__menu a:hover, .nav__menu a.is-active { color: var(--text); }
.nav__menu a:hover::after, .nav__menu a.is-active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 0.9rem; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.theme-toggle:hover { border-color: var(--gold); transform: rotate(18deg); }
.theme-toggle__icon { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: block; }

.nav__burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav__burger span { width: 22px; height: 1.5px; background: var(--text); transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: grid; place-items: center; clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path 0.7s var(--ease); pointer-events: none; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); pointer-events: auto; }
.mobile-menu__nav { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.mobile-menu__nav a { font-family: var(--ff-display); font-size: 2rem; color: var(--text); opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s; }
.mobile-menu.is-open .mobile-menu__nav a { opacity: 1; transform: none; }
.mobile-menu__nav a:hover { color: var(--gold); }
.mobile-menu__cta { margin-top: 1rem; font-family: var(--ff-body) !important; font-size: 0.9rem !important; letter-spacing: 0.05em; color: var(--gold) !important; border: 1px solid var(--line-strong); padding: 0.9rem 2rem; border-radius: 100px; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.22s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.29s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.36s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 0.43s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(6) { transition-delay: 0.5s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(7) { transition-delay: 0.57s; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__veil { position: absolute; inset: 0; z-index: 1; background:
    radial-gradient(120% 80% at 80% 20%, transparent 30%, var(--bg) 100%),
    linear-gradient(180deg, transparent 50%, var(--bg) 98%);
}
.hero__grain { position: absolute; inset: 0; z-index: 2; opacity: 0.5; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; z-index: 3; padding-top: 80px; }

.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.9rem; font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; }
.hero__eyebrow-line { width: 46px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

.hero__title { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2.8rem, 8.5vw, 7rem); line-height: 0.98; letter-spacing: -0.015em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title [data-reveal-word] { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.hero__title.is-in [data-reveal-word] { transform: translateY(0); }
.hero__title .accent { color: var(--gold); font-style: italic; }

.hero__lead { max-width: 50ch; margin-top: 2rem; font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--text-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: clamp(1.6rem, 4vw, 3.6rem); margin-top: 3.6rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.hero__stat { display: flex; flex-direction: column; gap: 0.2rem; }
.hero__stat strong { font-family: var(--ff-display); font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 500; color: var(--text); line-height: 1; }
.hero__stat span { font-size: 0.76rem; letter-spacing: 0.02em; color: var(--text-mute); max-width: 18ch; }

.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.hero__scroll span:first-child { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-mute); }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(180deg, var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--text); animation: scrollDown 2.2s var(--ease) infinite; }
@keyframes scrollDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 1.4rem; overflow: hidden; background: var(--bg-2); }
.marquee__track { display: flex; align-items: center; gap: 2.5rem; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--ff-display); font-style: italic; font-size: 1.5rem; color: var(--text-soft); }
.marquee__track i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   POSITIONING
   ========================================================= */
.positioning__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); }
.positioning__left { position: sticky; top: 120px; align-self: start; }
.positioning__lead { font-family: var(--ff-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; color: var(--text); margin-bottom: 1.8rem; }
.positioning__text { color: var(--text-soft); max-width: 60ch; }
.positioning__pillars { margin-top: 3rem; display: grid; gap: 1.2rem; }
.positioning__pillars li { display: grid; grid-template-columns: 130px 1fr; gap: 1.5rem; align-items: baseline; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 0.95rem; }
.positioning__pillars span { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; }

/* =========================================================
   ÁREAS
   ========================================================= */
.areas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.area-card {
  position: relative; padding: 2.6rem 2rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), var(--bg-2)); overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.area-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(200,168,107,0.12), transparent 60%); opacity: 0; transition: opacity 0.5s var(--ease); }
.area-card:hover, .area-card:focus-visible { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: var(--shadow); outline: none; }
.area-card:hover::before { opacity: 1; }
.area-card__index { position: absolute; top: 1.8rem; right: 2rem; font-family: var(--ff-display); font-size: 0.95rem; color: var(--text-mute); letter-spacing: 0.1em; }
.area-card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); margin-bottom: 1.8rem; transition: border-color 0.5s var(--ease), background 0.5s var(--ease); }
.area-card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.area-card:hover .area-card__icon { border-color: var(--gold); background: rgba(200,168,107,0.06); }
.area-card h3 { font-family: var(--ff-display); font-size: 1.55rem; font-weight: 500; margin-bottom: 0.7rem; }
.area-card p { color: var(--text-soft); font-size: 0.92rem; }
.area-card__more { display: inline-flex; align-items: center; margin-top: 1.6rem; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); opacity: 0; transform: translateX(-8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.area-card:hover .area-card__more, .area-card:focus-visible .area-card__more { opacity: 1; transform: none; }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__media { position: relative; }
.about__media-inner { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(31,59,50,0.5), transparent 60%),
    radial-gradient(120% 90% at 20% 10%, #243029, #0c100e 90%);
}
.about__media-inner::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='rgba(212,197,169,0.05)' stroke-width='1'/%3E%3C/svg%3E"); }
.about__media-overlay { position: absolute; inset: 0; z-index: 1;
  background:
    url("../img/colunas.svg") center 38% / 78% auto no-repeat,
    radial-gradient(70% 50% at 60% 40%, rgba(200,168,107,0.12), transparent);
}
.about__media-caption { position: absolute; left: 1.6rem; bottom: 1.6rem; display: flex; flex-direction: column; gap: 0.2rem; z-index: 2; }
.about__media-caption span:first-child { font-family: var(--ff-display); font-size: 1.2rem; color: var(--white); }
.about__media-caption span:last-child { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.about__badge { position: absolute; right: -10px; bottom: 8%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 1.2rem 1.4rem; max-width: 220px; box-shadow: var(--shadow); }
.about__badge strong { font-family: var(--ff-display); font-size: 1.5rem; color: var(--gold); display: block; }
.about__badge span { font-size: 0.78rem; color: var(--text-soft); }
.about__text { color: var(--text-soft); margin-top: 1.6rem; max-width: 54ch; }
.about__values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2.6rem; }
.about__values strong { font-family: var(--ff-display); font-size: 1.25rem; color: var(--text); display: block; margin-bottom: 0.4rem; }
.about__values p { font-size: 0.88rem; color: var(--text-mute); }

/* =========================================================
   LAWYER
   ========================================================= */
.lawyer { background: var(--bg-2); }
.lawyer__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.lawyer__role { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.04em; margin-top: 0.8rem; }
.lawyer__text { color: var(--text-soft); margin-top: 1.4rem; max-width: 52ch; }
.lawyer__quote { font-family: var(--ff-display); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.4; color: var(--text); margin-top: 2.4rem; padding-left: 1.6rem; border-left: 2px solid var(--gold); }
.lawyer__credentials { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.4rem; }
.lawyer__credentials span { font-size: 0.74rem; letter-spacing: 0.06em; color: var(--text-soft); border: 1px solid var(--line); border-radius: 100px; padding: 0.5rem 1rem; }
.lawyer__portrait { position: relative; }
.lawyer__portrait-frame { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); }
.lawyer__portrait-img { position: absolute; inset: 0;
  background-image: url("../img/juliane-brunhara.jpg");
  background-size: cover; background-position: center 15%;
  transform: scale(1.001); transition: transform 1.4s var(--ease);
  filter: saturate(0.96) contrast(1.02);
}
.lawyer__portrait-frame:hover .lawyer__portrait-img { transform: scale(1.04); }
.lawyer__portrait-img::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 50% at 60% 30%, rgba(200,168,107,0.16), transparent 60%);
  mix-blend-mode: soft-light;
}
.lawyer__portrait-glow { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg-2) 1%, transparent 36%); }
.lawyer__portrait figcaption { margin-top: 1.2rem; font-family: var(--ff-display); font-size: 1.3rem; display: flex; flex-direction: column; }
.lawyer__portrait figcaption span { font-family: var(--ff-body); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

/* =========================================================
   JOURNEY
   ========================================================= */
.journey__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; padding-top: 3rem; }
.journey__track::before { content: ""; position: absolute; top: 3rem; left: 0; right: 0; height: 1px; background: var(--line); }
.journey__progress { position: absolute; top: 3rem; left: 0; height: 1px; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); transition: width 1.4s var(--ease); }
.journey__step { position: relative; padding-top: 2.4rem; }
.journey__step::before { content: ""; position: absolute; top: calc(-0.5rem); left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); transform: translateY(-50%); }
.journey__num { font-family: var(--ff-display); font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 0.8rem; }
.journey__step h3 { font-family: var(--ff-display); font-size: 1.45rem; font-weight: 500; margin-bottom: 0.6rem; }
.journey__step p { color: var(--text-soft); font-size: 0.9rem; }

/* =========================================================
   METHOD
   ========================================================= */
.method__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.method__item { background: var(--bg); padding: 2.6rem; transition: background 0.5s var(--ease); position: relative; }
.method__item:hover { background: var(--surface); }
.method__no { font-family: var(--ff-display); font-size: 0.9rem; color: var(--gold); letter-spacing: 0.1em; }
.method__item h3 { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 500; margin: 1.2rem 0 0.7rem; }
.method__item p { color: var(--text-soft); font-size: 0.9rem; }

/* =========================================================
   PROOF
   ========================================================= */
.proof { background: linear-gradient(180deg, var(--bg), var(--bg-2)); text-align: center; }
.proof__inner { max-width: 880px; margin-inline: auto; }
.proof__title { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; }
.proof__sub { color: var(--text-soft); max-width: 60ch; margin: 1.6rem auto 0; }
.proof__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 4rem; }
.proof__stat { padding: 2rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.proof__stat strong { font-family: var(--ff-display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 500; color: var(--gold); display: block; line-height: 1; }
.proof__stat span { font-size: 0.8rem; color: var(--text-soft); margin-top: 0.7rem; display: block; }

/* =========================================================
   ARTICLES
   ========================================================= */
.link-arrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--gold); }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 0.4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

.articles__grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.4rem; }
.article-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: transform 0.6s var(--ease), border-color 0.6s var(--ease); display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.article-card--feature { grid-row: span 2; }
.article-card__img { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.article-card--feature .article-card__img { aspect-ratio: 16/11; }
.article-card__img::after { content: ""; position: absolute; inset: 0; transition: transform 1.1s var(--ease); background-repeat: no-repeat; background-position: center, center; background-size: auto 96%, cover; }
.article-card--feature .article-card__img::after { background-size: auto 84%, cover; }
.article-card:hover .article-card__img::after { transform: scale(1.05); }
.article-card__img--1::after { background-image: url("../img/art-previdenciario.svg"), linear-gradient(150deg, #243a32, #0d110f); }
.article-card__img--2::after { background-image: url("../img/art-trabalhista.svg"), linear-gradient(150deg, #2c2920, #0d110f); }
.article-card__img--3::after { background-image: url("../img/art-civel.svg"), linear-gradient(150deg, #1e2c33, #0d110f); }
.article-card__body { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.article-card__tag { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.article-card__body h3 { font-family: var(--ff-display); font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.article-card--feature .article-card__body h3 { font-size: 1.9rem; }
.article-card__body p { color: var(--text-soft); font-size: 0.92rem; }
.article-card__meta { font-size: 0.76rem; color: var(--text-mute); margin-top: auto; }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.faq__intro { position: sticky; top: 120px; align-self: start; }
.faq__note { color: var(--text-soft); margin-top: 1.4rem; font-size: 0.92rem; }
.faq__note a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.faq__note a:hover { border-color: var(--gold); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.7rem 0; text-align: left; font-family: var(--ff-display); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 500; color: var(--text); transition: color 0.4s var(--ease); }
.faq__q:hover { color: var(--gold); }
.faq__icon { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--gold); transition: transform 0.4s var(--ease); }
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq__item.is-open .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { overflow: hidden; height: 0; transition: height 0.5s var(--ease); }
.faq__a p { color: var(--text-soft); padding-bottom: 1.7rem; max-width: 62ch; font-size: 0.95rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--bg-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.contact__text { color: var(--text-soft); margin-top: 1.6rem; max-width: 46ch; }
.contact__channels { display: grid; gap: 1.5rem; margin-top: 2.8rem; }
.contact__channels li { display: flex; flex-direction: column; gap: 0.3rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.contact__channel-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.contact__channels a, .contact__channels span:last-child { font-size: 1.05rem; color: var(--text); }
.contact__channels a { transition: color 0.3s; }
.contact__channels a:hover { color: var(--gold); }

/* Form */
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.2rem; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.6rem); }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line-strong); color: var(--text); padding: 1.4rem 0 0.7rem; font-family: inherit; font-size: 0.95rem; transition: border-color 0.4s var(--ease); }
.field textarea { resize: vertical; min-height: 80px; }
.field select { cursor: pointer; }
.field select option { background: var(--surface); color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--gold); }
.field label { position: absolute; left: 0; top: 1.4rem; color: var(--text-mute); font-size: 0.95rem; pointer-events: none; transition: transform 0.35s var(--ease), color 0.35s var(--ease), font-size 0.35s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-1.35rem); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-bottom-color: #c0584f; }
.field__error { display: block; font-size: 0.72rem; color: #d6766d; min-height: 1rem; margin-top: 0.35rem; opacity: 0; transform: translateY(-4px); transition: opacity 0.3s, transform 0.3s; }
.field.is-invalid .field__error { opacity: 1; transform: none; }
.field__consent { grid-column: 1 / -1; display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.8rem; color: var(--text-soft); cursor: pointer; }
.field__consent input { width: 18px; height: 18px; accent-color: var(--gold); margin-top: 1px; flex-shrink: 0; }
.field__consent a { color: var(--gold); border-bottom: 1px solid transparent; }
.field__consent a:hover { border-color: var(--gold); }
.contact__form-status { grid-column: 1 / -1; font-size: 0.86rem; min-height: 1.2rem; }
.contact__form-status.is-ok { color: var(--gold); }
.contact__form-status.is-err { color: #d6766d; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.footer__brand { display: flex; flex-direction: column; gap: 0.4rem; }
.footer__brand .brand__mark { margin-bottom: 0.6rem; }
.footer__brand .brand__word { margin-bottom: 0.8rem; }
.footer__brand p { color: var(--text-mute); font-size: 0.88rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.8rem; }
.footer__col h4 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; font-weight: 500; }
.footer__col a, .footer__col span { color: var(--text-soft); font-size: 0.9rem; transition: color 0.3s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { padding-top: 2.5rem; display: flex; flex-direction: column; gap: 1.6rem; }
.footer__ethics { font-size: 0.78rem; color: var(--text-mute); line-height: 1.7; max-width: 90ch; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.78rem; color: var(--text-mute); }
.footer__legal a { color: var(--text-soft); border-bottom: 1px solid transparent; }
.footer__legal a:hover { color: var(--gold); }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.wa-float { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 95; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 36px -10px rgba(37,211,102,0.6); transform: translateY(120px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), box-shadow 0.4s; }
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float:hover { box-shadow: 0 18px 44px -10px rgba(37,211,102,0.8); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; position: relative; z-index: 2; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: waPulse 2.4s var(--ease) infinite; z-index: 1; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.9); opacity: 0; } }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   READING PAGES (legal / artigos)
   ========================================================= */
.docpage { padding-top: 78px; }
.doc { max-width: 768px; margin-inline: auto; padding: clamp(2.6rem, 6vw, 5rem) var(--gutter) clamp(4rem, 8vw, 7rem); }
.doc__back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold); font-size: 0.8rem; letter-spacing: 0.04em; margin-bottom: 2.4rem; transition: gap 0.3s var(--ease); }
.doc__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.doc__back:hover { gap: 0.8rem; }
.doc__eyebrow { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.doc h1 { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; margin: 1rem 0 1.2rem; letter-spacing: -0.01em; }
.doc__meta { display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--text-mute); font-size: 0.82rem; padding-bottom: 2rem; margin-bottom: 2.6rem; border-bottom: 1px solid var(--line); }
.doc__hero { aspect-ratio: 16/7; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 2.6rem; background-repeat: no-repeat; background-position: center, center; background-size: auto 84%, cover; }
.doc__hero--prev { background-image: url("../img/art-previdenciario.svg"), linear-gradient(150deg, #243a32, #0d110f); }
.doc__hero--trab { background-image: url("../img/art-trabalhista.svg"), linear-gradient(150deg, #2c2920, #0d110f); }
.doc__hero--civel { background-image: url("../img/art-civel.svg"), linear-gradient(150deg, #1e2c33, #0d110f); }
.doc__lead { font-family: var(--ff-display); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.45; color: var(--text); margin-bottom: 2.4rem; }
.doc h2 { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.4rem, 3vw, 1.95rem); margin: 2.8rem 0 1rem; letter-spacing: -0.01em; }
.doc h3 { font-size: 1.02rem; font-weight: 600; margin: 1.8rem 0 0.5rem; color: var(--text); }
.doc p { color: var(--text-soft); margin-bottom: 1.1rem; }
.doc ul { margin: 0 0 1.4rem; display: grid; gap: 0.6rem; }
.doc li { position: relative; padding-left: 1.5rem; color: var(--text-soft); }
.doc li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.doc a:not(.doc__back) { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.doc a:not(.doc__back):hover { border-color: var(--gold); }
.doc strong { color: var(--text); font-weight: 600; }
.doc blockquote { font-family: var(--ff-display); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.4; color: var(--text); margin: 2.2rem 0; padding-left: 1.6rem; border-left: 2px solid var(--gold); }
.doc__note { margin-top: 2.8rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 0.9rem; color: var(--text-mute); }
.doc__updated { color: var(--text-mute); font-size: 0.82rem; margin-top: 2rem; }
.doc__cta { margin-top: 3rem; padding-top: 2.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.doc__cta p { margin: 0; flex: 1; min-width: 240px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .areas__grid, .method__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__stats { grid-template-columns: repeat(2, 1fr); }
  .positioning__grid, .about__grid, .lawyer__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .positioning__left, .faq__intro { position: static; }
  .journey__track { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.4rem; }
  .journey__track::before, .journey__progress { display: none; }
  .lawyer__grid { grid-template-columns: 1fr; }
  .lawyer__portrait { max-width: 420px; }
  .about__media { max-width: 480px; }
}

@media (max-width: 760px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .areas__grid, .method__grid, .articles__grid { grid-template-columns: 1fr; }
  .article-card--feature { grid-row: auto; }
  .positioning__pillars li { grid-template-columns: 1fr; gap: 0.4rem; }
  .contact__form { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .hero__meta { gap: 1.4rem 2rem; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .cursor { display: none; }
}

@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
  .proof__stats { grid-template-columns: 1fr; }
  .journey__track { grid-template-columns: 1fr; }
  .hero__stat span { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__title [data-reveal-word] { transform: none !important; }
  .marquee__track { animation: none; }
}
