/* Castello Branco Advogados — estilos do site (HTML puro) */

:root {
  --bg: oklch(99.4% .002 85);
  --fg: oklch(29% .045 164);
  --primary: oklch(32% .052 163);
  --primary-2: oklch(27% .046 163);
  --on-primary: oklch(99% .006 88);
  --sand: oklch(96% .009 100);
  --muted: oklch(50% .016 150);
  --accent: oklch(94% .018 150);
  --border: oklch(89% .01 130);
  --gold: oklch(76% .076 85);
  --gold-hover: oklch(82% .076 85);
  --gold-deep: oklch(56% .085 78);
  --ink: oklch(24% .035 161);
  --hero-fg: oklch(98% .006 90);
  --hero-muted: oklch(84% .009 130);
  --danger: oklch(55% .18 28);
  --shadow: 0 5px 24px oklch(22% .03 160 / .1);
  --shadow-lg: 0 24px 60px oklch(22% .03 160 / .16);
  --radius: 4px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1080px) {
  :root { --header-h: 64px; }
}

/* ---------- 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(--bg); color: var(--fg); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.ico { width: 22px; height: 22px; flex-shrink: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 12px 18px; border-radius: var(--radius); font-weight: 600; font-size: 14px; }
.skip-link:focus { top: 12px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent; font-size: 14px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s; }
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover .arrow-ur { transform: translate(2px, -2px); }
.btn:hover .arrow-r { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); box-shadow: 0 10px 26px oklch(60% .08 85 / .32); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-2); }
.btn-outline { border-color: var(--border); color: var(--fg); background: var(--bg); }
.btn-outline:hover { border-color: var(--fg); }
.btn-ghost-light { border-color: oklch(98% .006 90 / .42); color: var(--hero-fg); }
.btn-ghost-light:hover { background: oklch(98% .006 90 / .1); border-color: var(--hero-fg); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--fg); }
.icon-btn svg { width: 20px; height: 20px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--primary); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .2s; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { border-color: var(--gold); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- topo ---------- */
.topbar { background: var(--ink); color: var(--hero-muted); font-size: 12.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 38px; }
.topbar ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.topbar li { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; color: var(--gold); }
.topbar a { color: var(--hero-fg); transition: color .2s; }
.topbar a:hover { color: var(--gold); }
@media (max-width: 1080px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: oklch(99.4% .002 85 / .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px oklch(22% .03 160 / .07); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .3s var(--ease); }
@media (min-width: 1081px) { .site-header.is-scrolled .header-inner { height: 70px; } }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { position: relative; width: 42px; height: 40px; font-family: var(--serif); font-weight: 500; color: var(--gold-deep); }
.brand-mark span { position: absolute; line-height: 1; }
.brand-mark span:first-child { left: 0; top: -4px; font-size: 46px; }
.brand-mark span:last-child { left: 17px; top: 8px; font-size: 28px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.brand-text small { font-size: 9.5px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 14px; font-weight: 500; border-radius: var(--radius); }
.nav-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link.is-current::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-cta { flex-shrink: 0; }
.menu-toggle { display: none; padding: 0 14px; font-size: 13px; font-weight: 600; }

@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .brand-mark { transform: scale(.88); transform-origin: left center; margin-right: -4px; }
  .brand-text strong { font-size: 18px; }
}

/* mega-menu de áreas */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s, transform .3s var(--ease), visibility 0s .3s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .3s var(--ease), visibility 0s; }
.mega-inner { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 36px 0 40px; }
.mega-intro h2 { font-size: 32px; margin: 14px 0 12px; }
.mega-intro p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega-item { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 6px; transition: background .2s; }
.mega-item:hover, .mega-item:focus-visible { background: var(--sand); }
.mega-item .ico-wrap { width: 42px; height: 42px; }
.mega-item strong { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 4px; line-height: 1.35; }
.mega-item span { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1080px) { .mega { display: none; } }

.ico-wrap { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--primary); flex-shrink: 0; transition: background .3s, color .3s; }
.ico-wrap svg { width: 21px; height: 21px; }

