/* =========================================================
   Dr. Rafael Teixeira — landing page de demonstração (advocacia)
   Estrutura no padrão Rede Visual, tom sóbrio:
   azul-marinho (#0E1A2B) + latão (#C9A96E) + marfim (#F7F4EE)
   ========================================================= */

:root {
  --wine-950: #13080b;
  --wine-900: #1f0d13;
  --wine-800: #2c141b;
  --wine-700: #47212c;
  --brass-600: #a8864a;
  --brass-500: #c9a96e;
  --brass-300: #e3cfa6;
  --ivory: #f7f4ee;
  --ivory-2: #efe9de;

  --grad-brass: linear-gradient(135deg, #a8864a 0%, #c9a96e 50%, #e3cfa6 100%);

  --ink: #18202c;
  --ink-2: #4c5563;
  --ink-3: #848b96;
  --line: #e6dfd2;
  --line-2: #d8cfbf;
  --line-dark: rgba(247,244,238,.12);

  --whats: #1fa855;
  --danger: #b4372f;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(31,13,19,.06), 0 1px 3px rgba(31,13,19,.08);
  --shadow: 0 14px 34px -16px rgba(31,13,19,.3);
  --shadow-lg: 0 30px 60px -24px rgba(31,13,19,.45);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 78px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.005em; margin: 0; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass-500); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 4px; border: 1px solid transparent; font-weight: 600; font-size: 14.5px; letter-spacing: .02em; line-height: 1; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn--brass { background: var(--grad-brass); color: var(--wine-950); box-shadow: 0 12px 24px -12px rgba(201,169,110,.7); }
.btn--brass:hover { box-shadow: 0 16px 30px -12px rgba(201,169,110,.85); }
.btn--outline-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn--outline-light:hover { border-color: var(--brass-300); color: var(--brass-300); }

/* ---------- Eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-600); }
.eyebrow svg { width: 18px; height: 18px; }
.eyebrow--light { color: var(--brass-300); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: #fff; transition: background .3s, box-shadow .3s; }
.header.is-solid { background: rgba(31,13,19,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--brass-500); border-radius: 50%; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: .04em; color: var(--brass-300); position: relative; }
.brand__mark::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid rgba(201,169,110,.35); }
.brand__text { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1; }
.brand__text small { margin-top: 5px; font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-300); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: linear-gradient(160deg, var(--wine-950), var(--wine-900) 55%, var(--wine-800)); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(560px 420px at 78% 50%, rgba(201,169,110,.16), transparent 70%),
  radial-gradient(480px 360px at 4% 0%, rgba(71,33,44,.8), transparent 70%),
  repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 120px); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding: calc(var(--header-h) + 76px) var(--gutter) 92px; }
.hero h1 { font-size: clamp(42px, 5.4vw, 70px); font-weight: 600; margin-bottom: 24px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--brass-300); }
.hero__lead { font-size: 18px; color: rgba(255,255,255,.75); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__perks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 14px; color: rgba(255,255,255,.72); }
.hero__perks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__perks svg { width: 18px; height: 18px; color: var(--brass-500); }

.hero__visual { display: grid; place-items: center; }
.portrait { position: relative; margin: 0; width: min(380px, 86vw); aspect-ratio: 4 / 5; }
.portrait__frame { position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(201,169,110,.55); }
.portrait__img { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: rgba(227,207,166,.75);
  background: radial-gradient(70% 55% at 50% 35%, rgba(227,207,166,.18), transparent 70%), linear-gradient(170deg, var(--wine-700), var(--wine-950));
  box-shadow: var(--shadow-lg); }
.portrait__img svg { width: 120px; height: 120px; opacity: .6; }
.portrait__img small { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.portrait__card { position: absolute; left: -28px; bottom: 28px; padding: 16px 22px; background: var(--ivory); color: var(--wine-900); box-shadow: var(--shadow-lg); border-left: 3px solid var(--brass-500); animation: bob 7s ease-in-out infinite; }
.portrait__card strong { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1.1; }
.portrait__card span { font-size: 12.5px; letter-spacing: .08em; color: var(--ink-2); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Seções ---------- */
.section { padding: 100px 0; position: relative; }
.section--soft { background: var(--ivory); }
.section--dark { background: var(--wine-900); color: #fff; overflow: hidden; }
.dark__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 340px at 92% 10%, rgba(201,169,110,.14), transparent 70%); }
.section__head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section__head h2, .split__copy h2, .about__copy h2, .docs h2 { font-size: clamp(34px, 4vw, 50px); color: var(--wine-900); margin-bottom: 16px; }
.section--dark h2 { color: #fff; }
.section__head p:not(.eyebrow) { color: var(--ink-2); font-size: 17px; }
.section__head .eyebrow { justify-content: center; }

/* Cards de atuação */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; padding: 32px 28px; border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--grad-brass); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--brass-500); color: var(--brass-600); margin-bottom: 20px; transition: background .3s, color .3s; }
.card:hover .card__icon { background: var(--wine-900); color: var(--brass-300); border-color: var(--wine-900); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 26px; color: var(--wine-900); margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Passos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.steps li { position: relative; padding: 34px 28px 10px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line-2); }
.steps span { display: block; font-family: var(--font-display); font-size: 46px; font-weight: 600; line-height: 1; color: var(--brass-500); margin-bottom: 14px; }
.steps h3 { font-size: 24px; color: var(--wine-900); margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* Sobre */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about__photo { margin: 0; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: rgba(227,207,166,.75); background: radial-gradient(70% 55% at 50% 35%, rgba(227,207,166,.2), transparent 70%), linear-gradient(170deg, var(--wine-700), var(--wine-950)); box-shadow: 24px 24px 0 var(--ivory-2); }
.about__photo svg { width: 110px; height: 110px; opacity: .6; }
.about__photo small { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.about__oab { font-size: 14px; letter-spacing: .04em; color: var(--brass-600); font-weight: 600; }
.about__copy p:not(.eyebrow):not(.about__oab) { color: var(--ink-2); font-size: 16.5px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--brass-600); }

/* Documentos */
.docs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.docs__lead { color: rgba(255,255,255,.72); font-size: 16.5px; margin: 0; }
.docs__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.docs__list li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.docs__list li:hover { background: rgba(201,169,110,.1); border-color: rgba(201,169,110,.4); transform: translateX(6px); }
.docs__list svg { width: 20px; height: 20px; flex: none; color: var(--brass-500); }

/* Contato */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.split__copy p:not(.eyebrow) { color: var(--ink-2); font-size: 16.5px; }
.contact { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact li { display: flex; align-items: center; gap: 14px; }
.contact li > span { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--brass-500); color: var(--brass-600); }
.contact svg { width: 20px; height: 20px; }
.contact small { display: block; font-size: 12.5px; color: var(--ink-3); }
.contact a, .contact strong { font-weight: 600; color: var(--wine-900); }
.contact a:hover { color: var(--brass-600); }

.form { padding: 36px; background: var(--wine-900); color: #fff; box-shadow: var(--shadow-lg); display: grid; gap: 16px; border-top: 3px solid var(--brass-500); }
.form h3 { font-size: 30px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.85); }
.field em { font-style: normal; font-weight: 400; color: rgba(255,255,255,.5); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 4px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #fff; color-scheme: dark; transition: border-color .2s, box-shadow .2s; }
.field select option { color: #000; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass-500); box-shadow: 0 0 0 3px rgba(201,169,110,.2); }
.field .is-invalid { border-color: #ff7b72; }
.form__error { margin: 0; color: #ff9b94; font-size: 14px; }
.form__note { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.5); text-align: center; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--brass-300); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--wine-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--brass-600); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--ink-2); }

/* CTA */
.cta { position: relative; background: var(--wine-950); color: #fff; overflow: hidden; border-top: 1px solid var(--line-dark); }
.cta::after { content: ""; position: absolute; right: -80px; top: 50%; width: 380px; height: 380px; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(201,169,110,.2); box-shadow: 0 0 0 40px rgba(201,169,110,.04), 0 0 0 80px rgba(201,169,110,.03); pointer-events: none; }
.cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 60px; padding-bottom: 60px; }
.cta h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 8px; }
.cta p { margin: 0; color: rgba(255,255,255,.72); }

