/* ==========================================================================
   Plínio Marcos Riguetti — Advocacia Trabalhista Empresarial
   Folha de estilos do site. Cores e fontes da identidade ficam em :root.
   Conceito: "módulos" — as letras do logotipo são feitas de três formas
   (haste, meio-círculo e quarto de círculo). As mesmas formas compõem o site.
   ========================================================================== */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  /* Paleta da identidade visual */
  --green: #0F4C47;         /* verde petróleo: cor institucional */
  --green-deep: #0A3632;    /* verde profundo: rodapé, linha do tempo */
  --green-2: #145C56;       /* superfícies sobre o verde */
  --amber: #F2A63A;         /* âmbar: meio-círculo do logotipo */
  --amber-ink: #A0600C;     /* âmbar escuro para texto sobre fundo claro */
  --lilac: #B7A3F2;         /* lilás: quarto de círculo */
  --mint: #E8F2EF;          /* menta: fundos suaves */
  --ink: #121417;           /* texto principal e títulos */
  --text: #2A302F;          /* texto corrido */
  --slate: #56625F;         /* texto secundário */
  --line: #DCE5E2;          /* linhas finas */
  --white: #FFFFFF;
  --on-dark: rgba(255,255,255,.76);
  --line-dark: rgba(255,255,255,.16);
  --error: #B42318;
  --ok: #157347;

  --display: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1300px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(80px, 9.5vw, 136px);
  --header-h: 84px;
  --r: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Alto contraste (botão "Alto contraste" na barra superior) */
:root[data-contrast="high"] {
  --green: #003B36; --green-deep: #001F1C; --green-2: #00302C;
  --amber: #FFB547; --amber-ink: #6B3B00; --lilac: #C9BAFF; --mint: #FFFFFF;
  --ink: #000000; --text: #000000; --slate: #1F2423; --line: #3D4644;
  --on-dark: #FFFFFF; --line-dark: rgba(255,255,255,.55);
}
:root[data-contrast="high"] a:not(.btn):not(.nav-cta) { text-decoration: underline; }
/* Tamanho do texto (A− / A / A+) */
:root[data-font="1"] body { zoom: 1.12; }
:root[data-font="2"] body { zoom: 1.24; }
:root[data-font="-1"] body { zoom: .92; }
/* Em telas médias, o cabeçalho mantém o tamanho normal para o menu caber em uma linha */
@media (min-width: 961px) and (max-width: 1300px) {
  :root[data-font="1"] .site-header { zoom: .893; }
  :root[data-font="2"] .site-header { zoom: .806; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--text); overflow-x: hidden;
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--white); padding: 10px 18px; border-radius: 999px; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* Formas da marca */
.shape { position: absolute; display: block; pointer-events: none; }
.shape-half { width: 50%; aspect-ratio: 1 / 2; border-radius: 0 999px 999px 0; background: var(--amber); }
.shape-quarter { width: 34%; aspect-ratio: 1; border-radius: 0 100% 0 0; background: var(--lilac); }
.shape-dot { width: 64px; height: 64px; border-radius: 50%; background: var(--amber); }

/* ---------- Tipografia ---------- */
.display-1, .hero-title, .display-2, .display-3, .statement { font-family: var(--display); font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; color: var(--ink); }
.hero-title { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -0.035em; max-width: 15ch; }
.display-1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.04; letter-spacing: -0.035em; max-width: 16ch; }
.display-2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.08; max-width: 18ch; }
.display-3 { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.15; }
.statement { font-size: clamp(23px, 2.4vw, 34px); line-height: 1.25; letter-spacing: -0.02em; }
.statement-sm { font-size: clamp(21px, 2vw, 28px); margin-top: 18px; }
.lead { font-family: var(--display); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); max-width: 34em; }
.lead-sm { color: var(--slate); margin-top: 18px; max-width: 32em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--green); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 10px; height: 20px; border-radius: 0 20px 20px 0; background: var(--amber); }
.section-label { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--green); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 56px); }
.prose { max-width: 40em; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-family: var(--display); font-size: 25px; line-height: 1.2; letter-spacing: -0.015em; margin-top: 2em; color: var(--ink); }
.prose ul li { position: relative; padding-left: 1.4em; margin-top: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 14px; border-radius: 0 14px 14px 0; background: var(--amber); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--green); }

