/* OYRIS — base visual compartilhada (loja e landing), clara e escura. Minimalista, no espírito de apple.com.
   Cores da marca: grafite #1d222a, laranja #ff6b1a. O laranja aparece só onde há ação. */
:root {
  --fundo: #fbfbf9; --fundo-2: #f2f2ee; --superficie: #ffffff; --texto: #1d222a; --texto-2: #5d636b; --texto-3: #8a9098;
  --linha: rgb(29 34 42 / .09); --acao: #ff6b1a; --acao-texto: #1d222a; --acao-hover: #e85a0c; --ok: #1f7a4d;
  --vidro: rgb(251 251 249 / .72); --sombra: 0 1px 2px rgb(29 34 42 / .05), 0 12px 32px -16px rgb(29 34 42 / .18);
  --sombra-alta: 0 30px 60px -30px rgb(29 34 42 / .35);
  --raio: 18px; --raio-p: 12px;
  --mola: cubic-bezier(.22, 1, .36, 1);           /* desaceleração longa, sem quique */
  --largura: 1180px;
  color-scheme: light;
}
:root[data-tema="escuro"] {
  --fundo: #0b0c0e; --fundo-2: #131519; --superficie: #17191e; --texto: #f4f4f2; --texto-2: #a6abb3; --texto-3: #757b84;
  --linha: rgb(255 255 255 / .08); --acao: #ff7a2e; --acao-texto: #111317; --acao-hover: #ff8f4d; --ok: #4fc58a;
  --vidro: rgb(11 12 14 / .7); --sombra: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -20px rgb(0 0 0 / .7);
  --sombra-alta: 0 40px 80px -30px rgb(0 0 0 / .8);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font: 100%/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  background: var(--fundo); color: var(--texto); -webkit-font-smoothing: antialiased;
  transition: background-color .5s var(--mola), color .5s var(--mola);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.miolo { width: min(var(--largura), 100% - 32px); margin-inline: auto; }

/* tipografia: espaçamento apertado no grande, neutro no pequeno */
.display { font-size: clamp(2.6rem, 1.2rem + 5.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
.titulo { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); line-height: 1.08; letter-spacing: -.028em; font-weight: 700; }
.subtitulo { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.4; letter-spacing: -.01em; color: var(--texto-2); font-weight: 450; }
.rotulo { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-3); font-weight: 600; }
.preco { font-variant-numeric: tabular-nums; letter-spacing: -.01em; font-weight: 600; }

/* barra superior de vidro: o conteúdo rola por baixo */
.barra {
  position: sticky; top: 0; z-index: 20; background: var(--vidro);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .5s var(--mola);
}
.barra.rolou { border-bottom-color: var(--linha); }
.barra .miolo { display: flex; align-items: center; gap: 28px; height: 56px; }
.barra .logo img { height: 26px; width: auto; }
.barra nav { display: flex; gap: 22px; font-size: .86rem; color: var(--texto-2); }
.barra nav a { transition: color .2s; }
.barra nav a:hover, .barra nav a[aria-current] { color: var(--texto); }
.barra .ferramentas { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.icone {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center;
  cursor: pointer; color: var(--texto-2); transition: background-color .2s, color .2s, transform .12s;
}
.icone:hover { background: var(--fundo-2); color: var(--texto); }
.icone:active { transform: scale(.92); }
.icone svg { width: 18px; height: 18px; }
.contador { position: relative; }
.contador b {
  position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--acao);
  color: var(--acao-texto); font-size: .64rem; display: grid; place-items: center; padding: 0 4px;
}

/* botões: resposta no aperto, não na soltura */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px;
  border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  background: var(--acao); color: var(--acao-texto); transition: background-color .2s, transform .12s var(--mola);
}
.botao:hover { background: var(--acao-hover); }
.botao:active { transform: scale(.97); transition-duration: .06s; }
.botao.secundario { background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1px var(--linha); }
.botao.secundario:hover { background: var(--fundo-2); }
.botao.largo { width: 100%; height: 52px; }
.link-seta { color: var(--acao-hover); font-weight: 500; }
:root[data-tema="escuro"] .link-seta { color: var(--acao); }
.link-seta::after { content: " ›"; transition: margin .2s var(--mola); }
.link-seta:hover::after { margin-left: 4px; }
:focus-visible { outline: 2px solid var(--acao); outline-offset: 3px; border-radius: 6px; }

