/* Layout: editorial em faixas alternadas — hero dividido com foto, seletor de situações, faixa escura de destaque, bento de áreas com fotos, linha do tempo, chips de documentos, mapa de MG e formulário. */
/* Paleta derivada do logotipo oficial: dourado em degradê (#E3B041 → #BC8A3D) sobre grafite (#202225). Verde reservado ao WhatsApp. */
:root {
  --paper: #F6F5F2;
  --paper-2: #ECEAE5;
  --sheet: #FDFCFA;
  --ink: #1C1D20;
  --ink-2: #57585D;
  --line: #DAD6CE;
  --navy: #202225;            /* grafite da marca (nome mantido por compatibilidade) */
  --navy-deep: #202225;       /* faixas escuras = fundo do logotipo */
  --band-navy: #161719;       /* faixa institucional, um tom abaixo */
  --on-dark: #F3F0E9;
  --on-dark-2: #B5B0A6;
  --line-dark: rgba(243, 240, 233, 0.13);
  --card-dark: rgba(243, 240, 233, 0.045);
  --brass: #8C6522;           /* dourado para texto pequeno em fundo claro (contraste AA) */
  --brass-on-dark: #DDAE52;   /* dourado do logotipo em fundo escuro */
  --brass-soft: rgba(207, 157, 64, 0.14);
  --gold-rgb: 221, 174, 82;
  --gold-grad: linear-gradient(180deg, #E6B445 0%, #CF9D40 55%, #B4843A 100%);
  --gold-text: linear-gradient(180deg, #B98A33 0%, #8C6522 100%);
  --wa: #11804A;
  --wa-hover: #0C6B3D;
  --on-wa: #FFFFFF;
  --danger: #A8261D;
  --focus: #2F6FEB;
  --shade: 20, 21, 23;

  /* Tipo */
  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-label: "Jost", "Futura", "Century Gothic", "Avenir Next", Arial, sans-serif;  /* ecoa o "ADVOGADOS" do logotipo */
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --t-xs: 0.78rem;
  --t-sm: 0.9rem;
  --t-base: 1.0625rem;
  --t-lg: 1.18rem;
  --t-h3: clamp(1.08rem, 1rem + 0.35vw, 1.24rem);
  --t-h2: clamp(1.8rem, 1.35rem + 1.9vw, 2.75rem);
  --t-h2-xl: clamp(2rem, 1.35rem + 2.8vw, 3.4rem);
  --t-h1: clamp(2.5rem, 1.6rem + 4vw, 4.9rem);

  --s-1: .5rem; --s-2: .75rem; --s-3: 1rem; --s-4: 1.5rem; --s-5: 2rem; --s-6: 3rem; --s-7: 4.5rem; --s-8: 6.5rem;
  --maxw: 1200px;
  --r: 6px;
  --r-lg: 14px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131416; --paper-2: #1A1B1E; --sheet: #1F2023;
    --ink: #EEEBE4; --ink-2: #A9A59C; --line: #303135;
    --navy: #EEEBE4; --navy-deep: #0E0F10; --band-navy: #18191C;
    --on-dark: #F3F0E9; --on-dark-2: #B1ACA2; --line-dark: rgba(243,240,233,.12); --card-dark: rgba(243,240,233,.045);
    --brass: #DDAE52; --brass-on-dark: #DDAE52; --brass-soft: rgba(221,174,82,.14);
    --gold-text: linear-gradient(180deg, #EBBE5A 0%, #C39240 100%);
    --wa: #11804A; --wa-hover: #15965A; --on-wa: #FFFFFF;
    --danger: #FF9C90; --focus: #7FA8FF; --shade: 0, 0, 0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #131416; --paper-2: #1A1B1E; --sheet: #1F2023;
  --ink: #EEEBE4; --ink-2: #A9A59C; --line: #303135;
  --navy: #EEEBE4; --navy-deep: #0E0F10; --band-navy: #18191C;
  --on-dark: #F3F0E9; --on-dark-2: #B1ACA2; --line-dark: rgba(243,240,233,.12); --card-dark: rgba(243,240,233,.045);
  --brass: #DDAE52; --brass-on-dark: #DDAE52; --brass-soft: rgba(221,174,82,.14);
  --gold-text: linear-gradient(180deg, #EBBE5A 0%, #C39240 100%);
  --wa: #11804A; --wa-hover: #15965A; --on-wa: #FFFFFF;
  --danger: #FF9C90; --focus: #7FA8FF; --shade: 0, 0, 0;
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--t-base); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.ico { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r); text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

/* Tipografia */
.label, .ref, .eyebrow, .pp-k, .form-k { font-family: var(--f-label); font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.label { color: var(--brass); }
.label-on-dark { color: var(--brass-on-dark); }
.h2 { font-family: var(--f-display); font-size: var(--t-h2); font-weight: 720; font-variation-settings: "wdth" 80; line-height: 1.05; letter-spacing: -.012em; }
.h2-xl { font-size: var(--t-h2-xl); }
.h2 em { font-style: normal; color: var(--brass-on-dark); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.h3 { font-family: var(--f-display); font-size: var(--t-h3); font-weight: 650; font-variation-settings: "wdth" 90; line-height: 1.22; }
.fineprint { color: var(--ink-2); font-size: var(--t-sm); margin-top: var(--s-5); }
.sec-title { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-6); max-width: 760px; }
.sec-title-row { max-width: none; flex-direction: row; align-items: end; justify-content: space-between; gap: var(--s-5); }
.sec-title-row > div { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.sec-title-center { margin-inline: auto; text-align: center; align-items: center; }
.sec-sub { color: var(--ink-2); font-size: var(--t-lg); max-width: 56ch; margin-top: var(--s-1); }
.sec-aside { color: var(--ink-2); max-width: 38ch; font-size: var(--t-sm); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .8rem 1.35rem; background: var(--wa); color: var(--on-wa); border: 0; border-radius: var(--r); font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: background-color .2s ease, transform .2s var(--ease), box-shadow .2s ease; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { background: var(--wa-hover); box-shadow: 0 10px 24px -12px rgba(17, 128, 74, .7); transform: translateY(-1px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 20px; height: 20px; }
.btn-sm { min-height: 42px; padding: .5rem .95rem; font-size: .92rem; }
.btn-sm-s { display: none; }
.btn-block { width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; gap: .45rem; min-height: 52px; padding: .8rem .4rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.btn-ghost .ico { transition: transform .25s var(--ease); }
.btn-ghost:hover .ico { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; border-bottom: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: var(--s-4); }
.nav a { position: relative; text-decoration: none; font-size: .94rem; color: var(--ink-2); padding: .4rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* Fotos (com fallback gráfico) */
.photo { position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--band-navy), var(--navy-deep)); aspect-ratio: 4 / 3; max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s ease; }
.photo.is-missing img { display: none; }
.photo.is-missing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(var(--gold-rgb),.22), transparent 55%); }
.photo .fb-ico { position: absolute; right: 12%; bottom: 14%; width: 34%; height: auto; aspect-ratio: 1; color: rgba(243,240,233,.16); stroke-width: 1.2; }

/* 1 · Hero */
.hero { padding-block: var(--s-5) var(--s-6); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-6); align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { letter-spacing: .12em; display: inline-flex; align-items: center; gap: .55rem; color: var(--ink-2); padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--sheet); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 0 3px var(--brass-soft); }
.hero-title { margin-top: var(--s-4); font-family: var(--f-display); line-height: .96; letter-spacing: -.018em; }
.ht-a { display: block; font-size: var(--t-h1); font-weight: 780; font-variation-settings: "wdth" 70; }
.ht-a > span { display: inline-block; }
.ht-b { display: block; margin-top: .14em; padding-bottom: .06em; font-size: calc(var(--t-h1) * .74); font-weight: 400; font-variation-settings: "wdth" 118; color: var(--brass); background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -.025em; }
.lede { margin-top: var(--s-4); font-size: var(--t-lg); color: var(--ink-2); max-width: 46ch; }
.hero-actions { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); }
.hero-media { position: relative; min-width: 0; padding: 0 0 var(--s-5) var(--s-5); }
.photo-hero img { object-position: 50% 30%; }
.photo-hero { aspect-ratio: 4 / 5; border-radius: 22px 22px 22px 120px; box-shadow: 0 40px 80px -48px rgba(var(--shade), .55); }
.hero-media::before { content: ""; position: absolute; right: -14px; top: 26px; width: 58%; height: 70%; border: 1.5px solid var(--brass); border-radius: 22px; opacity: .55; z-index: -1; }
.punch { position: absolute; left: 0; bottom: 0; width: min(250px, 62%); background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; font-family: var(--f-mono); font-size: .8rem; color: var(--ink); box-shadow: 0 24px 48px -24px rgba(var(--shade), .5); font-variant-numeric: tabular-nums; }
.punch-h { display: flex; align-items: center; gap: .45rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-bottom: .5rem; margin-bottom: .2rem; border-bottom: 1.5px solid var(--ink); }
.punch-h .ico { width: 15px; height: 15px; color: var(--brass); }
.punch-row { display: grid; grid-template-columns: 2.6em 1fr auto; gap: .5rem; padding: .38rem 0; border-bottom: 1px dashed var(--line); }
.punch-row span:first-child { color: var(--ink-2); }
.punch-row b { font-weight: 500; position: relative; }
.punch-row.is-hit b::after { content: ""; position: absolute; inset: -5px -8px; border: 1.5px solid var(--brass); border-radius: 50%; transform: rotate(-6deg); }
.punch-q { margin-top: .6rem; color: var(--brass); font-size: .76rem; }
.quick { margin-top: var(--s-6); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-2); }
.quick a { display: flex; align-items: center; justify-content: center; text-align: center; gap: .6rem; height: 100%; padding: .8rem .9rem; background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-size: .88rem; font-weight: 600; line-height: 1.25; transition: border-color .2s ease, transform .25s var(--ease), box-shadow .25s ease; }
.quick a:hover { border-color: var(--brass); transform: translateY(-2px); box-shadow: 0 12px 24px -18px rgba(var(--shade), .5); }

/* Seções */
.section { padding-block: var(--s-8); }
.band { padding-block: var(--s-8); position: relative; }
.band-dark { background: var(--navy-deep); color: var(--on-dark); }
.band-navy { background: var(--band-navy); color: var(--on-dark); }
.band-tint { background: var(--paper-2); }

/* 2 · Seletor de situações */
.picker { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.picker-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.pt { position: relative; display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; padding: 1.1rem 1.2rem; background: transparent; border: 0; border-right: 1px solid var(--line); border-radius: 0; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-variation-settings: "wdth" 92; font-size: 1.04rem; line-height: 1.25; color: var(--ink-2); transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease); }
.pt-n { flex: none; font-family: var(--f-mono); font-size: .8rem; color: var(--brass); transition: color .25s ease; }
.pt:last-child { border-right: 0; }
.pt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.pt:hover { color: var(--ink); background: var(--paper); }
.pt[aria-selected="true"] { color: var(--ink); background: var(--paper); }
.pt[aria-selected="true"]::after { transform: scaleX(1); }
.pt[aria-selected="true"] .pt-n { color: var(--brass); }
.picker-panels { position: relative; min-width: 0; }
.pp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 330px; }
.pp .photo { border-radius: 0; aspect-ratio: auto; height: 100%; min-height: 330px; }
.pp-body { padding: var(--s-5) var(--s-6); display: flex; flex-direction: column; justify-content: center; gap: var(--s-2); }
.pp-k { color: var(--brass); }
.pp-t { font-family: var(--f-display); font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); font-weight: 560; font-variation-settings: "wdth" 92; line-height: 1.3; max-width: 36ch; }
.pp .link-arrow { margin-top: var(--s-1); }
.pp.is-entering .photo img { animation: pp-img .7s var(--ease) both; }
.pp.is-entering .pp-body > * { animation: pp-txt .5s var(--ease) both; }
.pp.is-entering .pp-body > *:nth-child(2) { animation-delay: .06s; }
.pp.is-entering .pp-body > *:nth-child(3) { animation-delay: .12s; }
@keyframes pp-img { from { transform: scale(1.06); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes pp-txt { from { transform: translateY(10px); opacity: .2; } to { transform: none; opacity: 1; } }

.slip-stage { height: 100%; min-height: 330px; display: grid; place-items: center; padding: var(--s-4); background: linear-gradient(135deg, var(--band-navy), var(--navy-deep)); position: relative; overflow: hidden; }
.slip-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(var(--gold-rgb),.2), transparent 55%); }
.slip { position: relative; width: min(380px, 92%); background: var(--sheet); color: var(--ink); border-radius: 10px; padding: 1rem 1.1rem 1.1rem; font-family: var(--f-mono); font-size: .8rem; transform: rotate(-2deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); font-variant-numeric: tabular-nums; }
.slip-h { display: flex; justify-content: space-between; gap: .5rem; padding-bottom: .5rem; margin-bottom: .2rem; border-bottom: 1.5px solid var(--ink); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.slip-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: .5rem; padding: .45rem 0; }
.slip-row i { border-bottom: 1px dotted var(--line); margin-bottom: .3em; }
.slip-row.is-q span:last-child, .slip-q { color: var(--brass); font-weight: 500; }
.slip-stamp { position: absolute; right: 14px; bottom: -12px; padding: .25rem .6rem; border: 1.5px solid var(--brass); color: var(--brass); background: var(--sheet); border-radius: 4px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-6deg); }
.pp.is-entering .slip { animation: pp-img .7s var(--ease) both; }

