:root {
    --cream: #fbf7ec;
    --cream-2: #f3eedf;
    --blush: #f8ecea;
    --sage: #a0ab89;
    --reseda: #828c6a;
    --green: #5f6138;
    --olive: #6c6a3f;
    --rose: #c18f86;
    --rose-soft: #efc0bc;
    --coral: #e69b97;
    --gold: #b8975a;
    --gold-soft: #e7dcc3;
    --text: #45412f;
    --muted: #7d7867;
    --white: #fff;
    --danger: #b4483c;
    --ok: #6b7a45;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(95, 97, 56, 0.08);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --script: 'Great Vibes', cursive;
    --sans: 'Montserrat', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
    font-family: var(--sans);
    font-weight: 300;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--green); line-height: 1.2; }

/* ===== Nav ===== */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 5vw; background: rgba(251, 247, 236, .82); backdrop-filter: blur(6px);
    transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.scrolled { background: rgba(250, 247, 242, .95); box-shadow: 0 2px 20px rgba(0,0,0,.05); padding: 10px 5vw; backdrop-filter: blur(6px); }
.nav-brand { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .12em; text-decoration: none; color: var(--olive); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
    text-decoration: none; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--green); font-weight: 500; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--gold); transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--green); transition: .3s; }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center;
    padding: 100px 20px 80px; overflow: hidden; isolation: isolate;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(circle at 20% 30%, rgba(239, 192, 188, .18), transparent 40%),
        radial-gradient(circle at 80% 75%, rgba(160, 171, 137, .16), transparent 45%),
        var(--cream);
}
.lily { position: absolute; z-index: -1; pointer-events: none; height: auto; }
.lily-top { top: 0; right: 0; width: clamp(200px, 32vw, 500px); }
.lily-bottom { bottom: 0; left: 0; width: clamp(180px, 28vw, 440px); }
.hero.has-photo .lily { display: none; }
.hero-logo { width: min(400px, 74vw); height: auto; margin: 6px auto 0; }
.sr-only {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.heart { font-style: normal; font-size: 1.1rem; }
.hero.has-photo .hero-content { color: var(--white); }
.hero.has-photo h1, .hero.has-photo .hero-kicker, .hero.has-photo .hero-date { color: var(--white); }
.hero.has-photo .countdown strong { color: var(--white); }
.hero.has-photo .countdown div { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.hero.has-photo .countdown span, .hero.has-photo .hero-subtitle { color: rgba(255,255,255,.85); }
.hero.has-photo .btn-outline { color: var(--white); border-color: var(--white); }
.hero.has-photo .divider span { background: rgba(255,255,255,.6); }

.hero-content { max-width: 760px; animation: fadeUp 1.2s ease both; }
.hero-kicker { letter-spacing: .35em; text-transform: uppercase; font-size: .8rem; color: var(--sage); font-weight: 500; }
.hero-names {
    font-family: var(--script); font-weight: 400; font-size: clamp(3.6rem, 11vw, 7.5rem);
    line-height: 1.05; margin: 14px 0 6px; color: var(--green);
}
.hero-names .amp { display: inline-block; color: var(--gold); margin: 0 .15em; font-size: .7em; }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 6px 0 14px; }
.divider span { width: 70px; height: 1px; background: var(--gold); opacity: .6; }
.hero-date { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.7rem); letter-spacing: .08em; color: var(--green); }
.hero-subtitle { color: var(--muted); margin-top: 8px; }

.countdown { display: flex; justify-content: center; gap: 14px; margin: 34px 0; flex-wrap: wrap; }
.countdown div {
    min-width: 84px; padding: 14px 10px; border: 1px solid var(--gold-soft); border-radius: var(--radius);
    background: rgba(255,255,255,.6);
}
.countdown strong { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--green); line-height: 1; }
.countdown span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn { padding: 17px 36px; font-size: .84rem; }
.hero-actions .btn-outline, .cta-bar .btn-outline {
    background: var(--white); border: 1.5px solid var(--gold); color: var(--green); box-shadow: 0 8px 20px rgba(184, 151, 90, .22);
}
.hero-actions .btn-outline:hover, .cta-bar .btn-outline:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.hero.has-photo .hero-actions .btn-outline { background: rgba(255, 255, 255, .92); color: var(--green); border-color: var(--white); }

