﻿@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Dancing+Script:wght@600;700&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --bg: #F8F0FA;
  --card: #FFFFFF;
  --ink: #6B46C1;
  --ink-soft: #A78BFA;
  --roxo: #E9D8FD;
  --roxo-soft: #F5F3FF;
  --lavender: #F0E6FF;
  --lilás-claro: #FDEFF5;
  --mint: #F7F0FA;
  --shadow: 0 10px 30px rgba(195, 148, 178, .16);
  --radius: 26px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  background: radial-gradient(circle at 12% 18%, var(--roxo-soft) 0, transparent 34%),
              radial-gradient(circle at 88% 12%, var(--lavender) 0, transparent 36%),
              radial-gradient(circle at 90% 85%, var(--lilás-claro) 0, transparent 30%),
              radial-gradient(circle at 6% 88%, var(--mint) 0, transparent 26%),
              var(--bg);
  ...
}

h1, h2, h3 { font-family: 'Caveat', cursive; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--pink); color: var(--ink); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 241, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(246, 193, 215, .35);
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 22px; max-width: 1100px; margin: 0 auto; }
.brand { font-family: 'Dancing Script', cursive; font-size: 1.65rem; font-weight: 700; color: var(--pink); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.brand span { font-size: 1.4rem; }

.nav-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: 0; }
.nav-links a { padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-soft); transition: color .25s ease, background .25s ease; }
.nav-links a:hover, .nav-links a.active { background: var(--pink); color: var(--ink); }

.menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-links { display: none; width: 100%; flex-direction: column; gap: 6px; background: rgba(255, 248, 241, .96); border-radius: 20px; padding: 14px; box-shadow: 0 10px 30px rgba(195, 148, 178, .16); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; }
}

.hero { text-align: center; padding: 64px 22px 20px; }
.hero .stamp { font-family: 'Dancing Script', cursive; font-size: 1.3rem; color: var(--ink-soft); letter-spacing: .06em; }
.hero h1 { font-size: clamp(3rem, 10vw, 5.4rem); line-height: 1.1; margin-bottom: 6px; background: linear-gradient(120deg, #F98FB5, #B58BE0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 560px; margin: 10px auto 30px; color: var(--ink-soft); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(195, 148, 178, .34); }
.btn-pink { background: var(--pink); color: var(--ink); }
.btn-ghost { background: transparent; border: 2px solid var(--pink); color: var(--ink); }

.home-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; padding: 40px 0 70px; }
.home-card { background: var(--card); border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; border: 1px solid transparent; }
.home-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(195, 148, 178, .24); border-color: var(--pink); }
.home-card .emoji { font-size: 2.6rem; display: block; margin-bottom: 10px; }
.home-card h3 { font-size: 1.5rem; }
.home-card p { font-size: .92rem; color: var(--ink-soft); margin-top: 4px; }

.page-head { text-align: center; padding: 54px 22px 10px; }
.page-head .kicker { font-family: 'Dancing Script', cursive; font-size: 1.3rem; color: var(--ink-soft); }
.page-head h1 { font-size: clamp(2.6rem, 8vw, 4.2rem); margin: 2px 0 6px; }
.page-head p { max-width: 560px; margin: auto; color: var(--ink-soft); }

.text-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; padding: 40px 0 70px; }
.text-card { background: var(--card); border-radius: var(--radius); padding: 26px 24px; position: relative; box-shadow: var(--shadow); border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease; }
.text-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(195, 148, 178, .22); }
.text-card::before { content: '❝'; position: absolute; top: 14px; right: 20px; font-size: 2.2rem; font-family: 'Caveat', cursive; color: var(--pink); opacity: .55; }
.text-card p { font-size: 1.05rem; }
.text-card .tag { display: inline-block; margin-top: 14px; padding: 4px 12px; font-family: 'Dancing Script', cursive; font-size: 1.05rem; background: var(--pink-soft); border-radius: 999px; color: var(--ink-soft); }

