/* ===========================================================
   Apego em Papel — Dia dos Namorados
   Mobile-first, romantic premium aesthetic
   =========================================================== */

:root {
  /* Paleta Dia dos Namorados — vermelho-romântico + rosa apaixonado */
  --wine: #d11149;        /* vermelho-framboesa: cor-assinatura dos namorados */
  --wine-deep: #9c0c39;   /* vermelho profundo p/ gradientes */
  --rose: #f43f6b;        /* rosa-pink vibrante (acento) */
  --rose-soft: #ff9cb4;   /* rosa suave (corações, bordas) */
  --blush: #ffd6e0;       /* blush */
  --blush-2: #fff0f4;     /* blush clarinho (fundo) */
  --cream: #fff7fa;       /* creme rosado quase branco */
  --cream-2: #ffe9f0;     /* creme rosado */
  --gold: #d99a2b;        /* dourado quente (detalhe premium) */
  --gold-soft: #f3d178;
  --ink: #56122e;         /* berry escuro p/ títulos/texto */
  --ink-soft: #8a4660;    /* mauve p/ corpo */
  --white: #ffffff;
  --wpp: #25d366;
  --wpp-deep: #1da851;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(122, 31, 43, .08);
  --shadow-md: 0 14px 40px rgba(122, 31, 43, .14);
  --shadow-lg: 0 28px 70px rgba(122, 31, 43, .22);

  --serif: "Playfair Display", Georgia, serif;
  --garamond: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--wine);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--b); color: #fff; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: var(--shadow-sm); line-height: 1; text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }

.btn-wpp { background: linear-gradient(135deg, var(--wpp), var(--wpp-deep)); }
.btn-ghost { background: transparent; color: var(--wine); border: 1.5px solid var(--rose-soft); box-shadow: none; }
.btn-ghost:hover { background: var(--blush-2); box-shadow: none; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-lg { padding: 17px 36px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 244, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(122, 31, 43, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--wine)); color: #fff;
  box-shadow: var(--shadow-sm); flex: none; animation: beat 3s ease-in-out infinite;
}
.brand:hover .brand-mark { animation: beat 1.1s ease-in-out infinite; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--wine); letter-spacing: .01em; }
.brand-tag { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav > a:not(.btn) { font-weight: 500; font-size: .96rem; color: var(--ink); position: relative; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--rose); transition: width .22s ease; }
.nav > a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--wine); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 0%, var(--blush) 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 100%, var(--cream-2) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--blush-2) 100%);
  padding: 40px 0 96px;
}
.hero-inner { display: grid; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero-copy h1 {
  font-size: clamp(2.4rem, 9vw, 4.1rem); letter-spacing: -.01em; margin-bottom: 18px;
  background: linear-gradient(120deg, var(--wine) 20%, var(--rose) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-copy .lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 30em; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .85rem; color: var(--wine); font-weight: 600; }

.hero-art { position: relative; margin: 0; justify-self: center; max-width: 360px; width: 100%; }
.hero-art img {
  width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover;
  border-radius: 24px; box-shadow: var(--shadow-lg);
  border: 7px solid #fff; transform: rotate(-1.5deg);
}
/* moldura de coração decorativa atrás da foto */
.hero-art::before {
  content: ""; position: absolute; inset: -18px -14px -14px -18px; z-index: -1;
  background: radial-gradient(circle at 30% 20%, var(--rose-soft), transparent 60%),
              radial-gradient(circle at 80% 90%, var(--blush), transparent 55%);
  border-radius: 32px; transform: rotate(-1.5deg);
}
.hero-art .corner-heart {
  position: absolute; font-size: 30px; z-index: 3; filter: drop-shadow(0 3px 6px rgba(156,12,57,.35));
  animation: beat 1.6s ease-in-out infinite;
}
.hero-art .corner-heart.tl { top: -16px; left: -12px; }
.hero-art .corner-heart.br { bottom: -14px; right: -10px; animation-delay: .8s; }
.hero-ribbon {
  position: absolute; z-index: 3; top: 16px; left: -10px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #4a350a;
  font-weight: 700; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-md);
}

.hero-decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.float-heart { position: absolute; color: var(--rose-soft); opacity: .5; animation: floaty 7s ease-in-out infinite; }
.float-heart.h1 { font-size: 38px; top: 14%; left: 8%; animation-delay: 0s; }
.float-heart.h2 { font-size: 22px; top: 62%; left: 18%; animation-delay: 1.4s; color: var(--gold-soft); opacity: .6; }
.float-heart.h3 { font-size: 30px; top: 30%; right: 10%; animation-delay: .8s; }
.float-heart.h4 { font-size: 18px; top: 78%; right: 22%; animation-delay: 2.1s; color: var(--rose); opacity: .4; }
.float-heart.h5 { font-size: 26px; top: 8%; right: 30%; animation-delay: 1s; color: var(--rose-soft); opacity: .35; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(4deg); } }