/* 3 · Rescisão indireta */
.rescisao { overflow: hidden; }
.rescisao::before { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; border: 1px solid var(--line-dark); box-shadow: 0 0 0 70px rgba(243,240,233,.02), 0 0 0 140px rgba(243,240,233,.015); pointer-events: none; }
.ri-head { display: flex; flex-direction: column; gap: var(--s-3); max-width: 800px; position: relative; }
.ri-lede { color: var(--on-dark-2); font-size: var(--t-lg); max-width: 58ch; }
.ri-grid { margin-top: var(--s-6); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); counter-reset: ri; position: relative; }
.ri-card { counter-increment: ri; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-4); padding: var(--s-4); min-height: 170px; background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: var(--r-lg); font-family: var(--f-display); font-weight: 560; font-variation-settings: "wdth" 94; font-size: 1.08rem; line-height: 1.3; transition: border-color .3s ease, background-color .3s ease, transform .3s var(--ease); }
.ri-card::before { content: counter(ri, upper-roman); font-family: var(--f-display); font-weight: 300; font-variation-settings: "wdth" 110; font-size: 2.1rem; line-height: 1; color: var(--brass-on-dark); }
.ri-card:hover { border-color: rgba(var(--gold-rgb),.5); background: rgba(243,240,233,.07); transform: translateY(-3px); }
.ri-foot { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.ri-caution { max-width: 64ch; color: var(--on-dark-2); font-size: var(--t-sm); padding-left: var(--s-3); border-left: 2px solid var(--brass-on-dark); }
.ri-caution strong { color: var(--on-dark); }

/* 4 · Bento de áreas */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: var(--s-3); }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); min-width: 0; isolation: isolate; }
.tile-photo { color: #F4F6F8; }
.tile-photo .photo { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; z-index: -2; }
.tile-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--shade), .05) 20%, rgba(var(--shade), .55) 55%, rgba(var(--shade), .92) 100%); }
.tile-photo:hover .photo img { transform: scale(1.05); }
.tile-body { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem; padding: var(--s-4); }
.tile-body p { color: rgba(244, 246, 248, .86); font-size: .95rem; max-width: 40ch; }
.tile-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: rgba(244,246,248,.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #F4F6F8; margin-bottom: .2rem; }
.tile-ico .ico { width: 22px; height: 22px; }
.tile .ref { color: var(--brass-on-dark); }
.tile-photo .ref { margin-bottom: .1rem; }
.tile-dark { background: var(--navy-deep); color: var(--on-dark); padding: var(--s-4); display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem; }
.tile-dark .tile-ico { background: rgba(var(--gold-rgb),.16); color: var(--brass-on-dark); }
.tile-dark p { color: var(--on-dark-2); font-size: .95rem; }
.tile-dark .h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-variation-settings: "wdth" 78; font-weight: 720; }
.tile-link { position: absolute; top: var(--s-4); right: var(--s-4); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--on-dark); transition: background-color .25s ease, transform .25s var(--ease); }
.tile-link::after { content: ""; position: absolute; inset: calc(-1 * var(--s-6)); } /* área de toque ampliada: o card inteiro */
.tile-dark:hover .tile-link { background: var(--brass-on-dark); color: var(--navy-deep); transform: rotate(45deg); }
.t-insa { grid-column: span 7; grid-row: span 2; }
.t-resc { grid-column: span 5; }
.t-vinc { grid-column: span 5; }
.t-jorn { grid-column: span 4; }
.t-acid { grid-column: span 4; }
.t-gest { grid-column: span 4; }
.h3-big { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-variation-settings: "wdth" 78; font-weight: 720; }
.tile-light { background: var(--sheet); border: 1px solid var(--line); padding: var(--s-4); display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem; transition: border-color .25s ease, transform .3s var(--ease); }
.tile-light p { color: var(--ink-2); font-size: .95rem; }
.tile-light .ref { color: var(--brass); margin: 0 0 auto; }
.tile-light:hover { border-color: var(--brass); transform: translateY(-3px); }
.tile-dark .ref { margin: 0 0 auto; }

