/* Tunala Advogados — folha de estilos única. Mobile-first, sem dependências. */

/* ---------- Fontes (auto-hospedadas) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
}
/* Fallback com métricas ajustadas: evita salto de layout enquanto a Inter carrega. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0d0c0b;
  --ink-2: #141210;
  --ink-3: #1d1a17;
  --line-dark: rgba(255, 255, 255, 0.11);
  --paper: #f6f2ec;
  --paper-2: #ede6db;
  --card: #fffdf9;
  --line-light: rgba(26, 20, 14, 0.13);

  --copper: #dc946f;
  --copper-hi: #efb594;
  --copper-deep: #8a5633;

  --text-on-dark: #f0ebe4;
  --muted-on-dark: #aaa197;
  --text-on-light: #1a1715;
  --muted-on-light: #5c544c;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 20px;
  --radius-sm: 12px;
  --section: clamp(64px, 9vw, 120px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-on-dark);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
h1 em, h2 em { font-style: italic; color: var(--copper); }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--copper); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--copper); color: var(--ink); border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.staging-bar { padding: 8px var(--gutter); background: #3a2a12; color: #f6d9a8; font-size: 0.8125rem; text-align: center; }
mark.ph { padding: 1px 6px; border-radius: 5px; background: #ffe08a; color: #4a3500; font-size: 0.86em; font-weight: 500; font-style: normal; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--copper); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--copper-deep); }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 0.97rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--copper); color: var(--ink); }
.btn--primary:hover { background: var(--copper-hi); }
.btn--ghost { border-color: var(--line-dark); color: var(--text-on-dark); background: rgba(255, 255, 255, 0.03); }
.btn--ghost:hover { border-color: var(--copper); color: var(--copper-hi); }
.btn--dark { background: var(--ink); color: var(--text-on-dark); }
.btn--dark:hover { background: var(--ink-3); }
.btn--outline-dark { border-color: rgba(13, 12, 11, 0.35); color: var(--ink); }
.btn--outline-dark:hover { border-color: var(--ink); background: rgba(13, 12, 11, 0.06); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--copper); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.link-arrow:hover { border-color: currentColor; }
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--dark { color: var(--copper-deep); }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 12, 11, 0.82); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line-dark); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { width: 186px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 6px; }
.site-nav__list a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--muted-on-dark); font-size: 0.94rem; font-weight: 500; text-decoration: none; transition: color 0.2s, background-color 0.2s; }
.site-nav__list a:hover { color: var(--text-on-dark); background: rgba(255, 255, 255, 0.05); }
.site-nav__list a[aria-current="page"] { color: var(--copper-hi); }
.nav-portal { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--text-on-dark); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
.nav-portal .icon { width: 18px; height: 18px; color: var(--copper); }
.nav-portal__ext { width: 13px !important; height: 13px !important; color: var(--muted-on-dark) !important; }
.nav-portal:hover { border-color: var(--copper); background: rgba(220, 148, 111, 0.08); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-dark); border-radius: 12px; background: transparent; color: var(--text-on-dark); cursor: pointer; }
.nav-toggle__close { display: none; }

@media (max-width: 899px) {
  .site-header__inner { flex-wrap: wrap; }
  /* Sem JS o menu fica sempre visível, abaixo da logo. */
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding-bottom: 18px; }
  .site-nav__list { flex-direction: column; gap: 2px; }
  .site-nav__list a { padding: 13px 14px; font-size: 1.02rem; }
  .nav-portal { justify-content: center; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .nav-open .site-nav { display: flex; }
  .js .nav-open .nav-toggle__open { display: none; }
  .js .nav-open .nav-toggle__close { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 8%, rgba(13, 12, 11, 0.74) 52%, rgba(13, 12, 11, 0.5) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 38%), url("../img/bg-colunas.webp") center / cover no-repeat; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__lead { max-width: 56ch; margin-top: 26px; color: var(--muted-on-dark); font-size: clamp(1.06rem, 1.4vw, 1.22rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__actions--center { justify-content: center; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-dark); color: var(--muted-on-dark); font-size: 0.92rem; }
.hero__facts li { display: flex; align-items: baseline; gap: 6px; }
.hero__facts strong { color: var(--copper); font: 400 1.7rem/1 var(--serif); }
.hero__facts span { color: var(--copper); font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.hero__media { position: relative; justify-self: center; max-width: 460px; }
.hero__media::before { content: ""; position: absolute; inset: 12% -6% -4% 6%; z-index: -1; border-radius: 40px; background: radial-gradient(60% 60% at 50% 40%, rgba(210, 151, 111, 0.28), transparent 70%); filter: blur(30px); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; }
  .hero__media { justify-self: end; }
}

/* ---------- Valores ---------- */
.values { background: var(--ink-2); border-block: 1px solid var(--line-dark); }
.values__grid { display: grid; }
.value { display: flex; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.value:first-child { border-top: 0; }
.value .icon { width: 26px; height: 26px; margin-top: 2px; color: var(--copper); }
.value__title { margin-bottom: 4px; font: 600 1rem/1.3 var(--sans); letter-spacing: 0; }
.value p { color: var(--muted-on-dark); font-size: 0.92rem; line-height: 1.55; }
@media (min-width: 640px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .value { padding: 30px 28px; }
  .value:nth-child(2) { border-top: 0; }
  .value:nth-child(odd) { padding-left: 0; }
  .value:nth-child(even) { border-left: 1px solid var(--line-dark); }
}
@media (min-width: 1040px) {
  .values__grid { grid-template-columns: repeat(4, 1fr); }
  .value { border-top: 0; border-left: 1px solid var(--line-dark); }
  .value:nth-child(odd) { padding-left: 28px; }
  .value:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); color: var(--text-on-light); }
.section--paper-2 { background: var(--paper-2); color: var(--text-on-light); }
.section--dark { background: var(--ink-2); }
.section--paper h2 em, .section--paper-2 h2 em { color: var(--copper-deep); }
.section__head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__head--left .eyebrow { justify-content: flex-start; }
.section__lead { margin-top: 18px; color: var(--muted-on-light); font-size: 1.08rem; }
.section--dark .section__lead { color: var(--muted-on-dark); }

/* ---------- Cards de área ---------- */
.areas-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .areas-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .area-card { gap: 12px; padding: 26px 24px 22px; }
  .area-card__icon { width: 46px; height: 46px; border-radius: 12px; }
  .area-card__icon .icon { width: 23px; height: 23px; }
  .area-card__title { min-height: 2.3em; font-size: 1.4rem; line-height: 1.15; }
  .area-card p { font-size: 0.93rem; line-height: 1.55; }
}
.area-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 26px; background: var(--card); border: 1px solid var(--line-light); border-radius: var(--radius); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.area-card:hover, .area-card:focus-within { transform: translateY(-4px); border-color: var(--copper); box-shadow: 0 22px 44px -26px rgba(74, 44, 20, 0.45); }
.area-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--copper); }
.area-card__icon .icon { width: 26px; height: 26px; }
.area-card__title { font: 400 1.6rem/1.15 var(--serif); letter-spacing: -0.01em; }
.area-card__title a { text-decoration: none; }
.area-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* card inteiro clicável */
.area-card p { color: var(--muted-on-light); font-size: 0.97rem; line-height: 1.6; }
.area-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; color: var(--copper-deep); font-size: 0.9rem; font-weight: 600; }
.area-card__more .icon { transition: transform 0.3s var(--ease); }
.area-card:hover .area-card__more .icon { transform: translateX(4px); }