.link { display: inline-flex; align-items: center; gap: .55em; color: var(--green); font-weight: 600; font-size: 16px; text-decoration: none; padding-bottom: 3px; background: linear-gradient(var(--amber), var(--amber)) 0 100% / 100% 2px no-repeat; transition: background-size .3s var(--ease); }
.link .icon { transition: transform .3s var(--ease); }
.link:hover .icon { transform: translateX(4px); }
.link-light { color: var(--white); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 28px; border: 2px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: 15.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--ink); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-light { background: var(--white); color: var(--green); }
.btn-light:hover { background: var(--amber); color: var(--ink); }
.btn-dark { background: var(--green); color: var(--white); }
.btn-dark:hover { background: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--green); background: var(--white); }
.btn-ghost:hover { border-color: var(--green); }
.btn-tint { border-color: rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn-tint:hover { background: var(--white); color: var(--green); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Barra superior (acessibilidade e contatos) ---------- */
.topbar { background: var(--green); color: rgba(255,255,255,.8); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; min-height: 40px; flex-wrap: wrap; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; margin-left: auto; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--white); }
.topbar a:hover { text-decoration: underline; }
.topbar .icon { width: 14px; height: 14px; color: var(--amber); }
.lang { display: inline-flex; gap: 4px; }
.lang button { min-width: 34px; min-height: 28px; padding: 0 9px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: transparent; color: var(--white); font-size: 12.5px; font-weight: 600; letter-spacing: .03em; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.lang button:hover { border-color: var(--white); }
.lang button[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.lang button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
html[data-i18n-wait]:not([data-i18n-ready]) body { visibility: hidden; }
.a11y { display: flex; align-items: center; gap: 4px; }
.a11y[hidden] { display: none; }
.a11y-label { margin-right: 6px; color: rgba(255,255,255,.7); }
.a11y button { min-width: 32px; min-height: 28px; padding: 0 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: transparent; color: var(--white); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.a11y button:hover, .a11y button[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--ink); }

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease); }
.site-header.is-solid { box-shadow: 0 6px 24px rgba(15,76,71,.08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; }
.nav > ul { display: flex; align-items: center; gap: clamp(6px, 1vw, 12px); }
.nav a { position: relative; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav > ul > li > a:not(.nav-cta) { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px; transition: background-color .2s; }
.nav > ul > li > a:not(.nav-cta):hover { background: var(--mint); }
.nav > ul > li > a[aria-current="page"]:not(.nav-cta) { background: var(--mint); color: var(--green); font-weight: 600; }
.nav-cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--amber); color: var(--ink) !important; font-weight: 600 !important; transition: background-color .25s var(--ease), color .25s; }
.nav-cta:hover { background: var(--green); color: var(--white) !important; }
.nav-cta-item { margin-left: 10px; }
.nav-meta, .nav-toggle { display: none; }

/* Submenu de áreas */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: 6px !important; }
.sub-toggle { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -4px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--green); cursor: pointer; transition: transform .3s var(--ease), background-color .2s; }
.sub-toggle:hover { background: var(--mint); }
.sub-toggle .icon { width: 16px; height: 16px; }
.sub {
  position: absolute; top: calc(100% + 18px); left: 50%; width: min(720px, 70vw);
  background: var(--white); border-radius: var(--r); box-shadow: 0 30px 70px rgba(15,76,71,.18); border-top: 6px solid var(--amber);
  padding: 12px; opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
.sub ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sub a { display: block; padding: 14px 16px; border-radius: 16px; white-space: normal; }
.sub a strong { display: block; font-family: var(--display); font-weight: 500; font-size: 16px; line-height: 1.3; color: var(--ink); }
.sub a span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--slate); }
.sub a:hover, .sub a[aria-current="page"] { background: var(--mint); }
.sub a:hover strong { color: var(--green); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.has-sub.is-open .sub-toggle { transform: rotate(180deg); }

/* ---------- Abertura da página inicial ---------- */
.hero { padding: clamp(48px, 6vw, 96px) 0 clamp(64px, 7vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-sub { margin-top: 26px; max-width: 32em; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--slate); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-art { position: relative; display: block; aspect-ratio: 1 / 1.08; text-decoration: none; color: var(--ink); }
.hero-photo { position: absolute; left: 14%; top: 0; right: 0; bottom: 10%; overflow: hidden; border-radius: 0 999px 999px 0 / 0 50% 50% 0; background: var(--green) ; }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { transition: transform 1.2s var(--ease); }
.hero-art:hover .hero-photo img { transform: scale(1.04); }
.hero-art .shape-half { left: 0; bottom: 0; width: 30%; z-index: 1; }
.hero-art .shape-quarter { left: 0; top: 4%; width: 26%; background: var(--lilac); }
.hero-tag { position: absolute; z-index: 2; right: 4%; bottom: 0; display: flex; align-items: center; gap: 16px; padding: 14px 14px 14px 22px; border-radius: 999px; background: var(--white); box-shadow: 0 18px 40px rgba(15,76,71,.18); max-width: 78%; }
.hero-tag small { display: block; font-size: 12.5px; font-weight: 600; color: var(--amber-ink); }
.hero-tag strong { display: block; font-family: var(--display); font-weight: 500; font-size: 15px; line-height: 1.3; }
.hero-tag > small, .hero-tag > strong { grid-column: 1; }
.hero-tag { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; }
.hero-tag .round-btn { grid-column: 2; grid-row: 1 / span 2; }
.round-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: var(--white); flex: none; transition: background-color .25s var(--ease), transform .25s var(--ease); }
.round-btn .icon { width: 20px; height: 20px; }
.hero-art:hover .round-btn { background: var(--amber); color: var(--ink); transform: translateX(3px); }

@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .8s var(--ease) both; }
  .hero-text > :nth-child(2) { animation-delay: .08s; }
  .hero-text > :nth-child(3) { animation-delay: .16s; }
  .hero-text > :nth-child(4) { animation-delay: .24s; }
  .hero-photo { animation: reveal 1.1s var(--ease) .15s both; }
  .hero-art .shape-half { animation: slide-in .9s var(--ease) .45s both; }
  .hero-art .shape-quarter { animation: grow .9s var(--ease) .6s both; transform-origin: 0 100%; }
  .hero-tag { animation: rise .7s var(--ease) .8s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes slide-in { from { transform: translateX(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes grow { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- Seções ---------- */
.section { padding: var(--section) 0; }
.section.tint { background: var(--mint); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 104px); align-items: start; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { max-width: 30em; color: var(--slate); }
.intro-narrow { margin-bottom: clamp(48px, 6vw, 72px); font-size: 19px; }

/* Áreas em linhas grandes */
.areas-home { background: var(--mint); }
.area-rows { counter-reset: none; border-top: 1px solid var(--line); }
.area-rows li { border-bottom: 1px solid var(--line); }
.area-rows a { position: relative; display: grid; grid-template-columns: 24px 1.1fr 1.4fr 56px; align-items: center; gap: 24px; padding: 28px 16px; border-radius: var(--r); text-decoration: none; transition: background-color .3s var(--ease), color .3s; }
.row-mark { width: 12px; height: 24px; border-radius: 0 24px 24px 0; background: var(--green); transition: background-color .3s, transform .3s var(--ease); }
.area-rows h3 { font-family: var(--display); font-size: clamp(21px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.area-rows p { color: var(--slate); font-size: 15.5px; line-height: 1.55; }
.row-arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); transition: background-color .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease); }
.row-arrow .icon { width: 20px; height: 20px; }
.area-rows a:hover { background: var(--white); }
.area-rows a:hover .row-mark { background: var(--amber); transform: scaleX(1.4); transform-origin: left; }
.area-rows a:hover .row-arrow { background: var(--green); color: var(--white); transform: translateX(4px); }

/* O escritório */
.firm-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 104px); align-items: start; }
.firm-number { position: relative; width: min(100%, 300px); text-align: center; }
.num-shape { display: none; }
.big-number { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--amber); font-family: var(--display); font-weight: 500; font-size: clamp(96px, 10.5vw, 150px); line-height: 1; letter-spacing: -0.06em; color: var(--green); font-variant-numeric: lining-nums; padding-top: .06em; }
.big-label { display: block; margin: 26px auto 0; max-width: 19em; text-align: center; text-wrap: balance; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.5; text-transform: uppercase; letter-spacing: .06em; }
.firm-text { margin-top: 30px; color: var(--slate); }
.firm-link, .focus-link { margin-top: 30px; }

/* Linha do tempo processual */
.timeline { background: var(--green); color: var(--white); padding: var(--section) 0; position: relative; overflow: hidden; isolation: isolate; }
.timeline::before { content: ""; position: absolute; z-index: -1; right: -6%; top: -16%; width: 34vw; max-width: 460px; aspect-ratio: 1; border-radius: 0 0 0 100%; background: var(--green-2); }
.timeline-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.timeline .display-2 { color: var(--white); }
.timeline-lead { color: var(--on-dark); font-size: 18px; max-width: 32em; }
.timeline-note { margin-top: 28px; font-size: 13px; color: rgba(255,255,255,.55); }
.tl { position: relative; }
.tl-list { display: grid; }
.tl-item { position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: 16px; }
.tl-item::before { content: ""; position: absolute; left: 9px; top: 24px; bottom: -6px; width: 2px; background: var(--line-dark); }
.tl-item:last-child::before { display: none; }
.tl-tab { grid-column: 1 / -1; display: grid; grid-template-columns: 30px auto 1fr; column-gap: 16px; align-items: center; padding: 10px 0; border: 0; background: none; color: var(--white); text-align: left; cursor: default; }
.tl-dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); background: var(--green); transition: background-color .3s var(--ease), border-color .3s var(--ease), border-radius .3s var(--ease); }
.tl-num { font-size: 13px; font-weight: 600; color: var(--amber); font-variant-numeric: tabular-nums; }
.tl-short { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.2; }
.tl-panel { grid-column: 2; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 56px); padding: 6px 0 34px; }
.tl-panel-main h3 { font-family: var(--display); font-weight: 500; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.1; letter-spacing: -0.025em; }
.tl-panel-main p { margin-top: 14px; color: var(--on-dark); max-width: 36em; }
.tl-panel-main .tl-step { display: inline-flex; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: 12.5px; font-weight: 600; }
.tl-panel-main .tl-ref { font-size: 14px; color: rgba(255,255,255,.6); }
.tl-panel-side { background: rgba(255,255,255,.06); border-radius: 18px; padding: 22px 24px; }
.tl-panel-side h4 { font-size: 14px; font-weight: 600; color: var(--amber); margin-bottom: 14px; }
.tl-panel-side .checks { margin-top: 0; color: rgba(255,255,255,.9); font-size: 16px; }
.tl-panel-side .checks .icon { color: var(--amber); }
.tl-progress { display: none; }
.tl-controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.tl-controls[hidden] { display: none; }
.tl-nav { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 2px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: var(--white); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.tl-nav:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.tl-nav[disabled] { opacity: .3; cursor: default; background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }

.tl.is-enhanced .tl-tab { cursor: pointer; }
.tl.is-enhanced .tl-tab:hover .tl-short { color: var(--amber); }
.tl.is-enhanced .tl-tab[aria-expanded="true"] .tl-dot { background: var(--amber); border-color: var(--amber); border-radius: 0 999px 999px 0; }
.tl.is-enhanced .tl-tab.is-done .tl-dot { background: var(--white); border-color: var(--white); }
.tl-panel[hidden] { display: none !important; }
@media (min-width: 961px) {
  .tl.is-enhanced .tl-list { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .tl.is-enhanced .tl-item { display: contents; }
  .tl.is-enhanced .tl-item::before { display: none; }
  .tl.is-enhanced .tl-tab { grid-row: 1; grid-column: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 10px 0 0; }
  .tl.is-enhanced .tl-num { margin-top: 8px; }
  .tl.is-enhanced .tl-short { font-size: 16px; line-height: 1.25; color: rgba(255,255,255,.8); transition: color .2s; }
  .tl.is-enhanced .tl-tab[aria-expanded="true"] .tl-short { color: var(--white); }
  .tl.is-enhanced .tl-panel { grid-row: 2; grid-column: 1 / -1; margin-top: clamp(40px, 4vw, 56px); padding: clamp(30px, 3.5vw, 52px); background: var(--green-deep); border-radius: var(--r); animation: rise .45s var(--ease) both; }
  .tl.is-enhanced .tl-progress { display: block; position: absolute; left: 10px; right: 0; top: 9px; height: 2px; background: var(--line-dark); pointer-events: none; }
  .tl.is-enhanced .tl-progress span { display: block; height: 100%; width: 0; background: var(--white); transition: width .6s var(--ease); }
}

/* Destaque: contencioso */
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 104px); align-items: center; }
.focus-media { position: relative; aspect-ratio: 4 / 4.4; }
.focus-media picture { position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px var(--r) var(--r) / 50% 50% var(--r) var(--r); background: var(--green); }
.focus-media img { width: 100%; height: 100%; object-fit: cover; }
.focus-media .shape-dot { right: 4%; bottom: 6%; width: 22%; height: auto; aspect-ratio: 1; border: 8px solid var(--white); }
.focus-body .prose { margin-top: 24px; color: var(--slate); }
.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--green); margin-top: .28em; }

