/* ==========================================================
   Leilane Mafei Advocacia — estilos do site
   Tokens e regras conforme docs/direcao-de-design.md
   Tipografia: Playfair Display (títulos >= 28px) · DM Sans (rótulos e
   títulos < 28px) · Inter (corpo)
   ========================================================== */

:root {
  --branco: #ffffff;
  --papel: #fdfcfa;
  --creme: #f4efe8;
  --linha: #e4dcd2;
  --linha-forte: #d9cfc3;
  --tinta: #2b2024;
  --tinta-suave: #6b5a5f;
  --vinho: #551227;
  --vinho-escuro: #3a0c1a;
  --vinho-claro: #7a2e40;
  --dourado: #ecdf97;
  --ouro-texto: #8a6f1f;
  --ouro-linha: #b8a04a;

  --serif: "Playfair Display", Georgia, serif;
  --ui: "DM Sans", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;

  --shell: 1600px;
  --margin: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--ouro-texto); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--vinho); color: var(--papel); padding: 12px 18px; border-radius: 4px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.shell { width: min(var(--shell), 100% - 2 * var(--margin)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.bg-papel { background: var(--papel); }
.bg-creme { background: var(--creme); }
.bg-vinho { background: var(--vinho); color: var(--papel); }
.bg-escuro { background: var(--vinho-escuro); color: var(--papel); }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-family: var(--ui); font-weight: 500; font-size: 13px; line-height: 16px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-texto);
}
.eyebrow--light { color: var(--dourado); }
.eyebrow--ink { color: var(--vinho); }
.h1 { font-family: var(--serif); font-weight: 500; color: var(--vinho); letter-spacing: -.01em;
  font-size: clamp(38px, 4.2vw, 64px); line-height: 1.15; }
.h2 { font-family: var(--serif); font-weight: 400; color: var(--vinho);
  font-size: clamp(32px, 3.4vw, 48px); line-height: 1.2; }
.bg-vinho .h2, .bg-escuro .h2 { color: var(--papel); }
.h3-ui { font-family: var(--ui); font-weight: 500; color: var(--vinho); font-size: 24px; line-height: 1.3; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: var(--tinta); }
.muted { color: var(--tinta-suave); }
.small { font-size: 14px; line-height: 1.6; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head__title { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.sec-head__text { max-width: 560px; font-size: 18px; line-height: 1.65; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px; border-radius: 4px;
  font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 20px;
  transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 22px; height: 22px; flex-shrink: 0; transition: transform .5s var(--ease); }
.btn--primary { background: var(--vinho); color: var(--papel); }
.btn--primary svg { stroke: var(--dourado); }
.btn--primary:hover { background: var(--vinho-escuro); transform: translateY(-2px); }
.btn--invert { background: var(--papel); color: var(--vinho); }
.btn--invert svg { stroke: var(--vinho); }
.btn--invert:hover { background: var(--branco); transform: translateY(-2px); }
.btn--outline { border: 1px solid var(--vinho); color: var(--vinho); padding: 15px 26px; font-size: 15px; }
.btn--outline svg { width: 18px; height: 18px; stroke: var(--vinho); }
.btn--outline:hover { background: var(--vinho); color: var(--papel); transform: translateY(-2px); }
.btn--outline:hover svg { stroke: var(--papel); transform: translateX(4px); }
.btn--sm { padding: 14px 24px; font-size: 15px; }
.btn--sm svg { width: 18px; height: 18px; }
.link-gold {
  display: inline-block; font-weight: 500; font-size: 15px; line-height: 20px; color: var(--vinho);
  padding-bottom: 2px; border-bottom: 1px solid var(--ouro-linha);
  transition: border-color .3s, color .3s;
}
.link-gold:hover { color: var(--vinho-escuro); border-color: var(--vinho); }

.round-btn {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--vinho); transition: transform .5s var(--ease), background-color .3s;
}
.round-btn svg { width: 20px; height: 20px; stroke: var(--dourado); }
.round-btn--line { background: transparent; border: 1px solid var(--vinho); }
.round-btn--line svg { stroke: var(--vinho); width: 18px; height: 18px; }

.social { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.social__label { font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ouro-texto); padding-right: 6px; }
.social a {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--vinho);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .3s, transform .5s var(--ease), border-color .3s;
}
.social svg { width: 20px; height: 20px; stroke: var(--vinho); transition: stroke .3s; }
.social a:hover { background: var(--vinho); transform: translateY(-3px); }
.social a:hover svg { stroke: var(--dourado); }
.social--gold a { width: 44px; height: 44px; border-color: var(--dourado); }
.social--gold svg { stroke: var(--dourado); }
.social--gold a:hover { background: var(--dourado); }
.social--gold a:hover svg { stroke: var(--vinho-escuro); }

.icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 252, 250, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled { background: rgba(253, 252, 250, .97); border-color: var(--linha-forte); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 20px; }
.logo { display: flex; flex-direction: column; gap: 3px; }
.logo__name { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 30px; letter-spacing: .14em; color: var(--vinho); }
.logo__role { display: flex; align-items: center; gap: 10px; font-family: var(--ui); font-weight: 500; font-size: 10px; line-height: 12px; letter-spacing: .32em; color: var(--ouro-texto); }
.logo__role::before { content: ""; width: 28px; height: 1px; background: var(--ouro-linha); }
.nav { display: flex; align-items: center; gap: 40px; }
.nav a { font-size: 16px; line-height: 20px; position: relative; padding-block: 6px; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ouro-linha); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--vinho); font-weight: 500; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--linha-forte); border-radius: 50%; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before { display: block; width: 18px; height: 1.6px; background: var(--vinho); position: relative; transition: transform .4s var(--ease); }
.menu-toggle span::before { content: ""; position: absolute; top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] span { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); top: 6px; }

