/* Paleta tirada da marca (preto e dourado do logo) e das duas paredes do escritório (vinho e creme) */
:root {
  --p: #d8a93a;            /* dourado do logo */
  --s: #5e0e04;            /* vinho da parede */
  --bg: #050505;           /* preto do logo */
  --surface: #151110;
  --text: #f6efe4;
  --muted: #b9ada0;
  --line: rgba(246,239,228,.16);
  --parede: #ecd2a6;       /* creme da parede */
  --tinta: #2c0a05;
  --titulo: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  --titulo-p: 'Libre Caslon Text', Georgia, serif;
  --corpo: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --topo: 76px;
  --lado: max(20px, (100cqw - 1200px) / 2);
  --suave: cubic-bezier(.2,.7,.2,1);
  /* tons medidos na própria foto, para a parede continuar no fundo */
  --muro: linear-gradient(#540b04, #5e0e04 35%, #721602 70%, #6a1303 88%, #520c03);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topo); }
body { background: var(--bg); color: var(--text); font-family: var(--corpo); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
main { container-type: inline-size; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; color: inherit; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
h1, h2 { font-family: var(--titulo); font-weight: 400; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
h3 { font-family: var(--titulo-p); font-weight: 400; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--p); outline-offset: 3px; }
.pular { position: fixed; left: 12px; top: -80px; z-index: 99; padding: 12px 18px; background: var(--p); color: #000; }
.pular:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border: 1.5px solid transparent; border-radius: 999px; background: none; font-weight: 600; font-size: 16.5px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn svg, .link svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-p { background: var(--p); color: #1a0d00; }
.btn-p:hover { background: #ecc261; }
.btn-g { border-color: rgba(246,239,228,.45); }
.btn-g:hover { background: var(--text); color: #1a0d00; }
.btn-v { background: var(--s); color: var(--text); }
.btn-v:hover { background: #7d1a0b; }
.estrelas { color: var(--p); letter-spacing: 2px; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* topo */
header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .3s; }
header.rolou { border-color: var(--line); }
.topo { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--topo); }
.marca { display: flex; align-items: center; gap: 12px; font-family: var(--titulo-p); font-size: 18px; min-width: 0; }
.marca span { white-space: nowrap; }
.marca img { width: 54px; height: 54px; border-radius: 50%; }
nav.menu { display: flex; gap: 28px; font-size: 15.5px; font-weight: 500; color: var(--muted); }
nav.menu a { padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
nav.menu a:hover { color: var(--text); }
nav.menu a[aria-current] { color: var(--text); border-color: var(--p); }
.topo .btn { min-height: 44px; padding: 8px 18px; font-size: 15px; white-space: nowrap; }
.abre-menu { display: none; position: relative; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; cursor: pointer; }
.abre-menu span { position: absolute; left: 11px; width: 26px; height: 2px; background: currentColor; transition: transform .25s, top .25s; }
.abre-menu span:nth-child(1) { top: 18px; } .abre-menu span:nth-child(2) { top: 28px; }
.aberto .abre-menu span { top: 23px; }
.aberto .abre-menu span:nth-child(1) { transform: rotate(45deg); } .aberto .abre-menu span:nth-child(2) { transform: rotate(-45deg); }
@media (max-width: 1020px) {
  nav.menu { position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0; padding: 4px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
  nav.menu a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--text); }
  .aberto nav.menu { visibility: visible; opacity: 1; }
  .abre-menu { display: block; }
  .topo .btn { margin-left: auto; }
}
@media (max-width: 560px) { .topo .btn { display: none; } }

/* abertura: a parede da foto vira o fundo da página */
.hero { display: grid; grid-template-columns: 44% 1fr; min-height: min(820px, 100svh - var(--topo)); background: var(--muro); overflow: hidden; }
.hero-foto { position: relative; }
.hero-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 12%; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 99%); mask-image: linear-gradient(to right, #000 88%, transparent 99%); }
.hero-texto { align-self: center; padding: 56px var(--lado) 56px clamp(8px, 2vw, 36px); }
.hero h1 { font-size: clamp(2.6rem, 4.9vw, 4.7rem); max-width: 12em; }
.hero .sub { font-size: clamp(1.08rem, 1.4vw, 1.25rem); max-width: 33em; margin: 24px 0 34px; color: #f4ddd0; }
.prova { display: inline-block; margin-top: 30px; padding: 6px 0; font-size: 15.5px; color: #f4ddd0; }
.prova:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-foto { height: min(88vw, 42svh); }
  .hero-foto img { object-position: 100% 4%; -webkit-mask-image: none; mask-image: none; }
  .hero-texto { padding: 28px 20px 48px; }
  .hero .sub { margin: 16px 0 24px; }
}
@media (max-width: 420px) { .acoes .btn { width: 100%; } }

.bloco { padding: clamp(72px, 9vw, 120px) 0; }
.bloco.junto { padding-top: 0; }
.titulo-secao { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.titulo-secao h2 { max-width: 15em; }
.titulo-secao p { color: var(--muted); max-width: 24em; }

/* áreas */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: stretch; }
.area { border-bottom: 1px solid var(--line); }
.area:first-child { border-top: 1px solid var(--line); }
.area button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 0; background: none; border: 0; text-align: left; font-family: var(--titulo); font-size: clamp(1.6rem, 2.7vw, 2.2rem); line-height: 1.15; color: var(--muted); cursor: pointer; transition: color .25s; }
.area button::after { content: ''; flex-shrink: 0; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 50%; transition: background .25s; }
.area button:hover, .area.ativa button { color: var(--text); }
.area.ativa button::after { background: var(--p); border-color: var(--p); }
.area-corpo { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--suave), visibility .45s; }
.js .area:not(.ativa) .area-corpo { grid-template-rows: 0fr; visibility: hidden; }
.area-corpo > div { overflow: hidden; min-height: 0; }
.area-corpo p { color: var(--muted); max-width: 30em; }
.area-foto { display: none; }
.link { display: inline-flex; align-items: center; gap: 9px; margin: 10px 0 18px; padding: 6px 0; color: var(--p); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 5px; }
.areas-palco { position: sticky; top: calc(var(--topo) + 24px); align-self: start; height: min(530px, calc(100svh - var(--topo) - 48px)); border-radius: 10px; overflow: hidden; background: var(--s); }
.areas-palco figure { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); z-index: 0; transition: clip-path 0s .65s; }
.areas-palco figure.on { clip-path: inset(0); z-index: 1; transition: clip-path .65s var(--suave); }
.areas-palco img { width: 100%; height: 100%; object-fit: cover; }
.areas-palco figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 18px; background: var(--bg); border-top-right-radius: 10px; font-size: 14.5px; }
@media (max-width: 800px) {
  .areas { grid-template-columns: 1fr; }
  .areas-palco { display: none; }
  .area-foto { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
}

/* sobre, na parede creme */
.parede { background: var(--parede); color: var(--tinta); }
.parede :focus-visible { outline-color: var(--s); }
.sobre { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
/* o anel repete o medalhão do logo */
.medalhao { padding: 14px; border: 2px solid var(--s); border-radius: 50%; }
.medalhao img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 12%; border-radius: 50%; }
.sobre .texto { font-size: 1.15rem; max-width: 34em; margin: 20px 0 26px; }
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 10px 36px; margin-bottom: 34px; font-weight: 600; }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--s); flex-shrink: 0; }
.como { padding-bottom: clamp(72px, 9vw, 120px); }
.como h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 30px; }
.passos { list-style: none; counter-reset: passo; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.passos li { counter-increment: passo; position: relative; padding-top: 62px; }
.passos li::before { content: counter(passo); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--s); border-radius: 50%; font-family: var(--titulo-p); line-height: 1; color: var(--s); }
.passos li:not(:last-child)::after { content: ''; position: absolute; left: 56px; right: -20px; top: 21px; height: 2px; background: var(--s); opacity: .35; }
.passos h3 { font-size: 1.3rem; margin-bottom: 4px; }
@media (max-width: 800px) {
  .sobre { grid-template-columns: 1fr; }
  .medalhao { width: min(340px, 100%); margin-inline: auto; }
  .passos { grid-template-columns: 1fr; gap: 0; }
  .passos li { padding: 8px 0 30px 64px; }
  .passos li:not(:last-child)::after { left: 21px; right: auto; top: 52px; bottom: 8px; width: 2px; height: auto; }
}
@media (max-width: 480px) { .checks { grid-template-columns: 1fr; } }

/* mídia */
.midia { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.midia > * { min-width: 0; }
.entrevista button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.entrevista img { width: 100%; border-radius: 10px; }
.entrevista figcaption { margin-top: 16px; color: var(--muted); }
.entrevista b, .tk h3 { display: block; font-family: var(--titulo-p); font-weight: 400; font-size: 1.35rem; color: var(--text); }
.tk p { color: var(--muted); margin: 4px 0 20px; }
.tiktok { margin-bottom: 20px; }
.tiktok:not(.pronto) { display: none; }
@media (max-width: 900px) { .midia { grid-template-columns: 1fr; } }

/* galeria: trilho que arrasta */
.setas { display: flex; gap: 10px; }
.setas button, .lightbox > button { display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid rgba(246,239,228,.45); border-radius: 50%; background: none; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.setas button:hover:not(:disabled), .lightbox > button:hover { background: var(--text); color: #000; }
.setas button:disabled { opacity: .3; cursor: default; }
.setas svg, .lightbox svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trilho { list-style: none; display: flex; gap: 14px; padding: 4px var(--lado); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--lado); scrollbar-width: none; cursor: grab; }
.trilho::-webkit-scrollbar { display: none; }
.trilho.arrasta { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.trilho li { flex: 0 0 auto; height: clamp(280px, 38vw, 460px); aspect-ratio: var(--r); max-width: 86vw; scroll-snap-align: start; }
.trilho button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--surface); cursor: inherit; }
.trilho img { width: 100%; height: 100%; object-fit: cover; }
.trilho span { position: absolute; left: 0; bottom: 0; padding: 9px 16px; background: var(--bg); border-top-right-radius: 10px; font-size: 14.5px; }
.trilho button:focus-visible { outline-offset: -4px; }

.lightbox { margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; background: rgba(0,0,0,.95); color: var(--text); }
html:has(.lightbox[open]) { overflow: hidden; scrollbar-gutter: stable; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { display: grid; justify-items: center; gap: 14px; touch-action: pan-y pinch-zoom; }
.lightbox img { max-width: min(92vw, 1206px); max-height: 80dvh; width: auto; border-radius: 6px; }
.lightbox > button { position: absolute; background: rgba(0,0,0,.6); }
.lb-fechar { top: 16px; right: 16px; } .lb-ant { left: 16px; top: calc(50% - 26px); } .lb-prox { right: 16px; top: calc(50% - 26px); }
@media (max-width: 700px) { .lightbox .lb-ant, .lightbox .lb-prox { top: auto; bottom: 20px; } }

/* avaliações */
.avaliacao { display: flex; align-items: center; gap: clamp(28px, 6vw, 90px); padding-block: clamp(36px, 5vw, 60px); border-block: 1px solid var(--line); }
.nota b { display: block; font-family: var(--titulo); font-weight: 400; font-size: clamp(5rem, 10vw, 8rem); line-height: 1; color: var(--p); }
.nota .estrelas { font-size: 22px; }
.avaliacao p { color: var(--muted); margin: 10px 0 24px; max-width: 32em; }
@media (max-width: 640px) { .avaliacao { flex-direction: column; align-items: flex-start; } }

/* dúvidas */
.duvidas { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px clamp(32px, 6vw, 90px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-family: var(--titulo-p); font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--p); font: 400 28px/1 var(--corpo); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 22px; max-width: 36em; }
.faq a { color: var(--p); text-decoration: underline; text-underline-offset: 3px; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .35s var(--suave), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
@media (max-width: 800px) { .duvidas { grid-template-columns: 1fr; } }

/* contato: a mesma parede, agora com a pomba */
.contato { display: grid; grid-template-columns: 1fr minmax(0, 34%); background: linear-gradient(#541206, #631204 35%, #781909 70%, #6d1506 88%, #410b07); }
.contato-foto { position: relative; grid-column: 2; grid-row: 1; }
.contato-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 60%; -webkit-mask-image: linear-gradient(to left, #000 82%, transparent 99%); mask-image: linear-gradient(to left, #000 82%, transparent 99%); }
.mensagem { grid-column: 1; grid-row: 1; padding: clamp(60px, 8vw, 110px) clamp(20px, 4vw, 60px) clamp(60px, 8vw, 110px) var(--lado); display: grid; gap: 26px; justify-items: start; min-width: 0; }
.mensagem > p { color: #f4ddd0; max-width: 34em; margin-top: -14px; }
fieldset { border: 0; min-width: 0; }
legend, .campo { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: block; padding: 10px 18px; border: 1.5px solid rgba(246,239,228,.5); border-radius: 999px; font-size: 15.5px; line-height: 1.4; transition: background .2s, color .2s; }
.chips label:hover span { background: rgba(0,0,0,.25); }
.chips input:checked + span { background: var(--text); border-color: var(--text); color: var(--tinta); font-weight: 600; }
.chips input:focus-visible + span { outline: 3px solid var(--p); outline-offset: 2px; }
.campo { display: grid; gap: 10px; width: min(380px, 100%); }
.campo input { width: 100%; padding: 13px 16px; border: 1.5px solid rgba(246,239,228,.5); border-radius: 10px; background: rgba(0,0,0,.25); font-weight: 400; }
/* prévia em forma de balão de conversa */
.previa { display: block; max-width: 32em; padding: 14px 18px; border-radius: 16px 16px 4px 16px; background: #dcf8c6; color: #14230c; }
@media (max-width: 800px) {
  .contato { grid-template-columns: 1fr; }
  .contato-foto { grid-column: 1; grid-row: 2; height: 370px; }
  .contato-foto img { object-position: 0 0; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
}

.onde { padding: clamp(60px, 7vw, 100px) 0; }
.local { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.end { margin-top: 14px; color: var(--muted); max-width: 22em; font-size: 1.1rem; }
.end a:hover { color: var(--text); }
.local .acoes { margin-top: 28px; }
.mapa { height: 400px; border-radius: 10px; overflow: hidden; background: var(--surface); }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 800px) { .local { grid-template-columns: 1fr; } .mapa { height: 320px; } }

footer { padding: 40px 0 110px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
footer b { display: block; color: var(--text); font-family: var(--titulo-p); font-weight: 400; font-size: 18px; }
footer a:hover { color: var(--p); }
.rodape-marca { display: flex; align-items: center; gap: 18px; }
.rodape-marca img { width: 110px; height: 110px; border-radius: 50%; }

.flutuante { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: opacity .25s, visibility .25s; }
.flutuante svg { width: 32px; height: 32px; }
.flutuante.some { opacity: 0; visibility: hidden; }

/* único movimento automático: a parede abre e revela a foto */
@media (prefers-reduced-motion: no-preference) {
  .hero-foto { animation: abre 1.1s .1s var(--suave) both; }
  .hero-texto { animation: surge .8s .55s both; }
  @keyframes abre { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
  @keyframes surge { from { opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { *, ::before, ::after, ::details-content { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
