/* IMERA: o que o kit não tem, usado em todas as páginas */
:root { --gold: #a8854f; }
.hero__kicker .dot { background: var(--gold); }
/* lista de tratamentos: nome, descrição e status, com uma linha fina entre os itens */
.tx { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.tx li { display: grid; gap: var(--s-2); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.tx li:first-child { padding-top: 0; }
.tx h3 { font: 500 var(--t-lead)/1.35 var(--font-text); letter-spacing: -0.01em; margin: 0; }
.tx p { margin: 0; color: var(--ink); max-width: 60ch; }
.tag { display: inline-flex; align-items: center; gap: var(--s-2); font: 500 13px/1.3 var(--font-text); color: var(--ink); }
.tag::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.tag--tec::before { background: var(--accent); }
.tag--inv::before { background: var(--gold); }
.tag--reg::before, .tag--disp::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--accent); }
.tx-side { display: flex; flex-direction: column; gap: var(--s-6); }
.tx-photo { flex: 1 1 auto; min-height: 240px; }
@media (min-width: 1024px) { .tx-side { height: 100%; } }
.site-map { gap: var(--s-2) var(--s-5); }
.visit-addr { font-style: normal; }
@media (min-width: 1024px) {
  .tx--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter, 24px); }
  .tx--cols > li:nth-child(2), .tx--cols > .faq__item:nth-child(2) { padding-top: 0; }
  .faq.tx--cols > .faq__item:nth-child(2) { padding-top: 0; }
}
@media (max-width: 639px) { #lista .rows > li { padding-block: var(--s-2); } }
@media (min-width: 1024px) and (max-width: 1279px) { .tx-sec--long .section-head { margin-bottom: var(--s-6); } .tx-sec--long .tx > li { padding-block: var(--s-2); } .tx-sec--long .tx > li:first-child { padding-top: 0; } }
@media (min-width: 640px) and (max-width: 1023px) { .g2 .tile--wide { --tile-ratio: 21 / 9; } }
@media (min-width: 1024px) and (max-width: 1279px) {
  .tx-sec .section-head { margin-bottom: var(--s-6); }
  .tx-sec .tx > li { padding-block: var(--s-2); }
  .tx-sec .tx > li:first-child { padding-top: 0; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .tx-sec .frame[style] { --ratio: 66% !important; }
  .place-sec .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .place-sec .grid > .frame { grid-column: auto; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .place-sec .frame[style] { --ratio: 125% !important; }
}
.tx__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-1) var(--s-4); }
.tx__head .tag { flex: none; }
/* faixa de foto larga (variante de lista) */
.band-photo { margin: 0 0 var(--s-6); border-radius: var(--r-lg); overflow: clip; aspect-ratio: 1280 / 240; background: var(--surface); }
.tx-band--4 .band-photo { aspect-ratio: 1280 / 170; }
.band-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tx.grid { row-gap: 0; }
.tx.grid > li { border-bottom: 1px solid var(--line); }
@media (max-width: 1023px) {
  .band-photo, .tx-band--4 .band-photo { aspect-ratio: 16 / 9; margin-bottom: var(--s-6); }
}
@media (max-width: 639px) { .tx-sec .frame[style] { --ratio: 75% !important; } }
.tx-sec--long .tx > li { padding-block: var(--s-3); } .tx-sec--long .tx > li:first-child { padding-top: 0; }
.tile--square { --tile-ratio: 4 / 3; }
.tile--square .tile__media > img { object-position: 50% 25%; }
.pro-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); align-self: stretch; }
.pro-pics > .frame { --ratio: 150%; }
@media (max-width: 1023px) { .pro-pics > .frame { --ratio: 125%; } }
.tile h3 .link { color: inherit; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .people-sec .tile--square { --tile-ratio: 4 / 3; }
  .pro-pics > .frame { --ratio: 150%; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .people-sec.g2 { --h: 1; }
  .people-sec .grid > .tile--square { grid-column: auto / span 4; }
  .people-sec .grid > .tile--square:nth-child(odd of .tile):nth-last-child(1 of .tile) { grid-column: auto / span 4; }
}
@media (max-width: 639px) {
  .pro-pics { gap: 12px; }
  .people-sec.g2 { --hm: 2; }
  .people-sec .grid > .tile--square, .people-sec .grid > .tile--square:nth-child(odd of .tile):nth-last-child(1 of .tile) {
    grid-column: 1 / -1; grid-template-columns: 150px minmax(0, 1fr); column-gap: var(--s-4); row-gap: var(--s-1); align-content: start; }
  .people-sec .grid > .tile--square > .tile__media { grid-row: 1 / span 3; align-self: start; aspect-ratio: 1 / 1; }
  .people-sec .grid > .tile--square { grid-template-rows: auto auto 1fr; gap: var(--s-1) var(--s-4); }
  .people-sec .grid > .tile--square .tile__facts { margin-top: 0; }
}

/* ---- espaço em branco reduzido (pedido do cliente): cada seção tem a altura do seu conteúdo,
   com o mesmo respiro em cima e embaixo; o hero continua ocupando a primeira tela ---- */
:root { --sec-pad: clamp(48px, 6vw, 88px); }
main > :is(section, .section):not(.hero):not([data-moment="pinned-chapters"]),
main > [data-moment="pinned-chapters"]:not(.is-live),
footer.closing {
  height: auto !important; min-height: 0 !important;
  padding-top: var(--sec-pad) !important; padding-bottom: var(--sec-pad) !important;
}
main > :is(section, .section).g2 > :is(.wrap, .container),
footer.closing.g2 > .wrap { grid-template-rows: auto auto !important; row-gap: var(--s-7) !important; }
main > :is(section, .section).g2 > :is(.wrap, .container) > :last-child { margin-block: 0 !important; }
main > :is(section, .section) + :is(section, .section):not(.hero) { padding-top: calc(var(--sec-pad) * .5) !important; }
.statement .mo-wh__text { margin: 0; }
footer.closing > .wrap { gap: var(--s-8); }

/* =====================================================================
   IMERA premium: tipografia serifada da marca, marfim, vinho e dourado
   ===================================================================== */
:root { --gold: #a8854f; --gold-soft: #c9a66b; --ivory: #f5f0e8; --hair: color-mix(in oklab, var(--gold) 35%, transparent); }
body { font-weight: 400; -webkit-font-smoothing: antialiased; }
:is(h1, h2, .footer__address, .mo-wh__text, .close__word) { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.005em; }
h1 { font-size: clamp(44px, 5.6vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(34px, 3.7vw, 58px); line-height: 1.06; }
:is(h1, h2) em { font-style: italic; font-weight: 400; color: var(--accent); }
.section-head p, .t-lead { font-weight: 300; }
p { font-weight: 400; }

/* rótulo acima dos títulos: fio dourado + caixa alta espaçada */
.eyebrow { display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-5); font: 500 12px/1.4 var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }

/* cabeçalho: marca em serifa espaçada, filete dourado */
header.nav { background: color-mix(in oklab, var(--p-bg) 94%, white); border-bottom: 1px solid var(--hair); }
.nav__logo { font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: .22em; }
.nav__link { letter-spacing: .02em; }

/* botões: vinho sólido, cantos discretos; no escuro, dourado */
html[data-buttons] .btn { border-radius: 2px; letter-spacing: .03em; font-weight: 500; }
.band-dark .btn--primary, .hero-imera .btn--primary { background: var(--gold-soft); color: #1a0f12; border-color: var(--gold-soft); }
.band-dark .btn--primary:hover, .hero-imera .btn--primary:hover { background: #d8b77d; border-color: #d8b77d; }

/* fotos: cantos retos e leve zoom no hover */
.frame, .tile__media, .pro-pics > .frame, .mo-pc__visual { border-radius: 2px !important; }

/* ---------------- hero em tela cheia ---------------- */
.hero.hero-imera { position: relative; min-height: 100svh; height: auto; padding: 0; display: flex; align-items: flex-end; color: var(--ivory); background: #1a0f12; overflow: hidden; }
.hero-imera__media { position: absolute; inset: 0; z-index: 0; }
.hero-imera__media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; display: block; }
.hero-imera__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 10 12 / .86) 0%, rgb(20 10 12 / .55) 42%, rgb(20 10 12 / .05) 75%), linear-gradient(0deg, rgb(20 10 12 / .6), transparent 45%); pointer-events: none; }
.hero-imera__media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #1a0f12; z-index: 3; }
.hero-imera__text { position: relative; z-index: 2; padding-block: calc(var(--nav) + var(--s-9)) clamp(56px, 9vh, 112px); }
.hero-imera h1 { color: var(--ivory); max-width: 12ch; margin: 0; }
.hero-imera h1 em { color: var(--gold-soft); display: block; }
.hero-imera .hero__lead { color: rgb(243 236 226 / .86); max-width: 46ch; margin: var(--s-6) 0 var(--s-7); font-size: clamp(17px, 1.3vw, 20px); font-weight: 300; line-height: 1.6; }
.hero-imera .eyebrow { color: var(--gold-soft); }
.hero-imera__play { position: absolute; right: max(var(--gut), calc((100% - 1280px) / 2)); bottom: clamp(56px, 9vh, 112px); z-index: 2; color: var(--ivory); }
.hero-imera__play .ly-play__label { background: transparent !important; color: var(--ivory) !important; padding: 0 !important; font: 400 15px/1.3 var(--font-text); letter-spacing: .04em; }
.hero-imera__play .ly-play__label small { color: rgb(243 236 226 / .7); }
.hero-imera__play .ly-play__disc { background: transparent; color: var(--ivory); border: 1px solid rgb(243 236 226 / .6); }
@media (max-width: 1023px) { .hero-imera__play { position: relative; right: auto; bottom: auto; margin: 0 0 var(--s-6); } .hero-imera { flex-direction: column; justify-content: flex-end; } .hero-imera__text { padding-bottom: var(--s-5); } .hero-imera__media::after { background: linear-gradient(0deg, rgb(20 10 12 / .92) 0%, rgb(20 10 12 / .6) 55%, rgb(20 10 12 / .15) 100%); } }
@media (max-width: 1023px) { .hero-imera { display: grid; grid-template-rows: 1fr auto auto; } .hero-imera__play { grid-row: 3; justify-self: start; margin-left: var(--gut); margin-bottom: var(--s-7); } .hero-imera__text { grid-row: 2; } }

/* ---------------- faixas escuras ---------------- */
.band-dark { background: #1a0f12 !important; color: var(--ivory);
  --bg: #1a0f12; --surface: #2a1a1e; --ink: #f3ece2; --muted: #b7a9a3; --accent: var(--gold-soft);
  --action: var(--gold-soft); --action-ink: #1a0f12; --line: rgb(243 236 226 / .14); --line-strong: rgb(243 236 226 / .3); }
.band-dark :is(h2, h3) { color: var(--ivory); }
.band-dark h2 em { color: var(--gold-soft); }
.band-dark p { color: rgb(243 236 226 / .82); }
.band-dark .link { color: var(--gold-soft); }
.band-dark .tag { color: var(--ivory); }
main > .band-dark + section, main > section + .band-dark { padding-top: var(--sec-pad) !important; }

/* manifesto */
.manifesto { padding-block: clamp(72px, 10vw, 140px) !important; }
.manifesto h2 { font-size: clamp(40px, 5.2vw, 80px); max-width: 16ch; margin: 0 0 var(--s-8); }
.manifesto h2 em { display: block; }
.manifesto__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--gutter, 24px); max-width: 1060px; }
.manifesto__body p { margin: 0; }
.pillars { list-style: none; margin: var(--s-9) 0 var(--s-8); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter, 24px); border-top: 1px solid var(--hair); }
.pillars li { padding-top: var(--s-6); }
.pillars__n { display: block; font: 400 15px/1 var(--font-text); letter-spacing: .2em; color: var(--gold-soft); margin-bottom: var(--s-4); }
.pillars h3 { font: 500 clamp(26px, 2.2vw, 34px)/1.1 var(--font-display); margin: 0 0 var(--s-3); }
.pillars p { margin: 0; max-width: 34ch; }
@media (max-width: 767px) { .manifesto__body, .pillars { grid-template-columns: 1fr; } .pillars { gap: 0; } .pillars li { padding-block: var(--s-5); border-bottom: 1px solid var(--line); } }