/* aparecer ao rolar */
.surge { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--mola), transform .9s var(--mola); }
.surge.visivel { opacity: 1; transform: none; }
.surge[data-atraso="1"] { transition-delay: .08s; } .surge[data-atraso="2"] { transition-delay: .16s; }
.surge[data-atraso="3"] { transition-delay: .24s; }

@keyframes entra { from { opacity: 0; transform: translateY(10px); } }

/* início */
.heroi { text-align: center; padding: clamp(56px, 9vw, 120px) 0 0; overflow: hidden; }
.heroi .subtitulo { max-width: 34ch; margin: 18px auto 30px; }
.heroi .acoes { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.palco { position: relative; height: clamp(320px, 44vw, 560px); margin-top: clamp(32px, 5vw, 64px); }
.palco img {
  position: absolute; left: 50%; bottom: 0; width: clamp(260px, 34vw, 460px); border-radius: 28px; box-shadow: var(--sombra-alta);
  transform: translateX(-50%) translateY(var(--y, 0)) scale(var(--s, 1)); will-change: transform;
}
.palco img.lado { width: clamp(160px, 20vw, 280px); opacity: .92; }
.palco img.e { transform: translateX(calc(-50% - clamp(220px, 30vw, 420px))) translateY(calc(var(--y, 0px) * .6 + 40px)); }
.palco img.d { transform: translateX(calc(-50% + clamp(220px, 30vw, 420px))) translateY(calc(var(--y, 0px) * .6 + 40px)); }
.faixa-confianca { display: flex; justify-content: center; gap: clamp(18px, 4vw, 56px); flex-wrap: wrap; padding: 40px 0 8px; color: var(--texto-2); font-size: .9rem; }
.faixa-confianca span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--acao); margin-right: 8px; vertical-align: middle; }

.secao { padding: clamp(72px, 10vw, 136px) 0; }
.secao.cinza { background: var(--fundo-2); transition: background-color .5s var(--mola); }
.cabeca { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.cabeca p { color: var(--texto-2); max-width: 46ch; margin-top: 10px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 14px; }
.ladrilho {
  position: relative; border-radius: var(--raio); overflow: hidden; background: var(--superficie); box-shadow: var(--sombra);
  padding: 22px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer;
  transition: transform .5s var(--mola), box-shadow .5s var(--mola);
}
.ladrilho:hover { transform: translateY(-4px); }
.ladrilho h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.15; position: relative; z-index: 1; max-width: 14ch; }
.ladrilho small { color: var(--texto-2); position: relative; z-index: 1; }
.ladrilho .painel { position: absolute; top: 14px; right: 14px; bottom: 14px; width: 46%; border-radius: 14px; overflow: hidden; background: #fff; }
.ladrilho .painel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--mola); }
.ladrilho:hover .painel img { transform: scale(1.05); }
.ladrilho.g { grid-column: span 3; grid-row: span 2; } .ladrilho.g .painel { width: 58%; }
.ladrilho.p .painel { width: 44%; }
.ladrilho.m { grid-column: span 3; } .ladrilho.p { grid-column: span 2; }

.trilho { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.trilho::-webkit-scrollbar { display: none; }
.trilho .cartao { scroll-snap-align: start; }

.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: p; }
.passo { background: var(--superficie); border-radius: var(--raio); padding: 28px; box-shadow: var(--sombra); }
.passo::before { counter-increment: p; content: counter(p); font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; color: var(--acao); display: block; line-height: 1; margin-bottom: 18px; }
.passo h3 { font-size: 1.15rem; letter-spacing: -.015em; margin-bottom: 6px; }
.passo p { color: var(--texto-2); font-size: .95rem; }

.chamada {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; border-radius: 28px; overflow: hidden;
  background: var(--texto); color: var(--fundo); padding: clamp(32px, 5vw, 64px);
}
.chamada .subtitulo { color: color-mix(in srgb, var(--fundo) 72%, transparent); margin: 14px 0 26px; }
.chamada img { border-radius: 20px; }

/* cartão de produto: a foto troca de branco para preto ao passar o mouse */
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 18px; }
.cartao { cursor: pointer; }
.cartao .foto { position: relative; aspect-ratio: 1; border-radius: var(--raio); overflow: hidden; background: var(--superficie); box-shadow: var(--sombra); }
.cartao .foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--mola), transform .8s var(--mola); }
.cartao .foto img + img { opacity: 0; }
.cartao:hover .foto img + img { opacity: 1; }
.cartao:hover .foto img { transform: scale(1.03); }
.cartao h3 { font-size: .95rem; font-weight: 550; letter-spacing: -.01em; line-height: 1.3; margin: 12px 2px 4px; }
.cartao .preco { margin: 0 2px; }
.cartao .prazo { font-size: .8rem; color: var(--texto-3); margin: 2px 2px 0; }
.selo { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: .7rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--vidro); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--texto); }
.selo.enc::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--acao); margin-right: 6px; vertical-align: 1px; }

