:root {
  --bg: #1a110e;
  --ink: #f3ece4;
  --muted: #bfb1a4;
  --gold: #d6bc94;
  --line: rgba(243, 236, 228, .16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --gutter: 24px;
  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Fundo fixo ---------- */
.bg { position: fixed; inset: 0; height: 100lvh; z-index: -1; overflow: hidden; background: var(--bg); }
.bg > div { position: absolute; inset: 0; background: url("../assets/bg.jpg") center / cover no-repeat; }
.bg__lit {
  filter: brightness(2.6) saturate(1.15);
  opacity: 0;
  transition: opacity .6s;
  --mx: 50%; --my: 40%;
  -webkit-mask-image: radial-gradient(circle 380px at var(--mx) var(--my), #000 0%, transparent 72%);
          mask-image: radial-gradient(circle 380px at var(--mx) var(--my), #000 0%, transparent 72%);
}
body.has-cursor .bg__lit { opacity: .9; }
.bg__veil { background: linear-gradient(180deg, rgba(20,12,9,.35), rgba(20,12,9,.55)) !important; }

/* anel do cursor (só com mouse) */
.cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 90;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid var(--gold); border-radius: 50%;
  pointer-events: none; opacity: 0;
  transition: opacity .3s, width .25s, height .25s, margin .25s, background .25s;
}
body.has-cursor .cursor-ring { opacity: .85; }
.cursor-ring.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(214,188,148,.12); }
@media (hover: none), (pointer: coarse) { .cursor-ring { display: none; } }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background .35s, backdrop-filter .35s; }
.header.is-solid { background: rgba(26,17,14,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.nav a { position: relative; padding: 8px 0; }
.nav a:not(.nav__wa)::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.nav a:not(.nav__wa):hover::after { transform: scaleX(1); }
.nav__lang { display: flex; align-items: center; gap: 14px; }
.nav__lang a + a::before { content: "/"; margin-right: 14px; color: rgba(243,236,228,.35); }
.nav__lang a[aria-current="page"] { color: var(--gold); }
.nav .nav__wa { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--gold); color: var(--gold); padding: 0 !important; border-radius: 999px; transition: background .3s, color .3s; }
.nav__wa-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav .nav__wa:hover { background: var(--gold); color: var(--bg); }

.burger { display: none; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s, top .3s; }
.burger span:first-child { top: 20px; }
.burger span:last-child { top: 27px; }
.menu-open .burger span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 23px; transform: rotate(-45deg); }

/* ---------- Tipografia / botões ---------- */
.eyebrow { margin: 0 0 18px; font-size: 14px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.9rem); max-width: 17ch; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 20ch; }
h3 { font-size: 1.7rem; margin-bottom: 10px; }
.hero__fit .l { display: block; }
.hero__fit .lead { text-wrap: balance; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 52ch; margin: 22px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 32px; border-radius: 999px;
  font: 400 15px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--gold); cursor: pointer; transition: background .3s, color .3s, transform .3s;
}
.btn--solid { background: var(--gold); color: #1a110e; }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); }
.btn--wa { color: var(--ink); background: transparent; }
.btn--wa:hover { background: rgba(214,188,148,.14); }
.btn--wa { margin-top: 32px; letter-spacing: .06em; text-transform: none; font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Seções ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 90px; position: relative; }
.section { padding: 120px 0; border-top: 1px solid var(--line); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.card {
  position: relative; padding: 38px 32px 40px; border: 1px solid var(--line); border-radius: 4px;
  background: rgba(26,17,14,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  overflow: hidden; --cx: 50%; --cy: 0%;
}
.card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(260px circle at var(--cx) var(--cy), rgba(214,188,148,.18), transparent 70%); }
.card:hover::before { opacity: 1; }
.card__n { display: block; font-family: var(--serif); font-size: 1.1rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 26px; }
.card p { margin: 0; color: var(--muted); }

.areas__title { margin-top: 88px; }
.areas { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 64px; }
.areas li { padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; transition: color .3s, padding-left .3s; }
.areas li:hover { color: var(--gold); padding-left: 10px; }

.about { display: grid; grid-template-columns: 220px 1fr; grid-template-areas: "photo head" "body body"; column-gap: 64px; row-gap: 56px; align-items: start; }
.about__photo { grid-area: photo; margin: 0; position: relative; }
.about__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: 2px; pointer-events: none; }
.about__photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 2px; filter: saturate(.9); }
.about__head { grid-area: head; align-self: center; }
.about__body { grid-area: body; max-width: 72ch; }
.about__role { margin: 18px 0 0; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: 15px; }
@media (min-width: 861px) {
  /* texto da bio termina onde termina o nome */
  .about { grid-template-columns: 220px max-content; justify-content: start; }
  .about__body { width: 0; min-width: 100%; max-width: none; }
}
.about__body p { margin: 0 0 22px; font-size: 1.12rem; color: var(--muted); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.address { margin-top: 44px; font-style: normal; font-size: 1.12rem; line-height: 1.7; color: var(--muted); }
.address__label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.form { display: grid; gap: 22px; }
.field span { display: block; margin-bottom: 8px; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 15px 4px; font: 300 17px/1.5 var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(243,236,228,.35); border-radius: 0;
  transition: border-color .3s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 0; min-height: 1.7em; color: var(--gold); }
.form__status.is-error { color: #f0a79a; }

.footer { border-top: 1px solid var(--line); padding: 44px 0; background: rgba(20,12,9,.6); }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer img { height: 34px; width: auto; }
.footer p { margin: 0; font-size: 15px; color: var(--muted); }
.footer__credit::before { content: "·"; margin: 0 8px 0 4px; }
.footer__credit a { border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.footer__credit a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Celular / tablet ---------- */
/* Menu em tela cheia: já a partir de 1100px, porque o menu tem 6 itens */
@media (max-width: 1100px) {
  :root { --header-h: 86px; }
  .brand img { height: 46px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 24px var(--gutter) 40px; background: rgba(20,12,9,.97);
    font-size: 17px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.9rem; letter-spacing: .02em; text-transform: none; }
  .nav a:not(.nav__wa)::after { display: none; }
  .nav__lang { width: 100%; gap: 22px; border-bottom: 1px solid var(--line); }
  .nav__lang a { width: auto; border-bottom: 0; }
  .nav__lang a + a::before { margin-right: 22px; }
  .nav .nav__wa { margin-top: 28px; width: 60px; height: 60px; border-bottom: 1px solid var(--gold); }
  .menu-open { overflow: hidden; }
  .menu-open .header { background: rgba(20,12,9,.97); }
}

@media (max-width: 860px) {
  :root { --gutter: 22px; }
  .section { padding: 84px 0; }
  .cards { grid-template-columns: 1fr; margin-top: 44px; }
  .areas__title { margin-top: 64px; }
  .areas { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .about { grid-template-columns: 1fr; grid-template-areas: "head" "photo" "body"; grid-template-rows: none; row-gap: 36px; }
  .about__photo { width: 170px; }
  .actions .btn { width: 100%; }
  .btn--wa { font-size: 16px; letter-spacing: .02em; padding-inline: 18px; white-space: nowrap; }
  .hero__fit { width: fit-content; max-width: 100%; }
  .hero__fit .lead { width: 0; min-width: 100%; text-wrap: balance; }
  .form .btn { justify-self: stretch; }
  .footer__in { flex-direction: column; align-items: flex-start; }
  .footer__rights, .footer__credit { display: block; }
  .footer__credit::before { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
