:root {
  --areia: #f6efe6;
  --areia-2: #efe3d3;
  --papel: #fffaf4;
  --cacau: #3a2418;
  --cacau-2: #6b4a37;
  --bronze: #b8733a;
  --bronze-2: #d69a5f;
  --menta: #a9d8cc;
  --teal: #2f7f7a;
  --zap: #1f8f5a;
  --borda: rgba(58, 36, 24, .12);
  --raio: 22px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--areia); color: var(--cacau);
  font: 16px/1.5 var(--sans); max-width: 480px; margin-inline: auto;
  padding: 0 16px calc(32px + env(safe-area-inset-bottom));
}
body.com-sacola { padding-bottom: 120px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; margin: 0; }
svg { width: 20px; height: 20px; flex: none; }

/* topo */
.topo { position: relative; text-align: center; padding: 48px 4px 28px; isolation: isolate; }
.sol {
  position: absolute; z-index: -1; left: 50%; top: -120px; width: min(100vw, 480px); height: 420px; translate: -50% 0; background: radial-gradient(circle, rgba(214, 154, 95, .55), rgba(214, 154, 95, .18) 45%, transparent 70%);
}
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; border: 3px solid var(--papel); box-shadow: 0 0 0 2px var(--bronze-2), 0 10px 30px rgba(58, 36, 24, .18); }
.sobre { margin: 0 0 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cacau-2); font-weight: 600; }
h1 { font-size: 44px; line-height: 1; }
h1 em { display: block; font-style: italic; font-weight: 400; font-size: 26px; color: var(--bronze); margin-top: 6px; }
.lead { margin: 14px auto 22px; max-width: 340px; color: var(--cacau-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 16px var(--sans); text-decoration: none; transition: transform .15s, filter .15s;
}
.btn:active { transform: scale(.97); }
.btn:hover { filter: brightness(1.06); }
.btn-zap { background: var(--zap); color: #fff; box-shadow: 0 8px 20px rgba(31, 143, 90, .28); }
.btn-bronze { background: var(--cacau); color: var(--papel); }
.topo .btn-zap { width: 100%; }

/* as duas portas */
.portas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.porta {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  min-height: 168px; padding: 16px; border-radius: var(--raio); text-decoration: none; overflow: hidden;
  transition: transform .2s;
}
.porta:active { transform: scale(.98); }
.porta strong { font: 600 21px/1.1 var(--serif); }
.porta-tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.porta-seta { position: absolute; top: 14px; right: 16px; font-size: 20px; }
.porta-bronze {
  color: var(--papel);
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 214, 160, .75), transparent 40%),
    linear-gradient(160deg, #c98446, #8a4f25 70%, #5c3219);
}
.porta-beach { color: var(--teal); background: var(--papel); border: 1px solid var(--borda); }
.porta-beach img { width: 56px; height: 56px; border-radius: 50%; position: absolute; top: 14px; left: 14px; }

/* blocos */
.bloco { margin-top: 28px; padding: 26px 20px; background: var(--papel); border-radius: var(--raio); border: 1px solid var(--borda); scroll-margin-top: 16px; }
.kicker { margin: 0 0 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--bronze); }
#beach .kicker { color: var(--teal); }
h2 { font-size: 32px; line-height: 1.05; }
.nota { margin: 8px 0 20px; color: var(--cacau-2); font-size: 15px; }

/* agenda */
.agenda { display: grid; gap: 18px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.dias { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
.dias::-webkit-scrollbar { display: none; }
.dias label, .opcoes label { position: relative; flex: none; }
.dias input, .opcoes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dias span {
  display: grid; place-items: center; width: 60px; height: 70px; border-radius: 16px;
  border: 1px solid var(--borda); background: var(--areia); font: 600 22px/1 var(--serif);
}
.dias small { font: 600 11px var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--cacau-2); }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes span { display: block; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--borda); background: var(--areia); font-weight: 600; font-size: 15px; }
.dias input:checked + span, .opcoes input:checked + span { background: var(--cacau); color: var(--papel); border-color: var(--cacau); }
.dias input:checked + span small { color: var(--bronze-2); }
.dias input:focus-visible + span, .opcoes input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.campo { display: grid; gap: 8px; font-weight: 700; font-size: 14px; }
.campo input { font: 500 16px var(--sans); padding: 14px 16px; border-radius: 14px; border: 1px solid var(--borda); background: var(--areia); color: var(--cacau); }
.campo input:focus { outline: 2px solid var(--bronze); border-color: transparent; }