/* ---------- Arcos de foto ---------- */
.arch { position: relative; container-type: inline-size; width: 100%; }
.arch__back, .arch__front { position: absolute; }
.arch__front { inset: 0; overflow: hidden; background: var(--linha); border-radius: 50cqw 50cqw 12px 12px; }
.arch__front img { width: 100%; height: 100%; object-fit: cover; }
.arch__back { background: var(--vinho); border-radius: 50cqw 50cqw 12px 12px; left: -6%; top: 4.7%; width: 100%; height: 95.3%; }
.arch--outline .arch__back { background: transparent; border: 1px solid var(--ouro-linha); left: 7%; top: 5.5%; width: 100%; height: 100%; }
.arch__sizer { display: block; width: 100%; }

/* ---------- HERO (home) ---------- */
.hero { padding-block: clamp(48px, 6vw, 96px) clamp(64px, 7vw, 112px); }
.hero__grid { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero__text { display: flex; flex-direction: column; gap: 28px; max-width: 760px; flex: 1; }
.hero__text .lede { max-width: 640px; }
.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 8px; }
.hero__proof { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; border-top: 1px solid var(--linha); margin-top: 12px; max-width: 760px; }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; line-height: 20px; color: var(--tinta-suave); }
.facts b { font-weight: 500; color: var(--tinta); }
.facts i { width: 4px; height: 4px; border-radius: 2px; background: var(--ouro-linha); display: block; flex-shrink: 0; }
.hero__photo { width: min(600px, 42%); flex-shrink: 0; margin-right: 36px; }
.rating { display: flex; align-items: center; gap: 16px; }
.stars { display: flex; gap: 4px; }
.stars svg { width: 20px; height: 20px; fill: var(--ouro-linha); }
.rating b { font-family: var(--ui); font-weight: 500; font-size: 22px; color: var(--vinho); line-height: 26px; }
.rating span { font-size: 14px; font-weight: 500; }
.rating i { width: 1px; height: 20px; background: var(--linha); display: block; }

/* ---------- Serviços (home) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  display: flex; flex-direction: column; background: var(--branco); border: 1px solid var(--linha);
  border-radius: 12px; overflow: hidden; transition: transform .6s var(--ease), border-color .4s;
}
.service:hover { transform: translateY(-6px); border-color: var(--ouro-linha); }
.service__media { position: relative; aspect-ratio: 517 / 240; overflow: hidden; background: var(--linha); }
.service__media img { position: absolute; max-width: none; height: auto; transition: transform 1.2s var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }
.service__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(180deg, rgba(85,18,39,0), rgba(85,18,39,.28)); pointer-events: none; }
.service__body { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 52px 36px 36px; flex: 1; }
.service__icon { position: absolute; left: 36px; top: -36px; width: 72px; height: 72px; border-radius: 50%; background: var(--vinho); border: 3px solid var(--branco); display: flex; align-items: center; justify-content: center; transition: transform .6s var(--ease); }
.service:hover .service__icon { transform: scale(1.08) rotate(-4deg); }
.service__icon svg { width: 34px; height: 34px; stroke: var(--dourado); stroke-width: 1.5; }
.service__title { font-family: var(--ui); font-weight: 500; font-size: 26px; line-height: 32px; color: var(--vinho); }
.service__text { color: var(--tinta-suave); font-size: 16px; line-height: 26px; flex: 1; }
.service__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--linha); padding-top: 12px; margin-top: 8px; font-weight: 500; font-size: 15px; color: var(--vinho); }
.service:hover .round-btn { transform: rotate(45deg) scale(1.06); }

/* ---------- Respiro ---------- */
.respiro { background: var(--vinho-escuro); color: var(--papel); padding-block: clamp(64px, 7vw, 96px); text-align: center; }
.respiro__inner { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.respiro__mark { width: clamp(80px, 8vw, 118px); height: auto; }
.respiro__quote { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 42px); line-height: 1.33; max-width: 640px; }

/* ---------- Áreas ---------- */
.areas { display: flex; gap: 24px; min-height: 400px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.areas::-webkit-scrollbar { display: none; }
.areas > .area { flex: 0 0 calc((70% - 72px) / 3); scroll-snap-align: start; padding: 32px; }
.areas > .area--main { flex-basis: 30%; padding: 32px; }
.area { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; border-radius: 12px; padding: 40px; }
.area--main { background: var(--vinho); color: var(--papel); padding: 44px; transition: transform .6s var(--ease); }
.area--main:hover { transform: translateY(-4px); }
.area--main:hover .arrow-link svg { transform: translateX(6px); }
.area--soft { background: var(--creme); border: 1px solid var(--linha); }
.area__title-lg { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3vw, 40px); line-height: 1.2; }
.area__title { font-family: var(--ui); font-weight: 500; font-size: 26px; line-height: 34px; color: var(--vinho); }
.area p { font-size: 16px; line-height: 26px; color: var(--tinta-suave); }
.area--main p { color: var(--papel); font-size: 17px; line-height: 28px; max-width: 520px; }
.tag-pill { display: inline-block; font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--vinho); border: 1px solid var(--vinho); border-radius: 40px; padding: 6px 12px; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; color: var(--dourado); font-weight: 500; font-size: 15px; }
.arrow-link svg { width: 18px; height: 18px; stroke: var(--dourado); transition: transform .5s var(--ease); }

/* ---------- Manifesto ---------- */
.manifesto {
  background-color: #f6f6f6e3;
  background-image: linear-gradient(180deg, rgba(58, 12, 26, .83), rgba(58, 12, 26, .83)), url("../img/biblioteca.avif");
  background-blend-mode: overlay, luminosity;
  background-size: cover; background-position: center;
  color: var(--papel);
}
.manifesto__grid { display: flex; gap: 80px; align-items: flex-start; }
.manifesto__label { width: 240px; flex-shrink: 0; padding-top: 14px; }
.manifesto__text { font-family: var(--ui); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.9; color: var(--papel); max-width: 1100px; }