/* Sino de atalhos (aparece quando os botões da capa saem da tela) */
.cta-bar {
    position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; justify-items: end; gap: 12px;
    transform: scale(0); opacity: 0; visibility: hidden; transform-origin: 100% 100%;
    transition: transform .5s cubic-bezier(.3, 1.5, .5, 1), opacity .3s, visibility .5s;
}
.cta-bar.show { transform: none; opacity: 1; visibility: visible; }
.cta-bell {
    position: relative; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--gold); cursor: pointer;
    display: grid; place-items: center; color: var(--white);
    background: radial-gradient(circle at 30% 25%, #7c7d4c, var(--green) 70%);
    box-shadow: 0 10px 26px rgba(63, 79, 61, .35), 0 0 0 5px rgba(231, 220, 195, .55);
    transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s;
}
.cta-bell:hover { transform: scale(1.08); }
.cta-bell svg { width: 27px; height: 27px; fill: currentColor; transform-origin: 50% 8%; animation: bell-ring 4s 1s ease-in-out infinite; }
.cta-badge {
    position: absolute; top: -4px; right: -4px; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 999px;
    display: grid; place-items: center; background: var(--rose); color: var(--white); border: 2px solid var(--white);
    font-family: var(--sans); font-size: .74rem; font-weight: 700; line-height: 1; box-shadow: 0 3px 8px rgba(193, 143, 134, .5);
    animation: badge-pop 4s 1s ease-in-out infinite;
}
.cta-bar.open .cta-bell { box-shadow: 0 10px 26px rgba(63, 79, 61, .35), 0 0 0 5px rgba(184, 151, 90, .45); }
.cta-bar.open .cta-bell svg, .cta-bar.open .cta-badge { animation: none; }
.cta-menu { display: grid; justify-items: end; gap: 10px; }
.cta-bar .cta-menu .btn {
    padding: 14px 26px; white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(18px) scale(.85);
    transform-origin: 100% 100%; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), opacity .25s, visibility .35s;
}
.cta-menu .btn-outline { background: var(--white); border: 1.5px solid var(--gold); color: var(--green); box-shadow: 0 8px 20px rgba(184, 151, 90, .25); }
.cta-menu .btn-outline:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.cta-bar.open .cta-menu .btn, .fx .cta-bar.open .cta-menu .btn { opacity: 1; visibility: visible; transform: none; }
.cta-bar.open .cta-menu .btn:first-child { transition-delay: .06s; }
@keyframes bell-ring {
    0%, 76%, 100% { transform: rotate(0); }
    80% { transform: rotate(16deg); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(10deg); } 92% { transform: rotate(-6deg); } 96% { transform: rotate(2deg); }
}
@keyframes badge-pop { 0%, 76%, 100% { transform: scale(1); } 82% { transform: scale(1.3); } 90% { transform: scale(.95); } }
@media (max-width: 600px) {
    .cta-bar { right: 14px; bottom: 14px; }
    .cta-bell { width: 56px; height: 56px; }
    body.cta-on .toast { bottom: 88px; }
    .cta-bar .cta-menu .btn { padding: 13px 22px; font-size: .72rem; }
}
.scroll-hint {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    font-size: 2rem; text-decoration: none; color: var(--gold); animation: bounce 2s infinite;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
    font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 8px 20px rgba(63,79,61,.25); }