.dicas { margin-top: 18px; border-top: 1px solid var(--borda); padding-top: 14px; }
.dicas summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.dicas summary::after { content: '+'; color: var(--bronze); font-size: 20px; line-height: 1; }
.dicas[open] summary::after { content: '–'; }
.dicas ul { margin: 12px 0 0; padding-left: 18px; color: var(--cacau-2); font-size: 15px; }
.dicas li + li { margin-top: 6px; }

/* ponte */
.ponte {
  margin-top: 28px; padding: 20px; border-radius: var(--raio); text-align: center;
  background: linear-gradient(120deg, var(--menta), #d8eee8); color: #1d4f4b;
}
.ponte p { margin: 0 0 8px; font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.ponte a { font-weight: 700; color: var(--teal); }

/* catálogo */
.grade { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.peca { position: relative; border-radius: 16px; overflow: hidden; background: var(--areia-2); }
.peca img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.peca-tag { position: absolute; top: 8px; left: 8px; background: var(--papel); color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; }
.peca-pe { padding: 10px; display: grid; gap: 8px; }
.peca-pe p { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.3; min-height: 2.6em; }
.quero { border: 0; border-radius: 999px; padding: 9px; background: var(--teal); color: #fff; font: 700 14px var(--sans); cursor: pointer; }
.quero:active { transform: scale(.97); }
.mais { display: block; margin-top: 18px; text-align: center; font-weight: 700; color: var(--teal); }

/* onde */
.endereco { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--areia); text-decoration: none; font-size: 15px; }
.endereco-ir { flex: none; font-weight: 700; color: var(--bronze); font-size: 14px; }
.depo { display: grid; gap: 10px; margin-top: 16px; }
.depo blockquote { margin: 0; padding-left: 14px; border-left: 2px solid var(--bronze-2); font-family: var(--serif); font-style: italic; color: var(--cacau-2); }

.redes { display: grid; gap: 10px; padding: 14px; }
.redes a { display: flex; align-items: center; gap: 12px; padding: 8px; text-decoration: none; border-radius: 14px; }
.redes a:hover { background: var(--areia); }
.redes img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.redes span { display: grid; font-size: 13px; color: var(--cacau-2); }
.redes b { color: var(--cacau); font-size: 15px; }

.rodape { text-align: center; font-size: 12px; color: var(--cacau-2); margin-top: 28px; }

/* sacola */
.sacola {
  position: fixed; z-index: 10; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); translate: -50% 0;
  width: min(448px, calc(100% - 24px)); display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 8px; background: var(--cacau); color: var(--papel); border-radius: 26px; box-shadow: 0 14px 40px rgba(58, 36, 24, .35);
  animation: sobe .3s ease-out;
}
.sacola[hidden] { display: none; }
@keyframes sobe { from { translate: -50% 20px; opacity: 0; } }
.sacola-ver { flex: 1; display: flex; align-items: center; gap: 10px; background: none; border: 0; color: inherit; font: 600 14px var(--sans); cursor: pointer; padding: 0 8px; text-align: left; white-space: nowrap; }
.sacola-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bronze-2); color: var(--cacau); font-weight: 800; }
.sacola .btn { min-height: 46px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.sacola-lista { order: 3; width: 100%; list-style: none; margin: 0; padding: 4px 8px; }
.sacola-lista[hidden] { display: none; }
.sacola-lista li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(255, 250, 244, .15); font-size: 14px; }
.sacola-lista button { background: none; border: 0; color: inherit; font-size: 22px; cursor: pointer; width: 36px; height: 36px; }

/* tamanho */
.tam { border: 0; border-radius: var(--raio); padding: 22px; width: min(340px, calc(100% - 32px)); background: var(--papel); color: var(--cacau); text-align: center; }
.tam::backdrop { background: rgba(58, 36, 24, .45); backdrop-filter: blur(3px); }
.tam img { width: 96px; height: 120px; object-fit: cover; border-radius: 12px; margin: 0 auto 10px; }
#tamNome { margin: 0; font: 600 20px var(--serif); }
.tam-p { margin: 12px 0 10px; font-size: 14px; color: var(--cacau-2); }
.tam .opcoes { justify-content: center; }
.tam-acoes { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 20px; }
.link { background: none; border: 0; font: 600 15px var(--sans); color: var(--cacau-2); cursor: pointer; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