/* corações subindo (heart rain ao contrário) */
.heart-rain { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.heart-rain span {
  position: absolute; bottom: -30px; font-size: 18px; color: var(--rose);
  opacity: 0; animation: rise linear infinite;
}
.heart-rain span:nth-child(1){ left: 6%;  font-size: 16px; color: var(--rose-soft); animation-duration: 9s;  animation-delay: 0s; }
.heart-rain span:nth-child(2){ left: 20%; font-size: 22px; color: var(--rose);      animation-duration: 11s; animation-delay: 2.5s; }
.heart-rain span:nth-child(3){ left: 34%; font-size: 13px; color: var(--gold-soft); animation-duration: 8s;  animation-delay: 1.2s; }
.heart-rain span:nth-child(4){ left: 52%; font-size: 20px; color: var(--rose-soft); animation-duration: 12s; animation-delay: 3.4s; }
.heart-rain span:nth-child(5){ left: 68%; font-size: 15px; color: var(--rose);      animation-duration: 10s; animation-delay: .6s; }
.heart-rain span:nth-child(6){ left: 80%; font-size: 24px; color: var(--rose-soft); animation-duration: 13s; animation-delay: 4s; }
.heart-rain span:nth-child(7){ left: 90%; font-size: 14px; color: var(--gold-soft); animation-duration: 9.5s; animation-delay: 2s; }
@keyframes rise {
  0%   { transform: translateY(0) translateX(0) rotate(0); opacity: 0; }
  10%  { opacity: .7; }
  50%  { transform: translateY(-52vh) translateX(16px) rotate(20deg); }
  90%  { opacity: .5; }
  100% { transform: translateY(-104vh) translateX(-10px) rotate(-15deg); opacity: 0; }
}

/* cupido voando */
.cupid {
  position: absolute; top: 18%; left: -60px; z-index: 2; font-size: 40px;
  pointer-events: none; animation: fly 16s linear infinite; filter: drop-shadow(0 4px 8px rgba(156,12,57,.3));
}
.cupid::after { content: "💕"; position: absolute; left: -22px; top: 8px; font-size: 18px; opacity: .8; }
@keyframes fly {
  0%   { left: -70px;  top: 20%; transform: scaleX(1) rotate(-4deg); }
  25%  { top: 12%; }
  50%  { top: 24%; transform: scaleX(1) rotate(4deg); }
  75%  { top: 14%; }
  100% { left: 105%; top: 20%; transform: scaleX(1) rotate(-4deg); }
}

/* batimento */
@keyframes beat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.18); }
  60% { transform: scale(1); }
}

/* divisor de corações entre seções */
.heart-divider { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 30px 0 6px; }
.heart-divider::before, .heart-divider::after {
  content: ""; height: 1.5px; width: min(90px, 18vw);
  background: linear-gradient(90deg, transparent, var(--rose-soft));
}
.heart-divider::after { background: linear-gradient(90deg, var(--rose-soft), transparent); }
.heart-divider span { color: var(--rose); animation: beat 1.8s ease-in-out infinite; }
.heart-divider span:nth-child(1){ font-size: 14px; opacity: .6; animation-delay: 0s; }
.heart-divider span:nth-child(2){ font-size: 22px; animation-delay: .25s; }
.heart-divider span:nth-child(3){ font-size: 14px; opacity: .6; animation-delay: .5s; }

/* brilho decorativo nos títulos de seção */
.section-head h2 .sparkle { display: inline-block; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: .35; transform: scale(.85) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(18deg); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 48px;
  background: var(--cream);
  -webkit-mask: radial-gradient(28px at 50% 0, transparent 98%, #000) repeat-x; mask: radial-gradient(28px at 50% 0, transparent 98%, #000) repeat-x;
  -webkit-mask-size: 56px 48px; mask-size: 56px 48px; display: none;
}

/* ---------- Perks ---------- */
.perks { background: var(--cream); padding: 56px 0; }
.perks-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.perk { background: var(--white); border: 1px solid var(--blush); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.perk-ic { font-size: 1.9rem; display: block; margin-bottom: 10px; }
.perk h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--wine); }
.perk p { margin: 0; font-size: .94rem; color: var(--ink-soft); }

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 36em; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.section-sub { color: var(--ink-soft); margin-top: 12px; }

/* ---------- Catalog ---------- */
.catalog { padding: 64px 0 72px; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.chip {
  font-family: var(--sans); font-weight: 600; font-size: .9rem; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--rose-soft);
  background: transparent; color: var(--wine); transition: .18s;
}
.chip:hover { background: var(--blush-2); }
.chip.is-active { background: var(--wine); color: #fff; border-color: var(--wine); box-shadow: var(--shadow-sm); }
.chip:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }

.grid { display: grid; grid-template-columns: 1fr; gap: 22px; }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(122,31,43,.06);
  display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card.is-hidden { display: none; }

.card-media { position: relative; aspect-ratio: 5 / 6; overflow: hidden; background: var(--blush-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }

.price-tag {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(52,17,24,.86); color: #fff; font-weight: 700; font-size: .98rem;
  padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.badge-premium {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #4a350a;
  font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm);
}

.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.32rem; color: var(--wine); margin-bottom: 8px; }
.card-desc { font-size: .92rem; color: var(--ink-soft); margin: 0 0 14px; }

.acomp { margin-bottom: 18px; border-top: 1px dashed var(--blush); padding-top: 12px; }
.acomp summary {
  cursor: pointer; font-weight: 600; font-size: .85rem; color: var(--rose);
  list-style: none; display: flex; align-items: center; gap: 6px; user-select: none;
}
.acomp summary::-webkit-details-marker { display: none; }
.acomp summary::before { content: "＋"; font-weight: 700; transition: transform .2s; }
.acomp[open] summary::before { content: "－"; }
.acomp ul { margin: 12px 0 2px; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.acomp li { font-size: .86rem; color: var(--ink-soft); padding-left: 20px; position: relative; }
.acomp li::before { content: "♥"; position: absolute; left: 0; color: var(--rose-soft); font-size: .8rem; }

.card-body .btn { margin-top: auto; }

.custom-note { text-align: center; margin-top: 38px; font-size: 1.02rem; color: var(--ink-soft); }
.custom-note a { color: var(--wine); font-weight: 700; border-bottom: 2px solid var(--rose-soft); }
.custom-note a:hover { border-color: var(--wine); }

/* ---------- How ---------- */
.how { padding: 64px 0; background: var(--cream); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 22px; counter-reset: s; max-width: 820px; margin-inline: auto; }
.steps li { background: var(--white); border: 1px solid var(--blush); border-radius: var(--radius); padding: 28px 24px 24px; text-align: center; box-shadow: var(--shadow-sm); position: relative; }
.step-n {
  display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 14px;
  border-radius: 50%; background: linear-gradient(135deg, var(--rose), var(--wine)); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.35rem; box-shadow: var(--shadow-sm);
}
.steps h3 { font-size: 1.2rem; color: var(--wine); margin-bottom: 6px; }
.steps p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative; overflow: hidden;
  background:
    radial-gradient(100% 120% at 0% 0%, rgba(255,255,255,.12), transparent 50%),
    linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: #fff; padding: 72px 0; text-align: center;
}
.heart-rain--light span { color: rgba(255,255,255,.55); }
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 { color: #fff; font-size: clamp(1.9rem, 6vw, 2.7rem); margin-bottom: 12px; }
.cta-inner p { color: rgba(255,255,255,.88); max-width: 32em; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-brand .brand-name { color: #fff; font-size: 1.4rem; }
.footer-brand p { margin: 10px 0 0; font-size: .92rem; max-width: 28em; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { font-size: .95rem; transition: color .18s; }
.footer-links a:hover { color: var(--rose-soft); }
.footer-links.plain li { font-size: .92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-bottom .made a { color: var(--rose-soft); }

/* ---------- FAB ---------- */
.fab-wpp {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--wpp), var(--wpp-deep));
  box-shadow: 0 10px 28px rgba(29,168,81,.5); transition: transform .2s;
  animation: pulse 2.6s ease-in-out infinite;
}
.fab-wpp:hover { transform: scale(1.08); }
@keyframes pulse { 0%,100% { box-shadow: 0 10px 28px rgba(29,168,81,.5); } 50% { box-shadow: 0 10px 28px rgba(29,168,81,.5), 0 0 0 12px rgba(37,211,102,.12); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (min-width: 600px) {
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hero-wave { display: block; }
}

@media (min-width: 900px) {
  .hero { padding: 64px 0 110px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero-art { justify-self: end; max-width: 420px; }
  .perks-grid { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile nav */
@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 4px;
    background: var(--cream); padding: 16px 20px 24px; align-items: stretch;
    box-shadow: var(--shadow-md); border-bottom: 1px solid var(--blush);
    transform: translateY(-130%); transition: transform .3s ease; z-index: 40;
  }
  .nav.open { transform: translateY(0); }
  .nav > a:not(.btn) { padding: 13px 6px; border-bottom: 1px solid var(--blush-2); }
  .nav .btn { margin-top: 10px; }
  .nav-toggle { display: flex; }
}

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