/* lista de produtos */
.lista { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 40px 0 120px; }
.filtros { position: sticky; top: 80px; align-self: start; display: grid; gap: 26px; font-size: .9rem; }
.filtros h4 { margin-bottom: 10px; }
.filtros label { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: var(--texto-2); cursor: pointer; }
.filtros input[type="checkbox"], .caixa input { accent-color: var(--acao); width: 16px; height: 16px; }
.pilulas { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.pilula { height: 34px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--fundo-2); color: var(--texto-2); font-size: .85rem; cursor: pointer; transition: background-color .2s, color .2s; }
.pilula[aria-pressed="true"] { background: var(--texto); color: var(--fundo); }
.topo-lista { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.topo-lista span { color: var(--texto-3); font-size: .9rem; }

/* página do produto */
.produto { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); padding: 40px 0 100px; align-items: start; }
.galeria { position: sticky; top: 76px; }
.galeria .principal { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: var(--superficie); box-shadow: var(--sombra); }
.galeria .principal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--mola), transform .7s var(--mola); }
.galeria .principal img.fora { opacity: 0; transform: scale(1.02); }
.miniaturas { display: flex; gap: 10px; margin-top: 12px; }
.miniaturas button { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; border: 0; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px var(--linha); opacity: .6; transition: opacity .2s, box-shadow .2s; }
.miniaturas button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--texto); }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.ficha h1 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.1; letter-spacing: -.028em; margin: 8px 0 14px; }
.ficha .preco-grande { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ficha .preco-grande span { display: inline-block; transition: transform .35s var(--mola), opacity .35s; }
.ficha .preco-grande span.troca { transform: translateY(-6px); opacity: 0; }
.ficha .resumo { color: var(--texto-2); margin: 16px 0 28px; font-size: 1.02rem; }
.escolha { margin-bottom: 22px; }
.escolha .rotulo { display: block; margin-bottom: 10px; }
.segmentos { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 10px; }
.segmentos button {
  text-align: left; padding: 14px 16px; border-radius: 14px; border: 0; background: var(--superficie); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--linha); transition: box-shadow .25s var(--mola), transform .12s;
}
.segmentos button:active { transform: scale(.98); }
.segmentos button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--texto); }
.segmentos button b { display: block; font-weight: 600; font-size: .92rem; }
.segmentos button small { color: var(--texto-2); font-size: .8rem; }
.bolinha { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 8px; box-shadow: inset 0 0 0 1px var(--linha); }
.prazo-caixa { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--fundo-2); margin: 4px 0 22px; font-size: .92rem; color: var(--texto-2); }
.prazo-caixa svg { flex: none; width: 20px; height: 20px; color: var(--ok); margin-top: 1px; }
.prazo-caixa b { color: var(--texto); font-weight: 600; }
.detalhes { margin-top: 36px; border-top: 1px solid var(--linha); }
.detalhes details { border-bottom: 1px solid var(--linha); }
.detalhes summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; }
.detalhes summary::after { content: "+"; color: var(--texto-3); font-weight: 400; font-size: 1.3rem; line-height: 1; transition: transform .3s var(--mola); }
.detalhes details[open] summary::after { transform: rotate(45deg); }
.detalhes .conteudo { padding: 0 0 20px; color: var(--texto-2); font-size: .94rem; }
.detalhes ul { padding-left: 18px; display: grid; gap: 4px; }
.credito { font-size: .78rem; color: var(--texto-3); margin-top: 18px; }

