/* Ensaio de Natal, Elvira Piek. Linha de Natal do orçamento em PDF (Lora + Poppins,
   creme, café e um vermelho natalino só nos destaques) com a assinatura da marca:
   wordmark, selo, monograma EP e o arco. Uma tela por seção, fotos grandes. */
:root {
  --creme: #f2eddf;        /* fundo do PDF */
  --creme-2: #e8e2d5;      /* fios e áreas */
  --cafe: #45332a;         /* texto e painéis */
  --cafe-2: #6a574a;       /* texto secundário */
  --vermelho: #8e2a21;     /* números, avisos, destaque */
  --sobre-cafe: #f2eddf;
  --sobre-cafe-2: #e3d9c7;
  --linha: rgba(69, 51, 42, 0.28);
  /* Natal: o vermelho do PDF, o verde das árvores e o dourado das bolas das fotos */
  --vermelho-noite: #6f1f19;  /* fundo da abertura */
  --verde: #26402f;           /* pinheiro: pacotes, fechamento */
  --verde-2: #33533e;
  --ouro: #c9a45c;            /* enfeites e fios, nunca texto pequeno */
  --ouro-claro: #e4cf9c;      /* texto pequeno sobre vermelho e verde */
  --neve: #fbf8f1;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, sans-serif;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --secao: clamp(72px, 10vw, 128px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--creme);
  color: var(--cafe);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--vermelho); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
@media (min-width: 900px) {
  .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); }
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; color: var(--cafe); text-wrap: balance; }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.12; }
.intro { margin: 16px 0 0; max-width: 54ch; color: var(--cafe-2); font-size: 17px; }

/* botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  background: var(--cafe); color: var(--sobre-cafe);
  border-radius: 999px; text-decoration: none;
  font-family: var(--sans); font-weight: 400; font-size: 15px; letter-spacing: .02em;
  transition: background-color .2s ease;
}
.botao:hover { background: #2f2219; }
.botao-pequeno { min-height: 40px; padding: 0 18px; font-size: 14px; }
.botao-claro { background: var(--creme); color: var(--cafe); }
.botao-claro:hover { background: #fff; }
.botao[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.link { color: var(--cafe); text-decoration: underline; text-decoration-color: var(--linha); text-underline-offset: 5px; font-size: 15px; }
.link:hover { text-decoration-color: var(--cafe); }

/* topo */
.topo {
  position: sticky; top: 0; z-index: 10;
  background: rgba(242, 237, 223, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px);
}
.topo-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.wordmark {
  display: block; width: clamp(124px, 18vw, 160px); aspect-ratio: 4 / 1; background: var(--cafe);
  -webkit-mask: url("img/wordmark.png") center / contain no-repeat;
          mask: url("img/wordmark.png") center / contain no-repeat;
}

