/* =========================================================
   Lucas & Associados — Advocacia
   ========================================================= */

:root {
  --navy-950: #070F1C;
  --navy-900: #0B1628;
  --navy-800: #111F36;
  --navy-700: #1A2B47;
  --navy-600: #2A3D5E;
  --gold: #C9A45C;
  --gold-light: #E3C78D;
  --gold-dark: #A8843F;
  --ivory: #F7F4EE;
  --paper: #FBFAF7;
  --ink: #152033;
  --muted: #5F6B7E;
  --line: #E6E1D6;
  --white: #FFFFFF;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 22, 40, .06);
  --shadow: 0 18px 50px -18px rgba(11, 22, 40, .28);
  --shadow-lg: 0 40px 80px -30px rgba(7, 15, 28, .55);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 4px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--navy-900); }

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

.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 18px;
}
.eyebrow__line { width: 34px; height: 1px; background: currentColor; display: inline-block; }
.eyebrow--center { justify-content: center; }

.title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--navy-900);
  margin-bottom: 22px;
}
.title em { color: var(--gold-dark); font-weight: 500; }
.title--light { color: var(--ivory); }
.title--light em { color: var(--gold-light); }

/* ---------- Botões ---------- */
.btn {
  --bg: transparent; --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--lg { padding: 16px 30px; font-size: .98rem; }
.btn--block { width: 100%; }

.btn--gold {
  --bg: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-dark));
  --fg: var(--navy-900);
  box-shadow: 0 10px 30px -10px rgba(201, 164, 92, .65);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(201, 164, 92, .8); }
.btn--gold:hover::after { transform: translateX(120%); }

.btn--ghost { --fg: var(--ivory); border-color: rgba(247, 244, 238, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }

.btn--dark { --bg: var(--navy-900); --fg: var(--ivory); }
.btn--dark:hover { --bg: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .9rem; color: var(--gold-dark);
  border-bottom: 1px solid transparent; transition: gap .3s var(--ease), border-color .3s;
}
.link-arrow:hover { gap: 14px; border-color: currentColor; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-950); color: rgba(247,244,238,.7); font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar__info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info .ico { color: var(--gold); }
.topbar__info a:hover { color: var(--gold-light); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 22, 40, .92);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(201, 164, 92, .14);
  transition: box-shadow .4s, background .4s;
}
.header.is-scrolled { background: rgba(7, 15, 28, .96); box-shadow: 0 10px 40px -15px rgba(0,0,0,.5); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; transition: height .4s var(--ease); }
.header.is-scrolled .header__inner { height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); }
.brand__mark { width: 44px; height: 44px; color: var(--gold); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; letter-spacing: .14em; }
.brand__text small { font-size: .6rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 8px 12px;
  color: rgba(247,244,238,.78); font-size: .88rem; font-weight: 600; transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ivory); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav .nav__cta-mobile { display: none; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(201,164,92,.35); border-radius: 12px; background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ivory); transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: var(--ivory);
  min-height: calc(100vh - var(--header-h) - 36px);
  display: flex; align-items: center;
  padding: 80px 0 110px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; transform: scale(1.08); animation: heroZoom 18s var(--ease) forwards; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(201,164,92,.18), transparent 55%),
    linear-gradient(90deg, var(--navy-900) 15%, rgba(11,22,40,.82) 55%, rgba(11,22,40,.6) 100%),
    linear-gradient(0deg, var(--navy-900), transparent 40%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__grain {
  position: absolute; inset: 0; opacity: .07; 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='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero .eyebrow { color: var(--gold); }

.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.8rem, 6.2vw, 5.3rem); line-height: 1.02; letter-spacing: -.015em;
  margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .15s; }
.hero__title em {
  font-weight: 500;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 40%, var(--gold-light) 60%, var(--gold-dark));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes lineUp { to { transform: none; } }
@keyframes shine { to { background-position: 200% center; } }