/* Diferenciais e valores */
.diffs { padding-top: 0; }
.diffs-title { margin-bottom: clamp(32px, 4vw, 56px); }
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.diff { position: relative; padding: 30px 26px 32px; background: var(--mint); border-radius: var(--r); }
.tint .diff { background: var(--white); }
.diff-shape { display: block; width: 44px; height: 44px; margin-bottom: 28px; background: var(--green); }
.diff:nth-child(4n+1) .diff-shape { border-radius: 0 999px 999px 0; width: 22px; background: var(--amber); }
.diff:nth-child(4n+2) .diff-shape { border-radius: 0 100% 0 0; background: var(--lilac); }
.diff:nth-child(4n+3) .diff-shape { border-radius: 50%; background: var(--green); }
.diff:nth-child(4n+4) .diff-shape { border-radius: 999px 999px 0 0; height: 22px; margin-bottom: 50px; background: var(--amber); }
.diff h3 { font-family: var(--display); font-size: 20px; line-height: 1.22; letter-spacing: -0.015em; color: var(--ink); }
.diff p { margin-top: 12px; color: var(--slate); font-size: 15.5px; }

/* Perfil de clientes */
.clients { padding-top: 0; }
.client-list { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.client-list li { padding: 12px 22px; border-radius: 999px; background: var(--mint); font-size: 15.5px; font-weight: 500; color: var(--green); }

/* Chamada para contato */
.cta { padding: 0 0 var(--section); }
.cta-box { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; background: var(--amber); color: var(--ink); padding: clamp(44px, 6vw, 96px) clamp(28px, 6vw, 96px); }
.cta-inner { position: relative; z-index: 1; max-width: 640px; }
.cta .display-2 { color: var(--ink); }
.cta-inner p { margin-top: 20px; max-width: 32em; color: rgba(18,20,23,.8); font-size: 18px; }
.cta .btn-outline { border-color: var(--ink); color: var(--ink); }
.cta .btn-outline:hover { background: var(--ink); color: var(--white); }
.cta-s1 { right: 0; top: 0; bottom: 0; width: 26%; border-radius: 999px 0 0 999px / 50% 0 0 50%; background: var(--green); }
.cta-s2 { right: 26%; bottom: 0; width: 16%; aspect-ratio: 1; border-radius: 100% 0 0 0; background: var(--lilac); }
.cta-s3 { right: 30%; top: 14%; width: 56px; height: 56px; border-radius: 50%; background: var(--white); }

/* ---------- Cabeçalho das páginas internas ---------- */
.page-hero { background: var(--mint); overflow: hidden; }
.crumbs { padding-top: clamp(26px, 3vw, 40px); font-size: 13.5px; color: var(--slate); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; }
.crumbs li + li::before { content: ""; display: inline-block; width: 5px; height: 10px; margin: 0 12px; border-radius: 0 10px 10px 0; background: var(--amber); vertical-align: middle; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 6vw, 88px); }
.page-hero-grid.with-media { grid-template-columns: 1.3fr 1fr; }
.page-lead { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.35vw, 19.5px); color: var(--slate); }
.page-hero-art { position: relative; aspect-ratio: 5 / 4; }
.page-hero-photo { position: absolute; left: 18%; top: 0; right: 0; bottom: 0; overflow: hidden; border-radius: 999px 0 0 999px / 50% 0 0 50%; background: var(--green); }
.page-hero-photo picture, .page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-art .shape-half { left: 0; top: 18%; width: 26%; background: var(--amber); z-index: 1; border-radius: 999px 0 0 999px; }