/* Footer */
.footer { background: var(--wine-950); color: rgba(247,244,238,.6); padding: 44px 0 26px; font-size: 14px; border-top: 1px solid var(--line-dark); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand--footer { color: #fff; }
.footer__legal { margin: 0; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 12.5px; color: rgba(247,244,238,.42); }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--whats); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31,168,85,.7); transition: transform .2s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whats); animation: ring 2.6s infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 29px; height: 29px; }
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(1.55); opacity: 0; } }

/* Revelar ao rolar */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero__copy > *, .hero__visual { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .1s; } .hero__copy > :nth-child(3) { animation-delay: .2s; } .hero__copy > :nth-child(4) { animation-delay: .3s; } .hero__copy > :nth-child(5) { animation-delay: .4s; } .hero__visual { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 880px) {
  :root { --header-h: 68px; --gutter: 18px; }
  .header__cta span { display: none; }
  .header__cta { padding: 11px; }
  .hero__grid { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 48px); padding-bottom: 64px; gap: 56px; }
  .portrait { width: min(300px, 76vw); }
  .portrait__card { left: -14px; }
  .about, .docs, .split { grid-template-columns: 1fr; gap: 44px; }
  .about__photo { max-width: 420px; }
  .section { padding: 76px 0; }
  .section__head { margin-bottom: 40px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .brand__text { font-size: 20px; }
  .hero h1 { font-size: 40px; }
  .hero__lead { font-size: 16.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 26px 0 8px; border-left: 0; border-bottom: 1px solid var(--line-2); }
  .row { grid-template-columns: 1fr; }
  .form { padding: 26px 20px; }
  .about__photo { box-shadow: 14px 14px 0 var(--ivory-2); }
  .cta .btn { width: 100%; }
  .wa-float { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Componentes do site do escritório (Almeida & Torres)
   ========================================================= */
:root { --brass-500: #d4b483; --brass-300: #ead7b4; --brass-600: #a9834e; }
.brand__logo { width: 46px; height: 46px; display: grid; place-items: center; color: var(--brass-500); }
.brand__logo svg { width: 42px; height: 42px; }
.brand__text { font-size: 22px; }

/* Menu */
.nav { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; }
.nav a:not(.btn) { opacity: .85; position: relative; transition: opacity .2s; }
.nav a:not(.btn):hover { opacity: 1; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--brass-500); transition: right .3s var(--ease); }
.nav a:not(.btn):hover::after { right: 0; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; color: #fff; }
.burger span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
body.no-scroll { overflow: hidden; }

/* Hero: emblema + números */
.hero h1 { font-weight: 600; }
.hero__grid { padding-bottom: 64px; }
.hero__visual { position: relative; min-height: 420px; }
.emblem { position: relative; width: min(330px, 76vw); aspect-ratio: 1; display: grid; place-items: center; }
.emblem__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(212,180,131,.45); }
.emblem__ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px solid rgba(212,180,131,.2); }
.emblem__ring::after { content: ""; position: absolute; inset: -40px; border-radius: 50%; border: 1px dashed rgba(212,180,131,.12); animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.emblem__core { position: relative; width: 72%; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: radial-gradient(circle at 50% 35%, rgba(212,180,131,.18), transparent 65%), linear-gradient(170deg, var(--wine-700), var(--wine-950)); box-shadow: 0 40px 70px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(212,180,131,.3); color: var(--brass-500); }
.emblem__core svg { width: 34%; height: auto; aspect-ratio: 1; }
.emblem__core b { font-family: var(--font-display); font-size: 38px; font-weight: 600; color: #fff; line-height: 1; letter-spacing: .04em; }
.emblem__core small { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--brass-300); }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: var(--ivory); color: var(--ink); box-shadow: var(--shadow-lg); border-left: 3px solid var(--brass-500); animation: bob 7s ease-in-out infinite; }
.float strong { display: block; font-size: 14px; }
.float small { font-size: 12.5px; color: var(--ink-3); }
.float__icon { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ivory-2); color: var(--brass-600); }
.float__icon svg { width: 20px; height: 20px; }
.float--a { top: 6%; left: -4%; }
.float--b { bottom: 8%; right: -6%; animation-delay: -3.5s; }
.hero__stats { position: relative; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.hero__stats div { padding: 28px 24px 34px 0; }
.hero__stats div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero__stats dt { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--brass-300); line-height: 1; }
.hero__stats dd { margin: 6px 0 0; font-size: 13.5px; letter-spacing: .04em; color: rgba(255,255,255,.65); }