.hero__lead { font-size: 1.1rem; color: rgba(247,244,238,.78); max-width: 540px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.hero__features { display: grid; grid-template-columns: repeat(4, auto); gap: 26px; padding-top: 30px; border-top: 1px solid rgba(247,244,238,.12); max-width: 600px; }
.hero__features li { display: flex; gap: 10px; align-items: flex-start; }
.hero__features .ico { color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }
.hero__features strong { display: block; font-size: .88rem; line-height: 1.3; }
.hero__features span { font-size: .8rem; color: rgba(247,244,238,.6); }

.hero__visual { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__frame {
  position: relative; aspect-ratio: 4/5; border-radius: 240px 240px 18px 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(201,164,92,.4);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.2s var(--ease); }
.hero__visual:hover .hero__frame img { transform: scale(1.04); }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,22,40,.55), transparent 45%); }
.hero__ring {
  position: absolute; inset: -18px -18px 24px 24px; z-index: -1;
  border: 1px solid rgba(201,164,92,.45); border-radius: 250px 250px 22px 22px;
}

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(255,255,255,.96); color: var(--ink); box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .95rem; line-height: 1.2; }
.float-card span { font-size: .78rem; color: var(--muted); }
.float-card--top { top: 12%; left: -48px; }
.float-card--top .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--navy-900); color: var(--gold); }
.float-card--bottom { bottom: 9%; right: -40px; animation-delay: -3s; }
.avatars { display: flex; }
.avatars img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.avatars img + img { margin-left: -10px; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(247,244,238,.35); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--gold); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--gold); color: var(--navy-900); overflow: hidden; padding: 18px 0; border-block: 1px solid var(--gold-dark); }
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 1.55rem; font-weight: 600; white-space: nowrap; }
.marquee i { font-style: normal; font-size: .9rem; opacity: .6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding: 120px 0; position: relative; }
.section-head { margin-bottom: 60px; }
.section-head--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; }
.section-head--split .title { margin-bottom: 0; }
.section-head__text { color: var(--muted); font-size: 1.04rem; margin: 0; padding-bottom: 8px; border-left: 2px solid var(--gold); padding-left: 24px; }
.section-head--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Áreas ---------- */
.areas { background: var(--paper); }
.areas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.area {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-align: left; padding: 0; color: inherit;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.area:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(201,164,92,.5); }
.area__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.area__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.85); }
.area:hover .area__media img { transform: scale(1.08); filter: saturate(1); }
.area__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,22,40,.55), transparent 55%); }
.area__num { position: absolute; top: 16px; right: 18px; z-index: 1; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,.85); letter-spacing: .05em; }
.area__icon {
  position: relative; z-index: 2; width: 62px; height: 62px; margin: -31px 0 0 28px;
  display: grid; place-items: center; border-radius: 18px;
  background: var(--navy-900); color: var(--gold); box-shadow: 0 10px 24px -8px rgba(11,22,40,.5);
  transition: background .5s, color .5s, transform .6s var(--ease);
}
.area__icon .ico { width: 28px; height: 28px; stroke-width: 1.5; }
.area:hover .area__icon { background: var(--gold); color: var(--navy-900); transform: rotate(-6deg); }
.area__body { padding: 22px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.area h3 { font-family: var(--serif); font-size: 1.75rem; color: var(--navy-900); margin-bottom: 10px; }
.area p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.area__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.area__tags li { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ivory); color: var(--navy-700); }
.area__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--gold-dark); transition: gap .35s var(--ease); }
.area:hover .area__more { gap: 14px; }

/* ---------- Números ---------- */
.stats { position: relative; margin-top: -10px; padding-bottom: 20px; background: linear-gradient(180deg, var(--paper) 50%, var(--white) 50%); }
.stats__box {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--navy-900); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-image: radial-gradient(circle at 10% 0%, rgba(201,164,92,.18), transparent 40%), radial-gradient(circle at 90% 100%, rgba(201,164,92,.12), transparent 40%);
}
.stat { display: flex; align-items: center; gap: 18px; padding: 40px 34px; color: var(--ivory); }
.stat + .stat { border-left: 1px solid rgba(201,164,92,.18); }
.stat > .ico { width: 54px; height: 54px; padding: 13px; border-radius: 50%; border: 1px solid rgba(201,164,92,.45); color: var(--gold); stroke-width: 1.5; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--gold-light); }
.stat div > span { font-size: .84rem; color: rgba(247,244,238,.68); }