.poem-card { background: var(--card); border-radius: var(--radius); padding: 34px 30px; max-width: 580px; margin: 0 auto 34px; box-shadow: var(--shadow); border-left: 6px solid var(--lavender); border-right: 6px solid var(--lavender); white-space: pre-line; position: relative; }
.poem-card h2 { font-size: 1.9rem; text-align: center; margin-bottom: 14px; }
.poem-card .verse { font-family: 'Caveat', cursive; font-size: 1.45rem; text-align: center; color: var(--ink); }
.poem-card .signed { text-align: center; margin-top: 16px; font-family: 'Dancing Script', cursive; font-size: 1.2rem; color: var(--ink-soft); }
.poem-card .date { text-align: center; font-size: .85rem; color: var(--ink-soft); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; padding: 40px 0 70px; }
.photo-item { background: var(--card); border-radius: 20px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); cursor: pointer; position: relative; transition: transform .25s ease; }
.photo-item:hover { transform: scale(1.03); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(88, 69, 78, .55), transparent); color: #FFF; padding: 18px 14px 10px; font-size: .92rem; border-radius: 0 0 18px 18px; }
.photo-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 8px; color: var(--ink-soft); text-align: center; padding: 20px; font-size: .95rem; }
.photo-empty .big { font-size: 2.4rem; }

.love-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; padding: 40px 0 70px; perspective: 1200px; }
.flip { position: relative; aspect-ratio: .9; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1); cursor: pointer; }
.flip.flipped { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; box-shadow: var(--shadow); }
.flip-front { background: var(--card); }
.flip-front .big { font-size: 2.8rem; display: block; margin-bottom: 10px; }
.flip-front h3 { font-size: 1.35rem; }
.flip-front .hint { font-size: .8rem; color: var(--ink-soft); margin-top: 8px; opacity: .85; }
.flip-back { background: var(--lavender-soft); transform: rotateY(180deg); }
.flip-back p { font-family: 'Caveat', cursive; font-size: 1.25rem; }

.letter { max-width: 660px; margin: 0 auto; padding: 60px; background: linear-gradient(180deg, #FFFDF8, #FFF9EE); border-radius: 10px; box-shadow: var(--shadow); position: relative; font-size: 1.05rem; }
.letter::before { content: '✦'; position: absolute; top: 18px; right: 28px; font-size: 1.6rem; color: var(--pink); opacity: .7; }
.letter p { margin-bottom: 18px; }
.letter .greet { font-family: 'Dancing Script', cursive; font-size: 1.6rem; }
.letter .bye { margin-top: 30px; font-family: 'Dancing Script', cursive; font-size: 1.4rem; text-align: right; color: var(--ink-soft); }

.hug-wall { text-align: center; padding: 50px 0 90px; }
.hug-btn { padding: 18px 40px; font-size: 1.05rem; border-radius: 999px; border: none; background: linear-gradient(135deg, #F98FB5, #B58BE0); color: #FFF; font-family: 'Quicksand', sans-serif; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 10px 26px rgba(205, 130, 175, .35); }
.hug-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 34px rgba(205, 130, 175, .45); }

.hearts { position: fixed; inset: 0; pointer-events: none; z-index: 100; }
.hearts span { position: absolute; bottom: -20px; font-size: 1.2rem; opacity: 0; animation: floatUp 8s linear infinite; }
@keyframes floatUp { 0% { transform: translateY(0) rotate(0deg); opacity: 0; } 10% { opacity: .9; } 100% { transform: translateY(-110vh) rotate(240deg); opacity: 0; } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; background: rgba(88, 69, 78, .6); display: flex; align-items: center; justify-content: center; z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s ease; padding: 24px; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.lightbox .close { position: absolute; top: 22px; right: 28px; font-size: 2rem; color: #FFF; cursor: pointer; background: rgba(0,0,0,.3); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

.site-footer { text-align: center; padding: 26px 22px; color: var(--ink-soft); font-size: .95rem; border-top: 1px solid rgba(246, 193, 215, .3); }
.site-footer .sig { font-family: 'Dancing Script', cursive; font-size: 1.3rem; color: var(--pink); }

@media (max-width: 520px) {
  .letter { padding: 34px 22px; }
  .photo-grid, .text-grid, .home-cards { grid-template-columns: 1fr; }
}