/* ---------- Sobre (home) ---------- */
.about { position: relative; isolation: isolate; overflow: hidden; }
.about__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink-2) 0%, rgba(20, 18, 16, 0.55) 45%, var(--ink-2) 100%), url("../img/bg-escritorio.webp") center / cover no-repeat; opacity: 0.9; }
.about__grid { display: grid; gap: 36px; }
.about__text { display: grid; gap: 18px; color: var(--muted-on-dark); font-size: 1.06rem; }
.about__sign { display: grid; gap: 2px; margin-top: 8px; padding-left: 18px; border-left: 2px solid var(--copper); color: var(--text-on-dark); }
.about__sign span { color: var(--muted-on-dark); font-size: 0.9rem; }
.about__text .link-arrow { justify-self: start; margin-top: 6px; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: start; } }

/* ---------- Etapas ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.step { position: relative; padding: 28px 26px 30px; background: var(--card); border: 1px solid var(--line-light); border-radius: var(--radius); }
.step__num { display: block; margin-bottom: 22px; color: var(--copper-deep); font: 400 2.6rem/1 var(--serif); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted-on-light); font-size: 0.96rem; line-height: 1.6; }
@media (min-width: 1040px) {
  .step { background: transparent; border: 0; border-left: 1px solid var(--line-light); border-radius: 0; padding: 6px 30px 10px; }
  .step:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; } .faq-layout .section__head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; } }
.faq-layout .link-arrow { margin-top: 24px; }
.faq { border-top: 1px solid var(--line-light); }
.faq__item { border-bottom: 1px solid var(--line-light); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 2px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font: 600 1.06rem/1.4 var(--sans); }
.faq__mark { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line-light); border-radius: 50%; transition: background-color 0.25s, border-color 0.25s, transform 0.35s var(--ease); }
.faq__mark::before, .faq__mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.35s var(--ease); }
.faq__mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__mark { background: var(--ink); border-color: var(--ink); color: var(--copper); }
.faq__item[open] .faq__mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item summary:hover .faq__mark { border-color: var(--copper-deep); }
.faq__a { padding: 0 56px 26px 2px; color: var(--muted-on-light); }
.prose .faq { margin-top: 20px; }

/* ---------- Contato e formulário ---------- */
.contact__grid { display: grid; gap: 44px; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; } }
.contact__intro > p { margin-top: 20px; color: var(--muted-on-dark); }
.contact__intro h2, .contact__form h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.contact__form h2 { margin-bottom: 26px; }
.contact__list { display: grid; gap: 14px; margin-top: 32px; }
.contact__list li { display: flex; align-items: flex-start; gap: 14px; color: var(--text-on-dark); }
.contact__list .icon { margin-top: 3px; color: var(--copper); }
.contact__list a { text-decoration: none; border-bottom: 1px solid var(--line-dark); transition: border-color 0.2s, color 0.2s; }
.contact__list a:hover { color: var(--copper-hi); border-color: var(--copper); }
.contact__list--cards li { padding: 18px 20px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); }
.contact__list--cards li div { display: grid; gap: 2px; }
.contact__list--cards strong { color: var(--muted-on-dark); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.contact__list--cards a { justify-self: start; }
.contact__form { padding: clamp(24px, 4vw, 44px); background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: calc(var(--radius) + 4px); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { color: var(--text-on-dark); font-size: 0.9rem; font-weight: 500; }
.field__opt { color: var(--muted-on-dark); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04); color: var(--text-on-dark);
  border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d2976f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { background: var(--ink-3); color: var(--text-on-dark); }
.field input::placeholder, .field textarea::placeholder { color: #7d756c; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); background-color: rgba(210, 151, 111, 0.06); box-shadow: 0 0 0 3px rgba(210, 151, 111, 0.2); }
.field [aria-invalid="true"] { border-color: #ff9f8c; }
.field__error { color: #ffb3a3; font-size: 0.86rem; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--check { grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--copper); }
.field--check label { color: var(--muted-on-dark); font-size: 0.88rem; font-weight: 400; line-height: 1.55; }
.field--check label a { color: var(--copper-hi); }
.field--check .field__error { grid-column: 1 / -1; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 6px; }
.form__note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-on-dark); font-size: 0.84rem; }
.form__note .icon { color: var(--copper); }
.form__status { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form__status.is-ok { background: rgba(126, 200, 150, 0.12); border: 1px solid rgba(126, 200, 150, 0.45); color: #bfe8cb; }
.form__status.is-error { background: rgba(255, 140, 120, 0.1); border: 1px solid rgba(255, 159, 140, 0.45); color: #ffc4b8; }

/* ---------- Faixa de CTA ---------- */
.cta-band { background: linear-gradient(115deg, #dca47c 0%, var(--copper) 45%, #c08459 100%); color: var(--ink); }
.cta-band__inner { display: grid; gap: 28px; align-items: center; padding-block: clamp(44px, 6vw, 72px); }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta-band p { max-width: 56ch; margin-top: 12px; color: rgba(13, 12, 11, 0.78); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 84px); background: radial-gradient(80% 120% at 85% 0%, rgba(210, 151, 111, 0.16), transparent 60%), var(--ink); border-bottom: 1px solid var(--line-dark); }
.page-hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
.page-hero__lead { max-width: 68ch; margin-top: 20px; color: var(--muted-on-dark); font-size: clamp(1.04rem, 1.3vw, 1.18rem); }
.page-hero__title { display: flex; align-items: center; gap: 20px; }
.page-hero__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 64px; height: 64px; border: 1px solid rgba(210, 151, 111, 0.4); border-radius: 18px; background: rgba(210, 151, 111, 0.08); color: var(--copper); }
.page-hero__icon .icon { width: 30px; height: 30px; }
.page-hero--center { padding-block: clamp(72px, 12vw, 150px); text-align: center; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero__icon--ok { margin: 0 auto 26px; border-radius: 50%; }
@media (max-width: 560px) { .page-hero__title { flex-direction: column; align-items: flex-start; gap: 16px; } }

.breadcrumb { margin-bottom: 26px; font-size: 0.86rem; color: var(--muted-on-dark); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li + li::before { content: "/"; margin-inline: 10px; opacity: 0.5; }
.breadcrumb a { text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--copper-hi); }
.breadcrumb [aria-current] { color: var(--text-on-dark); }

.area-layout { display: grid; gap: 48px; }
@media (min-width: 1000px) { .area-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; } .area-aside { position: sticky; top: calc(var(--header-h) + 28px); } }

.prose { max-width: 72ch; }
.prose--narrow { margin-inline: auto; }
.prose--justify p, .prose--justify li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; text-wrap: initial; }
.prose--justify .prose__meta { text-align: left; }
.prose > p { margin-top: 18px; color: #2f2a26; font-size: 1.08rem; }
.prose > p:first-child { margin-top: 0; font-size: 1.2rem; line-height: 1.6; color: var(--text-on-light); }
.prose h2 { margin-top: clamp(40px, 5vw, 60px); font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.prose > ul:not([class]) { display: grid; gap: 12px; margin-top: 18px; padding-left: 22px; list-style: disc; color: #2f2a26; }
.prose > ul:not([class]) li::marker { color: var(--copper-deep); }
.prose a:not(.btn) { color: var(--copper-deep); text-underline-offset: 3px; }
.prose__meta--top { margin-top: 0 !important; padding-top: 0; border-top: 0; margin-bottom: 26px; }
.prose__meta { margin-top: 40px !important; padding-top: 22px; border-top: 1px solid var(--line-light); color: var(--muted-on-light) !important; font-size: 0.88rem !important; }

.service-list { display: grid; gap: 12px; margin-top: 24px; }
.service-list li { display: flex; gap: 16px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line-light); border-radius: var(--radius-sm); }
.service-list .icon { width: 22px; height: 22px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--ink); color: var(--copper); }
.service-list strong { display: block; font-weight: 600; }
.service-list span { display: block; margin-top: 2px; color: var(--muted-on-light); font-size: 0.96rem; line-height: 1.55; }
.when-list { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line-light); }
.when-list li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line-light); color: #2f2a26; }
.when-list li::before { content: ""; position: absolute; left: 4px; top: 1.55em; width: 14px; height: 1.5px; background: var(--copper-deep); }

.aside-card { padding: 28px 26px; background: var(--card); border: 1px solid var(--line-light); border-radius: var(--radius); }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card h2 { font-size: 1.6rem; }
.aside-card p { margin-top: 10px; color: var(--muted-on-light); font-size: 0.96rem; }
.aside-card .btn { margin-top: 14px; }
.aside-card .btn:first-of-type { margin-top: 22px; }
.aside-card--dark { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); }
.aside-card--dark p { color: var(--muted-on-dark); }
.aside-links { display: grid; margin: 16px 0 20px; }
.aside-links a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-light); font-weight: 500; text-decoration: none; transition: color 0.2s, padding-left 0.25s var(--ease); }
.aside-links a:hover { padding-left: 4px; color: var(--copper-deep); }
.aside-links .icon { color: var(--copper-deep); }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 0.85fr; gap: 80px; } }
.split__media { justify-self: center; max-width: 420px; padding: 28px 28px 0; border-radius: calc(var(--radius) + 8px); background: linear-gradient(160deg, var(--ink-3), var(--ink)); }
.prose h2:first-child { margin-top: 0; }

