/* =========================================================
   Rogério Freitas – Advocacia Empresarial e Tributária
   Mobile first · CSS puro
   ========================================================= */

:root {
  /* Cores */
  --bg: #111111;
  --bg-alt: #181818;
  --card: #1E1E1E;
  --light: #EDEBE6;
  --gold: #C9A44C;
  --gold-metal: linear-gradient(120deg, #E6C878 0%, #B38A35 50%, #E0BE6A 100%);
  --gold-ink: #7D5F22;            /* dourado escuro p/ texto sobre a seção clara (AA) */
  --gold-metal-ink: linear-gradient(120deg, #9A7630 0%, #6E521A 50%, #94712C 100%);
  --gold-line: rgba(201, 164, 76, .45);
  --gold-line-soft: rgba(201, 164, 76, .22);
  --text: #F2F0EB;
  --text-2: #A3A3A3;
  --ink: #111111;
  --ink-2: #4A4A4A;

  /* Fontes */
  --font-title: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-label: "Michroma", "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 4px;
  --header-h: 72px;
  --section-y: clamp(80px, 11vw, 140px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::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(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--gold); color: var(--ink);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.steps :focus-visible { outline-color: var(--gold-ink); }

.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Tipografia ---------- */
/* Hierarquia: títulos grandes e pesados (Montserrat 700) contra texto leve e menor (Inter 400) */
.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-wrap: balance;
}
/* linha dourada curta sob cada título, ecoando o traço da logo */
.section-title::after {
  content: ""; display: block; width: 56px; height: 1px; margin-top: 28px;
  background: var(--gold-metal);
}
.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }
.section-sub {
  margin-top: 20px;
  color: var(--text-2); font-size: 1rem; font-weight: 400;
}
.lead { font-size: 1.05rem; color: var(--text); }
.gold-text {
  background: var(--gold-metal);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.muted { color: var(--text-2); }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-position .6s var(--ease), color .3s, border-color .3s;
}
.btn-gold {
  color: var(--ink);
  background: var(--gold-metal);
  background-size: 200% 100%;
  background-position: 0 0;
}
.btn-gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 10px 28px -12px rgba(201, 164, 76, .55); }
.btn-gold:active { transform: none; }
.btn-outline { color: var(--gold); border-color: var(--gold); background: transparent; }
.btn-outline:hover { background: rgba(201, 164, 76, .1); }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: .7rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid var(--gold-line);
  transition: color .3s, border-color .3s;
}
.link-arrow .icon { color: var(--gold); transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- 1. Menu ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: var(--bg); /* sólido: casa com o fundo #111 do JPG da logo */
  border-bottom-color: var(--gold-line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
/* O JPG tem fundo preto: "lighten" faz o preto sumir sobre os fundos escuros da página */
.brand-mark { width: auto; height: 26px; mix-blend-mode: lighten; }
.brand-name {
  font-family: var(--font-label); font-size: .62rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--text);
  padding-left: 14px; border-left: 1px solid var(--gold-line);
  line-height: 1.6; white-space: nowrap;
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-right: -10px;
  background: none; border: 0; color: var(--text); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 1px; background: currentColor;
  transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; width: 16px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); width: 24px; }

.site-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  height: calc(100dvh - var(--header-h));
  display: flex; flex-direction: column; gap: 32px;
  padding: 40px var(--gutter);
  background: var(--bg);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-list { display: flex; flex-direction: column; }
.nav-list a {
  display: block; padding: 18px 0;
  font-family: var(--font-title); font-size: 1rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--gold-line-soft);
  transition: color .25s;
}
.nav-list a:hover { color: var(--gold); }
.site-nav .btn { align-self: flex-start; }

/* No-JS: menu sempre visível em lista */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { position: static; height: auto; visibility: visible; opacity: 1; transform: none; }

/* ---------- 2. Hero ---------- */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-photo {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
/* Brilho dourado radial muito sutil atrás da foto */
.hero-photo::before {
  content: ""; position: absolute; inset: 5% 0 20%;
  background: radial-gradient(closest-side, rgba(201, 164, 76, .18), rgba(201, 164, 76, 0) 72%);
  z-index: 0;
}
.hero-photo img {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover; object-position: 50% 12%;
  /* bordas dissolvendo no preto */
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 98%), linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to bottom, #000 55%, transparent 98%), linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
          mask-composite: intersect;
  filter: contrast(1.05);
}
.hero-inner { position: relative; z-index: 2; margin-top: -72px; padding-bottom: 72px; }
.hero-content { max-width: 620px; }

