:root {
  --creme: #fcf7ee;
  --creme-2: #f6e9d2;
  --vermelho: #ad3131;
  --vinho: #7d1f26;
  --ouro: #b8893b;
  --tinta: #3d2321;
  --serif: "Playfair Display", Georgia, serif;
  --texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--creme); color: var(--tinta); font: 1.0625rem/1.6 var(--texto); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--vermelho); }
h1, h2, h3 { font-family: var(--serif); color: var(--vermelho); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; }

.miolo { width: min(100% - 32px, 1100px); margin-inline: auto; }
.estreito { max-width: 700px; }
.centro { text-align: center; }
.pular { position: absolute; left: -9999px; }
.pular:focus { left: 8px; top: 8px; z-index: 20; background: #fff; padding: 8px; }

.botao { display: inline-block; border: 1px solid var(--vermelho); background: var(--vermelho); color: #fff8ec; border-radius: 999px; padding: .6em 1.5em; font: 600 .95rem/1.2 var(--texto); text-decoration: none; text-align: center; cursor: pointer; transition: background .2s; }
.botao:hover { background: var(--vinho); border-color: var(--vinho); }
.botao:disabled { opacity: .65; cursor: wait; }
.botao.contorno { background: transparent; color: var(--vermelho); }
.botao.contorno:hover { background: var(--creme-2); }

/* topo */
.topo { position: sticky; top: 0; z-index: 10; background: var(--creme); border-bottom: 1px solid #e7d3ac; }
.topo .miolo { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.marca { display: flex; align-items: center; gap: 8px; margin-right: auto; font: 700 1.35rem var(--serif); text-decoration: none; white-space: nowrap; }
.marca img, .abertura img[src$="sol.png"], .recebido > img, .sem-foto img { mix-blend-mode: multiply; }
.topo nav { display: flex; gap: 24px; }
.topo nav a { color: var(--tinta); text-decoration: none; }
.topo nav a:hover { color: var(--vermelho); }
.topo .botao { padding: .4em 1.1em; }

/* abertura */
.abertura { text-align: center; padding: 20px 0 36px; background: radial-gradient(ellipse at 50% 0, #fff, var(--creme) 70%); border-bottom: 1px solid #e7d3ac; }
.banner { width: 100%; height: auto; mix-blend-mode: multiply; }
@media (min-width: 761px) { .abertura { padding-top: 0; } }
.so-celular { display: none; }
.subtitulo { font: 500 clamp(1.2rem, 2.5vw, 1.6rem) var(--serif); color: var(--ouro); margin: 4px 0 8px; }
.boas-vindas { max-width: 620px; margin-inline: auto; font-size: 1.125rem; }

.secao { padding: 52px 0; }
.secao h2 { text-align: center; }
.secao h2::after { content: "✦"; display: block; font-size: .8rem; color: var(--ouro); margin-top: 4px; }

/* catálogo */
.abas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.abas button { border: 1px solid var(--ouro); background: transparent; color: var(--tinta); border-radius: 999px; padding: .45em 1.2em; font: .95rem var(--texto); cursor: pointer; }
.abas button small { opacity: .7; margin-left: 4px; }
.abas button[aria-pressed="true"] { background: var(--vermelho); border-color: var(--vermelho); color: #fff8ec; }
.grupo-titulo { text-align: center; margin-top: 24px; }
.com-abas .grupo-titulo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 260px)); justify-content: center; gap: 18px; }
.cartao { display: flex; flex-direction: column; background: #fffdf8; border: 1px solid #e7d3ac; border-radius: 14px; padding: 10px 10px 16px; text-align: center; box-shadow: 0 3px 14px rgb(125 31 38 / .06); }
.cartao-link { text-decoration: none; color: inherit; flex: 1; }
.cartao h3 { font-size: 1.15rem; margin: 12px 4px 4px; }
.resumo { font-size: .9rem; margin: 0 6px 4px; }
.cartao-arte { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #fcf8ef; }
.cartao-arte img { width: 100%; height: 100%; object-fit: contain; }
.sobre-arte img { width: 100%; height: 100%; object-fit: cover; }
.capa-coracao { display: grid; place-items: center; background: #fcf8ef; }
.capa-coracao > div { position: relative; width: 100%; container-type: inline-size; }
.capa-coracao img { width: 100%; height: auto; }
.capa-coracao span { position: absolute; left: 31%; right: 27%; top: 44%; bottom: 25%; display: flex; align-items: center; justify-content: center; text-align: center; color: #e6b265; font: 700 6.2cqw/1.15 var(--serif); text-shadow: 0 1px 2px #4a0a00; overflow-wrap: anywhere; }
.prazo { font-weight: 600; color: var(--vinho); }
.preco s { font-size: .75em; font-weight: 500; opacity: .65; margin-right: 6px; }
.leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sem-foto { background: var(--creme); border: 1px solid var(--creme-2); position: relative; }
.sem-foto img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.preco { font: 700 1.3rem var(--serif); font-variant-numeric: lining-nums; color: var(--vinho); margin: 6px 0 10px; }
.preco.grande { font-size: 2rem; }
.cartao .botao { align-self: center; }
.erro { color: var(--vinho); font-size: .92rem; margin: 8px 0 0; font-weight: 600; }

/* como funciona */
.destaque { background: var(--creme-2); }
.passos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: passo; }
.passos li { counter-increment: passo; background: #fffdf8; border-radius: 14px; padding: 22px; text-align: center; border: 1px solid #e7d3ac; }
.passos li::before { content: counter(passo); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--vermelho); color: #fff8ec; font-family: var(--serif); margin-bottom: 10px; }
.passos li p:last-child { margin: 0; }
.passos.coluna { grid-template-columns: 1fr; margin-top: 24px; }
.passos.coluna h2 { font-size: 1.35rem; }
.passos.coluna h2::after { content: none; }

.sobre { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 900px; }
.sobre h2 { text-align: left; }
.sobre-arte { aspect-ratio: 4 / 5; border-radius: 160px 160px 14px 14px; overflow: hidden; border: 1px solid var(--ouro); }

details { border-bottom: 1px solid #e7d3ac; padding: 14px 4px; }
summary { cursor: pointer; font: 500 1.15rem var(--serif); }
details p { margin: 10px 0 0; }

/* página do serviço */
.produto { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 44px; align-items: start; max-width: 960px; }
.produto-arte { border-radius: 16px; overflow: hidden; border: 1px solid #e7d3ac; background: #fcf8ef; }
.produto-arte > img { width: 100%; height: auto; }
.trilha { margin-bottom: 8px; }
.trilha a { text-decoration: none; }
.aviso { background: var(--creme-2); border-left: 4px solid var(--ouro); padding: 12px 16px; border-radius: 6px; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0; }
.acoes .erro { flex-basis: 100%; order: 3; }
.nota { font-size: .875rem; opacity: .85; }

.recebido { text-align: center; }
.recebido > img { margin: 0 auto 10px; }
.situacao { background: var(--creme-2); border-radius: 10px; padding: 10px 14px; font-weight: 600; }

/* Papoulas com um véu vinho: mais fechado onde há texto, mais aberto nas flores. */
.rodape { background: linear-gradient(rgb(70 10 18 / .9), rgb(70 10 18 / .78) 60%, rgb(70 10 18 / .35)), url("img/papoulas.jpg") center 62% / cover no-repeat, var(--vinho); color: #fff3dc; text-align: center; padding: 48px 0 130px; text-shadow: 0 1px 4px rgb(30 0 5 / .85); }
.agenda { text-align: left; margin-top: 16px; }
.agenda h2 { font-size: 1.35rem; margin-top: 24px; }
/* Nome do serviço comprado, bem visível. */
#pedido { font: 700 clamp(1.8rem, 7vw, 2.6rem)/1.2 var(--serif); color: var(--vinho); opacity: 1; border-block: 2px solid var(--ouro); padding: 16px 8px; margin: 18px 0; overflow-wrap: anywhere; }
.ajuda { margin-top: 32px; }
.lembrete { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; background: var(--vinho); color: #fff3dc; padding: 12px 16px; text-align: center; }
.lembrete a { color: #fff3dc; font-weight: 600; }
.lembrete button { background: none; border: 0; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.agenda label { display: block; margin-bottom: 14px; font-weight: 600; }
.agenda input:not([type=radio], [type=checkbox]), .agenda select, .agenda textarea { display: block; width: 100%; margin-top: 4px; padding: .55em .7em; font: 400 1rem var(--texto); color: var(--tinta); background: #fff; border: 1px solid #d9bd85; border-radius: 8px; }
.agenda fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.agenda legend { font-weight: 600; margin-bottom: 8px; }
.dias { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.agenda .dias label { margin: 0; position: relative; font-weight: 400; }
.dias input { position: absolute; opacity: 0; }
.dias span { display: block; text-align: center; padding: .6em .4em; border: 1px solid var(--ouro); border-radius: 10px; cursor: pointer; }
.dias input:checked + span { background: var(--vermelho); border-color: var(--vermelho); color: #fff8ec; }
.dias input:focus-visible + span { outline: 3px solid var(--ouro); outline-offset: 2px; }
.agenda .marcar { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .93rem; }
.marcar input { margin-top: .35em; }
.agenda > .botao { display: block; width: 100%; margin-top: 12px; }

.rodape a { color: #f8ead0; }
.rodape p { margin-bottom: .6em; }
.rodape-marca { font: 700 1.5rem var(--serif); }
.redes { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .topo .miolo { flex-wrap: wrap; gap: 0 12px; padding-block: 8px; min-height: 0; }
  .topo nav { order: 3; width: 100%; justify-content: center; padding-top: 4px; }
  .marca { font-size: 1.15rem; }
  .marca img { width: 36px; height: 36px; }
  html { scroll-padding-top: 108px; }
  .banner { display: none; }
  .so-celular { display: block; }
  .so-celular img { margin: 0 auto 6px; }
  .secao { padding: 36px 0; }
  .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cartao { padding: 6px 6px 12px; }
  .cartao h3 { font-size: 1rem; overflow-wrap: anywhere; }
  .resumo { display: none; }
  .preco { font-size: 1.15rem; }
  .cartao .botao { font-size: .875rem; padding: .55em 1em; }
  .sobre, .produto { grid-template-columns: 1fr; gap: 22px; }
  .sobre h2 { text-align: center; }
  .sobre-arte { width: min(100%, 260px); margin-inline: auto; }
  .abas { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 10px; }
  .abas button { flex: 0 0 auto; }
  .produto-arte { max-width: 440px; width: 100%; margin-inline: auto; }
}
