/* ==========================================================================
   Deguste · Catálogo de Natal
   Paleta e tipografia tiradas do catálogo original (Canva)
   ========================================================================== */

:root {
  --verde-950: #10160a;
  --verde-900: #19200d;
  --verde-850: #1d2510;
  --verde-800: #242d16;
  --verde-700: #29321a;
  --verde-600: #374225;
  --creme: #ede9e5;
  --creme-suave: rgba(237, 233, 229, 0.78);
  --ouro: #e3c38e;
  --ouro-claro: #fde1bd;
  --ouro-escuro: #b68a52;
  --texto-escuro: #3e492b;

  --gradiente-ouro: linear-gradient(100deg, #b98b52 0%, #e2c08a 22%, #fde1bd 45%, #f3d3a2 60%, #d1ab72 80%, #b48650 100%);
  --fundo-radial: radial-gradient(ellipse 90% 70% at 50% 55%, #3a4527 0%, #29321a 38%, #1b230e 72%, #10160a 100%);

  --fonte-texto: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fonte-titulo: "Playfair Display", "Times New Roman", serif;

  --largura-max: 1180px;
  --esfumar-laterais: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  --gutter: clamp(16px, 5vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--verde-850);
  color: var(--creme);
  font-family: var(--fonte-texto);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong { font-weight: 600; color: var(--creme); }

:focus-visible {
  outline: 2px solid var(--ouro-claro);
  outline-offset: 3px;
}

/* --- Elementos comuns ---------------------------------------------------- */

.texto-ouro,
.titulo-ouro,
.titulo-secao,
.kit__nome,
.kit__limitado,
.capa__selo,
.pedido__titulo {
  background: var(--gradiente-ouro);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.divisor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(320px, 70%);
  margin: 22px auto;
  color: var(--ouro);
  font-size: 0.9rem;
}
.divisor::before,
.divisor::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 195, 142, 0.85));
}
.divisor::after { transform: scaleX(-1); }

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 30px;
  border-radius: 999px;
  font-family: var(--fonte-texto);
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.botao--ouro,
.botao--pedido {
  background: var(--gradiente-ouro);
  color: var(--texto-escuro);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.botao:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(253, 225, 189, 0.25);
}
.setas {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.12em;
  line-height: 1;
  margin-top: -3px;
}
.icone-whats { width: 22px; height: 22px; flex: none; }

.sobretitulo {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ouro);
}

/* --- Capa ------------------------------------------------------------------ */

.capa {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--fundo-radial);
  isolation: isolate;
}

.capa__luzes {
  position: absolute;
  z-index: 2;
  top: -23.5vw;
  left: -24%;
  width: 161%;
  max-width: none;
  pointer-events: none;
}

.capa__galhos {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

.capa__estrelas {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  width: 178vw;
  max-width: none;
  transform: translate(-50%, 47%);
  pointer-events: none;
}

.capa__conteudo {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 38vw var(--gutter) 46vw;
}

.capa__logo {
  width: clamp(112px, 29vw, 176px);
  filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.35));
}

.capa__titulo {
  margin: clamp(18px, 6vw, 34px) 0 0;
  width: min(84%, 520px);
  line-height: 0;
}
.capa__titulo img { width: 100%; }