.hero-logo {
  position: relative; width: 150px; margin-bottom: 32px;
}
.hero-logo img { width: 100%; mix-blend-mode: lighten; }
/* Brilho metálico que passa uma vez sobre a logo (recortado pela própria logo) */
@supports ((mask-mode: luminance) or (-webkit-mask-source-type: luminance)) {
  .hero-logo::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 246, 214, .95) 50%, transparent 65%);
    background-size: 300% 100%;
    background-position: 120% 0;
    -webkit-mask: url("../assets/logo-full.jpg") center / 100% 100% no-repeat;
            mask: url("../assets/logo-full.jpg") center / 100% 100% no-repeat luminance;
    mix-blend-mode: screen;
    animation: logo-shine 2.4s 0.6s var(--ease) 1 forwards;
  }
}
@keyframes logo-shine { to { background-position: -20% 0; } }

.hero-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2.4rem, 1rem + 5.6vw, 4.75rem);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-lead { margin-top: 28px; max-width: 460px; color: var(--text-2); font-size: 1rem; line-height: 1.75; }
.hero-actions { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

/* ---------- 3. Áreas de atuação ---------- */
.areas {
  position: relative; z-index: 0; overflow: hidden;
  background: var(--bg-alt);
  padding-bottom: var(--section-y);
}
.areas { padding-top: clamp(24px, 4vw, 48px); }
.areas .section-head { max-width: none; }
.areas-grid { position: relative; display: grid; gap: 16px; grid-template-columns: 1fr; }
/* O preto do hero continua até a metade da primeira fileira de cards,
   fazendo os cards "saírem" do hero para a seção seguinte */
.areas-grid::before {
  content: ""; position: absolute; z-index: -1;
  left: -100vw; right: -100vw; bottom: calc(100% - var(--overlap, 110px)); height: 2000px;
  background: var(--bg);
}

.area-card {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--card);
  border: 1px solid var(--gold-line-soft);
  border-radius: var(--radius);
  transition: border-color .4s var(--ease), transform .4s var(--ease), background-color .4s;
}
/* cantos em linha dourada, ecoando o monograma */
.area-card::before, .area-card::after {
  content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none;
  border-color: var(--gold); border-style: solid; opacity: .9;
}
.area-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.area-card::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.area-card:hover { border-color: var(--gold-line); transform: translateY(-4px); background: #212121; }
.area-icon {
  width: 44px; height: 44px; margin-bottom: 24px;
  fill: none; stroke: url(#gold-stroke); stroke-width: 1.25;
  stroke-linecap: round; stroke-linejoin: round;
}
.area-card h3 {
  font-family: var(--font-title); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .03em; text-transform: uppercase; line-height: 1.25;
  margin-bottom: 14px;
}
.area-card p { color: var(--text-2); font-size: .9rem; line-height: 1.7; }

/* ---------- 4. Sobre ---------- */
.about { position: relative; background: var(--bg); padding-block: var(--section-y); overflow: hidden; }
.about-watermark {
  position: absolute; z-index: 0; pointer-events: none;
  right: -10%; top: 50%; transform: translateY(-50%);
  width: min(1100px, 140vw);
  opacity: .04;
}
.about-watermark img { width: 100%; mix-blend-mode: lighten; }
.about-grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
.about-media { max-width: 440px; width: 100%; margin-inline: auto; padding: 0 18px 18px 0; }
.about-frame { position: relative; }
/* moldura de linhas finas deslocada */
.about-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
}
.about-frame img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius); filter: contrast(1.04); }
.about-text .section-title { margin-bottom: 36px; }
.about-text p + p { margin-top: 16px; }
.about-text .oab {
  margin: 32px 0 40px;
  font-size: .85rem; font-weight: 600; letter-spacing: .12em; color: var(--gold);
}

