/* ==========================================================================
   Casamento Werner & Deise — folha de estilo do site público
   Paleta LAVANDA: tons de lilás/violeta suaves, elegante e romântica.
   ========================================================================== */

:root {
    --ivory: #FBFAFE;
    --cream: #F4F1FA;
    --sand: #E9E3F4;
    --sand-deep: #B5A3D6;
    --gold: #8B6FB8;
    --gold-soft: #A893CE;
    --terracotta: #6F549E;
    --ink: #38323F;
    --ink-soft: #766E85;
    --white: #FFFFFF;
    --dark: #2C2637;
    --line: rgba(139, 111, 184, 0.22);
    --font-display: 'Fraunces', Georgia, serif;
    --font-script: 'Great Vibes', cursive;
    --font-sans: 'Jost', 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--ink);
    background: var(--ivory);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

.script { font-family: var(--font-script); font-weight: 400; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

/* ---------- Botões ---------- */

.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 36px;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--terracotta); transform: translateY(-1px); }

.btn--outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--outline:hover { background: var(--gold); color: var(--white); }

.btn--outline-light { border-color: rgba(255, 255, 255, 0.75); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }

.btn--block { display: block; width: 100%; }
.btn--sm { padding: 11px 26px; font-size: 0.83rem; }

/* ---------- Navegação ---------- */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(251, 250, 254, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: all 0.35s ease;
}

.nav--transparent:not(.nav--scrolled) {
    background: transparent;
    border-bottom-color: transparent;
}

.nav__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.04em;
}

.nav--transparent:not(.nav--scrolled) .nav__brand { color: var(--white); }

.nav__links { display: flex; align-items: center; gap: 30px; }

.nav__links a {
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    transition: color 0.25s;
    position: relative;
}

.nav--transparent:not(.nav--scrolled) .nav__links a { color: rgba(255, 255, 255, 0.92); }

.nav__links a:hover { color: var(--gold); }

.nav__cart { display: inline-flex; align-items: center; position: relative; }

.nav__cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--terracotta);
    color: var(--white);
    font-size: 0.62rem;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--ink);
    margin: 5px 0;
    transition: 0.3s;
}
.nav--transparent:not(.nav--scrolled) .nav__toggle span { background: var(--white); }

/* ---------- Hero ---------- */

.hero {
    min-height: 100svh;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(52, 39, 82, 0.34) 0%, rgba(63, 47, 100, 0.22) 45%, rgba(36, 26, 64, 0.60) 100%);
}

/* Véu lavanda sobre a foto: multiplica o lilás na neve mantendo o clima da paleta. */
.hero__overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(146, 117, 195, 0.5);
    mix-blend-mode: multiply;
}

.hero__content { position: relative; z-index: 1; color: var(--white); padding: 120px 24px 90px; max-width: 900px; }

.hero__kicker {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 6px;
}

.hero__names {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3rem, 10vw, 6.8rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 30px rgba(20, 12, 35, 0.3);
}

.hero__rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 26px auto 22px;
    max-width: 420px;
}
.hero__rule span { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.5); }
.hero__rule i { font-style: normal; font-size: 0.7rem; color: var(--sand-deep); }

.hero__save {
    font-size: 0.95rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.hero__date {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.4rem, 3.4vw, 2.1rem);
    margin-bottom: 34px;
}

.countdown {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
}

.countdown__item { min-width: 64px; }

.countdown__item strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    line-height: 1.1;
}

.countdown__item span {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.countdown__sep {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--sand-deep);
    line-height: 1.2;
}

.hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    z-index: 1;
}

.hero__scroll span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
    0%, 100% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(12px); opacity: 0; }
}

/* Desktop: conteúdo à esquerda para não cobrir o casal (que fica ao centro-direita da foto) */
@media (min-width: 961px) {
    .hero { justify-content: flex-start; background-position: 63% center; }

    .hero__content {
        text-align: left;
        max-width: 660px;
        padding-left: max(6vw, 48px);
    }

    .hero__names { font-size: clamp(3rem, 6vw, 5.4rem); }
    .hero__rule { margin-left: 0; }
    .countdown { justify-content: flex-start; }
}