.bento-hint { display: none; align-items: center; gap: .4rem; margin-top: var(--s-2); color: var(--ink-2); font-size: var(--t-sm); }
.bento-hint .ico { width: 18px; height: 18px; color: var(--brass); }

/* 5 · Como funciona */
.atd-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-7); align-items: center; }
.atd-media { position: relative; min-width: 0; }
.photo-wide { aspect-ratio: 4 / 3.4; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 90px; }
.atd-badge { position: absolute; right: -10px; bottom: 28px; display: flex; align-items: center; gap: .55rem; padding: .7rem 1rem; background: var(--sheet); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: 0 18px 36px -20px rgba(var(--shade), .5); }
.atd-badge .ico { color: var(--wa); }
.atd-copy { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.timeline { margin-top: var(--s-4); position: relative; display: flex; flex-direction: column; gap: var(--s-4); }
.timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--brass); transform-origin: top; transform: scaleY(1); }
.tl { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s-3); align-items: start; }
.tl-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sheet); border: 1.5px solid var(--brass); color: var(--brass); }
.tl-ico .ico { width: 22px; height: 22px; }
.tl > div { padding-top: .6rem; display: flex; flex-direction: column; gap: .25rem; }
.tl p { color: var(--ink-2); }
.atd-copy .fineprint { margin-top: var(--s-4); }