/* ---------- 5. Como funciona (seção clara) ---------- */
.steps { background: var(--light); color: var(--ink); padding-block: var(--section-y); }
.steps .section-title::after { background: var(--gold-metal-ink); }
.steps .section-sub { color: var(--ink-2); }
.steps-list { position: relative; display: grid; gap: 44px; counter-reset: step; }
/* linha vertical (mobile) */
.steps-list::before {
  content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 1px;
  background: linear-gradient(to bottom, var(--gold-ink), rgba(125, 95, 34, .25));
}
.step { position: relative; padding-left: 84px; }
.step-num {
  position: absolute; left: 0; top: -6px;
  width: 56px; height: 56px; display: grid; place-items: center;
  font-family: var(--font-title); font-weight: 600; font-size: 2.4rem; line-height: 1;
  letter-spacing: .02em;
}
.step-num {
  background-image: var(--gold-metal-ink);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
/* fundo do número separado para cobrir a linha */
.step::before {
  content: ""; position: absolute; left: 6px; top: 0; width: 44px; height: 44px;
  background: var(--light);
}
.step h3 {
  font-family: var(--font-title); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .03em; text-transform: uppercase; line-height: 1.2; margin-bottom: 10px;
}
@media (min-width: 1024px) { .step h3 { font-size: 1.2rem; } }
.step p { color: var(--ink-2); font-size: .9rem; }

/* ---------- 6. Contato ---------- */
.contact { background: var(--bg-alt); padding-block: var(--section-y); }
.contact-grid { display: grid; gap: 56px; }
.contact-info .section-title { max-width: 620px; }
.contact-info > .muted { margin: 36px 0 36px; max-width: 440px; }
.contact-list { margin-top: 44px; display: grid; gap: 4px; }
.contact-list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0; border-top: 1px solid var(--gold-line-soft);
}
.contact-list li:last-child { border-bottom: 1px solid var(--gold-line-soft); }
.contact-list .icon { width: 22px; height: 22px; color: var(--gold); margin-top: 4px; }
.contact-label {
  display: block; margin-bottom: 2px;
  font-size: .8rem; color: var(--text-2);
}
.contact-list a, .contact-list address { color: var(--text); text-decoration: none; word-break: break-word; }
.contact-list a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .3s; }
.contact-list a:hover { color: var(--gold); background-size: 100% 1px; }

.contact-map { display: flex; flex-direction: column; gap: 16px; }
.map-frame {
  position: relative;
  border: 1px solid var(--gold-line);
  border-radius: 6px;
  padding: 8px;
  background: var(--bg);
}
.map-frame iframe {
  display: block; width: 100%; height: 340px; border: 0; border-radius: 3px;
  filter: invert(90%) hue-rotate(180deg) grayscale(100%) contrast(90%);
}
.contact-map .link-arrow { align-self: flex-start; }

/* ---------- 7. Rodapé ---------- */
.site-footer { position: relative; background: var(--bg); padding: 72px 0 110px; text-align: center; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--container), 100% - 2 * var(--gutter)); height: 1px; background: var(--gold-metal);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.footer-logo { width: 190px; mix-blend-mode: lighten; }
.social { display: flex; gap: 14px; }
.social a {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--gold); border-radius: 50%; color: var(--gold);
  transition: background-color .3s, color .3s;
}
.social a:hover { background: var(--gold); color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
.footer-links a {
  display: inline-block; padding: 8px 0; text-decoration: none; color: var(--text-2);
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; transition: color .25s;
}
.footer-links a:hover { color: var(--gold); }
.footer-meta { display: flex; flex-direction: column; gap: 6px; color: var(--text-2); font-size: .85rem; }
.footer-meta .oab { font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--gold); }
.footer-copy { color: #8A8A8A; font-size: .78rem; } /* 5.6:1 sobre #111 */

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; color: var(--ink);
  background: var(--gold-metal);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8), 0 0 0 1px rgba(230, 200, 120, .4);
  transition: transform .3s var(--ease), box-shadow .3s, opacity .3s, visibility 0s .3s;
}
/* com JS: escondido no hero e no contato (onde já há botão) e no desktop (o menu já tem o botão) */
.js .whatsapp-float { opacity: 0; visibility: hidden; transform: translateY(12px); }
.js .whatsapp-float.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (min-width: 1024px) { .whatsapp-float, .js .whatsapp-float.is-visible { display: none; } }
.whatsapp-float .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -10px rgba(201, 164, 76, .6); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 150;
  max-width: calc(100% - 40px);
  padding: 12px 20px; border: 1px solid var(--gold-line); border-radius: var(--radius);
  background: var(--card); color: var(--text); font-size: .88rem; text-align: center;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.areas-grid .reveal:nth-child(3n+2) { transition-delay: .08s; }