/* Telas menores: foto no topo (casal inteiro visível) fundindo num painel
   lavanda escuro embaixo, onde fica todo o texto — nada cobre os rostos. */
@media (max-width: 960px) {
    .hero {
        align-items: flex-end;
        background-size: auto 62vh;
        background-size: auto 62svh;
        background-position: center top;
        background-repeat: no-repeat;
        background-color: #3A2C55;
    }

    /* Fusão suave da foto com o painel de texto */
    .hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,
            rgba(58, 44, 85, 0) 30%,
            rgba(58, 44, 85, 0.55) 48%,
            rgba(58, 44, 85, 0.97) 60%,
            #3A2C55 66%);
        pointer-events: none;
    }

    .hero__overlay {
        background: linear-gradient(180deg, rgba(48, 37, 74, 0.32) 0%, rgba(48, 37, 74, 0.12) 45%, rgba(30, 22, 50, 0) 70%);
    }

    .hero__overlay::before { background: rgba(146, 117, 195, 0.42); }

    .hero__content {
        padding: 48vh 24px 64px;
        padding-top: 48svh;
        position: relative;
        z-index: 1;
    }

    .hero__scroll { display: none; }
}

/* ---------- Seções ---------- */

.section { padding: 96px 0; }

.section__head { text-align: center; margin-bottom: 54px; }

.section__flower { width: 46px; margin: 0 auto 14px; opacity: 0.9; }

.section__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--ink);
    letter-spacing: 0.01em;
}

.section__subtitle {
    margin-top: 12px;
    color: var(--ink-soft);
    font-size: 1.22rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Nossa História ---------- */

.story__intro {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
    color: var(--ink-soft);
    font-size: 1.3rem;
}

.story__grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr 1fr;
    gap: 48px;
    align-items: center;
}

.story__bio h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.55rem;
    margin-bottom: 14px;
    color: var(--ink);
}

.story__bio:first-child { text-align: right; }
.story__bio:last-child { text-align: left; }

.story__bio p { color: var(--ink-soft); font-size: 1.15rem; }

.story__photo-frame {
    border-radius: 200px 200px 200px 200px / 260px 260px 160px 160px;
    overflow: hidden;
    border: 1px solid var(--sand-deep);
    padding: 12px;
    background: var(--white);
    box-shadow: 0 24px 60px -30px rgba(90, 65, 140, 0.35);
}

.story__photo-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 190px 190px 190px 190px / 250px 250px 150px 150px;
}

/* ---------- Citação ---------- */

.quote {
    background:
        radial-gradient(ellipse 560px 380px at 85% 20%, rgba(150, 125, 200, 0.10), transparent 65%),
        radial-gradient(ellipse 520px 360px at 12% 80%, rgba(150, 125, 200, 0.12), transparent 65%),
        var(--cream);
    padding: 110px 24px;
    overflow: hidden;
}

.quote__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 10px 20px;
}

.quote__ghost {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 17rem;
    line-height: 1;
    color: rgba(139, 111, 184, 0.10);
    pointer-events: none;
    user-select: none;
}

.quote__flower { width: 40px; margin: 0 auto 26px; opacity: 0.85; position: relative; }

.quote__inner blockquote {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.5rem, 3.6vw, 2.3rem);
    line-height: 1.55;
    color: var(--ink);
    position: relative;
}

.quote__rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 30px auto 18px;
    max-width: 240px;
}
.quote__rule span { flex: 1; height: 1px; background: var(--sand-deep); opacity: 0.6; }
.quote__rule i { font-style: normal; font-size: 0.65rem; color: var(--gold); }

.quote__inner cite {
    display: block;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.83rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* ---------- O Grande Dia ---------- */

.section--event {
    background:
        radial-gradient(ellipse 640px 430px at 12% 18%, rgba(158, 130, 210, 0.14), transparent 65%),
        radial-gradient(ellipse 560px 420px at 88% 72%, rgba(158, 130, 210, 0.16), transparent 65%),
        radial-gradient(ellipse 420px 340px at 55% 95%, rgba(130, 100, 185, 0.09), transparent 60%),
        var(--ivory);
}

.event__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
    text-align: center;
}