/* ---------- Escritório ---------- */
.about { background: var(--white); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.about__media { position: relative; padding: 0 60px 70px 0; }
.about__img { margin: 0; overflow: hidden; border-radius: var(--radius-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__img:hover img { transform: scale(1.05); }
.about__img--main { aspect-ratio: 4/5; box-shadow: var(--shadow); }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 8px solid var(--white); box-shadow: var(--shadow); }
.about__badge {
  position: absolute; top: 40px; right: 18px; width: 128px; height: 128px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--gold); color: var(--navy-900); box-shadow: 0 20px 40px -12px rgba(201,164,92,.7);
}
.about__badge::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(11,22,40,.4); animation: rotate 30s linear infinite; }
.about__badge strong { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.about__badge span { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; margin-top: 4px; }
@keyframes rotate { to { transform: rotate(360deg); } }

.about__content > p { color: var(--muted); font-size: 1.02rem; }
.values { display: grid; gap: 18px; margin: 32px 0 38px; }
.values li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius); transition: background .4s; }
.values li:hover { background: var(--ivory); }
.values__ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--ivory); color: var(--gold-dark); transition: background .4s, color .4s; }
.values li:hover .values__ico { background: var(--navy-900); color: var(--gold); }
.values__ico .ico { width: 22px; height: 22px; }
.values strong { display: block; color: var(--navy-900); font-size: 1rem; margin-bottom: 2px; }
.values span { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.about__sign { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.signature { display: block; font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--navy-900); line-height: 1; }
.about__sign small { color: var(--muted); font-size: .8rem; }

/* ---------- Método ---------- */
.method { background: var(--navy-900); color: var(--ivory); overflow: hidden; }
.method__bg { position: absolute; inset: 0; }
.method__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .13; }
.method__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-900), rgba(11,22,40,.75) 40%, var(--navy-900)); }
.method .container { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,164,92,.6), transparent); }
.step {
  position: relative; text-align: center; padding: 0 12px;
}
.step__num {
  position: relative; display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 26px;
  border-radius: 50%; background: var(--navy-800); border: 1px solid rgba(201,164,92,.5);
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--gold-light);
  transition: background .5s, color .5s, transform .6s var(--ease);
}
.step:hover .step__num { background: var(--gold); color: var(--navy-900); transform: translateY(-6px); }
.step h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 10px; }
.step p { color: rgba(247,244,238,.66); font-size: .94rem; }

/* ---------- Equipe ---------- */
.team { background: var(--paper); }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.member h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy-900); margin: 20px 0 4px; }
.member > span { font-size: .84rem; color: var(--gold-dark); font-weight: 600; }
.member__photo { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: grayscale(.25); }
.member:hover .member__photo img { transform: scale(1.06); filter: grayscale(0); }
.member__overlay {
  position: absolute; inset: auto 0 0 0; padding: 60px 22px 22px; color: var(--ivory);
  background: linear-gradient(0deg, rgba(7,15,28,.95), rgba(7,15,28,.6) 60%, transparent);
  display: flex; align-items: flex-end; gap: 14px;
  transform: translateY(40%); opacity: 0; transition: transform .6s var(--ease), opacity .5s;
}
.member:hover .member__overlay, .member:focus-within .member__overlay { transform: none; opacity: 1; }
.member__overlay p { font-size: .86rem; line-height: 1.5; margin: 0; }
.member__overlay a { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy-900); }
.member__photo::before { content: ""; position: absolute; inset: 12px; z-index: 1; border: 1px solid rgba(201,164,92,.0); border-radius: 16px; transition: border-color .6s; pointer-events: none; }
.member:hover .member__photo::before { border-color: rgba(201,164,92,.6); }