/* Áreas com lista */
.cards--areas .card ul { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.cards--areas .card li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-2); }
.cards--areas .card li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 1px; background: var(--brass-600); }
.card h3 { font-size: 23px; }

/* Valores */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.values div { padding: 20px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.values div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.values svg { width: 26px; height: 26px; color: var(--brass-600); margin-bottom: 10px; }
.values h3 { font-size: 20px; color: var(--wine-900); margin-bottom: 4px; }
.values p { margin: 0; font-size: 13.5px !important; color: var(--ink-2); }

/* Como atuamos */
.modes { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mode { position: relative; padding: 40px 36px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); transition: background .3s, border-color .3s; }
.mode:hover { background: rgba(212,180,131,.07); border-color: rgba(212,180,131,.4); }
.mode__num { display: block; font-family: var(--font-display); font-size: 54px; line-height: 1; color: var(--brass-500); margin-bottom: 18px; }
.mode h3 { font-size: 28px; color: #fff; margin-bottom: 12px; }
.mode p { margin: 0; color: rgba(255,255,255,.7); }

/* Equipe */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member { position: relative; text-align: center; }
.member__photo { margin: 0 0 20px; aspect-ratio: 4 / 5; display: grid; place-items: center; color: rgba(234,215,180,.6); background: radial-gradient(70% 55% at 50% 35%, rgba(234,215,180,.16), transparent 70%), linear-gradient(170deg, var(--wine-700), var(--wine-950)); overflow: hidden; transition: transform .4s var(--ease); }
.member:hover .member__photo { transform: translateY(-6px); }
.member__photo svg { width: 90px; height: 90px; opacity: .6; }
.member h3 { font-size: 25px; color: var(--wine-900); }
.member p { margin: 6px 0 2px; color: var(--ink-2); font-size: 14.5px; }
.member small { font-size: 12.5px; letter-spacing: .06em; color: var(--brass-600); font-weight: 600; }
.member__link { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--ivory); color: var(--wine-900); opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
.member:hover .member__link, .member__link:focus-visible { opacity: 1; transform: none; }
.member__link svg { width: 18px; height: 18px; }

/* Conteúdos */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; padding: 30px 28px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post__tag { align-self: flex-start; padding: 4px 10px; margin-bottom: 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-600); border: 1px solid var(--brass-500); }
.post h3 { font-size: 22px; line-height: 1.25; color: var(--wine-900); margin-bottom: 12px; }
.post p { color: var(--ink-2); font-size: 15px; flex: 1; }
.post__link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: var(--wine-900); }
.post__link svg { width: 16px; height: 16px; transition: transform .2s; }
.post:hover .post__link svg { transform: translateX(4px); }