/* ---------- Depoimentos ---------- */
.testimonials { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 80px; }
.testimonials__sep { background: var(--linha); }
.quote { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.quote__text { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.4; color: var(--tinta); max-width: 560px; }
.quote__who { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.quote__who b { font-weight: 500; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--vinho); color: var(--dourado); display: grid; place-items: center; font-family: var(--ui); font-weight: 500; font-size: 18px; flex-shrink: 0; }
.center-head { text-align: center; display: flex; justify-content: center; margin-bottom: 64px; }

/* ---------- Sobre (home) + Intro (quem somos) ---------- */
.about { overflow: hidden; }
.about__grid { display: flex; align-items: center; justify-content: space-between; gap: 140px; }
.about__text { position: relative; display: flex; flex-direction: column; gap: 26px; width: min(800px, 100%); }
.about__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.about__bg-img {
  position: absolute; inset: -60px 0;
  background: url("../img/estatua.webp") no-repeat;
  background-size: auto 175%; background-position: 34% 0;
  mix-blend-mode: soft-light; opacity: .64;
}
.about > .shell { position: relative; }
.about__title { font-family: var(--serif); font-weight: 400; color: var(--vinho); font-size: clamp(32px, 3.2vw, 44px); line-height: 1.2; }
.about__lead { font-size: 18px; line-height: 30px; }
.cutout { position: relative; width: min(500px, 40%); aspect-ratio: 500 / 620; flex-shrink: 0; }
.cutout--lg { width: min(600px, 42%); aspect-ratio: 600 / 744; }
.cutout__img { position: absolute; width: 155%; height: 128.9%; left: -23.2%; top: -10.8%; max-width: none; object-fit: cover; object-position: 50% 2.4%; }
.facts-list { display: flex; flex-direction: column; }
.facts-list > div { display: flex; align-items: baseline; gap: 24px; padding: 16px 0; border-top: 1px solid var(--linha); }
.facts-list > div:last-child { border-bottom: 1px solid var(--linha); }
.facts-list dt { font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ouro-texto); width: 130px; flex-shrink: 0; line-height: 18px; }
.facts-list dd { margin: 0; font-size: 16px; line-height: 24px; }
.facts-list--wide dt { width: 112px; }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post { display: flex; flex-direction: column; gap: 22px; }
.post__cover { aspect-ratio: 1.55 / 1; border-radius: 12px; background: #eadfd6; overflow: hidden; position: relative; display: grid; place-items: center; }
.post__cover img { width: 90px; height: auto; opacity: .35; transition: transform 1.2s var(--ease); }
.post:hover .post__cover img { transform: scale(1.12); }
.post__meta { display: flex; justify-content: space-between; font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tinta-suave); }
.post__meta b { font-weight: 500; color: var(--ouro-texto); }
.post__title { font-family: var(--ui); font-weight: 500; font-size: 26px; line-height: 34px; color: var(--vinho); }
.post__text { color: var(--tinta-suave); font-size: 16px; line-height: 26px; }
.post__foot { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--tinta-suave); padding-top: 6px; }
.post a.stretch::after { content: ""; position: absolute; inset: 0; }
.post { position: relative; }
.post:hover .round-btn--line { background: var(--vinho); transform: rotate(45deg); }
.post:hover .round-btn--line svg { stroke: var(--dourado); }
.post--soon .round-btn--line { display: none; }
.soon { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--vinho); border: 1px solid var(--linha-forte); border-radius: 40px; padding: 6px 12px; }

/* ---------- FAQ ---------- */
.faq { display: flex; gap: 120px; }
.faq__head { width: 480px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.faq__list { flex: 1; }
.faq-item { border-top: 1px solid var(--linha-forte); }
.faq-item:last-child { border-bottom: 1px solid var(--linha-forte); }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; padding-block: 32px; font-family: var(--ui); font-weight: 500; font-size: 24px; line-height: 32px; color: var(--vinho); }
.faq-item__q svg { width: 22px; height: 22px; flex-shrink: 0; stroke: var(--vinho); fill: none; stroke-width: 1.6; stroke-linecap: round; transition: transform .5s var(--ease); }
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p { padding-bottom: 32px; font-size: 17px; line-height: 28px; max-width: 780px; }