/* abertura */
.abertura { padding-block: clamp(24px, 4vw, 56px) var(--secao); }
.abertura-in {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.sobre { margin: 0 0 20px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cafe-2); }
h1 { font-size: clamp(48px, 7.4vw, 92px); line-height: 1; letter-spacing: -.01em; }
h1 em { display: block; margin-top: 14px; font-size: clamp(22px, 3.1vw, 38px); line-height: 1.3; color: var(--cafe-2); letter-spacing: 0; }
.lead { margin: 28px 0 0; max-width: 46ch; font-size: 18px; line-height: 1.7; }
.acoes { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.publico { margin: 28px 0 0; font-family: var(--serif); font-style: italic; color: var(--cafe-2); }

.abertura-foto { position: relative; margin: 0; padding: 18px 18px 0; justify-self: end; width: min(100%, 500px); }
.abertura-foto img { width: 100%; aspect-ratio: 3 / 4.1; object-fit: cover; object-position: 50% 35%; border-radius: 999px 999px 0 0; position: relative; }
.abertura-foto .moldura {
  position: absolute; inset: 0 0 auto 0; height: 55%;
  border: 1px solid var(--linha); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.abertura-foto .padrao {
  position: absolute; z-index: -1; top: -40px; right: -60px; width: 70%; height: 70%;
  background: var(--cafe); opacity: .07;
  -webkit-mask: url("img/padrao.png") 0 0 / 120px 120px repeat;
          mask: url("img/padrao.png") 0 0 / 120px 120px repeat;
}

@media (prefers-reduced-motion: no-preference) {
  .abertura-foto .moldura { animation: moldura 1.6s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes moldura { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
}

/* o seu Natal */
.jeito { padding-block: 0 var(--secao); }
.jeito-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.jeito-texto p { margin: 20px 0 0; max-width: 42ch; font-size: 17px; }
.jeito-fotos { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.jeito-fotos img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.jeito-fotos .j1 { grid-row: span 2; aspect-ratio: 2 / 3; }
.jeito-fotos .j2 { aspect-ratio: 3 / 2; }
.jeito-fotos .j3 { aspect-ratio: 3 / 2; object-position: 50% 60%; }

/* pacotes */
.pacotes { padding-block: var(--secao); background: var(--creme-2); }
.pacotes-lista { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pacote {
  display: flex; flex-direction: column;
  background: var(--creme); border-radius: 8px; overflow: hidden;
}
.pacote-foto { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.pacote-corpo { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pacote h3 { font-size: 30px; font-style: italic; }
.pacote .resumo { margin: 0; color: var(--cafe-2); font-size: 15px; }
.pacote ul { margin: 4px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linha); }
.pacote li { padding: 10px 0; border-bottom: 1px solid var(--linha); font-size: 15px; }
.pacote .valor { margin: auto 0 0; padding-top: 12px; display: flex; align-items: baseline; gap: 6px; font-family: var(--serif); }
.pacote .valor small { font-size: 16px; }
.pacote .valor strong { font-weight: 400; font-size: 44px; line-height: 1; font-variant-numeric: lining-nums; }
.pacote .botao { margin-top: 8px; }
.pacote.destaque { background: var(--cafe); color: var(--sobre-cafe); }
.pacote.destaque h3 { color: var(--sobre-cafe); }
.pacote.destaque .resumo { color: var(--sobre-cafe-2); }
.pacote.destaque ul, .pacote.destaque li { border-color: rgba(242, 237, 223, 0.25); }
.pacote.destaque .botao { background: var(--creme); color: var(--cafe); }
.pacote.destaque .botao:hover { background: #fff; }
.selo-destaque { align-self: flex-start; font-size: 13px; color: var(--sobre-cafe-2); font-family: var(--serif); font-style: italic; }

/* datas */
.datas { padding-block: var(--secao); }
.escolha { margin-top: 40px; display: grid; gap: 24px; }
.escolha-pacote { border: 0; margin: 0; padding: 0; min-width: 0; }
.escolha-pacote legend { padding: 0; margin-bottom: 12px; font-size: 14px; color: var(--cafe-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--linha); background: transparent; color: var(--cafe);
  font: 400 15px/1 var(--sans); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--cafe); color: var(--sobre-cafe); border-color: var(--cafe); }
.chip span { color: inherit; opacity: .7; margin-left: 6px; }
.aviso-exemplo { margin: 0; font-size: 14px; color: var(--vermelho); font-style: italic; }

.calendario { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px 40px; }
.mes h3 { font-size: 24px; font-style: italic; margin-bottom: 14px; }
.semana, .dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.semana span { text-align: center; font-size: 12px; color: var(--cafe-2); padding-bottom: 4px; }
.dia {
  aspect-ratio: 1 / 1.08; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: 8px; border: 1px solid transparent; background: transparent;
  font: 400 15px/1 var(--sans); color: rgba(69, 51, 42, 0.32);
}
.dia small { font-size: 12px; line-height: 1.1; text-align: center; }
.legenda-cal { display: none; margin: 0; font-size: 13px; color: var(--cafe-2); }
.legenda-cal i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 6px 1px 0; background: var(--cafe-2); }
.legenda-cal i.v { background: var(--vermelho); margin-left: 14px; }
button.dia { cursor: pointer; color: var(--cafe); background: #fbf8f1; border-color: var(--linha); }
button.dia:hover { border-color: var(--cafe); }
button.dia small { color: var(--cafe-2); }
button.dia.ultima small { color: var(--vermelho); }
button.dia[aria-pressed="true"] { background: var(--cafe); color: var(--sobre-cafe); border-color: var(--cafe); }
button.dia[aria-pressed="true"] small { color: var(--sobre-cafe-2); }
.dia.esgotado { color: rgba(69, 51, 42, 0.4); text-decoration: line-through; background: transparent; border: 1px dashed var(--linha); }
.dia.esgotado small { text-decoration: none; }
.sem-datas { margin: 0; font-family: var(--serif); font-style: italic; font-size: 18px; }

.pedido {
  margin-top: 32px; padding: 24px; border-radius: 8px; background: var(--creme-2);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
}
.pedido-resumo { margin: 0; font-family: var(--serif); font-size: 19px; min-width: 0; flex: 1 1 280px; }
.pedido-resumo small { display: block; font-family: var(--sans); font-size: 14px; color: var(--cafe-2); margin-top: 4px; }

/* galeria */
.galeria { padding-block: 0 var(--secao); }
.mosaico { margin-top: 40px; columns: 3 260px; column-gap: 12px; }
.mosaico img { width: 100%; margin-bottom: 12px; border-radius: 6px; break-inside: avoid; }

/* como reservar */
.reservar { padding-block: var(--secao); background: var(--creme-2); }
.reservar-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.passos li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; border-top: 1px solid var(--linha); padding-top: 20px; }
.passos .num { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--vermelho); }
.passos h3 { font-size: 22px; }
.passos p { margin: 6px 0 0; color: var(--cafe-2); }

/* perguntas */
.perguntas { padding-block: var(--secao); }
.perguntas-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.lista-perguntas details { border-top: 1px solid var(--linha); }
.lista-perguntas details:last-child { border-bottom: 1px solid var(--linha); }
.lista-perguntas summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
  font-family: var(--serif); font-size: 19px;
}
.lista-perguntas summary::-webkit-details-marker { display: none; }
.lista-perguntas summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; color: var(--cafe-2); }
.lista-perguntas details[open] summary::after { content: "–"; }
.lista-perguntas p { margin: 0 0 20px; max-width: 60ch; color: var(--cafe-2); }

/* fechamento */
.fechamento { background: var(--cafe); color: var(--sobre-cafe); padding-block: var(--secao); text-align: center; }
.fechamento-in { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.selo {
  width: 120px; aspect-ratio: 1200 / 1240; background: var(--sobre-cafe);
  -webkit-mask: url("img/selo.png") center / contain no-repeat;
          mask: url("img/selo.png") center / contain no-repeat;
}
.fecho { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.2; text-wrap: balance; }
.contato { margin: 0; color: var(--sobre-cafe-2); font-size: 15px; letter-spacing: .04em; }

/* rodapé */
.rodape { background: var(--cafe); color: var(--sobre-cafe-2); font-size: 13px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.faixa {
  height: 56px; background: var(--sobre-cafe); opacity: .16;
  -webkit-mask: url("img/padrao.png") 0 0 / 84px 84px repeat;
          mask: url("img/padrao.png") 0 0 / 84px 84px repeat;
}
.rodape-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; }
.rodape a { text-decoration: none; }
.rodape a:hover { text-decoration: underline; }

/* responsivo */
@media (max-width: 900px) {
  .abertura-in, .jeito-in, .reservar-in, .perguntas-in { grid-template-columns: minmax(0, 1fr); }
  .abertura-foto { justify-self: center; width: min(100%, 420px); order: -1; }
  .pacotes-lista { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .pacote.destaque { order: -1; }
}
@media (max-width: 520px) {
  .lead { font-size: 17px; }
  .abertura-foto { width: 86%; }
  .pacote-corpo { padding: 24px 20px 28px; }
  .pedido { padding: 20px; }
  .pedido .botao { width: 100%; }
  .semana, .dias { gap: 4px; }
  /* no celular a vaga vira um ponto (vermelho = última vaga), com legenda abaixo */
  .dia small { display: none; }
  button.dia::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cafe-2); margin-top: 4px; }
  button.dia.ultima::after { background: var(--vermelho); }
  button.dia[aria-pressed="true"]::after { background: var(--sobre-cafe); }
  .legenda-cal { display: block; }
}

/* ======================================================================
   Natal: abertura em vermelho com neve, pacotes no verde-pinheiro,
   enfeites pendurados e um fio de luzinhas. Neve e luzes param com
   prefers-reduced-motion.
   ====================================================================== */

/* topo vermelho com o fio de luzes na borda */
.topo { background: var(--vermelho-noite); backdrop-filter: none; }
.topo .wordmark { background: var(--neve); }
.topo .botao-pequeno { background: var(--neve); color: var(--vermelho-noite); }
.topo .botao-pequeno:hover { background: #fff; }
.luzes { position: absolute; left: 0; right: 0; bottom: -30px; width: 100%; height: 34px; pointer-events: none; overflow: visible; }
.luzes path { fill: none; stroke: #1f3326; stroke-width: 1.4; }
.luzes .acesa { animation: brilho 2.4s ease-in-out infinite; }
.luzes .halo { opacity: .75; }
@keyframes brilho { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* abertura */
.abertura { position: relative; overflow: hidden; isolation: isolate; background: var(--vermelho-noite); color: var(--neve); padding-top: clamp(56px, 7vw, 96px); }
.abertura h1, .abertura h1 em { color: var(--neve); }
.abertura h1 em { color: var(--ouro-claro); }
.abertura .sobre { color: var(--ouro-claro); }
.abertura .lead { color: #f3e6dc; }
.abertura .publico { color: var(--ouro-claro); }
.abertura .botao { background: var(--neve); color: var(--vermelho-noite); }
.abertura .botao:hover { background: #fff; }
.abertura .link { color: var(--neve); text-decoration-color: rgba(251, 248, 241, .45); }
.abertura .link:hover { text-decoration-color: var(--neve); }
.abertura-foto .moldura { border-color: var(--ouro); }
.abertura-foto .padrao { display: none; }
.abertura-in { position: relative; z-index: 1; }

.neve { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }

/* enfeites pendurados no alto da abertura */
.enfeites { position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 0; pointer-events: none; }
.enfeite { position: absolute; top: 0; will-change: transform; }
.enfeite svg { display: block; overflow: visible; }
.enfeite .cintila { opacity: 0; transform: scale(.2); }
.enfeite.brilha .cintila { animation: cintila 1.1s cubic-bezier(.2,.7,.2,1); }
@keyframes cintila { 0% { opacity: 0; transform: scale(.2) rotate(0); } 35% { opacity: 1; transform: scale(1) rotate(45deg); } 100% { opacity: 0; transform: scale(.3) rotate(90deg); } }

/* transição para o creme: uma borda de neve acumulada */
.monte-neve { position: absolute; z-index: 1; left: 0; bottom: -1px; display: block; width: 100%; height: clamp(28px, 4vw, 56px); }
.monte-neve path { fill: var(--creme); }
.abertura { padding-bottom: calc(var(--secao) * .55 + 48px); }
.jeito { padding-top: clamp(40px, 6vw, 72px); }

/* pacotes no verde */
.pacotes { background: var(--verde); color: var(--neve); position: relative; overflow: hidden; isolation: isolate; }
.pacotes > .wrap { position: relative; z-index: 1; }
.pacotes h2 { color: var(--neve); }
.pacotes .intro { color: #d9e2d6; }
.pacote.destaque { background: var(--vermelho-noite); }
.pacote.destaque .botao { color: var(--vermelho-noite); }
.selo-destaque {
  font-family: var(--sans); font-style: normal; font-size: 13px; letter-spacing: .04em;
  color: var(--vermelho-noite); background: var(--ouro-claro);
  padding: 4px 12px 4px 10px; border-radius: 0 999px 999px 0; margin-left: -28px;
}
.pacote .valor strong { color: inherit; }

/* calendário: dia escolhido em vermelho, como um enfeite */
button.dia[aria-pressed="true"] { background: var(--vermelho-noite); border-color: var(--vermelho-noite); }
.chip[aria-pressed="true"] { background: var(--vermelho-noite); border-color: var(--vermelho-noite); }
.pedido { background: var(--neve); border: 1px solid var(--linha); }
.pedido .botao-whats { background: var(--verde); }
.pedido .botao-whats:hover { background: #1b3022; }

/* floco entre títulos e conteúdo */
.floco { display: block; width: 22px; height: 22px; margin-bottom: 14px; color: var(--vermelho); }
.pacotes .floco, .fechamento .floco { color: var(--ouro); }

/* fechamento e rodapé no verde, com neve */
.fechamento { background: var(--verde); position: relative; overflow: hidden; isolation: isolate; }
.fechamento-in { position: relative; z-index: 1; }
.fechamento .botao-claro { color: var(--verde); }
.rodape { background: var(--verde); }

@media (prefers-reduced-motion: reduce) {
  .luzes .acesa, .enfeite .cintila { animation: none; }
}
@media (max-width: 900px) {
}
@media (max-width: 520px) {
  .selo-destaque { margin-left: -20px; }
}

/* ---------- revisão (impeccable polish, 18/11) ---------- */
/* cartões creme dentro do verde voltam para o café (herdavam o creme da seção) */
.pacote { color: var(--cafe); }
.pacote.destaque { color: var(--sobre-cafe); }

/* foco visível sobre vermelho e verde */
.topo :focus-visible, .abertura :focus-visible, .pacotes :focus-visible,
.pacote.destaque :focus-visible, .fechamento :focus-visible, .rodape :focus-visible { outline-color: var(--ouro-claro); }

/* superfícies do navegador */
::selection { background: var(--vermelho-noite); color: var(--neve); }
html { scrollbar-color: var(--cafe-2) var(--creme-2); accent-color: var(--vermelho-noite); }

/* chips com hover */
.chip:hover { border-color: var(--cafe); }

/* sinal do FAQ desenhado, sem glifo */
.lista-perguntas summary::after {
  content: ""; top: 50%; right: 6px; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--cafe-2), var(--cafe-2)) center / 14px 1.5px no-repeat,
              linear-gradient(var(--cafe-2), var(--cafe-2)) center / 1.5px 14px no-repeat;
  transition: transform .2s ease;
}
.lista-perguntas details[open] summary::after { content: ""; transform: rotate(45deg); }
@media (max-width: 900px) { .enfeite svg { transform: scale(.8); transform-origin: 50% 0; } }

/* link para o álbum no topo */
.topo-acoes { display: flex; align-items: center; gap: 18px; }
.link-album { color: var(--neve); font-size: 14px; text-decoration: underline; text-decoration-color: rgba(251, 248, 241, .45); text-underline-offset: 5px; white-space: nowrap; }
.link-album:hover { text-decoration-color: var(--neve); }
@media (max-width: 400px) { .topo-acoes { gap: 12px; } .link-album { font-size: 13px; } }

/* aviso de pré-agendamento junto do pedido */
.aviso-pre { margin: 12px 0 0; max-width: 62ch; font-size: 14px; line-height: 1.5; font-style: italic; color: var(--cafe-2); }
.topo .botao-pequeno { white-space: nowrap; }
@media (max-width: 400px) { .topo .wordmark { width: 108px; } .topo .botao-pequeno { padding: 0 14px; } }
