@font-face { font-family: "Outfit"; src: url("../fontes/Outfit-VF.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --grafite: #262422; --papel: #F4EFE7; --ambar: #F29A2E; --brasa: #D9481C;
  --areia: #D8C2A4; --kraft: #B58E66; --noite: #14303A; --branco: #FFFFFF; --pedra: #857E74;
  --linha: rgba(38, 36, 34, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--papel); color: var(--grafite); font-family: "Outfit", system-ui, sans-serif;
       font-weight: 300; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2 { font-weight: 300; letter-spacing: -.02em; line-height: 1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(52px, 9vw, 120px); }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
.rot { font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brasa); outline-offset: 3px; }

.topo { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
        padding: 14px clamp(16px, 4vw, 48px); background: rgba(244, 239, 231, .88); backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--linha); }
.marca img { height: 30px; }
.topo nav { display: flex; gap: clamp(14px, 3vw, 36px); }
.topo nav a { font-size: 13px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.topo nav a:hover { color: var(--brasa); }

main { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

.botao { display: inline-block; background: var(--grafite); color: var(--papel); border: 0; cursor: pointer;
         font: 400 13px "Outfit", sans-serif; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
         padding: 17px 30px; border-radius: 999px; transition: background .2s; }
.botao:hover { background: var(--brasa); }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: center;
        padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 6vw, 88px); }
.hero-txt { padding: 12px 0; }
.hero-txt .rot { margin-bottom: 26px; }
.lead { font-size: clamp(18px, 1.7vw, 22px); max-width: 30ch; margin: 28px 0 34px; }
.hero-img img, .hero-img video { width: 100%; height: min(78vh, 780px); object-fit: cover; object-position: 50% 60%; display: block; background: var(--noite); }

/* faixa da coleção em vídeo */
.faixa { margin: 0 0 clamp(40px, 6vw, 88px); position: relative; }
.faixa video { width: 100%; aspect-ratio: 16 / 9; max-height: 82vh; object-fit: cover; display: block; background: var(--areia); }
.faixa .rot { display: flex; justify-content: space-between; margin-top: 12px; }

/* mural de fotos e vídeos */
.mural { columns: 4 220px; column-gap: 12px; }
.mural figure { margin: 0 0 12px; break-inside: avoid; background: var(--areia); }
.mural img, .mural video { width: 100%; height: auto; display: block; }
.nota { font-size: 13px; color: var(--pedra); margin: 18px 0 0; }