/* ---------- CTA final ---------- */
.cta-section { padding-block: 112px; }
.cta-wrap { position: relative; }
.cta-block { display: flex; align-items: stretch; justify-content: space-between; background: var(--vinho-escuro); border-radius: 12px; overflow: clip; min-height: 513px; color: var(--papel); }
.cta-block__text { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 72px 40px 72px 96px; width: 56%; flex-shrink: 0; }
.cta-block__text .h2 { font-size: clamp(34px, 3.6vw, 52px); color: var(--papel); line-height: 1.2; }
.cta-block__text p { font-size: 19px; line-height: 32px; max-width: 620px; }
.cta-block__photo { flex: 1; background: var(--vinho-escuro) url("../img/cta-foto.webp") center / cover no-repeat; min-width: 0; }
.cta-pop { position: absolute; top: -112px; left: 55.9%; width: 41.75%; aspect-ratio: 668 / 625; background: url("../img/cta-recorte.webp") 50% 44.3% / cover no-repeat; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--vinho-escuro); color: var(--papel); }
.footer__top { display: flex; justify-content: space-between; gap: 48px; padding-block: 72px 56px; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; width: 380px; }
.footer__logo { width: 232px; height: auto; }
.footer__tag { font-family: var(--serif); font-size: 18px; line-height: 28px; }
.footer__col { display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 20px; }
.footer__col h2 { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dourado); line-height: 16px; padding-bottom: 6px; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--dourado); }
.footer__col p { color: var(--linha); line-height: 24px; max-width: 300px; }
.footer__bottom { border-top: 1px solid #5e2a3a; }
.footer__bottom .shell { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 24px; font-size: 13px; line-height: 18px; color: var(--linha); }

/* ---------- Páginas internas ---------- */
.crumbs { display: flex; align-items: center; gap: 12px; font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.crumbs a { color: var(--ouro-texto); transition: color .3s; }
.crumbs a:hover { color: var(--vinho); }
.crumbs i { font-style: normal; color: var(--ouro-linha); }
.crumbs span { color: var(--vinho); }

.page-hero { padding-block: clamp(48px, 6vw, 80px) clamp(64px, 7vw, 104px); }
.page-hero__grid { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.page-hero__text { display: flex; flex-direction: column; gap: 30px; max-width: 840px; }
.page-hero__text .lede { max-width: 700px; font-size: clamp(17px, 1.4vw, 20px); }

.timeline { display: flex; flex-direction: column; }
.timeline__row { display: flex; gap: 40px; padding-block: 48px; border-bottom: 1px solid var(--linha-forte); }
.timeline__row:first-child { padding-top: 8px; }
.timeline__row:last-child { border-bottom: 0; padding-bottom: 0; }
.timeline__year { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3vw, 44px); line-height: 1.2; color: var(--ouro-linha); width: 180px; flex-shrink: 0; }
.timeline__title { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 36px; color: var(--vinho); margin-bottom: 10px; }
.timeline p { font-size: 18px; line-height: 30px; }

.split { display: flex; gap: 120px; align-items: flex-start; }
.split__aside { width: 620px; flex-shrink: 0; display: flex; flex-direction: column; gap: 40px; }
.split__main { flex: 1; }

.ficha { background: var(--branco); border: 1px solid var(--linha); border-radius: 12px; padding: 12px 36px; }
.ficha > div { padding: 22px 0; border-bottom: 1px solid var(--linha); display: flex; flex-direction: column; gap: 6px; }
.ficha > div:last-child { border-bottom: 0; }
.ficha dt { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ouro-texto); line-height: 16px; }
.ficha dd { margin: 0; font-family: var(--ui); font-weight: 500; font-size: 22px; line-height: 30px; color: var(--vinho); }

.modes { display: flex; flex-direction: column; }
.mode { display: flex; align-items: flex-start; gap: 28px; padding-block: 28px; border-top: 1px solid var(--linha); }
.mode:last-child { border-bottom: 1px solid var(--linha); }
.mode__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--vinho); display: grid; place-items: center; flex-shrink: 0; }
.mode__icon svg { width: 30px; height: 30px; stroke: var(--dourado); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mode h3 { font-family: var(--ui); font-weight: 500; font-size: 26px; line-height: 34px; color: var(--vinho); margin-bottom: 8px; }
.mode p { font-size: 17px; line-height: 28px; color: var(--tinta-suave); max-width: 620px; }

.columns-3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--vinho-claro); }
.columns-3 > div { display: flex; flex-direction: column; gap: 22px; padding: 48px 48px 0; border-left: 1px solid var(--vinho-claro); }
.columns-3 > div:first-child { padding-left: 0; border-left: 0; }
.columns-3 > div:last-child { padding-right: 0; }
.columns-3 svg { width: 44px; height: 44px; stroke: var(--dourado); stroke-width: 1.3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.columns-3 h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 38px; color: var(--papel); }
.columns-3 p { font-size: 17px; line-height: 28px; color: var(--linha); }
.columns-2 { grid-template-columns: repeat(2, 1fr); }
.columns-2 > .col-row { flex-direction: row; gap: 32px; align-items: flex-start; padding-top: 56px; }
.columns-2 > .col-row .mode__icon { flex-shrink: 0; }
.columns-3 .step { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--dourado); display: grid; place-items: center; font-family: var(--serif); font-size: 28px; color: var(--dourado); }
.columns-3 h3.ui { font-family: var(--ui); font-size: 24px; line-height: 32px; }

/* Tabela de verbas */
.table-wrap { background: var(--branco); border: 1px solid var(--linha); border-radius: 12px; overflow: hidden; }
.table-scroll { overflow-x: auto; }
.verbas { width: 100%; min-width: 860px; border-collapse: collapse; text-align: left; }
.verbas thead th { background: var(--vinho); color: var(--papel); font-family: var(--ui); font-weight: 500; font-size: 16px; padding: 24px 20px; }
.verbas thead th:first-child { font-size: 12px; letter-spacing: .14em; color: var(--dourado); padding-left: 36px; width: 380px; text-transform: uppercase; }
.verbas tbody th { font-family: var(--ui); font-weight: 500; font-size: 18px; color: var(--vinho); padding: 22px 20px 22px 36px; text-align: left; }
.verbas td { padding: 22px 20px; font-size: 16px; line-height: 22px; color: var(--tinta-suave); }
.verbas td.yes { color: var(--vinho); font-weight: 500; }
.verbas td.key { color: var(--tinta); font-weight: 500; }
.verbas tbody tr { border-bottom: 1px solid var(--linha); transition: background-color .3s; }
.verbas tbody tr:last-child { border-bottom: 0; }
.verbas tbody tr:nth-child(even) { background: var(--papel); }
.verbas tbody tr:hover { background: var(--creme); }

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linha); }
.numbers > div { display: flex; flex-direction: column; gap: 20px; padding: 48px 56px 0; border-left: 1px solid var(--linha); }
.numbers > div:first-child { padding-left: 0; border-left: 0; }
.numbers > div:last-child { padding-right: 0; }
.numbers .big { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 5.5vw, 88px); line-height: 1.1; color: var(--vinho); }
.numbers h3 { font-family: var(--ui); font-weight: 500; font-size: 22px; line-height: 30px; color: var(--vinho); }
.numbers p { color: var(--tinta-suave); font-size: 17px; line-height: 28px; }