.event__icon { width: 52px; height: 52px; color: var(--terracotta); margin: 0 auto 20px; }

.event__item h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.event__item p { color: var(--ink-soft); font-size: 1.14rem; }

.event__line {
    display: block;
    width: 90px;
    height: 2px;
    background: var(--sand-deep);
    margin: 22px auto 0;
}

/* ---------- Quando & Onde ---------- */

.when__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 940px;
    margin: 0 auto;
}

.when__card {
    background: linear-gradient(160deg, #B4A1D8, #8E77BE);
    color: var(--white);
    text-align: center;
    padding: 34px 22px;
    border-radius: 10px;
    box-shadow: 0 18px 44px -24px rgba(94, 70, 145, 0.55);
}

.when__card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.when__card p { font-size: 1.06rem; opacity: 0.94; letter-spacing: 0.04em; }

/* ---------- Localização ---------- */

.location {
    position: relative;
    max-width: 1020px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 0;
}

.location__map {
    grid-column: 1;
    border-radius: 36px 160px 36px 36px / 36px 120px 36px 36px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 34px 80px -44px rgba(90, 65, 140, 0.5);
    aspect-ratio: 16 / 11;
    background: var(--sand);
}

.location__map iframe { width: 100%; height: 100%; border: 0; }

.location__card {
    grid-column: 2;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 42px 38px;
    text-align: center;
    margin-left: -70px;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 70px -38px rgba(90, 65, 140, 0.45);
}

.location__flower { width: 38px; margin: 0 auto 14px; opacity: 0.85; }

.location__venue {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--ink);
}

.location__address { color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 16px; }

.location__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--terracotta);
    background: var(--cream);
    border-radius: 999px;
    padding: 9px 18px;
    margin: 0 auto 22px;
    width: fit-content;
    max-width: 100%;
}

.location__note svg { flex: 0 0 auto; }

/* ---------- RSVP ---------- */

.section--rsvp { background: var(--cream); }

.rsvp__wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px -40px rgba(74, 55, 120, 0.45);
    min-height: 520px;
}

.rsvp__visual {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.rsvp__visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(30, 22, 45, 0.05) 30%, rgba(30, 22, 45, 0.64) 100%);
}

.rsvp__visual-text { position: relative; padding: 44px; color: var(--white); }

.rsvp__visual-text h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 12px;
}

.rsvp__visual-text p { font-size: 1.15rem; opacity: 0.92; max-width: 420px; }

.rsvp__card {
    background: var(--white);
    padding: 46px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.rsvp__how { margin-bottom: 26px; }

.rsvp__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--gold);
    margin-bottom: 16px;
}

.rsvp__how h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.rsvp__how p { color: var(--ink-soft); font-size: 1.1rem; }

.rsvp__code-form { display: flex; flex-direction: column; gap: 12px; max-width: 340px; margin: 0 auto; width: 100%; }

.rsvp__code-input {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    text-align: center;
    color: var(--ink);
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.rsvp__code-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(139, 111, 184, 0.15);
}

.rsvp__deadline {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    background: linear-gradient(135deg, #F0E9FB, #E7DDF7);
    border: 1px solid var(--sand-deep);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 0 auto 22px;
    max-width: 400px;
    color: var(--terracotta);
}

.rsvp__deadline svg { flex: 0 0 auto; margin-top: 2px; }
.rsvp__deadline strong { display: block; font-size: 1.12rem; letter-spacing: 0.02em; }
.rsvp__deadline span { display: block; font-size: 0.92rem; color: var(--ink-soft); margin-top: 3px; line-height: 1.5; }

.confirm-card__deadline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    background: var(--cream);
    border: 1px solid var(--sand-deep);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 0.92rem;
    color: var(--terracotta);
}

.rsvp__doubt { margin-top: 24px; font-size: 1.03rem; color: var(--ink-soft); }

.rsvp__doubt a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 400;
    margin-top: 4px;
}

.rsvp__doubt a:hover { color: var(--terracotta); }

/* ---------- Página de confirmação (link exclusivo) ---------- */