/* carrinho e finalização */
.passos-compra { display: flex; gap: 10px; align-items: center; color: var(--texto-3); font-size: .85rem; margin: 36px 0 22px; }
.passos-compra b { color: var(--texto); }
.compra { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 120px; align-items: start; }
.bloco { background: var(--superficie); border-radius: var(--raio); box-shadow: var(--sombra); padding: 28px; margin-bottom: 16px; }
.bloco h2 { font-size: 1.2rem; letter-spacing: -.015em; margin-bottom: 18px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.campos .todo { grid-column: 1 / -1; }
.campo { position: relative; }
.campo input, .campo select, .campo textarea {
  width: 100%; height: 54px; padding: 22px 14px 6px; border-radius: 12px; border: 0; background: var(--fundo-2);
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, background-color .5s var(--mola);
}
.campo textarea { height: 96px; padding-top: 26px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--acao); }
.campo span { position: absolute; left: 14px; top: 8px; font-size: .72rem; color: var(--texto-3); pointer-events: none; }
.caixa { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--texto-2); padding: 12px 0 0; cursor: pointer; }
.caixa input { margin-top: 2px; flex: none; }
.caixa small { display: block; color: var(--texto-3); margin-top: 2px; }
.pagamentos { display: grid; gap: 10px; }
.pagamentos label { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--linha); cursor: pointer; transition: box-shadow .2s; }
.pagamentos label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--texto); }
.pagamentos input { accent-color: var(--acao); }
.pagamentos small { margin-left: auto; color: var(--texto-3); }
.linha-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linha); }
.linha-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.linha-item b { font-weight: 550; font-size: .92rem; display: block; }
.linha-item small { color: var(--texto-3); font-size: .78rem; }
.total { display: grid; gap: 8px; padding-top: 16px; font-size: .92rem; color: var(--texto-2); }
.total div { display: flex; justify-content: space-between; }
.total .grande { color: var(--texto); font-size: 1.2rem; font-weight: 600; padding-top: 8px; border-top: 1px solid var(--linha); margin-top: 6px; }
.resumo-lateral { position: sticky; top: 76px; }

/* boneco personalizado */
.heroi-boneco { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: clamp(48px, 8vw, 112px) 0 40px; }
.heroi-boneco .figura { aspect-ratio: 4 / 5; border-radius: 32px; background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--acao) 22%, var(--superficie)), var(--superficie) 60%); box-shadow: var(--sombra); display: grid; place-items: center; overflow: hidden; }
.heroi-boneco .figura svg { width: 62%; color: var(--texto); opacity: .9; }
.pacotes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pacote { border: 0; text-align: left; background: var(--superficie); border-radius: var(--raio); padding: 22px; box-shadow: var(--sombra); cursor: pointer; transition: transform .4s var(--mola), box-shadow .25s; }
.pacote:hover { transform: translateY(-3px); }
.pacote[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--acao), var(--sombra); }
.pacote h3 { font-size: 1.05rem; letter-spacing: -.015em; }
.pacote p { color: var(--texto-2); font-size: .85rem; margin: 6px 0 16px; min-height: 2.6em; }
.pacote .preco { font-size: 1.35rem; letter-spacing: -.02em; }
.envio-fotos { border: 1.5px dashed color-mix(in srgb, var(--texto) 22%, transparent); border-radius: var(--raio); padding: 34px; text-align: center; color: var(--texto-2); transition: border-color .2s, background-color .2s; }
.envio-fotos:hover { border-color: var(--acao); background: color-mix(in srgb, var(--acao) 5%, transparent); }
.envio-fotos b { color: var(--texto); display: block; margin-bottom: 4px; }
.aviso { font-size: .88rem; color: var(--texto-2); padding: 16px 18px; border-radius: 14px; background: var(--fundo-2); }

/* rodapé */
.rodape { border-top: 1px solid var(--linha); padding: 48px 0 56px; color: var(--texto-3); font-size: .8rem; }
.rodape .colunas { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; margin-bottom: 32px; }
.rodape h5 { color: var(--texto); font-size: .8rem; margin-bottom: 10px; }
.rodape a { display: block; padding: 3px 0; transition: color .2s; }
.rodape a:hover { color: var(--texto); }


@media (max-width: 900px) {
  .barra nav { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .ladrilho.g, .ladrilho.m { grid-column: span 2; } .ladrilho.p { grid-column: span 1; }
  .passos, .chamada, .produto, .compra, .heroi-boneco, .lista { grid-template-columns: 1fr; }
  .filtros, .galeria, .resumo-lateral { position: static; }
  .filtros { display: none; }
  .pacotes { grid-template-columns: 1fr 1fr; }
  .campos { grid-template-columns: 1fr; }
  .rodape .colunas { grid-template-columns: 1fr 1fr; }
  .palco img.lado { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .surge { transform: none; transition: opacity .3s ease; }
  .palco img { transform: translateX(-50%) !important; }
  .palco img.lado { display: none; }
  .tela.ativa { animation: none; }
  * { transition-duration: .01ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
}