.areas-grid .reveal:nth-child(3n+3) { transition-delay: .16s; }
.steps-list .reveal:nth-child(2) { transition-delay: .08s; }
.steps-list .reveal:nth-child(3) { transition-delay: .16s; }
.steps-list .reveal:nth-child(4) { transition-delay: .24s; }

.hero-content > * { animation: hero-in 1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .1s; }
.hero-content > :nth-child(3) { animation-delay: .2s; }
.hero-content > :nth-child(4) { animation-delay: .3s; }
.hero-content > :nth-child(5) { animation-delay: .4s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } }

/* =========================================================
   Tablet ≥ 640px
   ========================================================= */
@media (min-width: 640px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-logo { width: 170px; }
  .map-frame iframe { height: 380px; }
}

/* =========================================================
   ≥ 768px
   ========================================================= */
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 100px); }
  .about-media { margin: 0; }
  .footer-meta { flex-direction: row; gap: 24px; align-items: center; }
  .footer-meta .oab { padding-right: 24px; border-right: 1px solid var(--gold-line-soft); }
}

/* =========================================================
   Desktop ≥ 1024px
   ========================================================= */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }

  .nav-toggle { display: none; }
  .site-nav {
    position: static; height: auto; padding: 0; background: none;
    flex-direction: row; align-items: center; gap: 36px;
    visibility: visible; opacity: 1; transform: none;
  }
  .nav-list { flex-direction: row; gap: 32px; }
  .nav-list a {
    padding: 8px 0; border: 0;
    font-family: var(--font-body); font-size: .74rem; font-weight: 500; letter-spacing: .18em;
    position: relative;
  }
  .nav-list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .nav-list a:hover::after { transform: scaleX(1); }
  .site-nav .btn { align-self: auto; white-space: nowrap; }
  .nav-list a { white-space: nowrap; }
  .brand-mark { height: 30px; }

  /* Hero em duas colunas: texto à esquerda, foto à direita */
  .hero { min-height: max(700px, 100vh); display: flex; align-items: center; }
  .hero-photo {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: 52%; max-width: 860px; margin: 0;
  }
  .hero-photo::before { inset: 10% 5% 15% 10%; }
  .hero-photo img {
    height: 100%; aspect-ratio: auto;
    object-position: 50% 20%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to bottom, transparent 0, #000 14%, #000 60%, transparent 96%);
            mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to bottom, transparent 0, #000 14%, #000 60%, transparent 96%);
  }
  .hero-inner { margin-top: 0; padding-block: 60px 72px; }
  .hero-content { max-width: 680px; }
  .hero-title { max-width: 700px; }
  .hero-logo { width: 190px; margin-bottom: 44px; }

  .areas-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .areas-grid { --overlap: 150px; }
  .area-card { padding: 44px 36px 40px; }

  /* passos em linha, com linha horizontal ligando os números */
  .steps-list { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .steps-list::before {
    left: 0; right: 0; top: 34px; bottom: auto; width: auto; height: 1px;
    background: linear-gradient(to right, var(--gold-ink), rgba(125, 95, 34, .25));
  }
  .step { padding-left: 0; padding-top: 100px; }
  .step-num { top: 0; left: 0; width: auto; height: 68px; padding-right: 18px; font-size: 4rem; justify-content: start; }
  .step::before { left: 0; top: 10px; width: 100px; height: 48px; }

  .contact-grid { grid-template-columns: 1fr 1fr; gap: clamp(56px, 7vw, 100px); align-items: start; }
  .contact-map { padding-top: 40px; }
  .map-frame iframe { height: 460px; }
}

/* 1024–1199px: menu mais compacto para caber em uma linha */
@media (min-width: 1024px) and (max-width: 1199px) {
  .container { padding-inline: 32px; }
  .site-nav { gap: 24px; }
  .nav-list { gap: 20px; }
  .nav-list a { letter-spacing: .12em; }
  .site-nav .btn { padding-inline: 14px; }
  .hero-title { font-size: 3.3rem; max-width: 540px; }
}

@media (min-width: 1440px) {
  :root { --container: 1280px; }
  .hero-photo { width: 50%; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-logo::after { display: none; }
}