.btn-primary:hover { background: #4b4d2b; }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-gold { background: var(--rose); color: var(--white); box-shadow: 0 8px 18px rgba(193,143,134,.25); }
.btn-gold:hover { background: #ab786f; }
.btn-small { padding: 9px 18px; font-size: .7rem; }
.btn-block { width: 100%; }

/* ===== Sections ===== */
.section { padding: 100px 5vw; }
.section-alt { background: var(--cream-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow { letter-spacing: .3em; text-transform: uppercase; font-size: .72rem; color: var(--gold); font-weight: 600; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-top: 6px; }
.section-lead { color: var(--muted); margin-top: 14px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===== Timeline ===== */
.timeline { list-style: none; max-width: 820px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--gold-soft); }
.timeline li { position: relative; width: 50%; padding: 0 44px 48px; }
.timeline li:nth-child(odd) { text-align: right; }
.timeline li:nth-child(even) { margin-left: 50%; }
.timeline li::before {
    content: ''; position: absolute; top: 8px; width: 13px; height: 13px; border-radius: 50%;
    background: var(--cream); border: 2px solid var(--gold);
}
.timeline li:nth-child(odd)::before { right: -7px; }
.timeline li:nth-child(even)::before { left: -6px; }
.timeline .year { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.2rem; }
.timeline h3 { font-size: 1.6rem; margin: 2px 0 6px; }
.timeline p { color: var(--muted); }

/* ===== Events ===== */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: 1100px; margin: 0 auto; }
.event { overflow: hidden; display: flex; flex-direction: column; }
.event-body { padding: 30px 30px 22px; text-align: center; }
.event-label { letter-spacing: .3em; text-transform: uppercase; font-size: .72rem; color: var(--gold); font-weight: 600; }
.event h3 { font-size: 1.9rem; margin: 6px 0; }
.event-time { font-family: var(--serif); font-size: 1.4rem; color: var(--green); }
.event-address { color: var(--muted); margin: 8px 0; }
.event-notes { font-size: .88rem; color: var(--sage); font-style: italic; }
.event-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.event iframe { width: 100%; height: 260px; border: 0; margin-top: auto; filter: saturate(.75); }

.schedule-wrap { max-width: 620px; margin: 70px auto 0; text-align: center; }
.schedule-wrap h3 { font-size: 2rem; margin-bottom: 24px; }
.schedule { list-style: none; }
.schedule li {
    display: flex; gap: 22px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--gold-soft); text-align: left;
}
.schedule time { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); min-width: 70px; }

/* ===== Forms ===== */
.form { max-width: 680px; margin: 0 auto; padding: 38px; display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field, .field-label { display: grid; gap: 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); font-weight: 500; }
.field input, .field textarea {
    font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--text); text-transform: none; letter-spacing: 0;
    padding: 12px 14px; border: 1px solid #ddd5c8; border-radius: 10px; background: var(--cream); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(138,154,132,.2); }
.field textarea { resize: vertical; }
.field input.invalid { border-color: var(--danger); }
.field-hint { min-height: 1.2em; color: var(--danger); font-size: .8rem; text-transform: none; letter-spacing: 0; }
.field-hint:empty { display: none; }
.form-hint { font-size: .8rem; color: var(--muted); text-align: center; }
.attending-only { display: grid; gap: 18px; }
.form.declining .attending-only { display: none; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
    display: block; text-align: center; padding: 14px; border: 1px solid #ddd5c8; border-radius: 10px; transition: .2s; font-weight: 400;
}
.choice input:checked + span { border-color: var(--green); background: var(--green); color: var(--white); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(138,154,132,.35); }

.rsvp-done { max-width: 680px; margin: 0 auto; padding: 48px 38px; text-align: center; }
.rsvp-done h3 { font-size: 2rem; }
.rsvp-done p { color: var(--muted); margin: 10px 0 20px; }

/* ===== Gifts ===== */
.gift-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.chip {
    padding: 8px 18px; border-radius: 999px; border: 1px solid var(--gold-soft); background: var(--white);
    font-family: var(--sans); font-size: .78rem; letter-spacing: .06em; cursor: pointer; color: var(--green); transition: .2s;
}
.chip.active, .chip:hover { background: var(--green); color: var(--white); border-color: var(--green); }

.gifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; max-width: 1200px; margin: 0 auto; }
.gift { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--gold-soft); transition: transform .25s, box-shadow .25s, border-color .25s; }
.gift[data-card] { cursor: pointer; }
.gift:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(63,79,61,.16); border-color: var(--gold); }
.gift-img { aspect-ratio: 4 / 3; background: var(--cream-2); display: grid; place-items: center; position: relative; }
.gift-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; background: var(--white); }
.gift-img .placeholder { font-size: 3.2rem; opacity: .55; }
.gift-badge {
    position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.92);
    font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); font-weight: 600;
}
.gift-badge.done { background: var(--ok); color: var(--white); }
.gift-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gift-body h3 { font-size: 1.45rem; }
.gift-desc { font-size: .9rem; color: #66614f; }
.gift-price { font-family: var(--serif); font-size: 1.6rem; color: #94733a; font-weight: 700; }
.gift-store { font-size: .8rem; color: var(--reseda); font-weight: 600; text-underline-offset: 3px; align-self: flex-start; }
.gift-store:hover { color: var(--green); }
.gift-footer { margin-top: auto; display: grid; gap: 12px; }
.btn-gift {
    background: var(--green); color: var(--white); font-size: .82rem; padding: 15px 24px;
    box-shadow: 0 8px 20px rgba(95,97,56,.3);
}
.btn-gift:hover, .gift:hover .btn-gift { background: #4b4d2b; box-shadow: 0 10px 24px rgba(95,97,56,.4); }

.progress { height: 10px; border-radius: 999px; background: #e8e0cb; box-shadow: inset 0 1px 2px rgba(69,65,47,.12); overflow: hidden; }
.progress-bar {
    height: 100%; width: 0; border-radius: 999px;
    background: linear-gradient(90deg, var(--sage), var(--rose));
    transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}
.progress-text { font-size: .82rem; color: #66614f; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.progress-text strong { color: var(--green); font-weight: 600; }
.gift.completed .progress-bar { background: var(--ok); }

/* Contribuição livre (sem meta): barra "infinita" correndo */
.progress-open .progress-bar {
    background: repeating-linear-gradient(90deg, var(--sage) 0 18%, var(--gold) 30%, var(--rose) 42%, var(--sage) 60%);
    background-size: 200% 100%; animation: progress-flow 3s linear infinite;
}
@keyframes progress-flow { to { background-position: -200% 0; } }
.gift-open { border: 1.5px solid var(--gold); }
.gift-open .gift-badge { background: var(--gold); color: var(--white); }
.gift-open .gift-img img { object-fit: cover; padding: 0; }
.gift-open .gift-price { font-size: 1.25rem; font-style: italic; }

.pay-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 40px; }
.loading, .empty { text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* ===== Padrinhos ===== */
.section-blush { background: var(--blush); }
.section-head .divider { margin-top: 14px; }
.godparents { display: grid; gap: 50px; max-width: 1000px; margin: 0 auto; }
.godparent-side {
    text-align: center; font-family: var(--script); font-weight: 400; font-size: 2.2rem; color: var(--olive); margin-bottom: 22px;
}
.godparent-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 28px; }
.godparent { text-align: center; width: 180px; }
.godparent-photo {
    position: relative; width: 140px; height: 140px; margin: 0 auto 14px; border-radius: 50%;
    border: 1px solid var(--gold); padding: 5px; background: var(--white);
}
.godparent-crop { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.godparent-photo img { display: block; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.godparent-photo span {
    display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
    background: linear-gradient(135deg, var(--cream), var(--rose-soft));
    font-family: var(--serif); font-size: 1.8rem; color: var(--green);
}
.godparent strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--green); }

.manual-head { text-align: center; margin: 80px auto 34px; max-width: 640px; }
.manual-head h3 { font-size: clamp(2rem, 4.5vw, 2.8rem); text-transform: uppercase; letter-spacing: .08em; }
.manual-head h3 em { display: block; font-family: var(--script); font-style: normal; text-transform: none; letter-spacing: 0; font-size: 1.25em; margin-top: -6px; color: var(--olive); }
.manual-head p { color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 1.25rem; }

.manual { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1040px; margin: 0 auto; }
@media (max-width: 760px) { .manual { grid-template-columns: 1fr; } }
.manual-card { overflow: hidden; display: flex; flex-direction: column; }
.manual-img { position: relative; border: 0; padding: 0; cursor: zoom-in; background: var(--cream); display: block; }
.manual-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.manual-img:hover img { transform: scale(1.03); }
.manual-img span {
    position: absolute; right: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.9);
    font-family: var(--sans); font-size: .7rem; letter-spacing: .08em; color: var(--green);
}
.manual-body { padding: 26px 28px 30px; display: grid; gap: 10px; }
.manual-body h4 { font-family: var(--script); font-weight: 400; font-size: 2.3rem; color: var(--green); line-height: 1.1; }
.manual-sub { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.manual-body > p:not(.manual-sub):not(.field-label) { color: var(--muted); }
.swatches { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; }
.swatches li { display: grid; justify-items: center; gap: 6px; width: 70px; text-align: center; }
.swatches i { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); box-shadow: inset 0 0 0 3px rgba(255,255,255,.5); }
.swatches span { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.manual-more { grid-column: 1 / -1; text-align: center; margin-top: 40px; }
.gp-name { white-space: nowrap; }

/* Galeria */
.gallery { columns: 3 260px; column-gap: 16px; max-width: 1100px; margin: 0 auto; }
.gallery-item { break-inside: avoid; margin: 0 0 16px; }
.gallery-item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.gallery-item button:hover img { transform: scale(1.04); }
.gallery-item figcaption { text-align: center; font-family: var(--serif); font-style: italic; color: var(--muted); margin-top: 8px; }

/* Recados, músicas e fotos da festa */
.wish-form { max-width: 620px; margin: 0 auto; }
.wall { columns: 3 280px; column-gap: 18px; max-width: 1100px; margin: 40px auto 0; }
.wish {
    break-inside: avoid; margin: 0 0 18px; padding: 22px 24px 18px; background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); border-top: 3px solid var(--rose-soft); position: relative;
}
.wish::before { content: '“'; position: absolute; top: -6px; left: 14px; font-family: var(--serif); font-size: 3.4rem; color: var(--rose-soft); line-height: 1; }
.wish p { white-space: pre-line; color: var(--text); }
.wish cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--script); font-size: 1.5rem; color: var(--olive); }
.upload-progress { margin-top: 4px; }

/* Área restrita dos padrinhos */
.page-padrinhos { background: var(--blush); }
.page-padrinhos main { min-height: 100vh; padding-top: 60px; }
.page-padrinhos [hidden] { display: none !important; }
.page-padrinhos .manual-head { margin-top: 20px; }
.nav-back { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--green); }
.gate { display: grid; justify-items: center; gap: 10px; }
.gate-logo { width: 150px; height: auto; }
.gate-card { width: 100%; max-width: 420px; margin: 0 auto; text-align: center; }
.gate-card h2 { font-size: 2rem; margin-bottom: 4px; }
.gate-card input { text-align: center; letter-spacing: .08em; }