.two-cards { display: flex; gap: 40px; }
.panel { flex: 1; border-radius: 12px; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 32px; }
.panel--light { background: var(--branco); border: 1px solid var(--linha); }
.panel--dark { background: var(--vinho-escuro); color: var(--papel); justify-content: space-between; }
.panel h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.3; color: var(--vinho); }
.panel--dark h3 { color: var(--papel); }
.checklist { display: flex; flex-direction: column; }
.checklist li { display: flex; align-items: center; gap: 16px; padding-block: 18px; border-top: 1px solid var(--linha); font-size: 17px; line-height: 26px; }
.checklist li:last-child { border-bottom: 1px solid var(--linha); }
.checklist svg { width: 22px; height: 22px; stroke: var(--vinho); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.dots { display: flex; flex-direction: column; gap: 16px; }
.dots li { display: flex; gap: 14px; font-size: 17px; line-height: 28px; }
.dots li::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--dourado); margin-top: 11px; flex-shrink: 0; }

/* Contato */
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.channel { display: flex; flex-direction: column; gap: 18px; background: var(--branco); border: 1px solid var(--linha); border-radius: 12px; padding: 40px; transition: transform .6s var(--ease), border-color .4s; }
a.channel:hover { transform: translateY(-6px); border-color: var(--ouro-linha); }
.channel--main { background: var(--vinho); border-color: var(--vinho); color: var(--papel); }
.channel__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--vinho); display: grid; place-items: center; }
.channel__icon svg { width: 28px; height: 28px; stroke: var(--dourado); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.channel--main .channel__icon { background: transparent; border: 1px solid var(--dourado); }
.channel .eyebrow { padding-top: 8px; }
.channel h3 { font-family: var(--ui); font-weight: 500; font-size: 24px; line-height: 32px; color: var(--vinho); }
.channel--main h3 { color: var(--papel); }
.channel__value { font-weight: 500; font-size: 17px; line-height: 26px; word-break: break-word; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; border: 1px solid var(--vinho); border-radius: 40px; padding: 12px 20px; font-weight: 500; font-size: 15px; line-height: 20px; color: var(--vinho); transition: background-color .3s, color .3s, transform .5s var(--ease); }
.chip:hover { background: var(--vinho); color: var(--papel); transform: translateY(-2px); }

.form-wrap { display: flex; gap: 120px; align-items: flex-start; }
.form-aside { width: 480px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; }
.form { flex: 1; display: flex; flex-direction: column; gap: 28px; background: var(--creme); border: 1px solid var(--linha); border-radius: 12px; padding: clamp(28px, 4vw, 56px); }
.form__row { display: flex; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.field label { font-family: var(--ui); font-weight: 500; font-size: 14px; line-height: 18px; color: var(--vinho); }
.field input, .field select, .field textarea { width: 100%; background: var(--branco); border: 1px solid var(--linha-forte); border-radius: 4px; padding: 0 18px; height: 56px; font: inherit; font-size: 16px; color: var(--tinta); transition: border-color .3s, box-shadow .3s; }
.field textarea { height: 168px; padding: 16px 18px; resize: vertical; line-height: 24px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23551227' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--vinho); box-shadow: 0 0 0 3px rgba(85, 18, 39, .12); }
.field ::placeholder { color: var(--tinta-suave); }
.consent { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; line-height: 22px; color: var(--tinta-suave); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--vinho); flex-shrink: 0; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__status { font-size: 14px; color: var(--tinta-suave); }

/* Artigo */
.article-head { position: relative; overflow: hidden; padding-block: clamp(48px, 5vw, 72px) clamp(56px, 6vw, 80px); background: var(--creme); }
.article-head__mark { position: absolute; right: 7%; top: -120px; width: 640px; opacity: .1; pointer-events: none; }
.article-head__grid { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.article-head__text { display: flex; flex-direction: column; gap: 32px; max-width: 980px; }
.article-head__text .h1 { font-size: clamp(38px, 4.6vw, 68px); }
.article-head__back { display: flex; align-items: center; gap: 18px; font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--vinho); }
.article-head__back svg { width: 18px; height: 18px; stroke: var(--vinho); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.article-head__back:hover svg { transform: translateX(-5px); }
.article-head__back::after { content: ""; flex: 1; height: 1px; background: var(--linha-forte); min-width: 80px; }
.meta { width: 440px; flex-shrink: 0; position: relative; }
.meta > div { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--linha-forte); font-size: 16px; }
.meta > div:last-child { border-bottom: 1px solid var(--linha-forte); }
.meta dt { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-texto); }
.meta dd { margin: 0; }
.article-body { display: flex; align-items: flex-start; justify-content: space-between; gap: 80px; }
.sidebar { width: 400px; flex-shrink: 0; position: sticky; top: 112px; display: flex; flex-direction: column; gap: 28px; }
.author { display: flex; align-items: center; gap: 16px; }
.author__photo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--linha); position: relative; flex-shrink: 0; }
.author__photo img { position: absolute; width: 140px; max-width: none; left: -40px; top: -24px; }
.author b { display: block; font-family: var(--ui); font-weight: 500; font-size: 20px; line-height: 26px; color: var(--vinho); }
.author span { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-texto); }
.resumo { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; }
.resumo__head { display: flex; align-items: center; gap: 16px; font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-texto); }
.resumo__head::after { content: ""; flex: 1; height: 1px; background: var(--linha); }
.resumo li { display: flex; gap: 14px; font-size: 16px; line-height: 25px; }
.resumo li::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--ouro-linha); margin-top: 9px; flex-shrink: 0; }
.prose { width: min(880px, 100%); display: flex; flex-direction: column; gap: 28px; }
.prose p { font-size: 19px; line-height: 32px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 34px); line-height: 1.3; color: var(--vinho); margin-top: 12px; }
.prose figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.prose figcaption { font-size: 13px; color: var(--tinta-suave); padding-bottom: 14px; border-bottom: 1px solid var(--linha); }
.cover { height: clamp(220px, 28vw, 440px); border-radius: 12px; background: #eadfd6; display: grid; place-items: center; }
.cover img { width: 120px; opacity: .3; }
.criteria > div { display: flex; gap: 28px; padding-block: 20px; border-top: 1px solid var(--linha); }
.criteria > div:last-child { border-bottom: 1px solid var(--linha); }
.criteria dt { font-family: var(--ui); font-weight: 500; font-size: 20px; line-height: 28px; color: var(--vinho); width: 230px; flex-shrink: 0; }
.criteria dd { margin: 0; font-size: 17px; line-height: 27px; }
.pull { display: flex; flex-direction: column; gap: 28px; padding-top: 24px; }
.pull::before { content: ""; width: 56px; height: 2px; background: var(--ouro-linha); }
.pull p { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.4; color: var(--vinho); }
.callout { display: flex; flex-direction: column; gap: 20px; background: var(--creme); border-radius: 12px; padding: 36px 40px; margin-top: 16px; }
.callout p { font-size: 17px; line-height: 28px; }
.disclaimer { font-size: 14px; line-height: 23px; color: var(--tinta-suave); padding-top: 24px; }

/* Arquivo do blog */
.blog-head { position: relative; overflow: hidden; background: var(--creme); padding-block: clamp(56px, 7vw, 104px) clamp(48px, 5vw, 72px); }
.blog-head__mark { position: absolute; right: 6%; top: -90px; width: 560px; opacity: .1; pointer-events: none; }
.blog-head__inner { position: relative; display: flex; flex-direction: column; gap: 28px; }
.blog-head__inner > * { max-width: 980px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 12px; }
.filter { display: inline-flex; align-items: center; border: 1px solid var(--vinho); border-radius: 40px; padding: 11px 22px; font-weight: 500; font-size: 15px; line-height: 20px; color: var(--vinho); transition: background-color .3s, color .3s, transform .5s var(--ease); }
.filter:hover { transform: translateY(-2px); }
.filter[aria-pressed="true"] { background: var(--vinho); color: var(--papel); }
.featured { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--branco); border: 1px solid var(--linha); border-radius: 12px; overflow: hidden; transition: border-color .4s, transform .6s var(--ease); }
.featured:hover { border-color: var(--ouro-linha); transform: translateY(-4px); }
.featured__cover { background: #eadfd6; display: grid; place-items: center; min-height: 380px; }
.featured__cover img { width: 130px; opacity: .35; transition: transform 1.2s var(--ease); }
.featured:hover .featured__cover img { transform: scale(1.12); }
.featured__body { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(32px, 4vw, 64px); }
.featured__title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.25; color: var(--vinho); }
.featured__title a::after { content: ""; position: absolute; inset: 0; }
.is-hidden { display: none !important; }
.empty-note { display: none; padding: 48px 0; color: var(--tinta-suave); }
.empty-note.is-on { display: block; }