/* 6 · Documentos */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); max-width: 980px; margin-inline: auto; }
.doc { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .98rem; line-height: 1.3; transition: transform .25s var(--ease), border-color .25s ease; }
.doc::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.doc:hover { transform: translateY(-2px); border-color: var(--brass); }
.docs-note { margin: var(--s-5) auto 0; display: flex; align-items: center; justify-content: center; gap: .55rem; color: var(--ink-2); font-size: var(--t-sm); text-align: center; max-width: 60ch; }

/* 7 · Escritório + mapa */
.sobre { overflow: hidden; }
.sobre-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: var(--s-7); align-items: center; }
.sobre-photo { position: relative; margin: 0; padding: 0 var(--s-4) var(--s-4) 0; min-width: 0; }
.sobre-photo::before { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 72%; border: 1.5px solid rgba(var(--gold-rgb), .55); border-radius: 22px; }
.photo-portrait { aspect-ratio: 4 / 5; border-radius: 22px 22px 110px 22px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.photo-portrait img { object-position: 50% 20%; }
.sobre-copy { display: flex; flex-direction: column; gap: var(--s-4); min-width: 0; }
.sobre-copy > p:not(.label) { color: var(--on-dark-2); max-width: 46ch; font-size: var(--t-lg); }
.sobre-logo { margin: 0; }
.sobre-logo img { width: min(440px, 100%); height: auto; }
.sobre-facts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.sobre-facts li { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .92rem; }
.map-wrap { min-width: 0; margin: var(--s-2) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--line-dark); display: flex; align-items: center; gap: var(--s-4); }
.map-wrap .mg-map { flex: none; width: 290px; }
.mg-map { width: 100%; height: auto; overflow: hidden; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.mg-n { fill: rgba(243,240,233,.03); stroke: rgba(243,240,233,.12); stroke-width: .6; }
.mg-state { fill: rgba(var(--gold-rgb),.1); stroke: var(--brass-on-dark); stroke-width: 1.1; stroke-linejoin: round; }
.mg-dot { fill: var(--brass-on-dark); stroke: var(--band-navy); stroke-width: 1.2; }
.mg-pulse { fill: none; stroke: var(--brass-on-dark); stroke-width: 1; transform-box: fill-box; transform-origin: center; }
.mg-lbl { fill: var(--on-dark); font-family: var(--f-display); font-weight: 650; font-size: 8.5px; }
.mg-st { fill: rgba(243,240,233,.4); font-family: var(--f-mono); font-size: 6.5px; letter-spacing: .3em; }
.map-wrap figcaption { color: var(--on-dark-2); font-size: var(--t-sm); max-width: 30ch; }

/* 8 · FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s-6); align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: var(--s-2); position: sticky; top: calc(var(--header-h) + 24px); min-width: 0; }
.faq-cta { align-self: flex-start; margin-top: var(--s-3); }
.faq-list { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
.qa { background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s ease; }
.qa[open] { border-color: var(--brass); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 1.05rem 1.2rem; font-family: var(--f-display); font-weight: 620; font-variation-settings: "wdth" 94; font-size: 1.05rem; line-height: 1.35; border-radius: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--brass-soft); color: var(--brass); transition: transform .3s var(--ease), background-color .3s ease; }
.qa summary i .ico { width: 18px; height: 18px; }
.qa[open] summary i { transform: rotate(45deg); background: var(--brass); color: var(--sheet); }
.qa-body { padding: 0 1.2rem 1.2rem; color: var(--ink-2); max-width: 64ch; }
.qa[open] .qa-body { animation: qa-in .35s var(--ease); }
@keyframes qa-in { from { opacity: .2; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* 9 · Formulário */
.contato { overflow: hidden; }
.contato-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 400px at 85% 20%, rgba(var(--gold-rgb),.14), transparent 60%), radial-gradient(500px 360px at 10% 100%, rgba(var(--gold-rgb),.06), transparent 60%); }
.contato-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: var(--s-7); align-items: center; }
.contato-copy { display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }
.contato-copy > p:not(.label) { color: var(--on-dark-2); max-width: 46ch; font-size: var(--t-lg); }
.assure { display: flex; flex-direction: column; gap: .6rem; margin-top: var(--s-2); }
.assure li { display: flex; align-items: center; gap: .6rem; color: var(--on-dark); }
.assure .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(17,128,74,.3); color: #9BE2BC; }
.lead-form { background: var(--sheet); color: var(--ink); border-radius: 18px; padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-4); min-width: 0; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.form-k { color: var(--brass); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field-hint { font-weight: 400; color: var(--ink-2); font-size: .85rem; margin-left: .25rem; }
.field input { min-height: 54px; width: 100%; padding: .75rem .95rem; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.field input::placeholder { color: var(--ink-2); opacity: .7; }
.field input:hover { border-color: var(--ink-2); }
.field input:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 28%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lead-form.is-loading .spinner { display: inline-block; }
.lead-form.is-loading .wa-ico { display: none; }
.lead-form.is-loading button { cursor: progress; }
.form-status { font-size: .95rem; padding: .8rem .9rem; border-radius: 10px; border: 1px solid var(--line); }
.form-status.is-error { border-color: var(--danger); color: var(--danger); }
.form-status.is-success { border-color: var(--wa); }
.privacy { font-size: .84rem; color: var(--ink-2); }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s-6); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s-5); align-items: end; }
.footer-logo { width: 150px; height: auto; }
.footer-line { margin-top: var(--s-3); color: var(--ink-2); font-size: var(--t-sm); }
.footer-legal { color: var(--ink-2); font-size: .82rem; max-width: 64ch; justify-self: end; display: flex; flex-direction: column; gap: .4rem; }
.credits { opacity: .75; }