.lightbox {
    position: fixed; inset: 0; z-index: 150; display: none; place-items: center; padding: 24px;
    background: rgba(35, 36, 22, .85); cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 48px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }

/* Padrinhos com versão super-herói (abre no zoom) */
.hero-badge {
    position: absolute; right: 2px; bottom: 6px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(145deg, #f3d98b, #b8975a); border: 2px solid var(--white); font-size: 1rem; line-height: 1;
    box-shadow: 0 4px 12px rgba(184, 151, 90, .45); pointer-events: none; animation: hero-badge 2.4s ease-in-out infinite;
}
@keyframes hero-badge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15) rotate(-8deg); } }
.lightbox .modal-close { color: var(--white); top: 14px; right: 20px; font-size: 2.6rem; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 24px; }
.faq summary {
    cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--serif); font-size: 1.3rem; color: var(--green);
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.6rem; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* ===== Fotos da festa (grupo do WhatsApp) ===== */
.party-card { max-width: 520px; margin: 0 auto; padding: 36px 32px; text-align: center; display: grid; justify-items: center; gap: 18px; }
.party-card p { color: var(--muted); }
.party-icon {
    width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: var(--white);
    background: #25d366; box-shadow: 0 10px 26px rgba(37, 211, 102, .35), 0 0 0 6px rgba(37, 211, 102, .12);
}
.party-icon svg { width: 40px; height: 40px; fill: currentColor; }
.btn-whatsapp { background: var(--green); color: var(--white); box-shadow: 0 8px 20px rgba(63, 79, 61, .25); }
.btn-whatsapp:hover { background: #4b4d2b; }

/* ===== Colaboradores ===== */
.colab-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto 34px; max-width: 900px; }
.colab-tab {
    padding: 11px 22px; border-radius: 999px; border: 1px solid var(--gold-soft); background: var(--white); cursor: pointer;
    font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green);
    transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.colab-tab:hover { border-color: var(--gold); }