/* ---------- Páginas legais ---------- */
.legal-head .article-head__text { max-width: 900px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--tinta-suave); }
.legal-meta b { font-weight: 500; color: var(--tinta); }
.toc { display: flex; flex-direction: column; gap: 4px; }
.toc__head { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-texto); padding-bottom: 14px; border-bottom: 1px solid var(--linha); margin-bottom: 10px; }
.toc a { display: block; padding: 8px 0 8px 14px; font-size: 15px; line-height: 22px; color: var(--tinta-suave); border-left: 2px solid var(--linha); transition: color .3s, border-color .3s, padding .4s var(--ease); }
.toc a:hover, .toc a.is-active { color: var(--vinho); border-color: var(--ouro-linha); padding-left: 20px; }
.toc__docs { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--linha); font-size: 15px; }
.toc__docs a { color: var(--vinho); font-weight: 500; border-bottom: 1px solid transparent; width: fit-content; transition: border-color .3s; }
.toc__docs a:hover { border-color: var(--ouro-linha); }
.prose h2 { scroll-margin-top: 110px; }
.prose ul { display: flex; flex-direction: column; gap: 10px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 24px; font-size: 18px; line-height: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 3px; background: var(--ouro-linha); }
.prose a:not(.btn) { color: var(--vinho); border-bottom: 1px solid var(--ouro-linha); transition: border-color .3s; }
.prose a:not(.btn):hover { border-color: var(--vinho); }
.prose .note { background: var(--creme); border-radius: 12px; padding: 24px 28px; font-size: 16px; line-height: 26px; }
.prose .pending { background: rgba(236, 223, 151, .35); border-radius: 3px; padding: 0 4px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-top: 1px solid var(--linha); vertical-align: top; }
.prose thead th { font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ouro-texto); border-top: 0; }
.prose tbody tr:last-child td { border-bottom: 1px solid var(--linha); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { transition: color .3s; }
.footer__legal a:hover { color: var(--dourado); }

/* ---------- Mobile ---------- */
@media (max-width: 1280px) {
  .nav { gap: 24px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .about__grid { gap: 60px; }
  .faq, .form-wrap, .split { gap: 64px; }
  .channels { grid-template-columns: repeat(2, 1fr); }
  .article-body { gap: 48px; }
  .sidebar { width: 340px; }
}

@media (max-width: 1100px) {
  .nav, .site-header .btn--sm { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.menu-open .nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--papel); border-bottom: 1px solid var(--linha); padding: 12px var(--margin) 24px; }
  .site-header.menu-open .nav a { padding-block: 12px; font-size: 18px; width: 100%; }
  .hero__grid, .page-hero__grid, .about__grid, .split, .faq, .form-wrap, .two-cards, .article-body, .article-head__grid, .manifesto__grid { flex-direction: column; align-items: stretch; }
  .hero__photo, .cutout, .cutout--lg { width: min(440px, 88%); margin: 24px auto 0; }
  .hero__photo { margin-right: auto; }
  .page-hero__photo { width: min(440px, 80%); margin: 24px auto 0; }
  .featured { grid-template-columns: 1fr; }
  .featured__cover { min-height: 220px; }
  .cards-3, .posts, .columns-3, .columns-2, .numbers { grid-template-columns: 1fr; }
  .areas { min-height: 0; margin-right: calc(var(--margin) * -1); padding-right: var(--margin); }
  .areas > .area { flex-basis: min(78%, 320px); min-height: 320px; }
  .columns-3 > div, .numbers > div { padding: 32px 0 0; border-left: 0; }
  .columns-2 > .col-row { padding-top: 32px; }
  .columns-3 > div { padding-bottom: 8px; }
  .numbers > div { padding-bottom: 8px; }
  .split__aside, .faq__head, .form-aside, .sidebar, .meta { width: 100%; }
  .sidebar { position: static; }
  .testimonials { grid-template-columns: 1fr; gap: 56px; }
  .testimonials__sep { display: none; }
  .manifesto__label { width: auto; padding-top: 0; }
  .cta-section { padding-block: 64px; }
  .cta-block { flex-direction: column; }
  .cta-block__text { width: 100%; padding: 48px 28px 40px; }
  .cta-block__photo { min-height: 320px; flex: none; }
  .cta-pop { display: none; }
  .footer__top { flex-wrap: wrap; }
  .footer__brand { width: 100%; }
  .about__bg-img { opacity: .4; background-position: 40% 0; }
  .timeline__row { flex-direction: column; gap: 12px; }
  .timeline__year { width: auto; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  .logo__name { font-size: 20px; }
  .channels { grid-template-columns: 1fr; }
  .columns-2 > .col-row { flex-direction: column; gap: 20px; }
  .form__row { flex-direction: column; }
  .footer__bottom .shell { flex-direction: column; align-items: flex-start; }
  .btn { padding: 16px 24px; }
  .service__title, .post__title { font-size: 24px; }
  .criteria > div, .facts-list > div { flex-direction: column; gap: 6px; }
  .criteria dt, .facts-list dt { width: auto; }
  .mode { gap: 18px; }
  .mode__icon { width: 52px; height: 52px; }
  .faq-item__q { font-size: 20px; padding-block: 24px; }
}

/* ---------- CTA reduzido (fim de artigo) ---------- */
.cta-block--compact { min-height: 0; margin-top: 16px; }
.cta-block--compact .cta-block__text { width: 62%; padding: 48px 32px 48px 48px; gap: 18px; }
.cta-block--compact .cta-block__text .h2 { font-size: clamp(28px, 2.4vw, 34px); line-height: 1.25; }
.cta-block--compact .cta-block__text p { font-size: 17px; line-height: 28px; }
.cta-block--compact .cta-block__photo { background-position: 60% 30%; }

/* ---------- Botão flutuante (notificação) ---------- */
.wa-float { position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
.wa-float > * { pointer-events: auto; }
.wa-float__btn { position: relative; width: 64px; height: 64px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(18, 140, 70, .4); transition: transform .5s var(--ease), background-color .3s; animation: wa-in .9s var(--ease) 1.2s both; }
.wa-float__btn:hover { transform: scale(1.08); background: #1ebe5a; }
.wa-float__btn svg { width: 32px; height: 32px; stroke: #ffffff; stroke-width: 1.7; }
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; opacity: 0; animation: wa-pulse 2.6s ease-out 3s infinite; }
.wa-float__badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ff3b30; color: #ffffff; border: 2px solid var(--papel); font-family: var(--ui); font-weight: 600; font-size: 12px; line-height: 18px; text-align: center; animation: wa-badge .6s var(--ease) 3.6s both; }
.wa-float__badge[hidden] { display: none; }
.wa-float__bubble { position: relative; display: flex; align-items: flex-start; gap: 12px; width: min(330px, calc(100vw - 32px)); background: var(--branco); border: 1px solid var(--linha); border-radius: 14px 14px 4px 14px; padding: 14px 40px 14px 14px; box-shadow: 0 18px 44px rgba(58, 12, 26, .22); cursor: pointer; transform-origin: bottom right; animation: wa-bubble .7s var(--ease) both; }
.wa-float__bubble[hidden] { display: none; }
.wa-float__avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--linha); position: relative; }
.wa-float__avatar img { position: absolute; width: 96px; max-width: none; left: -28px; top: -16px; }
.wa-float__who { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.wa-float__who b { font-family: var(--ui); font-weight: 500; font-size: 15px; color: var(--vinho); }
.wa-float__bubble { border-left: 3px solid #25d366; }
.wa-float__who span { font-size: 12px; color: var(--tinta-suave); }
.wa-float__msg p { font-size: 14px; line-height: 21px; color: var(--tinta); animation: wa-text .5s var(--ease) both; }
.wa-float__x { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--tinta-suave); transition: background-color .3s; }
.wa-float__x:hover { background: var(--creme); }
.wa-float__x svg { width: 14px; height: 14px; }
.wa-float__typing { display: flex; gap: 4px; padding-block: 8px; }
.wa-float__typing[hidden] { display: none; }
.wa-float__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ouro-linha); animation: wa-dot 1.1s ease-in-out infinite; }
.wa-float__typing i:nth-child(2) { animation-delay: .15s; }
.wa-float__typing i:nth-child(3) { animation-delay: .3s; }
body.modal-open .wa-float { opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
@keyframes wa-in { from { opacity: 0; transform: translateY(24px) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes wa-pulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes wa-badge { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes wa-bubble { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes wa-text { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes wa-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ---------- Popup de contato ---------- */
.modal { border: 0; padding: 0; background: transparent; width: min(920px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow-y: auto; overflow-x: hidden; color: var(--tinta); border-radius: 12px; }
.modal::backdrop { background: rgba(58, 12, 26, .68); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s var(--ease); }
.modal.is-open::backdrop { opacity: 1; }
.modal__panel { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; background: var(--papel); border-radius: 12px; overflow: hidden; opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .45s var(--ease), transform .7s var(--ease); }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__media { background: var(--vinho-escuro) url("../img/hero-leilane.webp") 50% 18% / cover no-repeat; min-height: 100%; position: relative; }
.modal__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 12, 26, 0) 55%, rgba(58, 12, 26, .55)); }
.modal__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 0; }
.modal__body > div { display: flex; flex-direction: column; gap: 16px; }
.modal__body [hidden] { display: none !important; }
.modal__title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 38px); line-height: 1.2; color: var(--vinho); }
.modal__lead { font-size: 16px; line-height: 26px; color: var(--tinta-suave); }
.modal__form { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.modal__form .field { gap: 8px; }
.modal__form .field label b { color: var(--ouro-texto); font-weight: 600; }
.modal__form .field input { height: 52px; }
.field input[aria-invalid="true"] { border-color: #a4262c; }
.field__error { font-size: 13px; line-height: 18px; color: #a4262c; }
.modal__submit { justify-content: center; margin-top: 4px; }
.modal__consent { font-size: 13px; line-height: 20px; color: var(--tinta-suave); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(253, 252, 250, .92); border: 1px solid var(--linha); transition: transform .5s var(--ease), background-color .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--branco); }
.modal__close svg { width: 18px; height: 18px; stroke: var(--vinho); }
.modal__check { width: 64px; height: 64px; border-radius: 50%; background: var(--vinho); display: grid; place-items: center; }
.modal__check svg { width: 30px; height: 30px; stroke: var(--dourado); stroke-width: 2; }
.modal__done .btn { align-self: flex-start; }
.modal__again { align-self: flex-start; }
body.modal-open { overflow: hidden; }
@media (max-width: 760px) {
  .modal__panel { grid-template-columns: 1fr; }
  .modal__media { min-height: 150px; }
  .modal { max-height: calc(100dvh - 16px); overflow-y: auto; }
}
@media (max-width: 1100px) {
  .cta-block--compact .cta-block__text { width: 100%; padding: 36px 24px; }
  .cta-block--compact .cta-block__photo { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float__btn, .wa-float__btn::before, .wa-float__badge, .wa-float__bubble, .wa-float__msg p, .wa-float__typing i, .modal__panel, .modal::backdrop { animation: none !important; transition: none !important; }
  .wa-float__btn::before { display: none; }
  .modal__panel { opacity: 1; transform: none; }
  .modal::backdrop { opacity: 1; }
}

/* ==========================================================
   Animações de entrada (estilo Framer)
   ========================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--rx, 0), var(--ry, 34px), 0) scale(var(--rs, 1));
  filter: blur(var(--rb, 6px));
  transition:
    opacity 1s var(--ease) var(--d, 0ms),
    transform 1.15s var(--ease) var(--d, 0ms),
    filter 1s var(--ease) var(--d, 0ms);
  will-change: transform, opacity;
}
.js [data-reveal="fade"] { --ry: 0px; --rb: 0px; }
.js [data-reveal="left"] { --rx: -48px; --ry: 0px; }
.js [data-reveal="right"] { --rx: 48px; --ry: 0px; }
.js [data-reveal="scale"] { --ry: 12px; --rs: .94; --rb: 0px; }
.js [data-reveal="drop"] { --ry: -24px; --rb: 0px; }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* Fotos: revelação em máscara com zoom suave */
.js [data-mask] { clip-path: inset(0 0 100% 0 round 0); transition: clip-path 1.5s var(--ease) var(--d, 0ms); }
.js [data-mask] > img, .js [data-mask] > picture img { transform: scale(1.18); transition: transform 2s var(--ease) var(--d, 0ms); }
.js [data-mask].is-in { clip-path: inset(0 0 0 0 round 0); }
.js [data-mask].is-in > img, .js [data-mask].is-in > picture img { transform: scale(1); }
.js .arch__back[data-reveal] { --ry: 0px; --rx: -30px; --rb: 0px; }

/* Linhas que se desenham */
.js [data-line] { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) var(--d, 0ms); }
.js [data-line].is-in { transform: scaleX(1); }

/* Parallax sutil */
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* Entrada do cabeçalho */
.js .site-header { animation: header-in 1s var(--ease) both; }
@keyframes header-in { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-mask], .js [data-mask] > img, .js [data-line], .js .site-header {
    opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; animation: none !important;
  }
  [data-parallax] { transform: none !important; }
  .service, .btn, .chip, .channel { transition: none !important; }
}

/* Texto rico vindo do painel (Portable Text): citação em destaque e negrito nas listas */
.prose blockquote { display: flex; flex-direction: column; gap: 28px; padding-top: 24px; margin: 0; }
.prose blockquote::before { content: ""; width: 56px; height: 2px; background: var(--ouro-linha); }
.prose blockquote p { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.4; color: var(--vinho); }
.prose li strong { font-weight: 600; color: var(--vinho); }
.prose h2 + ul { margin-top: -8px; }

/* Foto do cliente (link do Instagram) sobre a inicial */
.avatar { position: relative; overflow: hidden; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Fotos reais (capa de posts): preenchem o quadro, sem a opacidade do monograma. */
.post__cover--photo img, .featured__cover--photo img, .cover--photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 1; }
.featured__cover--photo { position: relative; overflow: hidden; display: block; }
.featured__cover--photo img { position: absolute; inset: 0; }
.featured:hover .featured__cover--photo img, .post:hover .post__cover--photo img { transform: scale(1.04); }
.cover--photo { display: block; height: auto; aspect-ratio: 16 / 9; overflow: hidden; }
