/* Leonardo & Débora · 29.11.2026 */
:root {
  --marfim: #faf7f1;
  --areia: #f0eadd;
  --tinta: #2f2b26;
  --tinta-suave: #6b635a;
  --verde: #56705a;
  --verde-escuro: #415645;
  --dourado: #b99855;
  --dourado-fundo: #a2833f;
  --dourado-claro: #d8c39a;
  --branco: #fffdf9;
  --sombra: 0 10px 30px rgba(47, 43, 38, .08);
  --sombra-alta: 0 18px 44px rgba(47, 43, 38, .14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
  --script: "Great Vibes", "Cormorant Garamond", cursive;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--marfim);
  color: var(--tinta);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* textura de papel sutil sobre tudo */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--areia); }
::-webkit-scrollbar-thumb { background: var(--dourado-claro); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--dourado); }
::selection { background: var(--dourado); color: #fff; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }

/* ---------- ornamento ---------- */
.ornamento {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 18px auto;
}
.ornamento span {
  display: block; width: clamp(46px, 8vw, 84px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--dourado));
}
.ornamento span:last-child { transform: scaleX(-1); }
.ornamento i {
  font-style: normal; line-height: 0; display: block; width: 44px; height: 18px;
  background: linear-gradient(105deg, var(--dourado-fundo), var(--dourado-claro) 45%, var(--dourado-fundo));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 18'%3E%3Cpath d='M2 10 C 8 3, 14 3, 18 8 C 20 10.5, 24 10.5, 26 8 C 30 3, 36 3, 42 10' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='22' cy='12.5' r='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 18'%3E%3Cpath d='M2 10 C 8 3, 14 3, 18 8 C 20 10.5, 24 10.5, 26 8 C 30 3, 36 3, 42 10' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='22' cy='12.5' r='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- topo ---------- */
.topo {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(20px, 5vw, 60px);
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--marfim) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(185, 152, 85, .18);
}
.monograma {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  letter-spacing: .12em; color: var(--verde);
}
.monograma span { color: var(--dourado); font-style: italic; }
.topo nav a {
  color: var(--tinta-suave); text-decoration: none; margin-left: 26px;
  font-size: .92rem; letter-spacing: .12em; text-transform: uppercase;
  position: relative; padding-bottom: 3px;
}
.topo nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--dourado);
  transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
}
.topo nav a:hover { color: var(--verde); }
.topo nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- hero ---------- */
.hero {
  min-height: 88vh; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 80px 24px 100px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(185, 152, 85, .12), transparent),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(86, 112, 90, .10), transparent);
}
/* moldura dupla de convite */
.hero::before, .hero::after {
  content: ""; position: absolute; pointer-events: none; border-radius: 2px;
}
.hero::before { inset: 18px; border: 1px solid rgba(185, 152, 85, .35); }
.hero::after { inset: 26px; border: 1px solid rgba(185, 152, 85, .16); }

.ramo {
  position: absolute; bottom: 8px; width: clamp(92px, 13vw, 165px); opacity: .55;
  pointer-events: none; z-index: -1; transition: transform .4s ease-out;
}
.ramo-esq { left: clamp(26px, 4vw, 70px); }
.ramo-dir { right: clamp(26px, 4vw, 70px); }
.ramo-caule { fill: none; stroke: var(--verde); stroke-width: 2; opacity: .7; }
.ramo-folha { fill: var(--verde); opacity: .55; }
.ramo-dir .ramo-folha:nth-child(odd), .ramo-esq .ramo-folha:nth-child(even) { fill: var(--dourado); opacity: .5; }
.ramo-fruto { fill: var(--dourado-fundo); opacity: .65; }

.hero-ante {
  font-family: var(--script);
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  color: var(--dourado-fundo); margin: 0 0 6px; font-weight: 400;
  animation: surgir .9s ease both;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.7rem, 8.5vw, 5.8rem);
  margin: 0; line-height: 1.06; letter-spacing: .01em;
  animation: surgir .9s .12s ease both;
}
.hero .amp { font-style: italic; color: var(--verde); }
.hero .ornamento { animation: surgir .9s .24s ease both; }
.hero-data {
  font-family: var(--serif); font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-style: italic; color: var(--tinta-suave); margin: 0 0 38px;
  animation: surgir .9s .3s ease both;
}
.contagem {
  display: flex; align-items: center; gap: clamp(10px, 3vw, 26px);
  margin-bottom: 44px; animation: surgir .9s .42s ease both;
}
.contagem em { color: var(--dourado); font-style: normal; opacity: .6; }
.contagem div { text-align: center; min-width: 58px; }
.contagem strong {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.7rem); color: var(--verde-escuro);
  font-variant-numeric: tabular-nums;
}
.contagem span {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--tinta-suave);
}
.hero .btn { animation: surgir .9s .54s ease both; }