/* ---------- Citação ---------- */
.quote { position: relative; padding: 140px 0; background: var(--navy-950); color: var(--ivory); overflow: hidden; text-align: center; }
.quote__bg { position: absolute; inset: -15% 0; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; will-change: transform; }
.quote__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7,15,28,.55), rgba(7,15,28,.92) 70%); }
.quote__inner { position: relative; max-width: 900px; }
.quote__ico { width: 46px; height: 46px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.3; margin: 0 auto 28px; }
.quote blockquote { margin: 0 0 24px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.25; }
.quote cite { font-style: normal; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__intro > p { color: var(--muted); margin-bottom: 28px; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 4px; background: none; border: 0; text-align: left;
  font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--navy-900); transition: color .3s;
}
.acc__btn:hover { color: var(--gold-dark); }
.acc__btn .ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold-dark); transition: transform .5s var(--ease), background .4s, color .4s; }
.acc__btn[aria-expanded="true"] .ico { transform: rotate(135deg); background: var(--navy-900); color: var(--gold); border-color: var(--navy-900); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { color: var(--muted); padding: 0 60px 26px 4px; margin: 0; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }

/* ---------- Contato ---------- */
.contact { background: var(--navy-900); color: var(--ivory); overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 700px; height: 700px; right: -250px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,92,.16), transparent 65%); }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.contact .eyebrow { color: var(--gold); }
.contact__info > p { color: rgba(247,244,238,.72); font-size: 1.05rem; max-width: 460px; }
.contact__list { display: grid; gap: 22px; margin-top: 38px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__list li > span { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; border: 1px solid rgba(201,164,92,.35); color: var(--gold); transition: background .4s, color .4s; }
.contact__list li:hover > span { background: var(--gold); color: var(--navy-900); }
.contact__list small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(247,244,238,.5); font-weight: 700; }
.contact__list a, .contact__list p { font-weight: 600; margin: 0; font-size: 1rem; line-height: 1.5; }
.contact__list a:hover { color: var(--gold-light); }