.confirm-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 700px 460px at 85% 8%, rgba(158, 130, 210, 0.16), transparent 65%),
        radial-gradient(ellipse 600px 420px at 8% 90%, rgba(158, 130, 210, 0.14), transparent 65%),
        var(--cream);
    padding: 130px 20px 80px;
    display: flex;
    justify-content: center;
}

.confirm-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 36px 90px -44px rgba(74, 55, 120, 0.5);
    max-width: 560px;
    width: 100%;
    padding: 46px 42px;
    height: fit-content;
}

.confirm-card__head { text-align: center; }

.confirm-card__kicker { font-size: 1.6rem; color: var(--gold); }

.confirm-card__head h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.9rem, 5vw, 2.5rem);
    color: var(--ink);
}

.confirm-card__date {
    margin-top: 6px;
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.confirm-card__rule { margin: 20px auto; max-width: 260px; }
.confirm-card__rule span { background: var(--sand-deep); opacity: 0.5; }
.confirm-card__rule i { color: var(--gold); }

.confirm-card__guest { text-align: center; margin-bottom: 26px; }

.confirm-card__guest > span {
    font-size: 0.83rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.confirm-card__guest h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--terracotta);
    margin: 4px 0 8px;
}

.confirm-card__code {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
    background: var(--cream);
    border-radius: 999px;
    padding: 5px 14px;
}

.confirm-card__individual {
    margin-top: 12px;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--ink-soft);
}

.confirm-card__done {
    text-align: center;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px 22px;
    margin-bottom: 28px;
}

.confirm-card__done-icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }

.confirm-card__done h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.confirm-card__done p { color: var(--ink-soft); font-size: 1.14rem; }
.confirm-card__done-children { margin-top: 8px; }
.confirm-card__done-note { margin-top: 12px; font-size: 0.95rem; opacity: 0.8; }

.confirm-form { display: flex; flex-direction: column; gap: 20px; text-align: left; }

.confirm-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.confirm-choice__opt {
    position: relative;
    display: block;
    cursor: pointer;
}

.confirm-choice__opt input { position: absolute; opacity: 0; }

.confirm-choice__opt span {
    display: block;
    text-align: center;
    padding: 14px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 1.1rem;
    color: var(--ink-soft);
    transition: all 0.25s;
    background: var(--ivory);
}

.confirm-choice__opt input:checked + span {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 10px 26px -14px rgba(111, 84, 158, 0.7);
}

.confirm-children { background: var(--cream); border-radius: 12px; padding: 18px; }

.confirm-children__hint { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 10px; }

.confirm-child {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 6px;
    cursor: pointer;
    border-bottom: 1px dashed var(--line);
}

.confirm-child:last-child { border-bottom: 0; }

.confirm-child input { position: absolute; opacity: 0; }

.confirm-child i {
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--gold);
    border-radius: 6px;
    flex: 0 0 auto;
    position: relative;
    transition: 0.2s;
    background: var(--white);
}

.confirm-child input:checked + i { background: var(--gold); }

.confirm-child input:checked + i::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.confirm-child span { font-size: 1.15rem; }

.confirm-card__doubt { text-align: center; margin-top: 22px; }

/* ---------- Formulários ---------- */

.field { display: flex; flex-direction: column; gap: 7px; }

.field > span {
    font-size: 0.83rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field textarea {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--ink);
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 13px 15px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    width: 100%;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(139, 111, 184, 0.14);
}

.field textarea { resize: vertical; }

.field__hint {
    font-size: 0.82rem;
    color: var(--ink-soft);
    opacity: 0.85;
    text-transform: none;
    letter-spacing: 0;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.alert {
    padding: 15px 18px;
    border-radius: 6px;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.alert a { color: inherit; font-weight: 500; }

.alert--success { background: #EEF5EC; color: #3F6136; border: 1px solid #C6DCBE; }
.alert--error { background: #F8ECEF; color: #86394D; border: 1px solid #E6C1CB; }

/* ---------- Presentes ---------- */

.gifts__text {
    max-width: 700px;
    margin: -18px auto 46px;
    text-align: center;
    color: var(--ink-soft);
    font-size: 1.2rem;
}

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

.gift-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.gift-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px -34px rgba(90, 65, 140, 0.45);
}

.gift-card__image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }

.gift-card__image img { width: 100%; height: 100%; object-fit: cover; }

.gift-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.gift-card__body h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.3rem;
}

.gift-card__body p { color: var(--ink-soft); font-size: 1.06rem; flex: 1; }

.gift-card__price {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--terracotta);
    margin: 4px 0 10px;
}