@keyframes surgir {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- botões ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; position: relative;
  font-family: var(--sans); font-weight: 500; font-size: .9rem;
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  padding: 14px 34px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primario {
  background: linear-gradient(160deg, var(--verde), var(--verde-escuro));
  color: #fff; box-shadow: 0 4px 14px rgba(65, 86, 69, .25);
}
.btn-primario:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(65, 86, 69, .3), 0 0 0 1px rgba(185, 152, 85, .5);
}
.btn-fantasma { background: transparent; color: var(--verde); border: 1px solid rgba(86, 112, 90, .6); }
.btn-fantasma:hover { background: var(--verde); color: #fff; transform: translateY(-2px); border-color: var(--verde); }
.btn-cheio { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }

/* ---------- presentes ---------- */
.presentes { max-width: 1120px; margin: 0 auto; padding: 88px 20px 100px; }
.secao-ante {
  text-align: center; font-family: var(--script);
  font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--dourado-fundo); margin: 0 0 2px;
}
.presentes h2 {
  font-family: var(--serif); font-weight: 500; text-align: center;
  font-size: clamp(2.1rem, 5vw, 3.1rem); margin: 0; letter-spacing: .015em;
}
.explica {
  max-width: 620px; margin: 6px auto 44px; text-align: center;
  color: var(--tinta-suave); font-size: 1.02rem;
}

.busca-wrap { max-width: 680px; margin: 0 auto 16px; }
.busca {
  display: flex; align-items: center; gap: 10px;
  background: var(--branco); border: 1px solid rgba(185, 152, 85, .4);
  border-radius: 999px; padding: 6px 6px 6px 22px;
  box-shadow: var(--sombra); transition: box-shadow .2s ease, border-color .2s ease;
}
.busca:focus-within { border-color: var(--dourado); box-shadow: var(--sombra-alta), 0 0 0 3px rgba(185, 152, 85, .12); }
.busca-icone {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: var(--dourado); stroke-width: 2; stroke-linecap: round;
}
.busca input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0;
  font-family: var(--sans); font-size: 1.02rem; color: var(--tinta);
}
.busca input:focus { outline: none; }
.busca .btn { padding: 12px 26px; }

.estado-busca {
  text-align: center; color: var(--tinta-suave); min-height: 1.6em;
  margin-bottom: 20px; font-family: var(--serif); font-style: italic; font-size: 1.08rem;
}

.grade {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
}

/* cartão de produto */
.card {
  background: var(--branco); border-radius: 4px; overflow: hidden;
  box-shadow: var(--sombra); display: flex; flex-direction: column;
  border: 1px solid rgba(185, 152, 85, .22); position: relative;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card::after {
  content: ""; position: absolute; inset: 7px; pointer-events: none;
  border: 1px solid rgba(185, 152, 85, 0); border-radius: 2px;
  transition: border-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sombra-alta); border-color: rgba(185, 152, 85, .45); }