.form { background: var(--white); color: var(--ink); border-radius: 26px; padding: 44px; box-shadow: var(--shadow-lg); position: relative; }
.form::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--gold), transparent 40%, transparent 60%, var(--gold)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form h3 { font-family: var(--serif); font-size: 2rem; color: var(--navy-900); margin-bottom: 4px; }
.form__sub { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { position: relative; margin-bottom: 18px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 24px 16px 10px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper);
  font: inherit; font-size: .98rem; color: var(--ink);
  transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field label {
  position: absolute; left: 17px; top: 17px; font-size: .95rem; color: var(--muted);
  pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(201,164,92,.15); }
.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.has-value + label { transform: translateY(-10px) scale(.76); color: var(--gold-dark); font-weight: 700; }
.field--select::after { content: ""; position: absolute; right: 18px; top: 26px; width: 8px; height: 8px; border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.field__err { display: none; color: #B42318; font-size: .78rem; font-weight: 600; margin-top: 6px; }
.field.is-invalid input, .field.is-invalid select { border-color: #D92D20; background: #FEF3F2; }
.field.is-invalid .field__err { display: block; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; margin: 6px 0 4px; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; transition: background .3s, border-color .3s, color .3s; margin-top: 1px; }
.check__box .ico { width: 14px; height: 14px; stroke-width: 3; }
.check input:checked + .check__box { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold); }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.field__err--check { margin: 0 0 12px 34px; }
.form.lgpd-invalid .field__err--check { display: block; }
.form .btn--block { margin-top: 20px; }
.form__secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8rem; color: var(--muted); margin: 16px 0 0; }
.form__secure .ico { color: var(--gold-dark); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(247,244,238,.66); padding-top: 90px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer__brand p { margin: 22px 0 24px; max-width: 320px; }
.footer h4 { font-family: var(--serif); font-size: 1.35rem; color: var(--ivory); margin-bottom: 20px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { transition: color .3s, padding .3s var(--ease); }
.footer__links a:hover { color: var(--gold-light); padding-left: 6px; }
.footer__links--info a:hover { padding-left: 0; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(201,164,92,.3); color: var(--gold); transition: background .35s, color .35s, transform .35s var(--ease); }
.social a:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-3px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid rgba(247,244,238,.08); font-size: .8rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--gold); }

/* ---------- Flutuantes ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .4s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: pulse 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float__tip { position: absolute; right: 72px; white-space: nowrap; background: var(--navy-900); color: var(--ivory); font-size: .82rem; font-weight: 600; padding: 8px 14px; border-radius: 10px; opacity: 0; transform: translateX(10px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

.to-top {
  position: fixed; right: 32px; bottom: 100px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201,164,92,.5);
  background: var(--navy-900); color: var(--gold); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .4s, transform .4s var(--ease), visibility .4s;
}
.to-top .ico { transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy-900); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7,15,28,.72); backdrop-filter: blur(6px); animation: fadeIn .4s var(--ease); }
.modal__card {
  position: relative; width: min(960px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  display: grid; grid-template-columns: .9fr 1.1fr; background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg);
  animation: pop .55s var(--ease);
}
.modal__media { min-height: 100%; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 48px 44px; }
.modal__body h3 { font-family: var(--serif); font-size: 2.4rem; color: var(--navy-900); margin-bottom: 16px; }
.modal__body > p:not(.eyebrow) { color: var(--muted); }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--ivory); color: var(--navy-900); transition: transform .4s var(--ease), background .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--gold); }
.checklist { display: grid; gap: 10px; margin: 20px 0 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.checklist .ico { color: var(--gold-dark); margin-top: 4px; stroke-width: 2.4; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.97); } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 300; transform: translate(-50%, 150%);
  background: var(--navy-900); color: var(--ivory); border: 1px solid rgba(201,164,92,.5);
  padding: 16px 24px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem;
  transition: transform .6s var(--ease), visibility .6s; max-width: calc(100% - 32px); visibility: hidden;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1.2s; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: .84rem; }
  .header__cta { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .burger { display: block; margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: var(--navy-950); padding: 30px 24px 40px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 30px;
    clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); visibility: hidden;
  }
  .header.is-scrolled .nav { inset: 70px 0 auto 0; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; padding: 12px 0; border-bottom: 1px solid rgba(247,244,238,.08); }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--gold-light); }
  .nav .nav__cta-mobile { display: inline-flex; font-family: var(--sans); font-size: 1rem; padding: 16px 30px; border-bottom: 0; color: var(--navy-900); }

  .hero { padding: 60px 0 100px; }
  .hero__inner { grid-template-columns: 1fr; gap: 70px; }
  .hero__visual { width: min(80%, 400px); }
  .hero__features { grid-template-columns: repeat(2, auto); }

  .section-head--split { grid-template-columns: 1fr; gap: 24px; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__box { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(201,164,92,.18); }
  .about__inner, .faq__inner, .contact__inner { grid-template-columns: 1fr; gap: 60px; }
  .about__media { max-width: 560px; }
  .faq__intro { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps::before { display: none; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .modal__card { grid-template-columns: 1fr; }
  .modal__media { height: 220px; min-height: 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .topbar__inner { justify-content: center; }
  .topbar__info { gap: 18px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__text strong { font-size: 1.4rem; }
  .brand__text small { font-size: .52rem; letter-spacing: .2em; }

  .section { padding: 84px 0; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { width: 86%; }
  .float-card { padding: 10px 14px; }
  .float-card--top { left: -22px; }
  .float-card--bottom { right: -22px; }
  .float-card strong { font-size: .84rem; }
  .hero__features { gap: 20px; }

  .marquee span { font-size: 1.25rem; }
  .areas__grid, .team__grid, .steps { grid-template-columns: 1fr; }
  .stats__box { grid-template-columns: 1fr; }
  .stat { padding: 26px 24px; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(201,164,92,.18); }
  .about__media { padding: 0 30px 50px 0; }
  .about__badge { width: 100px; height: 100px; top: 20px; right: 0; }
  .about__badge strong { font-size: 1.7rem; }
  .acc__btn { font-size: 1.22rem; }
  .acc__panel p { padding-right: 10px; }
  .form { padding: 30px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .modal__body { padding: 32px 24px; }
  .modal__body h3 { font-size: 2rem; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .to-top { right: 22px; bottom: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}