/* CTA fixo no celular */
.mcta { display: none; }

/* Animações (todas opcionais) */
@media (prefers-reduced-motion: no-preference) {
  .ht-a > span, .ht-b, .lede, .hero-actions, .eyebrow { animation: rise .8s var(--ease) both; }
  .ht-a > span:nth-child(2) { animation-delay: .08s; }
  .ht-b { animation-delay: .16s; }
  .lede { animation-delay: .24s; }
  .hero-actions { animation-delay: .32s; }
  .photo-hero img { animation: settle 1.6s var(--ease) both; }
  .punch { animation: rise .9s var(--ease) .45s both, float 6s ease-in-out 1.4s infinite; }
  .punch-row.is-hit b::after { animation: stamp .6s var(--ease) 1s both; }
  .quick li { animation: rise .6s var(--ease) both; }
  .quick li:nth-child(2) { animation-delay: .05s; } .quick li:nth-child(3) { animation-delay: .1s; }
  .quick li:nth-child(4) { animation-delay: .15s; } .quick li:nth-child(5) { animation-delay: .2s; } .quick li:nth-child(6) { animation-delay: .25s; }
  .mg-pulse { animation: pulse 2.4s ease-out infinite; }
  @keyframes rise { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
  @keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
  @keyframes stamp { from { transform: rotate(-6deg) scale(1.5); opacity: 0; } to { transform: rotate(-6deg) scale(1); opacity: 1; } }
  @keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }

  /* Entradas ligadas à rolagem (navegadores com suporte); sem suporte, tudo fica visível */
  @supports (animation-timeline: view()) {
    .reveal, .ri-card, .tile { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .timeline::after { animation: draw linear both; animation-timeline: view(); animation-range: entry 20% cover 55%; }
    @keyframes reveal { from { transform: translateY(36px) scale(.97); } to { transform: none; } }
    @keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  }
}

/* Responsivo */
@media (max-width: 1060px) {
  .nav { display: none; }
  .quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid, .atd-grid, .sobre-grid, .contato-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .hero-media { max-width: 560px; }
  .faq-head { position: static; }
  .t-insa { grid-column: span 12; grid-row: span 1; min-height: 340px; }
  .t-resc, .t-vinc { grid-column: span 6; }
  .t-jorn, .t-acid, .t-gest { grid-column: span 4; }
  .atd-badge { right: 12px; }
  .sobre-photo { max-width: 440px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { justify-self: start; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .brand img { height: 46px; }
  .section, .band { padding-block: var(--s-7); }
  .hero { padding-block: var(--s-3) var(--s-5); }
  .hero-media { padding: 0 0 var(--s-4) var(--s-3); }
  .hero-media::before { right: -8px; }
  .photo-hero { aspect-ratio: 4 / 3.5; border-radius: 18px 18px 18px 72px; }
  .punch { width: min(220px, 64%); font-size: .74rem; padding: .7rem .8rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .btn-ghost { display: none; }
  .quick { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); padding-bottom: 6px; scrollbar-width: none; margin-top: var(--s-5); }
  .quick::-webkit-scrollbar { display: none; }
  .quick li { flex: 0 0 auto; scroll-snap-align: start; }
  .quick a { white-space: nowrap; }
  .sec-title { margin-bottom: var(--s-5); }
  .sec-title-row { flex-direction: column; align-items: flex-start; }
  .picker { margin-inline: 0; }
  .picker-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .picker-tabs::-webkit-scrollbar { display: none; }
  .pt { flex: 0 0 auto; width: auto; max-width: 230px; scroll-snap-align: start; padding: .85rem .95rem; font-size: .93rem; }
  .pp { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pp .photo { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .pp-body { padding: var(--s-4); }
  .slip-stage { min-height: 0; height: auto; padding: var(--s-5) var(--s-3); }
  .slip { font-size: .74rem; }
  .slip-h span:last-child { display: none; }
  .ri-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); }
  .ri-card { min-height: 0; padding: .9rem 1rem; font-size: .98rem; gap: var(--s-3); flex-direction: row; align-items: center; justify-content: flex-start; }
  .ri-card::before { font-size: 1.4rem; min-width: 2.2rem; }
  .ri-foot .btn { width: 100%; }
  .bento { display: flex; gap: var(--s-2); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); padding-bottom: 8px; scroll-padding-inline: max(20px, env(safe-area-inset-left, 0px)); scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 82%; min-height: 380px; scroll-snap-align: start; }
  .h3-big { font-size: 1.45rem; }
  .tile-light { min-height: 300px; }
  .bento-hint { display: flex; }
  .atd-grid { gap: var(--s-5); }
  .photo-wide { border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 60px; }
  .map-wrap { flex-direction: column; align-items: flex-start; }
  .map-wrap .mg-map { width: min(300px, 100%); }
  .sobre-logo img { width: min(300px, 100%); }
  .docs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-2); }
  .doc { padding: .8rem .85rem; gap: .6rem; font-size: .92rem; align-items: flex-start; }
  .doc::before { margin-top: .45em; }
  .docs-note { justify-content: flex-start; text-align: left; align-items: flex-start; }
  .lead-form { padding: var(--s-4); }
  .faq-cta { display: none; }
  .mcta { display: inline-flex; position: fixed; z-index: 60; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .35s var(--ease), opacity .35s ease; }
  .mcta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .site-footer { padding-bottom: calc(var(--s-6) + 76px); }
}
@media (max-width: 420px) {
  .header-inner { gap: var(--s-2); }
  .brand img { height: 42px; }
  .btn-sm-l { display: none; }
  .btn-sm-s { display: inline; }
  .btn-sm { padding: .5rem .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