.capa__selo {
  margin: 4px 0 0;
  font-size: clamp(1.15rem, 4.6vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.capa__prazo {
  margin: 2px 0 28px;
  font-size: clamp(0.95rem, 3.6vw, 1.1rem);
  font-weight: 300;
  color: var(--creme-suave);
}

/* brilhos piscando */
.brilhos { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.brilhos i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(253, 225, 189, 0.9) 35%, transparent 70%);
  box-shadow: 0 0 10px 2px rgba(253, 225, 189, 0.55);
  animation: piscar 3.6s ease-in-out infinite;
}
.brilhos i:nth-child(1) { top: 31%; left: 14%; animation-delay: 0s; }
.brilhos i:nth-child(2) { top: 36%; left: 82%; animation-delay: 1.1s; }
.brilhos i:nth-child(3) { top: 22%; left: 64%; animation-delay: 2.3s; }
.brilhos i:nth-child(4) { top: 40%; left: 6%;  animation-delay: 0.6s; width: 4px; height: 4px; }
.brilhos i:nth-child(5) { top: 41%; left: 94%; animation-delay: 1.8s; width: 4px; height: 4px; }
.brilhos i:nth-child(6) { top: 66%; left: 18%; animation-delay: 2.9s; width: 3px; height: 3px; }
.brilhos i:nth-child(7) { top: 62%; left: 80%; animation-delay: 0.3s; width: 3px; height: 3px; }

@keyframes piscar {
  0%, 100% { opacity: 0.15; transform: scale(0.6); }
  50%      { opacity: 1;    transform: scale(1.25); }
}

@media (min-width: 700px) {
  .capa__luzes  { width: 118%; left: -9%; top: -11vw; }
  .capa__galhos { width: min(100%, 820px); -webkit-mask-image: var(--esfumar-laterais); mask-image: var(--esfumar-laterais); }
  .capa__estrelas { width: 120%; transform: translate(-50%, 52%); }
  .capa__conteudo { padding-top: clamp(260px, 30vw, 300px); padding-bottom: 200px; }
}

/* --- Seções ---------------------------------------------------------------- */

.kits {
  position: relative;
  padding: 72px 0 24px;
  background:
    radial-gradient(ellipse 120% 40% at 50% 0%, rgba(55, 66, 37, 0.55), transparent 70%),
    linear-gradient(180deg, var(--verde-900) 0%, var(--verde-850) 18%, var(--verde-800) 60%, var(--verde-850) 100%);
}

.secao-cabecalho {
  max-width: 640px;
  margin: 0 auto 48px;
  padding: 0 var(--gutter);
  text-align: center;
}
.titulo-ouro {
  margin: 0;
  font-family: var(--fonte-titulo);
  font-size: clamp(2.2rem, 8vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.secao-cabecalho__texto {
  margin: 14px auto 0;
  max-width: 460px;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--creme-suave);
}

/* --- Kit ------------------------------------------------------------------- */

.kit {
  position: relative;
  max-width: var(--largura-max);
  margin: 0 auto;
}
.kit + .kit { margin-top: 56px; }
.kit + .kit::before {
  content: "✦";
  display: block;
  margin: 0 auto 56px;
  width: min(280px, 60%);
  text-align: center;
  font-size: 0.8rem;
  color: var(--ouro);
  background: linear-gradient(90deg, transparent, rgba(227, 195, 142, 0.5) 45%, transparent 45%, transparent 55%, rgba(227, 195, 142, 0.5) 55%, transparent) center / 100% 1px no-repeat;
}

.kit__foto {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}
.kit__foto img {
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.kit__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -60px 60px -40px rgba(16, 22, 10, 0.55);
}

.kit__info {
  padding: 30px var(--gutter) 8px;
  text-align: center;
}

.kit__numero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--ouro);
}
.kit__numero::before,
.kit__numero::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.kit__nome {
  margin: 8px 0 6px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.85rem, 7.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.kit__chamada {
  margin: 0 auto 20px;
  max-width: 30em;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.kit__itens {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 300;
  color: var(--creme);
}
.kit__itens > li {
  position: relative;
  padding-left: 22px;
  margin: 0 0 6px;
}
.kit__itens > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--gradiente-ouro);
}
.kit__itens ul {
  margin: 4px 0 2px;
  padding: 0;
  list-style: none;
}
.kit__itens ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 2px;
  color: var(--creme-suave);
}
.kit__itens ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--ouro);
  border-radius: 50%;
}

.kit__limitado {
  margin: 18px 0 22px;
  font-size: 1rem;
  font-weight: 700;
}

/* --- Selo de preço octogonal ----------------------------------------------- */

.precos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.selo {
  --corte: polygon(13% 0, 87% 0, 100% 24%, 100% 76%, 87% 100%, 13% 100%, 0 76%, 0 24%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(176px, calc(50% - 6px));
  min-height: 128px;
  padding: 16px 12px 14px;
  text-align: center;
  text-decoration: none;
  isolation: isolate;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.selo::before,
.selo::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: var(--corte);
}
.selo::before {
  inset: 0;
  background: var(--gradiente-ouro);
}
.selo::after {
  inset: 3.5px;
  background: radial-gradient(ellipse at 50% 30%, #2f3a1d 0%, #1b230e 70%, #141a09 100%);
}
.selo:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 14px rgba(253, 225, 189, 0.28));
}

.selo__opcao {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  background: var(--gradiente-ouro);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.selo__preco {
  margin-top: 4px;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--creme);
  white-space: nowrap;
}
.selo__pedir {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(227, 195, 142, 0.35);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ouro);
}
.selo__pedir::after { content: "›"; font-size: 1rem; line-height: 0; }

/* --- Kits no computador ---------------------------------------------------- */

@media (max-width: 380px) {
  .selo__opcao { font-size: 0.66rem; }
  .selo__preco { font-size: 1.16rem; }
  .selo__pedir { font-size: 0.6rem; letter-spacing: 0.03em; }
}

@media (min-width: 900px) {
  .kits { padding: 110px 0 60px; }
  .secao-cabecalho { margin-bottom: 80px; }

  .kit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 88px);
    padding: 0 var(--gutter);
  }
  .kit + .kit { margin-top: 96px; }
  .kit + .kit::before { position: absolute; top: -56px; left: 50%; transform: translateX(-50%); margin: 0; }

  .kit:nth-of-type(even) .kit__foto { order: 2; }

  .kit__foto {
    border-radius: 6px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(227, 195, 142, 0.35);
  }
  .kit__foto::after { box-shadow: none; }
  .kit__foto:hover img { transform: scale(1.03); }

  .kit__info { padding: 0; text-align: left; }
  .kit__chamada { margin-left: 0; }
  .kit__itens { display: block; }
  .precos { justify-content: flex-start; }

  .kit__itens--colunas { column-count: 2; column-gap: 28px; }
  .kit__itens--colunas > li { break-inside: avoid; }
}