/* Footer em colunas */
.footer { padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer__about { max-width: 320px; }
.footer h4 { font-size: 18px; color: #fff; margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a:hover { color: #fff; }
.footer__links > span, .footer__links > a { display: inline-flex; align-items: center; gap: 10px; }
.footer__links svg { width: 17px; height: 17px; color: var(--brass-500); }

/* ---------- Responsivo do escritório ---------- */
@media (max-width: 1024px) {
  .posts, .team { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--wine-900); padding: 8px var(--gutter) 22px; border-bottom: 1px solid var(--line-dark); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 2px; border-bottom: 1px solid var(--line-dark); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }
  .header.menu-open { background: var(--wine-900); }
  .hero__visual { min-height: 0; }
  .float { display: none; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stats div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .modes { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  .posts, .team { grid-template-columns: 1fr; }
  .member__photo { aspect-ratio: 16 / 13; }
  .hero__stats dt { font-size: 32px; }
  .hero__stats div { padding: 20px 12px 22px 0; }
  .hero__stats div + div { padding-left: 12px; }
  .mode { padding: 30px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__grid > div:first-child { grid-column: auto; }
}

:root { --deep-950: var(--wine-950); --deep-900: var(--wine-900); --deep-800: var(--wine-800); --deep-700: var(--wine-700); }

/* =========================================================
   Rodada 1 · padrão dos sites recentes (referência: Rede Visual+)
   Cabeçalho claro, botões em pílula, faixa de contato, painéis que se abrem,
   cartões arredondados e celular mais curto. Cores e fontes continuam as do site.
   ========================================================= */
:root { --r-card: 20px; }
.btn { border-radius: 999px; }
.btn--whats { background: var(--whats); color: #fff; }
.btn--whats:hover { box-shadow: 0 14px 26px -12px rgba(31,168,85,.8); }
.btn:active { transform: translateY(0) scale(.98); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Cabeçalho claro */
.header, .header.is-solid, .header.menu-open { background: #fff; color: var(--deep-900); box-shadow: 0 1px 0 var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.header.is-solid { box-shadow: 0 10px 28px -20px rgba(0,0,0,.45); }
.header .brand__text small, .header .brand__mark, .header .brand__logo { color: var(--brass-600); }
.header .btn--brass { background: var(--deep-900); color: #fff; box-shadow: 0 10px 22px -12px var(--deep-900); }
.header .burger { color: var(--deep-900); }
.progresso { position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--grad-brass); transform: scaleX(0); transform-origin: left; }

/* Título palavra por palavra */
.hero__copy > h1 { animation: none; }
.palavra { display: inline-block; animation: palavra .8s var(--ease) both; }
@keyframes palavra { from { opacity: 0; transform: translateY(.45em); filter: blur(6px); } }

/* Faixa de contato */
.infobar { background: var(--deep-800); color: #fff; border-top: 1px solid var(--line-dark); }
.infobar ul { list-style: none; margin-block: 0; padding-block: 18px; display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 14px 32px; align-items: center; }
.infobar li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.infobar li > svg { width: 20px; height: 20px; flex: none; color: var(--brass-500); }
.infobar a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }

/* Painéis de áreas */
.areas { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; height: 440px; }
.area { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-card); color: #fff; background: radial-gradient(90% 55% at 80% 0%, rgba(227,207,166,.16), transparent 70%), linear-gradient(170deg, var(--deep-700), var(--deep-950)); transition: flex-grow .6s var(--ease); }
.area.is-open { flex-grow: 6; }
.area__hit { position: absolute; inset: 0; width: 100%; padding: 22px 0; border: 0; background: none; color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: left; }
.area__hit:focus-visible { outline-offset: -6px; border-radius: var(--r-card); }
.area__icon { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--brass-500); color: var(--brass-300); }
.area__icon svg { width: 24px; height: 24px; }
.area__title { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-display); font-weight: 600; font-size: 21px; white-space: nowrap; }
.area__body { position: absolute; left: 34px; bottom: 30px; width: 400px; max-width: calc(100% - 56px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.area.is-open .area__hit { pointer-events: none; align-items: flex-start; padding: 30px 34px; justify-content: flex-start; gap: 22px; }
.area.is-open .area__title { writing-mode: horizontal-tb; transform: none; font-size: 32px; line-height: 1.1; white-space: normal; max-width: 420px; }
.area.is-open .area__body { opacity: 1; visibility: visible; transition: opacity .5s .3s, visibility 0s .3s; }
.area__body p { color: rgba(255,255,255,.78); font-size: 15.5px; margin-bottom: 14px; }
.area__body ul { list-style: none; margin: 0 0 16px; padding: 14px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 6px; font-size: 14px; color: rgba(255,255,255,.78); }
.area__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--brass-300); }
.area__cta svg { width: 16px; height: 16px; transition: transform .2s; }
.area__cta:hover svg { transform: translateX(4px); }
.field .pulso { animation: pulso 1.6s var(--ease) .5s; }
@keyframes pulso { 30% { border-color: var(--brass-500); box-shadow: 0 0 0 5px rgba(201,169,110,.45); } }

/* Cantos arredondados */
.card, .form, .faq details, .docs__list li, .values div, .post, .mode, .member__photo, .about__photo, .portrait__img, .portrait__card, .float { border-radius: var(--r-card); }
.faq details, .docs__list li, .values div, .float, .portrait__card { border-radius: 14px; }
.card { overflow: hidden; }
.field input, .field select, .field textarea { border-radius: 10px; }

/* Fotos (quando preenchidas) */
.tem-foto { overflow: hidden; }
.foto { width: 100%; height: 100%; object-fit: cover; }

.about__photo b { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: #fff; }
.team { gap: 20px; }
.member { padding: 32px 22px 28px; border: 1px solid var(--line); border-radius: var(--r-card); transition: transform .3s var(--ease), box-shadow .3s; }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.member .member__photo, .member:hover .member__photo { width: 128px; aspect-ratio: 1; margin: 0 auto 18px; border-radius: 50%; transform: none; color: var(--brass-300); font-family: var(--font-display); font-size: 40px; box-shadow: 0 0 0 1px var(--brass-500), 0 0 0 7px var(--ivory); }
@media (max-width: 1024px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px) { .header .nav { background: var(--wine-900); color: #fff; } .header .nav .btn--brass { background: var(--grad-brass); color: var(--wine-950); } .hero__visual { display: none; } .hero__grid { padding-bottom: 36px; } }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

/* Áreas empilhadas */
@media (max-width: 1024px) {
  .areas { flex-direction: column; height: auto; gap: 10px; }
  .area, .area.is-open { flex: none; }
  .area__hit, .area.is-open .area__hit { position: static; pointer-events: auto; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 14px 16px; }
  .area__icon { width: 44px; height: 44px; }
  .area__title, .area.is-open .area__title { writing-mode: horizontal-tb; transform: none; white-space: normal; font-size: 20px; }
  .area__body { position: static; width: auto; max-width: none; padding: 0 18px 12px; display: none; }
  .area.is-open .area__body { display: block; }
}
@media (max-width: 880px) {
  .infobar ul { grid-template-columns: 1fr; padding-block: 16px; }
  .infobar a:not(.btn) { padding-block: 6px; }
  .infobar .btn { width: 100%; min-height: 46px; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 28px; }
  .about__photo:not(.tem-foto) { display: none; }
  .contact a { display: inline-block; padding-block: 4px; }
  .footer__links a { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .palavra { animation: none !important; } }