.gifts__more { text-align: center; margin-top: 46px; }

/* ---------- Presente esgotado (já comprado) ---------- */

.gift-card__image { position: relative; }

.gift-card--sold .gift-card__image img {
    filter: grayscale(0.65) opacity(0.75);
}

.gift-card__ribbon {
    position: absolute;
    top: 14px;
    left: -34px;
    z-index: 2;
    background: var(--terracotta);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    padding: 6px 42px;
    transform: rotate(-45deg);
    box-shadow: 0 6px 18px -6px rgba(60, 40, 100, 0.5);
}

.gift-card__soldmsg {
    color: var(--gold) !important;
    font-style: italic;
}

.gift-card--sold .gift-card__price { opacity: 0.55; }

.btn--sold {
    background: var(--sand);
    color: var(--ink-soft);
    cursor: default;
    pointer-events: none;
}

.cart__row--simple { grid-template-columns: 74px 1fr auto auto; }

.empty-note {
    text-align: center;
    color: var(--ink-soft);
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
}

/* ---------- Gaveta lateral do carrinho ---------- */

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 180;
    background: rgba(30, 22, 45, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 190;
    width: min(400px, 92vw);
    background: var(--white);
    box-shadow: -20px 0 60px rgba(30, 22, 45, 0.25);
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.22, 0.7, 0.3, 1);
    display: flex;
    flex-direction: column;
}

body.drawer-open .cart-drawer { transform: translateX(0); }

.cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.3rem;
}

.cart-drawer__close {
    background: none;
    border: 0;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--ink-soft);
    cursor: pointer;
    padding: 4px 8px;
}

.cart-drawer__close:hover { color: var(--terracotta); }

.cart-drawer__added {
    margin: 14px 24px 0;
    background: #EEF5EC;
    color: #3F6136;
    border: 1px solid #C6DCBE;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 1rem;
}

.cart-drawer__items { flex: 1; overflow-y: auto; padding: 14px 24px; }

.cart-drawer__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
}

.cart-drawer__item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--cream);
    flex: 0 0 auto;
}

.cart-drawer__info { flex: 1; min-width: 0; }
.cart-drawer__info strong { display: block; font-weight: 400; font-size: 1.12rem; line-height: 1.35; }
.cart-drawer__info span { font-size: 1rem; color: var(--terracotta); }

.cart-drawer__remove {
    background: none;
    border: 0;
    color: var(--ink-soft);
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
    padding: 6px;
}

.cart-drawer__remove:hover { color: #A4442A; }

.cart-drawer__empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }

.cart-drawer__foot {
    padding: 18px 24px 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--ivory);
}

.cart-drawer__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 4px;
}

.cart-drawer__total strong {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--terracotta);
    letter-spacing: 0;
}

/* ---------- Página interna (hero pequeno) ---------- */

.page-hero {
    background: linear-gradient(180deg, var(--dark), #453A5C);
    color: var(--white);
    text-align: center;
    padding: 150px 24px 70px;
}

.page-hero__kicker { font-size: 1.7rem; color: var(--sand-deep); margin-bottom: 4px; }

.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3rem);
}

.page-hero__subtitle { margin-top: 10px; opacity: 0.85; font-size: 1.15rem; }

/* ---------- Carrinho (página) ---------- */

.cart { display: flex; flex-direction: column; gap: 16px; }

.cart__row {
    display: grid;
    grid-template-columns: 74px 1fr auto auto auto;
    gap: 18px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 18px;
}

.cart__thumb {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--cream);
}

.cart__info h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.cart__info span { color: var(--ink-soft); font-size: 1.03rem; }