.card:hover::after { border-color: rgba(185, 152, 85, .28); }
.card-img {
  aspect-ratio: 1; background: var(--areia); position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;
  transition: transform .35s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-img .sem-foto { font-size: 2.6rem; opacity: .3; }
.card-corpo { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-nome {
  font-family: var(--serif); font-size: 1.08rem; font-weight: 500;
  line-height: 1.35; margin: 0; flex: 1; color: var(--tinta);
}
.card-preco {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600;
  color: var(--dourado-fundo); margin: 0;
  padding-top: 10px; border-top: 1px solid rgba(185, 152, 85, .22);
}
.card .btn { padding: 11px 20px; font-size: .8rem; }

/* skeleton de carregamento */
.skel { pointer-events: none; }
.skel .card-img, .skel .s-linha, .skel .s-preco, .skel .s-btn {
  background: linear-gradient(100deg, var(--areia) 40%, #f7f2e8 50%, var(--areia) 60%);
  background-size: 200% 100%;
  animation: brilho 1.3s linear infinite;
}
.skel .s-linha { height: 14px; border-radius: 6px; }
.skel .s-linha.curta { width: 65%; }
.skel .s-preco { height: 24px; width: 45%; border-radius: 6px; }
.skel .s-btn { height: 40px; border-radius: 999px; }
@keyframes brilho { to { background-position: -200% 0; } }

/* reveal ao rolar */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visivel { opacity: 1; transform: none; }

.mais-wrap { text-align: center; margin: 40px 0 0; }

/* ---------- presente livre ---------- */
.livre {
  margin-top: 76px; padding: 44px clamp(24px, 5vw, 52px);
  background:
    linear-gradient(120deg, rgba(86, 112, 90, .10), rgba(185, 152, 85, .13));
  border: 1px solid rgba(185, 152, 85, .35); border-radius: 6px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap; position: relative;
}
.livre::after {
  content: ""; position: absolute; inset: 8px; pointer-events: none;
  border: 1px solid rgba(185, 152, 85, .22); border-radius: 3px;
}
.livre h3 { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; margin: 0 0 6px; }
.livre p { margin: 0; color: var(--tinta-suave); }
.livre-form { display: flex; gap: 10px; align-items: stretch; position: relative; z-index: 1; }
.prefixo-real {
  display: flex; align-items: center; background: var(--branco);
  border: 1px solid rgba(185, 152, 85, .45); border-radius: 999px; padding: 0 8px 0 18px;
  transition: border-color .2s ease;
}
.prefixo-real span { color: var(--tinta-suave); margin-right: 4px; }
.prefixo-real input {
  border: 0; background: transparent; width: 110px; padding: 12px 8px;
  font-family: var(--sans); font-size: 1rem; color: var(--tinta);
}
.prefixo-real input:focus { outline: none; }
.prefixo-real:focus-within { border-color: var(--dourado); outline: 2px solid rgba(185, 152, 85, .35); }

/* ---------- modal ---------- */
.modal-fundo {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(47, 43, 38, .5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fundo-surge .25s ease;
}
@keyframes fundo-surge { from { opacity: 0; } }
.modal {
  background: var(--branco); border-radius: 6px; box-shadow: var(--sombra-alta);
  width: min(480px, 100%); padding: 34px; position: relative;
  max-height: 90vh; overflow: auto;
  border: 1px solid rgba(185, 152, 85, .3);
  animation: modal-surge .3s ease;
}
@keyframes modal-surge { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal .ornamento { margin: 0 auto 18px; }
.modal-fechar {
  position: absolute; top: 12px; right: 16px; border: 0; background: none;
  font-size: 1.7rem; color: var(--tinta-suave); cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}
.modal-fechar:hover { color: var(--tinta); transform: rotate(90deg); }
.modal-item { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.modal-item img {
  width: 88px; height: 88px; object-fit: contain;
  background: var(--areia); border-radius: 4px; mix-blend-mode: multiply;
}
.modal-item h3 {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  margin: 0 0 4px; line-height: 1.3;
}
.modal-preco { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--dourado-fundo); margin: 0; }
.modal label {
  display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  margin: 16px 0 6px; color: var(--tinta-suave);
}
.modal input, .modal textarea {
  width: 100%; padding: 12px 15px; border-radius: 4px;
  border: 1px solid rgba(185, 152, 85, .4); background: var(--marfim);
  font-family: var(--sans); font-size: .98rem; color: var(--tinta); resize: vertical;
  transition: border-color .15s ease;
}
.modal input:focus, .modal textarea:focus { outline: 2px solid rgba(185, 152, 85, .4); border-color: var(--dourado); }
.modal form .btn { margin-top: 22px; }

/* ---------- rodapé ---------- */
.rodape {
  text-align: center; padding: 58px 20px 46px;
  background: var(--areia); border-top: 1px solid rgba(185, 152, 85, .3);
  position: relative;
}
.rodape .assinatura {
  font-family: var(--script); font-size: clamp(1.9rem, 5vw, 2.6rem);
  color: var(--verde-escuro); margin: 0;
}
.rodape .ornamento { margin: 10px auto 14px; }
.rodape p { margin: 8px auto 0; color: var(--tinta-suave); }
.rodape .mini { font-size: .74rem; max-width: 560px; opacity: .75; margin-top: 18px; }

/* ---------- responsivo / a11y ---------- */
@media (max-width: 640px) {
  .hero::before { inset: 12px; }
  .hero::after { inset: 18px; }
  .busca { padding: 5px 5px 5px 16px; }
  .busca .btn { padding: 11px 18px; font-size: .78rem; }
  .livre { flex-direction: column; align-items: stretch; text-align: center; }
  .livre-form { justify-content: center; }
  .topo nav a { margin-left: 16px; font-size: .8rem; }
  .grade { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .card-corpo { padding: 14px 14px 16px; }
  .card-nome { font-size: .98rem; }
  .card-preco { font-size: 1.22rem; }
  .ramo { opacity: .3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