/* cartões de especialidade: título em serifa, numeração dourada */
.tile .tile__head h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 1.8vw, 28px); letter-spacing: 0; }
#especialidades .grid { counter-reset: area; }
#especialidades .group .grid { counter-reset: area 0; }
#especialidades .wrap > .grid { counter-reset: area 3; }
#especialidades .tile { counter-increment: area; }
#especialidades .tile__head::before { content: counter(area, decimal-leading-zero); font: 400 13px/1 var(--font-text); letter-spacing: .2em; color: var(--gold); margin-right: var(--s-3); align-self: center; }
#especialidades .tile__head { justify-content: flex-start; }
.tile__media > img { transition: transform 900ms cubic-bezier(.2,.7,.2,1); }

/* listas de tratamento: nome em serifa */
.tx h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 1.6vw, 25px); letter-spacing: 0; }
.tx > li { border-bottom-color: var(--hair); }

/* frase de transparência */
.statement .mo-wh__text { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.15; max-width: 22ch; }
.statement .t-label { font: 500 12px/1.4 var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* perguntas e etapas */
.faq__item h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 1.6vw, 26px); }
.faq > .faq__item { border-bottom-color: var(--hair); }
.mo-pc__step h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 1.8vw, 28px); }

/* hero das páginas internas */
.hero--split h1 { font-size: clamp(42px, 4.6vw, 72px); }
.hero--split .hero__media img { border-radius: 2px; }