.cart__qty { display: flex; gap: 8px; align-items: center; }

.cart__qty input {
    width: 64px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: var(--font-sans);
    background: var(--ivory);
}

.btn-mini {
    background: none;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
}

.btn-mini:hover { background: var(--gold); color: var(--white); }

.cart__subtotal { font-family: var(--font-display); font-size: 1.2rem; color: var(--terracotta); }

.cart__remove {
    background: none;
    border: 0;
    color: var(--ink-soft);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 6px;
}

.cart__remove:hover { color: #A4442A; }

.cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 18px;
    background: var(--cream);
    border-radius: 10px;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cart__total strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--terracotta); letter-spacing: 0; text-transform: none; }

.cart__actions { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Checkout ---------- */

.checkout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: start; }

.checkout__summary {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
}

.checkout__summary h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.checkout__line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 1.1rem;
}

.checkout__line--total {
    border-bottom: 0;
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--terracotta);
}

.checkout__secure {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.checkout__form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.retorno { display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
.retorno__lead { max-width: 620px; font-size: 1.25rem; color: var(--ink-soft); }
.retorno .checkout__summary { width: 100%; max-width: 480px; text-align: left; }
.retorno__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Rodapé ---------- */

.footer { background: var(--dark); color: rgba(255, 255, 255, 0.85); text-align: center; padding: 70px 24px 46px; }

.footer__monogram { font-size: 2.6rem; color: var(--sand-deep); margin-bottom: 8px; }

.footer__date { font-size: 1rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.8; }

.footer__hashtag { font-family: var(--font-display); font-style: italic; margin-top: 10px; color: var(--gold-soft); }

.footer__nav { display: flex; justify-content: center; gap: 28px; margin: 26px 0; flex-wrap: wrap; }

.footer__nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer__nav a:hover { color: var(--sand-deep); }

.footer__contact { font-size: 1.03rem; margin-bottom: 14px; opacity: 0.85; }
.footer__contact a { color: var(--gold-soft); text-decoration: none; }
.footer__contact a:hover { color: var(--sand-deep); }

.footer__note { font-size: 0.95rem; opacity: 0.55; }

.footer__credit {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.42);
}

.footer__credit a { color: rgba(255, 255, 255, 0.62); text-decoration: none; }
.footer__credit a:hover { color: var(--sand-deep); }

/* ---------- Responsivo ---------- */

@media (max-width: 960px) {
    .story__grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }
    .story__bio:first-child, .story__bio:last-child { text-align: center; }
    .story__photo { max-width: 340px; margin: 0 auto; order: -1; }
    .event__grid { grid-template-columns: 1fr; gap: 40px; }
    .when__grid { grid-template-columns: 1fr; max-width: 420px; }
    .rsvp__wrap { grid-template-columns: 1fr; }
    .rsvp__visual { min-height: 300px; }
    .checkout { grid-template-columns: 1fr; }

    .location { grid-template-columns: 1fr; gap: 0; }
    .location__map {
        grid-column: 1;
        border-radius: 28px 100px 28px 28px / 28px 80px 28px 28px;
    }
    .location__card {
        grid-column: 1;
        margin: -46px 22px 0;
    }
}

@media (max-width: 820px) {
    .nav__toggle { display: block; }

    .nav__links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--ivory);
        flex-direction: column;
        padding: 26px 24px 30px;
        gap: 20px;
        border-bottom: 1px solid var(--line);
        display: none;
    }

    .nav__links.open { display: flex; }

    .nav--transparent:not(.nav--scrolled) .nav__links a { color: var(--ink); }
    .nav__cart { justify-content: center; }

    .section { padding: 68px 0; }
    .field-row { grid-template-columns: 1fr; }
    .rsvp__card { padding: 32px 24px; }
    .confirm-card { padding: 34px 24px; }
    .confirm-choice { grid-template-columns: 1fr; }
    .quote__ghost { font-size: 11rem; top: -40px; }

    .cart__row { grid-template-columns: 60px 1fr auto; row-gap: 10px; }
    .cart__qty { grid-column: 2; }
    .cart__subtotal { grid-column: 3; }
}