/* seções */
.sec { border-top: 1px solid var(--grafite); padding: 14px 0 clamp(56px, 8vw, 110px); scroll-margin-top: 70px; }
.sec-rot { display: flex; justify-content: space-between; margin-bottom: clamp(28px, 4vw, 48px); }
.sub { max-width: 52ch; color: #4d4842; margin: 14px 0 34px; }

/* montador */
.montador { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.palco { position: sticky; top: 76px; height: min(78vh, 760px); min-height: 440px; overflow: hidden;
         background: radial-gradient(120% 90% at 50% 100%, #efe4d2 0, #e2d0b6 55%, #d3bb99 100%);
         transition: background .6s; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.palco::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
                background: radial-gradient(70% 60% at 50% 62%, rgba(214, 110, 40, .55) 0, rgba(20, 48, 58, .0) 60%), linear-gradient(#0c1f27, #14303A); z-index: 0; }
.palco.noite::after { opacity: 1; }
.palco canvas { position: relative; z-index: 1; width: 100%; height: 100%; display: block; cursor: grab; -webkit-user-drag: none; }
.palco canvas:active { cursor: grabbing; }
.dica, .carregando { position: absolute; z-index: 2; left: 0; right: 0; bottom: 18px; text-align: center; pointer-events: none;
                     color: var(--grafite); opacity: .6; transition: opacity .4s, color .6s; }
.carregando { bottom: auto; top: 18px; }
.palco.noite .dica, .palco.noite .carregando { color: var(--papel); }
.dica.some { opacity: 0; }
.pilha { position: absolute; inset: 0; z-index: 1; display: grid; place-items: end center; padding-bottom: 6%; }
.pilha img { grid-area: 1 / 1; height: 88%; width: auto; pointer-events: none; -webkit-user-drag: none; transition: transform .4s; }
.pilha.com-pes #pilha-base, .pilha.com-pes #pilha-cupula { transform: translateY(-14.57%); }

.painel h2 { margin-bottom: 26px; }
fieldset { border: 0; border-top: 1px solid var(--linha); margin: 0; padding: 16px 0 22px; }
legend { padding: 0; float: left; width: 100%; margin-bottom: 14px; }
legend span { display: inline-block; width: 22px; color: var(--pedra); }
.opcoes { clear: both; display: grid; gap: 8px; }
.cupulas { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.duas { grid-template-columns: 1fr 1fr; }
.tres { grid-template-columns: repeat(3, 1fr); }
.opcoes button { font: inherit; color: inherit; background: var(--branco); border: 1px solid transparent; cursor: pointer;
                 padding: 12px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px;
                 transition: border-color .15s, background .15s; }
.opcoes button:hover { border-color: var(--areia); }
.opcoes button[aria-pressed="true"] { border-color: var(--grafite); }
.opcoes button img { height: 74px; margin-bottom: 8px; }
.duas button img, .apoios button img { height: 34px; }
.apoios b { font-size: 14px; }
.opcoes b { font-weight: 400; font-size: 15px; }
.opcoes small { font-size: 12px; color: var(--pedra); }
.resumo { border-top: 1px solid var(--grafite); padding-top: 18px; margin-top: 6px; }
.resumo-nome { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -.01em; margin: 10px 0 6px; }
.resumo-med { color: #4d4842; margin: 0 0 22px; font-size: 15px; }

/* coleção */
.colecao { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.colecao a { text-decoration: none; display: block; }
.colecao figure { margin: 0; aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--areia); }
.colecao figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .6s; }
.colecao figure img.noite { opacity: 0; }
.colecao a:hover figure img.noite, .colecao a:focus-visible figure img.noite { opacity: 1; }
.colecao a:hover figure img { transform: scale(1.03); }
.colecao b { display: block; font-weight: 300; font-size: 24px; letter-spacing: -.01em; margin-top: 12px; text-transform: lowercase; }
.colecao span { display: block; font-size: 14px; color: #4d4842; line-height: 1.35; margin-top: 2px; }

/* como funciona */
.como { display: grid; grid-template-columns: minmax(0, .8fr) 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.como img { width: 100%; height: min(76vh, 720px); object-fit: cover; }
.como ol { list-style: none; padding: 0; margin: 34px 0 0; counter-reset: p; }
.como li { border-top: 1px solid var(--linha); padding: 18px 0 18px 44px; position: relative; counter-increment: p; max-width: 46ch; }
.como li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-size: 12px; letter-spacing: .1em; color: var(--pedra); }
.como li b { display: block; font-weight: 400; }

/* novidades */
.novo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.novo-par { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.novo-par img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.novo-txt article { border-top: 1px solid var(--linha); padding: 18px 0 30px; max-width: 46ch; }
.novo-txt h3 { font-weight: 300; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; letter-spacing: -.01em; margin: 10px 0 12px; }
.novo-txt p { margin: 0 0 10px; }
.novo-txt .rot { color: var(--brasa); }
.novo-txt article > img { width: 60%; height: auto; margin-top: 16px; }

/* encomenda */
.pedido { font-size: clamp(24px, 3vw, 38px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 30px; max-width: 24ch; }
.aviso { min-height: 1.5em; color: #4d4842; font-size: 15px; margin: 14px 0 0; }

.rodape { border-top: 1px solid var(--grafite); max-width: 1280px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 48px) 40px;
          display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; align-items: center; }
.rodape img { height: 26px; }
.rodape p { margin: 0; font-size: 13px; color: var(--pedra); max-width: 60ch; }

@media (max-width: 860px) {
  .hero-img img, .hero-img video, .como img { height: auto; aspect-ratio: 4 / 5; }
  .topo nav a:nth-child(3) { display: none; }
  .hero, .montador, .como, .novo { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .palco { position: relative; top: 0; height: 62vh; min-height: 380px; }
  .topo nav a:not(:first-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