/* --- Informações ----------------------------------------------------------- */

.info {
  position: relative;
  overflow: hidden;
  padding: clamp(150px, 34vw, 230px) 0 72px;
  background: var(--fundo-radial);
}
.info__luzes {
  position: absolute;
  top: -23.5vw;
  left: -24%;
  width: 161%;
  max-width: none;
  pointer-events: none;
}
.info__conteudo {
  position: relative;
  max-width: var(--largura-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.titulo-secao {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(1.25rem, 5.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.info__grade {
  display: grid;
  gap: 18px;
}
.info__bloco {
  position: relative;
  padding: 26px 22px 20px;
  border: 1px solid rgba(227, 195, 142, 0.28);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(55, 66, 37, 0.45), rgba(25, 32, 13, 0.35));
}
.info__icone {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border: 1px solid rgba(227, 195, 142, 0.6);
  border-radius: 50%;
  color: var(--ouro);
}
.info__icone svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info__bloco h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ouro);
}
.info__bloco p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--creme-suave);
}
.link-whats {
  color: var(--ouro-claro);
  font-weight: 500;
  text-decoration-color: rgba(253, 225, 189, 0.45);
  text-underline-offset: 3px;
  white-space: nowrap;
}

@media (min-width: 700px) {
  .info__luzes { width: 118%; left: -9%; top: -11vw; }
}
@media (min-width: 900px) {
  .info__grade { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .info__bloco { padding: 32px 28px 24px; }
}

/* --- Pedido ---------------------------------------------------------------- */

.pedido {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0 0 clamp(160px, 40vw, 240px);
  background: var(--fundo-radial);
  text-align: center;
}
.pedido__galhos {
  position: absolute;
  z-index: -1;
  top: -6vw;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}
.pedido__estrelas {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 50%;
  width: 178vw;
  max-width: none;
  transform: translate(-50%, 47%);
  pointer-events: none;
}
.pedido__conteudo {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 36vw var(--gutter) 0;
}
.pedido__logo { width: clamp(118px, 30vw, 170px); margin: 0 auto 18px; }
.pedido__titulo {
  margin: 0;
  font-size: clamp(1.35rem, 5.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pedido__prazo {
  margin: 2px 0 0;
  font-size: clamp(1.05rem, 4.4vw, 1.35rem);
  font-weight: 400;
}
.pedido__texto {
  margin: 0 auto 28px;
  max-width: 24em;
  font-size: clamp(1rem, 4.2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--creme-suave);
}
.botao--pedido {
  min-width: min(300px, 100%);
  min-height: 62px;
  padding: 14px 44px;
  background: linear-gradient(90deg, #c4a265 0%, #e6c99a 30%, #fde3c2 50%, #e6c99a 70%, #c4a265 100%);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (min-width: 700px) {
  .pedido__galhos { width: min(100%, 820px); top: -40px; -webkit-mask-image: var(--esfumar-laterais); mask-image: var(--esfumar-laterais); }
  .pedido__estrelas { width: 120%; transform: translate(-50%, 52%); }
  .pedido__conteudo { padding-top: 280px; }
}

/* --- Rodapé ---------------------------------------------------------------- */

.rodape {
  padding: 28px var(--gutter) calc(96px + env(safe-area-inset-bottom));
  background: var(--verde-950);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(237, 233, 229, 0.55);
}
.rodape p { margin: 0 0 4px; }

/* --- Botão flutuante ------------------------------------------------------- */

.whats-flutuante {
  position: fixed;
  z-index: 50;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--gradiente-ouro);
  color: var(--texto-escuro);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.whats-flutuante .icone-whats { width: 24px; height: 24px; }
.whats-flutuante__texto { display: none; }
.whats-flutuante.oculto { opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none; }
@media (min-width: 700px) {
  .whats-flutuante { padding: 0 24px 0 20px; }
  .whats-flutuante__texto { display: inline; }
}

/* --- Foto ampliada --------------------------------------------------------- */

.ampliada {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.ampliada::backdrop { background: rgba(10, 13, 5, 0.92); }
.ampliada[open] { display: grid; place-items: center; }
.ampliada img {
  max-width: 94vw;
  max-height: 90dvh;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(227, 195, 142, 0.35), 0 30px 80px rgba(0, 0, 0, 0.6);
}
.ampliada__fechar {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(227, 195, 142, 0.6);
  border-radius: 50%;
  background: rgba(25, 32, 13, 0.8);
  color: var(--ouro-claro);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

/* --- Animação de entrada --------------------------------------------------- */

.js .revelar {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .revelar.visivel { opacity: 1; transform: none; }

.capa__conteudo > * { animation: surgir 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.capa__conteudo > :nth-child(2) { animation-delay: 0.15s; }
.capa__conteudo > :nth-child(3) { animation-delay: 0.3s; }
.capa__conteudo > :nth-child(4) { animation-delay: 0.4s; }
.capa__conteudo > :nth-child(5) { animation-delay: 0.5s; }
.capa__conteudo > :nth-child(6) { animation-delay: 0.65s; }
@keyframes surgir {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revelar { opacity: 1; transform: none; }
}