/* menu do celular */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; transition: visibility 0s .45s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer-backdrop { position: absolute; inset: 0; background: oklch(17% .026 164 / .55); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 440px); background: var(--bg); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .45s var(--ease); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 var(--gutter); border-bottom: 1px solid var(--border); }
.drawer-nav { flex: 1; padding: 8px var(--gutter) 24px; }
.drawer-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 0; border-bottom: 1px solid var(--border); font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.1; cursor: pointer; list-style: none; }
.drawer-link::-webkit-details-marker { display: none; }
.drawer-link svg { width: 20px; height: 20px; color: var(--muted); transition: transform .3s var(--ease); }
.drawer-link[aria-current="page"] { color: var(--gold-deep); }
.drawer-group[open] > .drawer-link svg { transform: rotate(180deg); }
.drawer-sub { list-style: none; margin: 0; padding: 10px 0 14px; display: grid; gap: 2px; border-bottom: 1px solid var(--border); }
.drawer-sub a { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 15px; font-weight: 500; }
.drawer-sub .ico-wrap { width: 36px; height: 36px; }
.drawer-sub .ico-wrap svg { width: 17px; height: 17px; }
.drawer-sub .all { color: var(--primary); font-weight: 700; padding-left: 50px; }
.drawer-foot { display: grid; gap: 10px; padding: 20px var(--gutter) 28px; background: var(--sand); border-top: 1px solid var(--border); }
.drawer-legal { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 6px; }

/* ---------- elementos de seção ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-sand { background: var(--sand); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.section-title { font-size: clamp(36px, 4.6vw, 58px); margin-top: 16px; }
.section-aside { max-width: 360px; color: var(--muted); font-size: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--hero-fg); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 35%; animation: heroZoom 14s var(--ease) both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(17% .026 164 / .93) 0%, oklch(17% .026 164 / .74) 42%, oklch(17% .026 164 / .12) 100%); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-inner { display: flex; flex-direction: column; justify-content: center; min-height: clamp(560px, calc(100svh - var(--header-h) - 38px), 800px); padding: 72px 0 128px; max-width: 660px; }
.hero h1 { font-size: clamp(50px, 7vw, 88px); line-height: .98; margin-top: 26px; }
.hero h1 em { display: block; font-style: normal; color: var(--gold); }
.hero-tagline { font-family: var(--serif); font-size: clamp(25px, 2.8vw, 34px); line-height: 1.22; margin-top: 30px; }
.hero-lead { color: var(--hero-muted); margin-top: 16px; max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 13px; color: var(--hero-muted); }
.hero-note svg { width: 17px; height: 17px; color: var(--gold); }
@media (max-width: 720px) {
  .hero-media img { object-position: 74% center; }
  .hero-media::after { background: linear-gradient(180deg, oklch(17% .026 164 / .5) 0%, oklch(17% .026 164 / .82) 50%, oklch(17% .026 164 / .96) 100%); }
  .hero-inner { justify-content: flex-end; padding: 120px 0 112px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* faixa de confiança */
.trust { position: relative; z-index: 2; margin-top: -68px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg); border: 1px solid var(--border); border-radius: 6px; box-shadow: var(--shadow-lg); }
.trust-item { display: flex; align-items: flex-start; gap: 16px; padding: 26px 28px; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item svg { width: 26px; height: 26px; color: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }
.trust-item strong { display: block; font-size: 15px; font-weight: 700; }
.trust-item span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 20px 22px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--border); }
}