/* ---------- Quem somos ---------- */
.profile-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.portrait { position: sticky; top: calc(var(--header-h) + 24px); }
.portrait img, .portrait-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--r) var(--r) / 40% 40% var(--r) var(--r); }
.portrait-placeholder { display: grid; place-items: center; background: var(--mint); }
.portrait-placeholder img { width: 60%; aspect-ratio: 1; object-fit: contain; border-radius: 0; }
.portrait figcaption { margin-top: 14px; font-size: 14px; color: var(--slate); }
.profile-body .prose { margin-top: 26px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts h3 { font-size: 14px; font-weight: 600; color: var(--green); }
.facts li { margin-top: 10px; color: var(--slate); font-size: 16px; }
.tint .diff-grid { margin-top: clamp(48px, 6vw, 80px); }

/* ---------- Áreas ---------- */
.area-index li { display: grid; grid-template-columns: 5fr 7fr; gap: 10px clamp(32px, 6vw, 104px); padding: clamp(30px, 3.5vw, 46px) 0; border-top: 1px solid var(--line); }
.area-index li:last-child { border-bottom: 1px solid var(--line); }
.area-index h2 { font-family: var(--display); font-size: clamp(23px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); grid-row: span 2; }
.area-index h2 a { text-decoration: none; transition: color .2s; }
.area-index h2 a:hover { color: var(--green); }
.area-index p { color: var(--slate); max-width: 38em; }
.area-index .link { justify-self: start; margin-top: 6px; }
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area-list a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 28px 26px 80px; background: var(--white); border-radius: var(--r); text-decoration: none; transition: background-color .3s var(--ease); }
.area-list h3 { font-family: var(--display); font-size: 20px; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
.area-list p { margin-top: 10px; color: var(--slate); font-size: 15px; }
.area-more { position: absolute; left: 26px; bottom: 24px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); transition: background-color .3s, color .3s; }
.area-list a:hover { background: var(--amber); }
.area-list a:hover .area-more { background: var(--green); color: var(--white); }
.area-detail { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.area-main .prose { margin-top: 32px; }
.area-aside { position: sticky; top: calc(var(--header-h) + 24px); background: var(--green); color: var(--white); padding: clamp(28px, 3vw, 40px); border-radius: var(--r); overflow: hidden; }
.area-aside::after { content: ""; position: absolute; right: -24px; top: -24px; width: 96px; height: 96px; border-radius: 0 0 0 100%; background: var(--amber); }
.area-aside h2 { position: relative; font-family: var(--display); font-size: 22px; max-width: 70%; }
.area-aside .checks { margin-top: 20px; font-size: 15.5px; color: var(--on-dark); }
.area-aside .checks .icon { color: var(--amber); }
.area-aside .btn { margin-top: 30px; width: 100%; background: var(--amber); color: var(--ink); }
.area-aside .btn:hover { background: var(--white); }
.area-aside .btn.btn-wa { margin-top: 12px; background: var(--wa); color: #06281A; }
.area-aside .btn.btn-wa:hover { background: #3BE07A; }
.related .area-list { margin-top: 8px; }
.related .display-3 { margin-bottom: 24px; }

/* ---------- Nossa atuação ---------- */
.steps { max-width: 1000px; }
.steps li { display: grid; grid-template-columns: 104px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .step-n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 0 999px 999px 0; background: var(--mint); font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--green); font-variant-numeric: tabular-nums; }
.steps li:nth-child(odd) .step-n { background: var(--amber); color: var(--ink); }
.steps h2 { font-family: var(--display); font-size: clamp(21px, 2vw, 27px); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); }
.steps p { margin-top: 8px; color: var(--slate); max-width: 42em; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact-form { margin-top: 32px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 20px; border: 2px solid var(--line); border-radius: 16px; background: var(--white);
  font-size: 16px; line-height: 1.5; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F4C47' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; padding-right: 48px; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9C8C4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(242,166,58,.35); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 14px; }
.field.check { grid-template-columns: 22px 1fr; align-items: start; column-gap: 12px; }
.field.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--green); }
.field.check label { font-weight: 400; color: var(--text); font-size: 15px; line-height: 1.55; }
.field.check .field-error { grid-column: 2; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--slate); padding: 14px 20px; background: var(--mint); border-radius: 16px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-required { font-size: 13px; color: var(--slate); }
.notice { margin-top: 22px; padding: 16px 20px; border-radius: 16px; font-size: 15px; }
.notice.ok { background: #E3F4EA; color: var(--ok); }
.notice.err { background: #FDECEA; color: var(--error); }
.contact-aside { position: sticky; top: calc(var(--header-h) + 24px); background: var(--green); color: var(--white); padding: clamp(26px, 3vw, 36px); border-radius: var(--r); }
.contact-aside h2 { font-family: var(--display); font-size: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { margin-top: .28em; color: var(--amber); }
.contact-list a { text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.contact-list.big { margin-top: 22px; gap: 22px; }
.contact-list.big span { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 2px; }
.contact-list.big a, .contact-list.big p { color: var(--white); font-weight: 500; }
.aside-oab { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 14px; color: rgba(255,255,255,.7); }

.legal-text { max-width: 48em; }
.link-list { display: grid; gap: 14px; margin-top: 28px; }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; background: var(--green-deep); color: rgba(255,255,255,.7); font-size: 15px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr; gap: clamp(32px, 4vw, 64px); padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(48px, 6vw, 72px); }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: 26px; max-width: 26em; line-height: 1.6; }
.footer-col h2 { font-size: 14px; font-weight: 600; color: var(--amber); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-col .contact-list .icon { color: var(--amber); }
.social { display: flex; flex-wrap: wrap; gap: 8px 18px !important; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.footer-bottom { display: grid; gap: 8px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom .legal { max-width: 72em; }

/* Botão flutuante de WhatsApp (aparece só com o número cadastrado) */
/* WhatsApp: verde da marca WhatsApp só no ícone; texto em tinta escura para manter contraste */
:root { --wa: #25D366; --wa-deep: #128C4A; }
.wa-float {
  position: fixed; z-index: 40; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; padding: 0; border-radius: 50%;
  background: var(--wa); color: var(--white); text-decoration: none; border: 0;
  box-shadow: 0 16px 38px rgba(10,54,50,.22), 0 2px 6px rgba(10,54,50,.08);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: var(--white); }
.wa-float-icon .icon { width: 32px; height: 32px; }
.wa-float:hover { background: #1FB859; transform: translateY(-2px); box-shadow: 0 22px 44px rgba(10,54,50,.28), 0 2px 6px rgba(10,54,50,.08); }
.wa-float { transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .3s var(--ease), visibility .3s; }
.wa-float:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.btn-wa { background: var(--wa); color: #06281A; border-color: var(--wa); }
.btn-wa:hover { background: #3BE07A; border-color: #3BE07A; }
.btn .icon-wa { width: 18px; height: 18px; }
.contact-aside .btn-wa { width: 100%; justify-content: center; margin-top: 26px; }
.topbar .icon-wa, .footer-col .icon-wa { width: 15px; height: 15px; }
.footer-col .contact-list .icon-wa { color: var(--wa); }
/* ---------- Visualização do rascunho (painel) ---------- */
.preview-bar { position: fixed; z-index: 200; left: 0; right: 0; bottom: 0; padding: 10px 16px; background: #FFF3B0; color: #4B3B00; font-size: 14px; text-align: center; }
.is-preview .ph { background: #FFF3B0 !important; color: #4B3B00 !important; outline: 1px dashed #B08A00; outline-offset: 2px; }
.is-preview { padding-bottom: 44px; }
.is-preview .wa-float { bottom: 64px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .nav-cta-item { margin-left: 4px; }
  .nav > ul > li > a:not(.nav-cta) { padding: 0 10px; }
  .brand img { height: 36px; }
  .area-rows a { grid-template-columns: 24px 1fr 52px; }
  .area-rows p { grid-column: 2; grid-row: 2; }
  .area-rows .row-arrow { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 1080px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .brand img { height: 34px; }
  .a11y-label { display: none; }
  .topbar-oab { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -10px; padding: 0; background: none; border: 0; border-radius: 50%; color: var(--green); cursor: pointer; position: relative; z-index: 2; }
  .nav-toggle .icon { width: 26px; height: 26px; }
  .brand { position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; background: var(--white); color: var(--ink);
    display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 56px) var(--gutter) 32px;
    opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s linear .25s; overflow-y: auto;
  }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-top: 1px solid var(--line); }
  .nav > ul > li > a:not(.nav-cta) { display: block; min-height: 0; padding: 18px 0; border-radius: 0; font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
  .nav > ul > li > a:not(.nav-cta):hover, .nav > ul > li > a[aria-current="page"]:not(.nav-cta) { background: none; color: var(--green); }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 48px; height: 48px; background: var(--mint); }
  .sub { position: static; width: 100%; padding: 0 0 14px; background: none; box-shadow: none; border: 0; border-radius: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.is-open .sub { display: block; }
  .has-sub.is-open .sub, .has-sub:hover .sub, .has-sub:focus-within .sub { transform: none; }
  .sub::before { display: none; }
  .sub ul { grid-template-columns: 1fr; gap: 0; }
  .sub a { padding: 10px 0 10px 18px; border-left: 3px solid var(--mint); border-radius: 0; }
  .sub a span { display: none; }
  .sub a:hover, .sub a[aria-current="page"] { background: none; border-left-color: var(--amber); }
  .nav-cta-item { border-top: 0 !important; padding-top: 22px; margin-left: 0; }
  .nav a.nav-cta { display: flex; width: 100%; justify-content: center; font-size: 16px; min-height: 56px; }
  .nav-meta { display: block; font-size: 14px; color: var(--slate); margin-top: 24px; }
  .nav-open .nav { opacity: 1; visibility: visible; transition: opacity .25s var(--ease); }
  .nav-open { overflow: hidden; }
  .nav-open .wa-float { display: none; }

  .hero-grid, .split, .firm-grid, .focus-grid, .profile-grid, .area-detail, .contact-grid, .area-index li, .timeline-head { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; width: 100%; }
  .page-hero-grid.with-media { grid-template-columns: 1fr; }
  .page-hero-art { display: none; }
  .area-index h2 { grid-row: auto; }
  .focus-media { aspect-ratio: 16 / 11; }
  .focus-media picture { border-radius: var(--r); }
  .portrait, .area-aside, .contact-aside { position: relative; top: auto; }
  .portrait { max-width: 420px; }
  .tl-panel { grid-template-columns: 1fr; }
  .cta-s1 { width: 18%; }
  .cta-s2 { right: 18%; width: 22%; }
  .cta-s3 { display: none; }
  .cta-inner { max-width: 74%; }
  .firm-number { width: min(100%, 240px); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand img { height: auto; width: min(64vw, 250px); }
  .topbar-inner { justify-content: center; }
  .topbar ul { margin-left: 0; justify-content: center; }
  .diff-grid, .facts, .field-row, .footer-grid, .area-list { grid-template-columns: 1fr; }
  .area-rows a { grid-template-columns: 1fr 44px; gap: 10px 16px; padding: 24px 4px; }
  .row-mark { display: none; }
  .area-rows h3 { grid-column: 1; }
  .area-rows p { grid-column: 1; grid-row: 2; }
  .row-arrow { width: 44px; height: 44px; grid-column: 2 !important; }
  .hero-actions, .hero-actions .btn, .cta .btn { width: 100%; }
  .form-actions .btn { width: 100%; }
  .hero-tag { right: 0; left: 6%; max-width: none; }
  .steps li { grid-template-columns: 56px 1fr; gap: 16px; }
  .steps .step-n { width: 48px; height: 48px; font-size: 18px; }
  .tl-short { font-size: 19px; }
  .tl-controls { display: none !important; }
  .wa-float { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .wa-float-icon { width: 56px; height: 56px; }
  .wa-float-icon .icon { width: 30px; height: 30px; }
  .cta-box { border-radius: 24px; padding-bottom: 150px; }
  .cta-inner { max-width: none; }
  .cta-s1 { top: auto; left: auto; right: 0; bottom: 0; width: 120px; height: 120px; border-radius: 120px 0 0 0; }
  .cta-s2 { right: 120px; bottom: 0; width: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-header, .cta, .contact-form, .nav-toggle, .wa-float, .tl-controls, .shape { display: none !important; }
  .timeline { background: none !important; color: #000 !important; }
  .timeline .display-2, .tl-panel-main p, .tl-short { color: #000 !important; }
  .tl-panel[hidden] { display: grid !important; }
}

/* ==========================================================================
   Seções adicionadas a partir da apresentação institucional
   ========================================================================== */

/* Formatos de atendimento */
.service { padding-top: 0; }
.service.tint { padding-top: var(--section); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { position: relative; padding: 32px 30px 34px; border-radius: var(--r); background: var(--white); border: 2px solid var(--line); overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: -2px; top: -2px; width: 72px; height: 72px; border-radius: 0 0 0 100%; background: var(--mint); }
.service-card:nth-child(2)::after { background: rgba(242,166,58,.28); }
.service-card:nth-child(3)::after { background: rgba(183,163,242,.35); }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--white); margin-bottom: 26px; }
.service-icon .icon { width: 26px; height: 26px; }
.service-card h3 { font-family: var(--display); font-size: 22px; letter-spacing: -0.015em; color: var(--ink); }
.service-card p { margin-top: 10px; color: var(--slate); font-size: 15.5px; }

/* Principais demandas por tema */
.demand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.demand { padding: 28px 28px 30px; border-radius: var(--r); background: var(--white); }
.demand h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 20px; letter-spacing: -0.015em; color: var(--ink); }
.demand h3::before { content: ""; width: 10px; height: 20px; border-radius: 0 20px 20px 0; background: var(--amber); flex: none; }
.demand ul { display: grid; gap: 8px; margin-top: 18px; }
.demand li { position: relative; padding-left: 18px; color: var(--text); font-size: 15.5px; line-height: 1.5; }
.demand li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Defesa a partir das provas */
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.evidence-text { margin-top: 24px; color: var(--slate); }
.pull-quote { margin: 32px 0 0; padding: 22px 26px; border-radius: 0 var(--r) var(--r) 0; border-left: 6px solid var(--amber); background: var(--white); font-family: var(--display); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.35; letter-spacing: -0.01em; color: var(--green); }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.doc-grid li { display: flex; align-items: center; min-height: 64px; padding: 14px 18px; border-radius: 16px; background: var(--white); font-weight: 500; color: var(--ink); font-size: 15.5px; line-height: 1.35; }
.method-label { margin-top: 36px; }
.mini-method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-method li { padding: 20px 18px 22px; border-radius: 16px; background: var(--green); color: var(--on-dark); font-size: 14.5px; line-height: 1.5; }
.mini-method li:nth-child(2) { background: var(--green-2); }
.mini-method li:nth-child(3) { background: var(--amber); color: rgba(18,20,23,.85); }
.mini-method strong { display: block; margin-bottom: 6px; font-family: var(--display); font-weight: 500; font-size: 19px; color: var(--white); }
.mini-method li:nth-child(3) strong { color: var(--ink); }

/* Modelos de contratação */
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.model { display: flex; flex-direction: column; padding: 32px 30px 34px; border-radius: var(--r); background: var(--mint); }
.model h3 { font-family: var(--display); font-size: 23px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.model p { color: var(--slate); font-size: 15.5px; }
.model .model-summary { margin-top: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--text); }
.model-label { margin-top: 20px; margin-bottom: 4px; font-size: 13px !important; font-weight: 600; color: var(--green) !important; }
.model .checks { margin-top: 8px; gap: 8px; font-size: 15.5px; }
.model.is-featured { background: var(--green); color: var(--white); }
.model.is-featured h3 { color: var(--white); }
.model.is-featured p, .model.is-featured .model-summary { color: var(--on-dark); border-color: var(--line-dark); }
.model.is-featured .model-label { color: var(--amber) !important; }
.model.is-featured .checks { color: var(--white); }
.model.is-featured .checks .icon { color: var(--amber); }

/* Diferenciais: 8 itens */
.diffs .section-head { margin-bottom: clamp(32px, 4vw, 56px); }

@media (max-width: 1080px) {
  .demand-grid, .model-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .evidence-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .demand-grid, .model-grid, .doc-grid, .mini-method { grid-template-columns: 1fr; }
}


/* =====================================================================
   Celular: ajustes de ritmo, proporção e toque (somente telas pequenas)
   ===================================================================== */
html { -webkit-tap-highlight-color: rgba(15,76,71,.12); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.a11y-c-icon { display: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }

@media (max-width: 720px) {
  :root { --gutter: 20px; --section: 64px; --r: 20px; }
  body { line-height: 1.6; }

  /* Barra superior em uma linha: acessibilidade à esquerda, idiomas à direita */
  .topbar { font-size: 12px; }
  .topbar-inner { flex-wrap: nowrap; justify-content: space-between; min-height: 44px; gap: 8px; }
  .topbar ul { margin-left: auto; justify-content: flex-end; flex-wrap: nowrap; gap: 0; }
  .topbar ul > li:not(.lang) { display: none; }          /* o WhatsApp fica no botão flutuante */
  .a11y { gap: 4px; }
  .a11y button, .lang button { min-width: 30px; min-height: 30px; padding: 0 8px; font-size: 12px; }
  .a11y-c-txt { display: none; }
  .a11y-c-icon { display: block; }
  [data-a11y-contrast] { display: inline-grid; place-items: center; width: 30px; padding: 0; }
  .lang { gap: 3px; }

  /* Abertura */
  .hero { padding: 36px 0 56px; }
  .hero-grid { gap: 36px; }
  .hero-title, .display-1 { font-size: clamp(34px, 9.4vw, 42px); line-height: 1.07; }
  .hero-sub, .page-lead { font-size: 17px; line-height: 1.55; }
  .hero-actions { gap: 10px; margin-top: 28px; }
  .btn { min-height: 52px; }
  .hero-art { aspect-ratio: 1 / .78; max-width: none; }
  .hero-photo { left: 12%; bottom: 6%; }

  /* Páginas internas */
  .crumbs { padding-top: 20px; }
  .page-hero-grid { padding: 22px 0 40px; }

  /* Ritmo dos títulos e cabeçalhos de seção */
  .display-2 { font-size: clamp(27px, 7.4vw, 32px); line-height: 1.12; max-width: none; }
  .display-3 { font-size: 22px; }
  .section-head { gap: 14px; margin-bottom: 28px; }
  .section-head p { font-size: 16px; }
  .split { gap: 20px; }
  .tint .diff-grid { margin-top: 32px; }

  /* Áreas na página inicial */
  .area-rows a { padding: 20px 2px; }
  .area-rows h3 { font-size: 20px; }
  .area-rows p { font-size: 15px; }

  /* Bloco "+10" */
  .firm-grid { gap: 36px; justify-items: center; }
  .firm-grid > :not(.firm-number) { justify-self: stretch; }
  .firm-number { width: min(100%, 210px); }
  .big-label { margin-top: 18px; font-size: 13px; }

  /* Diferenciais: cartões compactos, forma à esquerda */
  .diff-grid { gap: 10px; }
  .diff { padding: 20px 20px 22px; }
  .diffs .diff { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .diff h3, .service-card h3, .area-list h3 { overflow-wrap: break-word; hyphens: auto; }
  .diff-shape, .diff:nth-child(4n+4) .diff-shape { grid-row: 1 / span 2; width: 26px; height: 26px; margin: 2px 0 0; }
  .diff:nth-child(4n+1) .diff-shape { width: 13px; }
  .diff:nth-child(4n+4) .diff-shape { height: 13px; margin-top: 8px; }
  .diff h3 { font-size: 18px; }
  .diff p { margin-top: 4px; font-size: 15px; line-height: 1.5; }

  /* Para quem o escritório trabalha */
  .statement { max-width: none; font-size: 22px; line-height: 1.3; text-wrap: pretty; }
  .client-list { gap: 8px; }
  .client-list li { padding: 9px 15px; font-size: 14px; }

  /* Formatos de atendimento: ícone ao lado do título */
  .service-grid { gap: 10px; }
  .service-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; border-width: 1.5px; }
  .service-card::after { width: 52px; height: 52px; }
  .service-icon { grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; }
  .service-icon .icon { width: 22px; height: 22px; }
  .service-card h3 { font-size: 19px; align-self: center; }
  .service-card p { margin-top: 4px; font-size: 15px; line-height: 1.5; }

  /* Linha do tempo */
  .timeline .section-head, .timeline-head { gap: 16px; }

  /* Demandas e listas das áreas */
  .demand-grid, .model-grid { gap: 10px; }
  .demand { padding: 22px 20px; }
  .area-index li { padding: 26px 0; gap: 10px; }
  .area-list { gap: 10px; }
  .area-list a { padding: 22px 64px 22px 20px; }
  .area-list h3 { font-size: 18px; }
  .area-list p { font-size: 14.5px; }
  .area-more { left: auto; right: 18px; top: 22px; bottom: auto; width: 34px; height: 34px; }
  .area-aside, .contact-aside { padding: 26px 22px; }

  /* Quem somos: retrato sem foto ocupa menos espaço */
  .profile-grid { gap: 28px; }
  .portrait { max-width: none; }
  .portrait-placeholder { aspect-ratio: 16 / 9; border-radius: var(--r); }
  .portrait-placeholder img { width: 34%; }

  /* Chamada final */
  .cta-box { border-radius: var(--r); padding: 36px 24px 112px; }
  .cta-box .display-2 { font-size: 28px; }
  .cta-box p { font-size: 16px; }
  .cta-s1 { width: 96px; height: 96px; border-radius: 96px 0 0 0; }
  .cta-s2 { right: 96px; width: 60px; }

  /* Rodapé mais curto */
  .footer-grid { gap: 30px; padding-top: 52px; padding-bottom: 36px; }
  .footer-brand img { width: 220px; height: auto; }
  .footer-col ul { gap: 8px; }
  .footer-col h2 { margin-bottom: 12px; }
  .footer-bottom { padding-bottom: 92px; }

  /* Toque: resposta visual imediata */
  .btn, .nav-cta, .round-btn, .row-arrow, .area-more, .lang button, .a11y button { transition-duration: .15s; }
  .btn:active, .lang button:active, .a11y button:active { transform: scale(.97); }
  .area-rows a:active, .area-list a:active { background: var(--mint); }
}
@media (max-width: 360px) {
  .a11y button, .lang button { min-width: 28px; padding: 0 6px; }
  .a11y, .lang { gap: 2px; }
}
