/* Atualização nov/2026: bege de apoio, fotos novas e política em pop-up */
:root {
  --bege: #fce7d1;
  --bege-2: #f6d8b8;
  --bege-soft: #fff6ec;
}

/* Bege como cor de apoio */
.sec.bege { background: var(--bege); box-shadow: 0 -24px 48px -32px rgb(40 8 6 / 22%); }
.sec.bege .area li, .sec.bege .chips input:not(:checked) + span { background: var(--bege-soft); border-color: var(--bege-2); }
.sec.bege .card:not(.on-dark) { background: #fffaf4; }
.btn-light { background: var(--bege); color: var(--bordo); }
.btn-light:hover { background: #fff; }
.solid .top-actions .btn-ghost, .menu-open .top-actions .btn-ghost { background: var(--bege); border-color: var(--bege); color: var(--bordo); }
.hero-chip .dot, .on-dark .eyebrow::before { background: var(--bege); }
.signal svg, .glass.dark svg { color: var(--bege); }
.on-dark .title em, .title em { color: var(--bege); font-style: italic; }
.sec.white .title em, .sec.gray .title em, .sec.bege .title em { color: var(--accent); }
.checklist .tag { background: rgb(252 231 209 / 14%); color: var(--bege); }
.mbar .btn-light { background: var(--bege); }
.legal .credit b { color: var(--bege); }

/* Retrato no topo das páginas de área */
.page-hero.with-photo .hero-split { align-items: end; display: grid; gap: 56px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); position: relative; }
.hero-portrait { aspect-ratio: 4 / 5; border-radius: 28px; box-shadow: 0 40px 80px -36px rgb(10 2 1 / 80%); justify-self: end; margin: 0; max-height: 560px; overflow: hidden; position: relative; width: min(100%, 420px); background: #3a1210; }
.hero-portrait img { height: 100%; object-fit: cover; object-position: 50% 18%; width: 100%; }
.hero-portrait figcaption { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); background: rgb(44 12 11 / 58%); border: 1px solid rgb(252 231 209 / 22%); border-radius: 14px; bottom: 16px; color: var(--marfim); font-size: 13px; left: 16px; line-height: 1.4; padding: 10px 14px; position: absolute; right: 16px; }
.hero-portrait figcaption b { color: var(--bege); display: block; font-size: 14px; font-weight: 600; }

/* Bloco de apresentação da home */
.intro { display: grid; gap: 64px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.intro p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.intro p + p { margin-top: 16px; }
.pillars { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; }
.pillar { background: var(--gray); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.pillar .icon { align-items: center; background: var(--bege); border-radius: 12px; color: var(--bordo); display: inline-flex; height: 44px; justify-content: center; margin-bottom: 16px; width: 44px; }
.pillar .icon svg { height: 22px; width: 22px; }
.pillar strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.pillar span { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Linha do tempo da reforma */
.timeline { display: grid; gap: 0; list-style: none; margin: 32px 0 0; padding: 0; }
.timeline li { border-left: 2px solid var(--bege-2); display: grid; gap: 4px; padding: 0 0 22px 22px; position: relative; }
.timeline li::before { background: var(--bege); border: 2px solid var(--bordo); border-radius: 50%; content: ""; height: 12px; left: -7px; position: absolute; top: 3px; width: 12px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline b { color: var(--bordo); font-size: 15px; font-weight: 700; }
.timeline span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.on-dark .timeline li { border-left-color: rgb(252 231 209 / 30%); }
.on-dark .timeline b { color: var(--bege); }
.on-dark .timeline span { color: rgb(243 234 226 / 72%); }

/* Galeria de fotos (página Sobre) */
.gallery { display: grid; gap: 14px; grid-template-columns: 1.2fr 1fr 1fr; margin-top: 48px; }
.gallery figure { aspect-ratio: 4 / 5; border-radius: 24px; margin: 0; overflow: hidden; background: var(--gray-2); }

.gallery img { height: 100%; object-fit: cover; object-position: 50% 20%; width: 100%; }

/* Cartões de tópicos nas páginas de área */
.topics { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic { background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 10px; padding: 26px 24px; }
.sec.bege .topic { background: #fffaf4; border-color: var(--bege-2); }
.topic .icon { align-items: center; background: var(--bege); border-radius: 12px; color: var(--bordo); display: inline-flex; height: 42px; justify-content: center; width: 42px; }
.topic .icon svg { height: 21px; width: 21px; }
.topic h3 { font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.2; }
.topic p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.topic a.more { align-items: center; color: var(--bordo); display: inline-flex; font-size: 14px; font-weight: 600; gap: 6px; text-decoration: none; }
.topic a.more svg { height: 16px; width: 16px; }

/* Política de privacidade em pop-up */
.pp-modal { background: transparent; border: 0; color: var(--ink); max-height: none; max-width: none; padding: 0; }
.pp-modal::backdrop { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); background: rgb(28 6 5 / 62%); }
.pp-box { background: #fff; border-radius: 24px; box-shadow: 0 40px 100px -30px rgb(0 0 0 / 60%); display: grid; grid-template-rows: auto 1fr; max-height: min(86svh, 820px); overflow: hidden; width: min(760px, calc(100vw - 32px)); }
.pp-head { align-items: center; background: var(--bege); display: flex; gap: 16px; justify-content: space-between; padding: 20px 24px; }
.pp-head h2 { color: var(--bordo); font-family: var(--serif); font-size: 26px; font-weight: 400; }
.pp-head small { color: var(--muted); display: block; font-size: 13px; margin-top: 2px; }
.pp-close { align-items: center; background: #fff; border: 1px solid var(--bege-2); border-radius: 50%; color: var(--bordo); cursor: pointer; display: inline-flex; flex: 0 0 auto; font-size: 22px; height: 40px; justify-content: center; line-height: 1; width: 40px; }
.pp-close:hover { background: var(--bordo); color: var(--bege); }
.pp-body { overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 28px; }
.pp-body h3 { color: var(--bordo); font-family: var(--serif); font-size: 20px; font-weight: 400; margin: 22px 0 8px; }
.pp-body p, .pp-body li { color: #4a3a38; font-size: 15px; line-height: 1.65; }
.pp-body ul { margin: 0; padding-left: 20px; }
.pp-body li + li { margin-top: 6px; }
.pp-open { overflow: hidden; }
.pp-modal[open] .pp-box { animation: ppIn .35s var(--ease); }
@keyframes ppIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .page-hero.with-photo .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-portrait { justify-self: start; width: min(360px, 82vw); }
  .intro { gap: 32px; grid-template-columns: 1fr; }
  .pillars, .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .pillars, .topics { grid-template-columns: 1fr; }
  .pp-head { padding: 16px 18px; }
  .pp-head h2 { font-size: 22px; }
  .pp-body { padding: 4px 18px 24px; }
}
@media (prefers-reduced-motion: reduce) { .pp-modal[open] .pp-box { animation: none; } }

/* Botões do topo não passam da largura no celular */
.hero-actions .btn { max-width: 100%; min-width: 0; }
@media (max-width: 640px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; text-align: center; white-space: normal; }
}

/* Home: topo com foto sangrada, no estilo editorial */
.hero-bleed { background: linear-gradient(160deg, #3d0e0c 0%, #2a0908 60%, #1f0706 100%); isolation: isolate; overflow: hidden; }
.hero-bleed .hero-plan { z-index: 0; }
.hero-bleed .hero-plan .plan { left: -12%; right: auto; opacity: .28; width: min(52vw, 700px); }
.bleed-photo { bottom: 0; margin: 0; position: absolute; right: 0; top: 0; width: 58%; z-index: 0; }
.bleed-photo img { filter: saturate(.92) contrast(1.04); height: 100%; object-fit: cover; object-position: 50% 16%; transform: translateY(var(--py, 0px)) scale(1.04); width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 55%) 18%, #000 42%), linear-gradient(0deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 55%) 18%, #000 42%), linear-gradient(0deg, transparent 0%, #000 22%); mask-composite: intersect; }
.bleed-photo::after { background: radial-gradient(60% 50% at 70% 30%, transparent 40%, rgb(42 9 8 / 35%) 100%), linear-gradient(90deg, rgb(42 9 8 / 30%), transparent 40%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.bleed-tag { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); align-items: center; background: rgb(44 12 11 / 45%); border: 1px solid rgb(252 231 209 / 35%); border-radius: 8px; color: var(--marfim); display: inline-flex; font-size: 12.5px; font-weight: 600; gap: 7px; letter-spacing: .08em; padding: 8px 12px; position: absolute; text-transform: uppercase; z-index: 2; }
.bleed-tag svg { color: var(--bege); height: 15px; width: 15px; }
.bleed-tag.t1 { right: 7%; top: 58%; }
.bleed-tag.t2 { left: 24%; top: 70%; }
.hero-bleed .hero-inner { position: relative; z-index: 1; }
.hero-bleed .hero-main { grid-template-columns: minmax(0, 1fr); }
.hero-bleed .hero-copy { max-width: 600px; }
.kicker { color: var(--bege); font-size: 14px; font-weight: 600; letter-spacing: .14em; margin: 0; text-transform: uppercase; }
.hero-bleed h1 { margin-top: 18px; }
.btn-gold { background: linear-gradient(135deg, #fce7d1 0%, #f2c897 100%); color: var(--bordo); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 14px 30px -14px rgb(242 200 151 / 55%); }
.btn-gold:hover { background: linear-gradient(135deg, #fff3e6 0%, #f6d3aa 100%); }
.btn-outline-gold { background: transparent; border: 1.5px solid rgb(252 231 209 / 70%); color: var(--bege); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.btn-outline-gold:hover { background: rgb(252 231 209 / 10%); border-color: var(--bege); }
.hero-sign { color: rgb(243 234 226 / 60%); font-size: 13.5px; margin-top: 28px; }
.hero-sign b { color: var(--marfim); font-weight: 600; }
.hero-bleed .signals { border-top-color: rgb(252 231 209 / 16%); }
@media (max-width: 1100px) {
  .bleed-photo { width: 70%; }
  .bleed-photo img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%), linear-gradient(0deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 50%), linear-gradient(0deg, transparent 0%, #000 30%); }
  .bleed-tag.t2 { left: 30%; }
}
@media (max-width: 760px) {
  .bleed-photo { bottom: auto; height: 62svh; left: 0; width: 100%; }
  .bleed-photo img { object-position: 50% 10%; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 45%); mask-image: linear-gradient(0deg, transparent 0%, #000 45%); -webkit-mask-composite: source-over; mask-composite: add; }
  .bleed-photo::after { background: linear-gradient(0deg, rgb(42 9 8 / 70%), transparent 50%); }
  .bleed-tag { font-size: 11px; padding: 6px 10px; }
  .bleed-tag.t1 { right: 5%; top: 46%; }
  .bleed-tag.t2 { left: 5%; top: 56%; }
  .hero-bleed .hero-inner { padding-top: 46svh; }
  .kicker { font-size: 12.5px; }
}

/* Home: topo enxuto com recorte da foto */
.hero-cut { background: radial-gradient(55% 70% at 74% 62%, rgb(252 231 209 / 16%) 0%, transparent 62%), radial-gradient(80% 80% at 10% 0%, #6a1915 0%, transparent 55%), linear-gradient(160deg, #4a110e 0%, #2e0a09 60%, #220807 100%); isolation: isolate; overflow: hidden; }
.hero-cut .hero-plan { z-index: 0; }
.hero-cut .hero-plan .plan { opacity: .18; }
.hero-cut .hero-inner { align-content: center; min-height: min(100svh, 920px); padding: 140px 0 calc(var(--r-sec) + 56px); position: relative; z-index: 1; }
.hero-cut .hero-copy { max-width: 560px; }
.hero-cut h1 { margin: 18px 0 20px; font-size: clamp(44px, 5vw, 72px); }
.hero-cut .hero-copy > p:not(.kicker) { font-size: 18.5px; max-width: 42ch; }
.hero-cut .btn-outline-gold { padding: 0; width: 54px; justify-content: center; }
.hero-cut .btn-outline-gold svg { height: 18px; width: 18px; }
.cut-photo { bottom: 0; height: 92%; margin: 0; position: absolute; right: max(2vw, calc((100vw - 1200px) / 2 - 40px)); width: min(46vw, 640px); z-index: 0; }
.cut-photo img { bottom: 0; height: 100%; object-fit: contain; object-position: 50% 100%; position: absolute; right: 0; transform: translateY(var(--py, 0px)); width: 100%; filter: drop-shadow(0 30px 50px rgb(10 2 1 / 45%));
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 16%); mask-image: linear-gradient(0deg, transparent 0%, #000 16%); }
.cut-photo .bleed-tag.t1 { right: 2%; top: 46%; }
.cut-photo .bleed-tag.t2 { left: 6%; top: 64%; }
@media (max-width: 1100px) { .cut-photo { width: 52vw; right: 0; } }
@media (max-width: 760px) {
  .cut-photo { height: 56svh; left: 0; right: 0; top: 70px; bottom: auto; width: 100%; }
  .cut-photo img { -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 35%); mask-image: linear-gradient(0deg, transparent 0%, #000 35%); }
  .cut-photo .bleed-tag.t1 { right: 6%; top: 40%; }
  .cut-photo .bleed-tag.t2 { left: 6%; top: 55%; }
  .hero-cut .hero-inner { align-content: end; min-height: 100svh; padding-top: 52svh; }
  .hero-cut .hero-copy > p:not(.kicker) { font-size: 16px; }
  .hero-cut .hero-actions { flex-wrap: nowrap; }
  .hero-cut .hero-actions .btn-gold { flex: 1 1 auto; }
  .hero-cut .hero-actions .btn-outline-gold { flex: 0 0 54px; }
}

/* Home: topo com retrato em arco, plaquinha com nome e OAB e faixa de temas */
.hero-arch { background: radial-gradient(50% 60% at 72% 45%, rgb(122 32 26 / 55%) 0%, transparent 70%), radial-gradient(70% 80% at 0% 0%, #4d120f 0%, transparent 60%), linear-gradient(160deg, #3a0d0b 0%, #2a0908 55%, #1e0706 100%); isolation: isolate; overflow: hidden; padding-bottom: 0 !important; }
.hero-arch .hero-plan { z-index: 0; }
.hero-arch .hero-plan .plan { opacity: .14; }
.hero-arch .hero-inner { align-content: end; align-items: end; display: grid; gap: 40px; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: calc(min(100svh, 900px) - 56px); padding: 110px 0 0; position: relative; z-index: 1; }
.hero-arch .hero-copy { align-self: center; max-width: 600px; padding-bottom: 40px; }
.hero-arch h1 { color: var(--marfim); font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; margin: 0 0 22px; }
.hero-arch h1 .h1-top { color: var(--bege); display: block; font-size: .8em; letter-spacing: .01em; margin-bottom: 6px; text-transform: uppercase; }
.hero-arch .hero-copy > p:not(.hero-note) { color: rgb(243 234 226 / 80%); font-size: 18.5px; line-height: 1.65; max-width: 44ch; }
.hero-arch .hero-copy b { color: var(--marfim); font-weight: 600; }
.hero-arch .btn-gold { font-family: var(--serif); font-size: 18px; font-weight: 400; letter-spacing: .01em; text-transform: none; }
.hero-arch .btn-gold svg { height: 18px; width: 18px; }
.hero-note { color: rgb(243 234 226 / 62%); font-size: 14px; line-height: 1.55; margin-top: 26px; max-width: 46ch; }
.arch-wrap { align-self: end; height: min(72svh, 640px); justify-self: center; position: relative; width: min(100%, 470px); }
.arch-ring { border: 1.5px solid rgb(252 231 209 / 22%); border-radius: 999px 999px 0 0; bottom: 0; left: -9%; position: absolute; right: -9%; top: -6%; }
.arch-mono { color: rgb(252 231 209 / 6%); font-family: var(--serif); font-size: clamp(220px, 26vw, 380px); line-height: 1; pointer-events: none; position: absolute; right: -38%; top: -4%; user-select: none; }
.arch-photo { border-radius: 999px 999px 0 0; height: 100%; margin: 0; overflow: hidden; position: relative; width: 100%; background: #4a4a52; box-shadow: 0 40px 90px -40px rgb(0 0 0 / 80%); }
.arch-photo img { height: 100%; object-fit: cover; object-position: 50% 30%; transform: translateY(var(--py, 0px)) scale(1.32); transform-origin: 56% 78%; width: 100%; }
.arch-photo::after { background: linear-gradient(0deg, rgb(30 7 6 / 55%) 0%, transparent 30%); content: ""; inset: 0; position: absolute; }
.nameplate { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); background: rgb(30 8 7 / 62%); border: 1px solid rgb(252 231 209 / 18%); border-radius: 12px; bottom: 28px; display: grid; gap: 3px; padding: 12px 16px; position: absolute; right: -14%; z-index: 2; }
.nameplate strong { color: var(--marfim); font-size: 14px; font-weight: 500; }
.nameplate span { color: rgb(252 231 209 / 70%); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ticker { background: linear-gradient(90deg, #4a120f, #5a1713 50%, #4a120f); border-top: 1px solid rgb(252 231 209 / 14%); overflow: hidden; position: relative; z-index: 2; margin-bottom: var(--r-sec); }
.ticker-track { animation: tick 46s linear infinite; display: flex; gap: 26px; padding: 18px 0; white-space: nowrap; width: max-content; }
.ticker span { color: rgb(252 231 209 / 82%); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.ticker i { align-self: center; background: rgb(252 231 209 / 45%); height: 12px; width: 1px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
@media (max-width: 1100px) {
  .hero-arch .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 112px; }
  .hero-arch .hero-copy { padding-bottom: 0; }
  .arch-wrap { height: 58svh; width: min(78vw, 380px); }
  .nameplate { right: -6%; }
}
@media (max-width: 640px) {
  .hero-arch h1 { font-size: clamp(28px, 8vw, 36px); }
  .hero-arch .hero-copy > p:not(.hero-note) { font-size: 16px; }
  .hero-arch .btn-gold { width: 100%; justify-content: center; }
  .arch-wrap { height: 52svh; width: 76vw; }
  .arch-mono { display: none; }
  .nameplate { bottom: 18px; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }
  .nameplate strong { font-size: 13px; }
  .ticker-track { padding: 14px 0; }
  .ticker span { font-size: 12px; }
}

/* Ajustes do topo (v4): foto alinhada ao texto e tipografia do site */
.hero-arch .hero-inner { align-items: center; padding-bottom: 48px; }
.hero-arch .hero-copy { padding-bottom: 0; }
.arch-wrap { align-self: center; height: min(66svh, 580px); margin-top: 24px; }
.arch-ring { bottom: -24px; }
.arch-photo { border-radius: 999px 999px 28px 28px; }
.arch-photo img { object-position: 50% 22%; transform: translateY(var(--py, 0px)) scale(1.08); transform-origin: 50% 30%; }
.hero-arch h1 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04; margin: 18px 0 22px; }
.hero-arch .kicker { color: var(--bege); }
.hero-arch .btn-gold { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@media (max-width: 1100px) { .arch-wrap { height: 56svh; } }
@media (max-width: 640px) { .hero-arch h1 { font-size: clamp(34px, 9.5vw, 44px); } .arch-wrap { height: 50svh; } }
.hero-arch .hero-copy > p.kicker { max-width: none; }

/* Botões do topo: consulta em degradê e seta de rolagem */
.hero-arch .hero-actions { align-items: center; flex-wrap: nowrap; gap: 14px; }
.btn-cta { align-items: center; background: linear-gradient(110deg, #fce7d1 0%, #f4c9a4 45%, #e8a07e 100%); background-size: 200% 100%; background-position: 0% 50%; border-radius: 10px; box-shadow: 0 14px 34px -14px rgb(232 160 126 / 60%), inset 0 1px 0 rgb(255 255 255 / 55%); color: #3a0d0b; display: inline-flex; font-size: 15px; font-weight: 700; gap: 16px; height: 54px; letter-spacing: .07em; padding: 0 22px 0 26px; position: relative; overflow: hidden; text-decoration: none; text-transform: uppercase; transition: background-position .6s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn-cta::before { background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / 55%) 50%, transparent 80%); content: ""; inset: 0; position: absolute; transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-cta span, .btn-cta svg { position: relative; }
.btn-cta svg { height: 18px; transition: transform .35s var(--ease); width: 18px; }
.btn-cta:hover { background-position: 100% 50%; box-shadow: 0 20px 40px -14px rgb(232 160 126 / 75%), inset 0 1px 0 rgb(255 255 255 / 55%); transform: translateY(-2px); }
.btn-cta:hover::before { transform: translateX(120%); }
.btn-cta:hover svg { transform: translateX(5px); }
.btn-cta:active { transform: translateY(0); }
.btn-scroll { align-items: center; border: 1.5px solid rgb(244 201 164 / 75%); border-radius: 10px; color: var(--bege); display: inline-flex; flex: 0 0 auto; height: 54px; justify-content: center; text-decoration: none; transition: background .3s, border-color .3s; width: 54px; }
.btn-scroll svg { animation: nudge 2.4s var(--ease) infinite; height: 18px; transform: rotate(90deg); width: 18px; }
.btn-scroll:hover { background: rgb(252 231 209 / 10%); border-color: var(--bege); }
.btn-scroll:hover svg { animation: bounce .7s var(--ease) infinite alternate; }
@keyframes nudge { 0%, 70%, 100% { transform: rotate(90deg) translateX(0); } 80% { transform: rotate(90deg) translateX(4px); } 90% { transform: rotate(90deg) translateX(0); } }
@keyframes bounce { from { transform: rotate(90deg) translateX(-3px); } to { transform: rotate(90deg) translateX(5px); } }
@media (max-width: 640px) { .btn-cta { flex: 1 1 auto; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .btn-scroll svg, .btn-scroll:hover svg { animation: none; } .btn-cta::before { display: none; } }

/* Layout novo aplicado ao site todo (v6) */
.btn { border-radius: 10px; }
.btn-light { background: linear-gradient(110deg, #fce7d1 0%, #f4c9a4 50%, #e8a07e 100%); background-size: 200% 100%; color: #3a0d0b; transition: background-position .6s var(--ease), transform .35s var(--ease); }
.btn-light:hover { background: linear-gradient(110deg, #fce7d1 0%, #f4c9a4 50%, #e8a07e 100%); background-size: 200% 100%; background-position: 100% 50%; transform: translateY(-2px); }
.mbar .btn-light { background: linear-gradient(110deg, #fce7d1, #f0bc95); }
.ticker { margin-bottom: 0; }
.hero-arch { padding-bottom: 0 !important; }

/* Arco nas páginas internas */
.page-hero.with-photo { padding-bottom: calc(var(--r-sec) + 64px); }
.page-hero.with-photo .hero-split { align-items: center; }
.arch-page { height: min(62svh, 540px); width: min(100%, 400px); justify-self: end; }
.page-hero .kicker { margin: 18px 0 0; }
.page-hero .hero-actions { margin-top: 30px; }

/* Arco em fundo claro (apresentação da home) */
.intro-photo { align-items: center; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.intro-photo .head { margin-bottom: 24px; }
.arch-light { height: min(64svh, 560px); width: min(100%, 420px); justify-self: end; }
.arch-light .arch-ring { border-color: rgb(101 21 18 / 20%); bottom: -20px; }
.arch-light .arch-photo { background: var(--gray-2); box-shadow: 0 40px 80px -40px rgb(40 8 6 / 45%); }
.arch-light .arch-photo::after { display: none; }
.arch-light .nameplate { background: rgb(44 12 11 / 82%); }

/* Galeria com 4 fotos */
.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery figure { aspect-ratio: 3 / 4; border-radius: 999px 999px 24px 24px; }

@media (max-width: 1100px) {
  .intro-photo { grid-template-columns: 1fr; }
  .arch-light, .arch-page { justify-self: center; height: 56svh; width: min(78vw, 380px); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: auto; aspect-ratio: 3 / 4; }
}
@media (max-width: 640px) {
  .arch-light, .arch-page { height: 50svh; width: 76vw; }
  .page-hero .hero-actions { flex-wrap: nowrap; }
}

/* Abertura do site: fundo bordô, monograma e depois o nome */
.loader { display: none; }
html.loading .loader, .loader.out { align-items: center; background: radial-gradient(60% 60% at 50% 45%, #5a1512 0%, #2c0a09 70%, #1e0706 100%); display: grid; inset: 0; justify-items: center; position: fixed; z-index: 2000; }
html.loading body { overflow: hidden; }
.ld-in { align-items: center; display: flex; gap: 16px; }
.ld-mono .mono { animation: ldMono .9s cubic-bezier(.34, 1.4, .64, 1) .15s both; border-radius: 16px; box-shadow: 0 20px 50px -18px rgb(0 0 0 / 70%), inset 0 0 0 1px rgb(252 231 209 / 20%); height: 72px; width: 72px; }
.ld-text { display: grid; gap: 4px; overflow: hidden; }
.ld-text b { animation: ldText .9s cubic-bezier(.2, .7, .2, 1) .85s both; color: var(--marfim); font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.ld-text small { animation: ldText .8s cubic-bezier(.2, .7, .2, 1) 1.2s both; color: var(--bege); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.ld-bar { background: rgb(252 231 209 / 12%); bottom: 18%; height: 1px; left: 50%; position: absolute; transform: translateX(-50%); width: 120px; }
.ld-bar i { animation: ldBar 2s cubic-bezier(.6, 0, .2, 1) .2s both; background: var(--bege); display: block; height: 100%; transform-origin: left; }
.loader.out { animation: ldOut .9s cubic-bezier(.7, 0, .2, 1) both; }
.loader.out .ld-in { animation: ldFade .5s ease both; }
@keyframes ldMono { from { opacity: 0; transform: scale(.4) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes ldText { from { clip-path: inset(0 100% 0 0); opacity: 0; transform: translateX(-12px); } to { clip-path: inset(0 0 0 0); opacity: 1; transform: none; } }
@keyframes ldBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ldOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes ldFade { to { opacity: 0; transform: translateY(-14px); } }
@media (max-width: 640px) { .ld-mono .mono { height: 56px; width: 56px; border-radius: 13px; } .ld-text b { font-size: 26px; } .ld-text small { font-size: 10.5px; } }
@media (prefers-reduced-motion: reduce) { .ld-mono .mono, .ld-text b, .ld-text small, .ld-bar i { animation: none; } .loader.out { animation: ldFadeOut .3s both; } @keyframes ldFadeOut { to { opacity: 0; } } }

/* Animações do topo: arco revela de baixo para cima, plaquinha entra depois */
.js .arch-photo { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); transition: clip-path 1.3s var(--ease) .25s; }
.loaded #inicio .arch-photo, .js .arch-light.in .arch-photo { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); }
.js .arch-photo img { transition: transform 1.8s var(--ease); }
.js .arch-ring { opacity: 0; transform: scale(.96); transform-origin: 50% 100%; transition: opacity 1s ease .6s, transform 1.4s var(--ease) .6s; }
.loaded #inicio .arch-ring, .js .arch-light.in .arch-ring { opacity: 1; transform: none; }
.js .nameplate { opacity: 0; transform: translateY(14px); transition: opacity .7s ease 1.1s, transform .9s var(--ease) 1.1s; }
.loaded #inicio .nameplate, .js .arch-light.in .nameplate { opacity: 1; transform: none; }
.js .arch-mono { opacity: 0; transition: opacity 1.6s ease .9s; }
.loaded .arch-mono { opacity: 1; }
.js .ticker-track { opacity: 0; transition: opacity 1s ease 1s; }
.loaded .ticker-track { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .arch-photo, .js .arch-ring, .js .nameplate, .js .ticker-track, .js .arch-mono { clip-path: none; opacity: 1; transform: none; transition: none; } }

/* Abertura v2: monograma LC escrito à mão, sem moldura */
.ld-in { gap: 22px; }
.ld-sign { flex: 0 0 auto; height: 128px; overflow: visible; width: auto; }
.ld-sign path { fill: none; filter: drop-shadow(0 0 10px rgb(252 231 209 / 25%)); stroke: var(--marfim); stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; stroke-linejoin: round; stroke-width: 12; }
.ld-sign .s1 { animation: ldDraw 1.15s cubic-bezier(.55, .05, .35, 1) .25s forwards; }
.ld-sign .s2 { animation: ldDraw .95s cubic-bezier(.55, .05, .35, 1) 1.3s forwards; }
.ld-text b { animation-delay: 2s; }
.ld-text small { animation-delay: 2.3s; }
.ld-bar i { animation-duration: 2.7s; }
@keyframes ldDraw { to { stroke-dashoffset: 0; } }
@media (max-width: 640px) { .ld-in { flex-direction: column; gap: 18px; text-align: center; } .ld-sign { height: 110px; } .ld-text { justify-items: center; } }
@media (prefers-reduced-motion: reduce) { .ld-sign path { animation: none; stroke-dashoffset: 0; } }
.ld-text { overflow: visible; }
.ld-sign { height: 150px; }
.ld-sign path { stroke-width: 14; }

/* Correções (24/11 tarde): fotos não dependem de JavaScript e mantêm a proporção em telas baixas */
.nav a { white-space: nowrap; }
.arch-wrap { aspect-ratio: 4 / 5; height: auto !important; }
.hero-arch .arch-wrap { width: min(440px, 100%, calc(72svh * .8)); }
.arch-page { width: min(400px, 100%, calc(64svh * .8)) !important; }
.arch-light { width: min(420px, 100%, calc(72svh * .8)) !important; }
.js .arch-photo { clip-path: none; transition: none; }
.js .arch-ring, .js .nameplate, .js .arch-mono { opacity: 1; transform: none; transition: none; }
.js #inicio .arch-photo { animation: archIn 1.3s var(--ease) .35s both; }
.js #inicio .arch-ring { animation: fadeUp 1.2s var(--ease) .8s both; }
.js #inicio .nameplate { animation: fadeUp .9s var(--ease) 1.3s both; }
html.loading #inicio .arch-photo, html.loading #inicio .arch-ring, html.loading #inicio .nameplate { animation-play-state: paused; }
@keyframes archIn { from { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); } to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) { .hero-arch .arch-wrap, .arch-page, .arch-light { width: min(380px, 78vw, calc(56svh * .8)) !important; } }
@media (max-width: 640px) { .hero-arch .arch-wrap, .arch-page, .arch-light { width: min(76vw, calc(54svh * .8)) !important; } }
@media (prefers-reduced-motion: reduce) { .js #inicio .arch-photo, .js #inicio .arch-ring, .js #inicio .nameplate { animation: none; } }
.arch-photo img[src*="poltrona"] { transform: scale(1.32); transform-origin: 56% 80%; }

/* Ajustes v3 (24/11): botões arredondados acompanhando o contorno, timeline fixa na rolagem, rodapé mais baixo */
.btn, .btn-cta, .mbar .btn-light { border-radius: 999px; }
.btn-scroll { border-radius: 50%; }
.btn-cta { padding: 0 24px 0 28px; }
.nav { flex-wrap: nowrap; }
.nav a { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1280px) { .nav { gap: 2px; } .nav a { font-size: 14px; padding-left: 10px; padding-right: 10px; } .top-actions .btn { padding: 0 16px; } }

/* Linha do tempo acompanha a rolagem do texto */
.buy-grid { align-items: start; }
#compra .panel { position: sticky; top: 110px; }

/* Botões do destaque lado a lado */
.buy-cta { flex-wrap: nowrap; }
.buy-cta .btn { flex: 0 0 auto; }
@media (max-width: 640px) { .buy-cta { flex-wrap: wrap; } .buy-cta .btn { flex: 1 1 100%; } #compra .panel { position: static; } }

/* Foto do "Conheça a Dra." enquadrada */
.about-photo img[src*="poltrona"], .in .about-photo img[src*="poltrona"], .about-photo.in img[src*="poltrona"] { object-position: 50% 50%; transform: scale(1.42) !important; transform-origin: 56% 78%; }

/* Rodapé mais compacto, linha final lado a lado */
footer { padding: 64px 0 22px; }
.foot { padding-bottom: 32px; }
@media (min-width: 900px) {
  .legal { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
  .legal > * + *::before { color: rgb(243 234 226 / 25%); content: "·"; margin-right: 22px; }
}

/* Abertura v3: o traço revela o desenho real do monograma */
.ld-sign .glyph { fill: var(--marfim); filter: drop-shadow(0 0 12px rgb(252 231 209 / 22%)); }
.ld-sign mask path { fill: none; filter: none; stroke: #fff; stroke-width: 54; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; stroke-linejoin: round; }
.ld-sign mask .s1 { animation: ldDraw 1.2s cubic-bezier(.55, .05, .35, 1) .25s forwards; }
.ld-sign mask .s2 { animation: ldDraw 1s cubic-bezier(.55, .05, .35, 1) 1.35s forwards; }
@media (prefers-reduced-motion: reduce) { .ld-sign mask path { animation: none; stroke-dashoffset: 0; } }

/* v4: abertura mais curta e botão do menu fixo mais baixo e estreito */
.ld-sign mask .s1 { animation-duration: .75s; animation-delay: .1s; }
.ld-sign mask .s2 { animation-duration: .6s; animation-delay: .8s; }
.ld-text b { animation-duration: .6s; animation-delay: 1.2s; }
.ld-text small { animation-duration: .5s; animation-delay: 1.4s; }
.ld-bar i { animation-duration: 1.7s; animation-delay: .1s; }
.loader.out { animation-duration: .7s; }
.solid .top-actions .btn, .menu-open .top-actions .btn { font-size: 13.5px; gap: 8px; min-height: 38px; padding: 0 16px; }
.solid .top-actions .btn svg, .menu-open .top-actions .btn svg { height: 16px; width: 16px; }
.solid .top-actions, .menu-open .top-actions { margin-right: 6px; }