/* ---------- áreas (cards da home) ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area-card { position: relative; display: flex; flex-direction: column; min-height: 264px; padding: 30px 28px 26px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.area-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); border-radius: 6px 6px 0 0; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.area-card:hover::before { transform: scaleX(1); }
.area-card:hover .ico-wrap { background: var(--primary); color: var(--gold); }
.area-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.area-num { font-family: var(--serif); font-size: 19px; color: var(--muted); }
.area-card h3 { font-size: 26px; margin-bottom: 10px; }
.area-card p { color: var(--muted); font-size: 14.5px; }
.area-card .link-arrow { margin-top: auto; padding-top: 22px; align-self: flex-start; }
@media (max-width: 980px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .areas-grid { grid-template-columns: 1fr; gap: 10px; }
  .area-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; min-height: 0; padding: 20px 18px; }
  .area-top { grid-row: span 3; margin: 0; }
  .area-top .ico-wrap { width: 44px; height: 44px; }
  .area-num { display: none; }
  .area-card h3 { font-size: 22px; margin-bottom: 4px; }
  .area-card p { font-size: 14px; }
  .area-card .link-arrow { padding-top: 10px; font-size: 13px; }
}

/* ---------- sobre (home) ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 6px; }
.about-badge { position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--primary); color: var(--on-primary); border-radius: var(--radius); font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg); }
.about-badge svg { width: 20px; height: 20px; color: var(--gold); }
.about-text h2 { font-size: clamp(36px, 4.4vw, 56px); margin-top: 16px; }
.about-text p { color: var(--muted); margin-top: 18px; }
.check-list { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 28px 0 34px; padding: 0; }
.check-list li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.check-list svg { width: 17px; height: 17px; color: var(--gold-deep); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; padding: 0 clamp(20px, 3vw, 40px) 0 0; }
.step + .step { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--border); }
.step-num { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--gold); }
.step h3 { font-size: 27px; margin: 18px 0 10px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step, .step + .step { display: grid; grid-template-columns: 64px 1fr; padding: 22px 0; border-left: 0; border-top: 1px solid var(--border); }
  .step-num { font-size: 44px; grid-row: span 2; }
  .step h3 { margin: 4px 0 6px; font-size: 24px; }
}

/* ---------- notícias ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.news-card { display: flex; flex-direction: column; }
.news-card.is-hidden { display: none; }
.news-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 6px; background: var(--sand); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 20px 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.news-meta time { font-size: 12.5px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--muted); white-space: nowrap; }
.news-card h3 { font-size: 26px; line-height: 1.14; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .3s; }
.news-card:hover h3 { text-decoration-color: var(--gold); }
.news-card p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.news-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--muted); }
.news-foot .read { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); }
.news-foot .read svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.news-card:hover .read svg { transform: translateX(3px); }
.news-foot .mins { display: inline-flex; align-items: center; gap: 6px; }
.news-foot .mins svg { width: 14px; height: 14px; }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-grid.is-scroller { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .news-grid.is-scroller::-webkit-scrollbar { display: none; }
  .news-grid.is-scroller > * { scroll-snap-align: start; }
}

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 44px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--fg); }
.chip .count { font-size: 11.5px; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.chip[aria-pressed="true"] .count { color: var(--hero-muted); }
@media (max-width: 620px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
}

/* ---------- faixa de contato ---------- */
.band { position: relative; overflow: hidden; background: var(--primary); color: var(--hero-fg); padding: clamp(64px, 8vw, 104px) 0; }
.band::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, oklch(76% .076 85 / .16), transparent 65%); pointer-events: none; }
.band-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px 48px; flex-wrap: wrap; }
.band h2 { font-size: clamp(34px, 4.4vw, 56px); margin-top: 16px; }
.band p { color: var(--hero-muted); margin-top: 16px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 620px) { .band-actions { width: 100%; } .band-actions .btn { flex: 1 1 100%; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside h2 { font-size: clamp(36px, 4.2vw, 52px); margin-top: 16px; }
.faq-aside p { color: var(--muted); margin: 18px 0 28px; max-width: 360px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item .pm { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 50%; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; }
.faq-item .pm svg { width: 16px; height: 16px; }
.faq-item[open] .pm { transform: rotate(45deg); background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.faq-answer { padding: 0 58px 26px 0; color: var(--muted); }
.faq-item[open] .faq-answer { animation: fadeDown .4s var(--ease); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq-aside { position: static; } .faq-answer { padding-right: 0; } .faq-item summary { font-size: 16px; } }

/* ---------- newsletter ---------- */
.newsletter { background: var(--sand); border-top: 1px solid var(--border); padding: 56px 0; }
.newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; }
.newsletter h2 { font-size: clamp(30px, 3.4vw, 42px); margin-top: 12px; }
.nl-form { flex: 1 1 360px; max-width: 480px; }
.nl-row { display: flex; align-items: center; border-bottom: 1px solid var(--fg); }
.nl-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 0; font: inherit; font-size: 16px; color: var(--fg); }
.nl-row input:focus { outline: none; }
.nl-row:focus-within { border-color: var(--gold-deep); }
.nl-row button { display: grid; place-items: center; width: 44px; height: 44px; background: var(--gold); color: var(--ink); border-radius: var(--radius); transition: background .2s; }
.nl-row button:hover { background: var(--gold-hover); }
.nl-row button svg { width: 18px; height: 18px; }
.nl-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--ink); color: var(--hero-muted); font-size: 14px; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.site-footer .brand-text strong { color: var(--hero-fg); }
.site-footer .brand-text small { color: var(--hero-muted); }
.site-footer .brand-mark { color: var(--gold); }
.footer-about p { margin-top: 22px; max-width: 280px; }
.footer-col h3 { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--hero-fg); letter-spacing: .02em; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-col a svg { width: 14px; height: 14px; }
.footer-transp svg { width: 24px; height: 24px; color: var(--gold); margin-bottom: 12px; }
.footer-transp p { font-size: 13px; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid oklch(80% .025 95 / .18); font-size: 12.5px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .site-footer { padding-top: 56px; } .site-footer { padding-bottom: 72px; } }

/* ---------- WhatsApp flutuante + cookies ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 65; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 700; box-shadow: 0 12px 28px oklch(22% .03 160 / .28); transition: background .25s, transform .3s var(--ease), opacity .3s; }
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { background: var(--gold-hover); transform: translateY(-2px); }
@media (max-width: 620px) {
  .wa-float { right: 14px; bottom: 14px; width: 54px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.has-cookie .wa-float { opacity: 0; pointer-events: none; }
}

.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 70; display: none; max-width: 390px; padding: 18px 20px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-lg); }
.cookie.is-visible { display: block; animation: fadeUp .45s var(--ease); }
.cookie-title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.cookie-title svg { width: 18px; height: 18px; color: var(--gold-deep); }
.cookie p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cookie p a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 8px; margin-top: 14px; }
.cookie-actions .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
@media (max-width: 620px) { .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ---------- páginas internas ---------- */
.page-hero { background: var(--sand); border-bottom: 1px solid var(--border); padding: clamp(28px, 4vw, 44px) 0 clamp(56px, 7vw, 96px); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0 0 clamp(36px, 5vw, 60px); padding: 0; font-size: 12.5px; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--border); }
.breadcrumb a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--fg); font-weight: 600; }
.page-hero h1 { font-size: clamp(42px, 5.8vw, 74px); max-width: 920px; margin-top: 18px; }
.page-hero .lead { max-width: 640px; margin-top: 22px; font-size: 17px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split h2 { font-size: clamp(36px, 4.4vw, 56px); margin-top: 16px; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; border-radius: 6px; }
.prose p { color: var(--muted); margin-top: 18px; }
.note { margin-top: 24px; padding: 4px 0 4px 16px; border-left: 2px solid var(--gold); font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 32px 30px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; }
.value h3 { font-size: 27px; margin: 22px 0 10px; }
.value p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* áreas de atuação (página) */
.areas-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.areas-layout > * { min-width: 0; }
.areas-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.areas-nav-label { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.areas-nav ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.areas-nav a { display: grid; grid-template-columns: 30px 1fr; gap: 8px; margin-left: -1px; padding: 13px 0 13px 20px; border-left: 2px solid transparent; font-size: 14.5px; line-height: 1.4; color: var(--muted); transition: color .2s, border-color .2s; }
.areas-nav a:hover { color: var(--fg); }
.areas-nav a[aria-current="true"] { color: var(--fg); font-weight: 700; border-color: var(--gold); }
.areas-nav .n { font-family: var(--serif); font-size: 17px; font-weight: 500; }
.areas-help { margin-top: 28px; padding: 24px; background: var(--sand); border-radius: 6px; }
.areas-help strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.areas-help p { font-size: 13.5px; color: var(--muted); margin: 8px 0 16px; }

.area-panel + .area-panel { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--border); }
.js .area-panel:not(.is-active) { display: none; }
.js .area-panel + .area-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.js .area-panel.is-active { animation: fadeUp .5s var(--ease); }
.area-head { display: flex; align-items: flex-start; gap: 20px; padding-bottom: 30px; margin-bottom: 38px; border-bottom: 1px solid var(--border); }
.area-head .ico-wrap { width: 56px; height: 56px; background: var(--primary); color: var(--gold); }
.area-head .ico-wrap svg { width: 24px; height: 24px; }
.area-head .num { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gold-deep); }
.area-head h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 6px; }
.area-head p { color: var(--muted); margin-top: 10px; font-size: 17px; }
.area-block + .area-block { margin-top: 44px; }
.area-block h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.area-block > p { color: var(--muted); max-width: 720px; }
.sit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sit { padding: 24px 22px; background: var(--sand); border-radius: 6px; }
.sit h4 { font-family: var(--sans); font-size: 15.5px; font-weight: 700; letter-spacing: 0; line-height: 1.35; margin-bottom: 10px; }
.sit p { font-size: 14.5px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.two-col > div > p { color: var(--muted); }
.doc-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.doc-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; }
.doc-list svg { width: 18px; height: 18px; color: var(--gold-deep); margin-top: 3px; }
.doc-hint { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.callout { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; margin-top: 48px; padding: 28px 32px; background: var(--primary); color: var(--hero-fg); border-radius: 6px; }
.callout strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.2; }
.callout p { color: var(--hero-muted); font-size: 14px; margin-top: 4px; }
.callout-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.area-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; }
.area-pager a { display: flex; flex-direction: column; gap: 4px; max-width: 48%; font-size: 12.5px; color: var(--muted); }
.area-pager a:last-child { text-align: right; margin-left: auto; }
.area-pager strong { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.2; color: var(--fg); transition: color .2s; }
.area-pager a:hover strong { color: var(--gold-deep); }
.disclaimer { margin-top: 48px; font-size: 13px; color: var(--muted); }
.js .area-panel .disclaimer-inline { display: none; }