.colab-tab.active { background: var(--green); border-color: var(--green); color: var(--white); box-shadow: 0 8px 20px rgba(63, 79, 61, .25); }
.colab-panel { max-width: 1000px; margin: 0 auto; }
.colab-sub { text-align: center; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 1.25rem; margin-bottom: 30px; }
.colab-empty { text-align: center; color: var(--muted); }
.colab-empty a { color: var(--green); font-weight: 500; }

.podium { display: flex; justify-content: center; align-items: flex-end; gap: 18px; margin: 10px auto 30px; }
.podium-step { display: grid; justify-items: center; text-align: center; gap: 4px; width: 200px; }
.podium-step strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--green); line-height: 1.2; }
.podium-step em { font-style: normal; font-family: var(--serif); color: var(--gold); font-size: 1.15rem; font-weight: 600; }
.podium-step small { color: var(--muted); font-size: .75rem; letter-spacing: .06em; }
.medal {
    width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px;
    font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15), inset 0 -4px 0 rgba(0, 0, 0, .12), inset 0 3px 0 rgba(255, 255, 255, .35);
}
.p1 .medal { width: 78px; height: 78px; font-size: 1.9rem; background: linear-gradient(145deg, #f3d98b, #b8975a 60%, #9c7b3f); }
.p2 .medal { background: linear-gradient(145deg, #eef0f2, #b9bec4 60%, #8f959c); }
.p3 .medal { background: linear-gradient(145deg, #f0c9a5, #c18f6a 60%, #9a6a48); }
.podium-base {
    width: 100%; margin-top: 12px; border-radius: 14px 14px 4px 4px;
    background: linear-gradient(180deg, var(--white), var(--cream-2)); border: 1px solid var(--gold-soft); box-shadow: var(--shadow);
}
.p1 .podium-base { height: 120px; }
.p2 .podium-base { height: 84px; }
.p3 .podium-base { height: 60px; }

.rank-avatar {
    position: relative; display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; overflow: hidden;
    background: linear-gradient(145deg, var(--blush), var(--cream-2)); font-family: var(--serif); font-size: 1.6rem; color: var(--green);
    border: 3px solid var(--white); box-shadow: 0 10px 26px rgba(95, 97, 56, .18);
}
.rank-avatar .godparent-crop { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.rank-avatar img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.rank-avatar.sm { width: 46px; height: 46px; font-size: 1rem; border-width: 2px; box-shadow: none; }
.podium-photo { position: relative; margin-bottom: 8px; }
.p1 .rank-avatar { width: 136px; height: 136px; border-color: #e3c477; }
.p2 .rank-avatar { border-color: #c9ced3; }
.p3 .rank-avatar { border-color: #d7a983; }
.podium-photo .medal {
    position: absolute; right: -6px; bottom: -4px; margin: 0; width: 42px; height: 42px; font-size: 1.05rem; border: 2px solid var(--white);
}
.p1 .podium-photo .medal { width: 50px; height: 50px; font-size: 1.25rem; }

.rank-list { list-style: none; max-width: 620px; margin: 0 auto; display: grid; gap: 10px; }
.rank-list li {
    display: grid; grid-template-columns: 40px 46px 1fr auto auto; gap: 14px; align-items: center;
    padding: 14px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.rank-pos { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); font-weight: 600; }
.rank-name { font-family: var(--serif); font-size: 1.2rem; color: var(--green); }
.rank-list em { font-style: normal; font-family: var(--serif); color: var(--gold); font-weight: 600; }
.rank-list small { color: var(--muted); font-size: .75rem; }

.colab-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.colab-person {
    width: 280px; padding: 30px 24px 26px; text-align: center; background: var(--white); border-radius: 18px; box-shadow: var(--shadow);
    border-top: 3px solid var(--gold-soft);
}
.colab-person .godparent-photo { width: 130px; height: 130px; }
.colab-person h3 { font-size: 1.5rem; }
.colab-role { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 4px; }
.colab-text { color: var(--muted); margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 1.5; white-space: pre-line; }

@media (max-width: 560px) {
    .podium { gap: 8px; }
    .podium-step { width: 31%; }
    .podium-step strong { font-size: 1.05rem; }
    .medal { width: 48px; height: 48px; font-size: 1.15rem; }
    .p1 .medal { width: 58px; height: 58px; font-size: 1.4rem; }
    .rank-list li { grid-template-columns: 30px 40px 1fr auto; gap: 10px; padding: 12px 14px; }
    .rank-avatar.sm { width: 40px; height: 40px; }
    .rank-avatar { width: 80px; height: 80px; }
    .p1 .rank-avatar { width: 96px; height: 96px; }
    .podium-photo .medal, .p1 .podium-photo .medal { width: 34px; height: 34px; font-size: .9rem; }
    .rank-list li small { display: none; }
}

/* ===== Footer ===== */
.footer { background: var(--cream); color: var(--muted); text-align: center; padding: 50px 20px 40px; border-top: 1px solid var(--gold-soft); }
.footer-logo { width: 190px; height: auto; margin: 0 auto 6px; }
.footer-logo:not([hidden]) + .footer-names { display: none; }
.footer-names { font-family: var(--script); font-size: 3rem; color: var(--green); line-height: 1.2; }
.footer-hashtag { color: var(--rose); margin-top: 6px; letter-spacing: .1em; }
.footer-text { font-size: .8rem; margin-top: 14px; opacity: .8; }
.footer-links { display: flex; justify-content: center; gap: 10px; margin-top: 18px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { color: var(--muted); text-decoration: none; opacity: .75; }
.footer-links a:hover { color: var(--green); opacity: 1; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(40, 45, 38, .55); backdrop-filter: blur(3px); }
.modal-box {
    position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto;
    background: var(--white); border-radius: 18px; padding: 34px 30px 26px; animation: fadeUp .3s ease both;
}
.modal-box h3 { font-size: 1.9rem; margin-bottom: 14px; padding-right: 30px; }
.modal-box .form { padding: 0; margin-top: 22px; }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 2rem; color: var(--muted); cursor: pointer; line-height: 1; }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.amounts button {
    flex: 1 1 80px; padding: 10px; border-radius: 10px; border: 1px solid var(--gold-soft); background: var(--cream);
    font-family: var(--sans); font-weight: 500; color: var(--green); cursor: pointer; transition: .2s;
}
.gm-full-note { font-size: .88rem; color: var(--green); background: var(--cream); border: 1px dashed var(--gold-soft); border-radius: 10px; padding: 10px 14px; margin-top: -4px; }
.amounts button:hover, .amounts button.active { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ===== Toast ===== */
.toast {
    position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%); z-index: 200;
    max-width: min(92vw, 520px); padding: 16px 24px; border-radius: 12px; background: var(--green); color: var(--white);
    box-shadow: 0 12px 30px rgba(0,0,0,.2); transition: transform .4s ease, visibility .4s; font-size: .92rem; text-align: center;
    visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast.error { background: var(--danger); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ===== Responsivo ===== */
@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: center; gap: 22px;
        padding: 90px 20px 40px; background: var(--cream); box-shadow: 0 10px 30px rgba(0,0,0,.08);
        transform: translateY(-110%); transition: transform .35s ease; z-index: -1;
    }
    .nav-links.open { transform: none; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .timeline::before { left: 8px; }
    .timeline li, .timeline li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 40px 40px; text-align: left; }
    .timeline li:nth-child(odd) { text-align: left; }
    .timeline li::before, .timeline li:nth-child(odd)::before, .timeline li:nth-child(even)::before { left: 2px; right: auto; }
}
@media (max-width: 560px) {
    .section { padding: 76px 5vw; }
    .form { padding: 26px 20px; }
    .grid-2, .choice { grid-template-columns: 1fr; }
    .countdown div { min-width: 68px; }
    .countdown strong { font-size: 1.7rem; }
}