/* rodapé escuro */
footer.closing.band-dark { border-top: 0; }
footer.closing.band-dark h2 { font-size: clamp(36px, 4vw, 60px); }
footer.closing.band-dark .footer__address { color: var(--ivory); font-size: clamp(30px, 3vw, 46px); }
footer.closing.band-dark .footer__nav { border-top-color: var(--line); }
footer.closing.band-dark .footer__nav a, footer.closing.band-dark .footer__legal { color: rgb(243 236 226 / .75); }
footer.closing.band-dark .footer__nav .nav__logo { color: var(--ivory); }
footer.closing.band-dark .socials img { filter: none; }
.hero-imera .hero-imera__play { left: auto; }
@media (max-width: 1023px) { .hero-imera .hero-imera__play { left: auto; } }
.band-dark .socials img { filter: brightness(0) invert(.92); }
/* celular: vídeo no canto superior do hero, especialidades em linhas, manifesto compacto */
@media (max-width: 1023px) {
  .hero-imera { display: flex !important; flex-direction: column; justify-content: flex-end; }
  .hero-imera .hero-imera__play { position: absolute !important; top: calc(var(--nav) + var(--s-5)); right: var(--gut); bottom: auto !important; margin: 0 !important; grid-row: auto; }
  .hero-imera .hero-imera__play .ly-play__label { display: none; }
  .hero-imera__text { padding-top: 0; }
}
@media (max-width: 639px) {
  #especialidades .grid > .tile, #especialidades .grid > .tile:nth-child(odd of .tile):nth-last-child(1 of .tile) {
    grid-column: 1 / -1; display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: var(--s-1) var(--s-4); align-items: start; }
  #especialidades .tile > .tile__media { grid-row: 1 / span 3; aspect-ratio: 1 / 1; }
  #especialidades .tile > * { grid-column: 2; }
  #especialidades .tile > .tile__media { grid-column: 1; }
  #especialidades .tile__who { font-size: 13px; }
  #especialidades .tile > .tile__head { flex-wrap: wrap; }
  #especialidades .tile > p { margin: 0; }
  #especialidades .grid { row-gap: var(--s-5); }
  .manifesto h2 { margin-bottom: var(--s-6); }
  .pillars { margin: var(--s-7) 0 var(--s-6); }
  .manifesto { padding-block: var(--s-9) !important; }
}
@media (max-width: 639px) { main > :is(section, .section).g2 > :is(.wrap, .container) { row-gap: var(--s-5) !important; } }
/* mapa no rodapé: clicar abre o Google Maps */
.map-frame { position: relative; display: block; aspect-ratio: 16 / 10; min-height: 260px; overflow: hidden; border-radius: 2px; border: 1px solid var(--line); background: #2a1a1e; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; filter: grayscale(.35) sepia(.12) contrast(1.02); }
.map-frame::after { content: "Abrir no Google Maps"; position: absolute; left: var(--s-4); bottom: var(--s-4); padding: 8px 14px; font: 500 13px/1 var(--font-text); letter-spacing: .04em; background: var(--gold-soft); color: #1a0f12; border-radius: 2px; }
.map-frame:hover iframe { filter: none; }
@media (max-width: 1023px) { .map-frame { margin-top: var(--s-6); grid-column: 1 / -1 !important; width: 100%; max-width: 100%; min-width: 0; } }
.band-dark .map-btn { color: var(--ivory); border-color: rgb(243 236 226 / .4); }

/* Especialidades e equipe: profissional responsável em cada área */
.tile__who { margin: 0; font-size: 14px; letter-spacing: .02em; color: var(--gold); }
.tile__who strong { font-weight: 500; color: var(--p-ink, inherit); }
.band-dark .tile__who strong { color: inherit; }