@media (max-width: 980px) {
  .areas-layout { grid-template-columns: 1fr; gap: 28px; }
  .areas-nav { top: var(--header-h); z-index: 20; margin: 0 calc(-1 * var(--gutter)); padding: 12px var(--gutter); background: oklch(99.4% .002 85 / .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
  .areas-nav-label, .areas-help { display: none; }
  .areas-nav ol { display: flex; gap: 8px; overflow-x: auto; border: 0; scrollbar-width: none; }
  .areas-nav ol::-webkit-scrollbar { display: none; }
  .areas-nav a { display: inline-flex; gap: 8px; margin: 0; padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; white-space: nowrap; font-size: 13.5px; font-weight: 600; }
  .areas-nav a[aria-current="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
  .areas-nav .n { font-size: 14px; }
  .sit-grid, .two-col { grid-template-columns: 1fr; }
  .two-col { gap: 36px; }
}
@media (max-width: 620px) {
  .area-head { gap: 14px; }
  .area-head .ico-wrap { width: 46px; height: 46px; }
  .callout { padding: 24px 22px; }
  .callout-actions, .callout-actions .btn { width: 100%; }
}

/* artigo */
.progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.article-hero { padding-bottom: clamp(96px, 12vw, 150px); }
.article-hero h1 { font-size: clamp(38px, 5vw, 62px); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta svg { width: 15px; height: 15px; }
.article-cover { margin-top: calc(-1 * clamp(64px, 9vw, 110px)); }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-lg); }
.article-body { max-width: 700px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) 0 0; font-size: 18px; line-height: 1.8; }
.article-body p + p { margin-top: 22px; }
.article-body .first::first-letter { float: left; font-family: var(--serif); font-size: 76px; line-height: .8; color: var(--gold-deep); padding: 8px 10px 0 0; }
.demo-note { margin-bottom: 36px; padding: 16px 20px; background: var(--sand); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.article-end { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 700px; margin: 44px auto 0; padding-top: 28px; border-top: 1px solid var(--border); }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.share .icon-btn { padding: 0 14px; font-size: 13px; font-weight: 600; }
.share .icon-btn svg { width: 17px; height: 17px; }
@media (max-width: 620px) { .article-body { font-size: 17px; } .article-cover img { aspect-ratio: 4 / 3; } }

/* contato */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(36px, 4.2vw, 52px); margin-top: 16px; }
.contact-intro > p { color: var(--muted); margin-top: 18px; }
.info-list { display: grid; gap: 22px; list-style: none; margin: 34px 0 0; padding: 0; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; font-size: 14.5px; color: var(--muted); }
.info-list .ico-wrap { width: 44px; height: 44px; }
.info-list .ico-wrap svg { width: 19px; height: 19px; }
.info-list strong { display: block; color: var(--fg); font-weight: 700; margin-bottom: 2px; }
.info-list a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-card { padding: clamp(24px, 3.5vw, 40px); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 30px; }
.form-card > p { font-size: 14px; color: var(--muted); margin: 6px 0 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--fg); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23476357' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px oklch(76% .076 85 / .35); }
.field .err, .check .err { display: none; font-size: 12.5px; font-weight: 600; color: var(--danger); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .err, .check.has-error .err { display: block; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13.5px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); }
.check a { text-decoration: underline; text-underline-offset: 3px; color: var(--fg); }
.check .err { grid-column: 2; }
.form-actions { display: grid; gap: 12px; margin-top: 6px; }
.form-note { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); }
.form-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--gold-deep); }
.form-done { display: flex; gap: 12px; margin-top: 4px; padding: 16px 18px; background: var(--accent); border-radius: 6px; font-size: 14px; }
.form-done[hidden] { display: none; }
.form-done svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* privacidade */
.policy { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--border); }
.policy-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.policy-item h2 { font-size: 28px; margin-bottom: 10px; }
.policy-item p { color: var(--muted); }
@media (max-width: 560px) { .policy-item { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- animações ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* movimento reduzido: tira deslocamento e zoom, mantém só o esmaecer */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .js [data-reveal] { transform: none; transition: opacity .5s ease; }
  .area-card:hover, .wa-float:hover { transform: none; }
}

@media print {
  .topbar, .site-header, .drawer, .wa-float, .cookie, .newsletter, .band, .progress { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