.pillars { display: grid; gap: 18px; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { padding: 30px 26px; background: var(--card); border: 1px solid var(--line-light); border-radius: var(--radius); }
.pillar__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--ink); color: var(--copper); }
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--muted-on-light); font-size: 0.96rem; line-height: 1.6; }

.team { display: grid; gap: 18px; max-width: 760px; margin-inline: auto; }
.team-card { padding: 30px 28px; background: var(--card); border: 1px solid var(--line-light); border-left: 3px solid var(--copper); border-radius: var(--radius-sm); }
.team-card h3 { font: 400 1.7rem/1.2 var(--serif); }
.team-card__role { margin-top: 6px; color: var(--copper-deep); font-size: 0.92rem; font-weight: 600; }
.team-card p:last-child:not(.team-card__role) { margin-top: 14px; color: var(--muted-on-light); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-dark); color: var(--muted-on-dark); font-size: 0.93rem; }
.site-footer__grid { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 80px) 40px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .site-footer__grid { grid-template-columns: 1.3fr 1.1fr 0.8fr 1.2fr; gap: 48px; } }
.site-footer__brand img { width: 186px; margin-bottom: 18px; }
.site-footer__brand p { max-width: 34ch; }
.site-footer__oab { margin-top: 12px; color: var(--text-on-dark); font-size: 0.86rem; }
.site-footer__title { margin-bottom: 16px; color: var(--text-on-dark); font: 600 0.78rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--copper-hi); }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 12px; }
.site-footer__contact .icon { margin-top: 3px; color: var(--copper); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 22px 28px; padding-right: calc(var(--gutter) + 70px); background: linear-gradient(var(--line-dark), var(--line-dark)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: 0.82rem; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: #1faa59; color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.55); transition: transform 0.25s var(--ease), background-color 0.25s; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: #23bd63; }
.wa-float .icon { width: 30px; height: 30px; stroke-width: 1.7; }

/* ---------- Movimento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__text > * { animation: rise 0.9s var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: 0.08s; }
  .hero__text > :nth-child(3) { animation-delay: 0.16s; }
  .hero__text > :nth-child(4) { animation-delay: 0.24s; }
  .hero__text > :nth-child(5) { animation-delay: 0.32s; }
  .hero__media { animation: rise 1.1s 0.15s var(--ease) both; }

  @supports (animation-timeline: view()) {
    .area-card, .step, .pillar, .service-list li, .section__head, .about__grid > *, .contact__grid > * {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 38%;
    }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Impressão ---------- */
@media print {
  .site-header, .wa-float, .cta-band, .staging-bar, .area-aside, .contact__form { display: none !important; }
  body, .section--paper, .section--paper-2, .page-hero { background: #fff !important; color: #000 !important; }
  .faq__item:not([open]) .faq__a { display: block; }
}
