/* Fontes premium — coloque os arquivos em /fonts/ */
@font-face {
    font-family: 'Sloop Script';
    src: url('../fonts/SloopScript-Regular.woff2') format('woff2'),
         url('../fonts/SloopScript-Regular.woff') format('woff'),
         url('../fonts/SloopScript-Regular.otf') format('opentype'),
         url('../fonts/SloopScript-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'New Icon';
    src: url('../fonts/NewIconSerif-Regular.woff2') format('woff2'),
         url('../fonts/NewIconSerif-Regular.woff') format('woff'),
         url('../fonts/NewIconSerif-Regular.otf') format('opentype'),
         url('../fonts/NewIconSerif-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'New Icon Condensed';
    src: url('../fonts/NewIconSerifCondensed-Regular.woff2') format('woff2'),
         url('../fonts/NewIconSerifCondensed-Regular.woff') format('woff'),
         url('../fonts/NewIconSerifCondensed-Regular.otf') format('opentype'),
         url('../fonts/NewIconSerifCondensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --text-color: #7a7e6a;
    --text-shadow: 0 0 22px rgba(255, 255, 255, 0.55), 0 0 10px rgba(255, 255, 255, 0.4), 0 2px 6px rgba(255, 255, 255, 0.85);
    --title-shadow: 0 0 32px rgba(255, 255, 255, 0.7), 0 0 14px rgba(255, 255, 255, 0.5), 0 2px 8px rgba(255, 255, 255, 0.95);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'New Icon Condensed', 'Cormorant Garamond', Georgia, serif;
    color: var(--text-color);
    background: #f0ebe2;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Vídeo de fundo */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100svh;
        min-height: 100dvh;
    }
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

/* Vidro suave sobre o vídeo — separação leve sem esconder o movimento */
.hero-glass {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(255, 253, 248, 0.14);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .hero-glass {
        background: rgba(250, 247, 240, 0.22);
    }
}

@media (prefers-reduced-transparency: reduce) {
    .hero-glass {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(252, 250, 245, 0.28);
    }
}

@media (max-width: 768px) {
    .bg-video {
        /* Prioriza rosto/cena central em telas verticais */
        object-position: center 28%;
    }
}

/* Camada de texto sobre o vídeo */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(24px, 5vw, 80px);
    pointer-events: none;
}

.invitation-text {
    position: relative;
    width: min(72vw, 920px);
    margin-left: clamp(2%, 4.5vw, 8%);
    text-align: center;
    text-shadow: var(--text-shadow);
}

/* Letreiro principal — sombra mais forte que o corpo (vídeo em movimento) */
.names,
.names .letter-script,
.names .letter-serif,
.names .letter-e {
    text-shadow: var(--title-shadow);
}

/* Nomes */
.names {
    position: relative;
    display: inline-block;
    margin-bottom: clamp(36px, 5vh, 64px);
}

.name-line {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    line-height: 0.85;
    white-space: nowrap;
}

.name-larissa {
    margin-bottom: -0.15em;
}

.name-luckas {
    margin-top: -0.05em;
    padding-left: 0.55em;
}

.letter-script {
    font-family: 'Sloop Script', 'Pinyon Script', cursive;
    font-weight: 400;
    font-style: normal;
    color: var(--text-color);
}

.name-larissa .letter-script {
    font-size: clamp(8.25rem, 20vw, 16rem);
    margin-right: -0.08em;
    line-height: 0.75;
}

.name-luckas .letter-script {
    font-size: clamp(7.65rem, 19vw, 15rem);
    margin-right: -0.06em;
    line-height: 0.75;
}

.letter-serif {
    font-family: 'New Icon', 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    font-size: clamp(3.85rem, 9.2vw, 7.35rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    padding-bottom: 0.12em;
}

.letter-e {
    position: absolute;
    left: clamp(0.25rem, 1.6vw, 1.5rem);
    top: 50%;
    transform: translateY(-42%);
    font-size: clamp(5rem, 12vw, 10.25rem);
    line-height: 1;
    z-index: 2;
}

/* Versículo */
.verse {
    font-family: 'New Icon Condensed', 'New Icon', 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(0.9rem, 1.65vw, 1.22rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.82;
    text-transform: uppercase;
    max-width: 96%;
    margin: 0 auto clamp(36px, 5vh, 56px);
    font-style: normal;
}

/* Data, horário e local — letreiro */
.event-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.6vw, 34px);
}

.event-block {
    text-align: center;
    font-family: 'New Icon Condensed', 'New Icon', 'Cormorant Garamond', Georgia, serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.55;
}

.event-block .line-top {
    font-size: clamp(1rem, 1.85vw, 1.3rem);
}

.event-block .line-bottom {
    font-size: clamp(1rem, 1.85vw, 1.3rem);
}

.event-time .line-top {
    letter-spacing: 0.12em;
}

.event-divider {
    width: 1px;
    height: clamp(42px, 5.5vh, 58px);
    background: var(--text-color);
    opacity: 0.85;
    flex-shrink: 0;
}

/* Letreiro dourado (visível só após o código) */
.event-details--gold {
    gap: clamp(20px, 3.4vw, 42px);
    margin-top: clamp(22px, 4vh, 40px);
    padding: clamp(8px, 1.5vh, 16px) 8px;
}

.event-details--gold .event-block .line-top,
.event-details--gold .event-block .line-bottom {
    font-size: clamp(1.35rem, 4.2vw, 2.35rem);
    font-weight: 400;
    letter-spacing: 0.18em;
    background-image: linear-gradient(
        115deg,
        #7a5a14 0%,
        #c9a227 12%,
        #f8e7a0 24%,
        #fff8d6 36%,
        #e8c547 48%,
        #fff1b0 58%,
        #d4af37 70%,
        #f5d76e 82%,
        #a67c1a 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 0 rgba(255, 248, 214, 0.55))
            drop-shadow(0 2px 8px rgba(180, 130, 30, 0.35));
    animation: gold-shine 7s ease-in-out infinite;
}

.event-details--gold .event-divider {
    height: clamp(56px, 8vh, 84px);
    background: linear-gradient(
        180deg,
        rgba(255, 241, 176, 0.15) 0%,
        rgba(232, 197, 71, 0.95) 50%,
        rgba(255, 241, 176, 0.15) 100%
    );
    opacity: 1;
    width: 1.5px;
    box-shadow: 0 0 10px rgba(232, 197, 71, 0.45);
}

.event-details--success {
    margin-top: 4px;
    margin-bottom: 4px;
}

.event-details--success .event-block .line-top,
.event-details--success .event-block .line-bottom {
    font-size: clamp(1.05rem, 3.4vw, 1.55rem);
}

@keyframes gold-shine {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .event-details--gold .event-block .line-top,
    .event-details--gold .event-block .line-bottom {
        animation: none;
        background-position: 40% 50%;
    }
}

/* ——— Celular / tablet retrato ——— */
@media (max-width: 768px) {
    .hero-overlay {
        align-items: center;
        justify-content: center;
        padding:
            max(20px, env(safe-area-inset-top, 0px))
            max(18px, env(safe-area-inset-right, 0px))
            max(28px, env(safe-area-inset-bottom, 0px))
            max(18px, env(safe-area-inset-left, 0px));
        /* Leve vinheta para o texto destacar sobre o vídeo */
        background: radial-gradient(
            125% 90% at 50% 40%,
            rgba(240, 235, 226, 0.55) 0%,
            rgba(240, 235, 226, 0.22) 42%,
            rgba(240, 235, 226, 0.06) 68%,
            transparent 82%
        );
    }

    .invitation-text {
        width: 100%;
        max-width: min(100%, 540px);
        margin-left: 0;
        padding: 0 6px;
    }

    .names {
        margin-bottom: clamp(24px, 5vh, 44px);
    }

    .name-luckas {
        padding-left: 0.42em;
    }

    .name-larissa .letter-script {
        font-size: clamp(5.5rem, 26vw, 8.4rem);
        margin-right: -0.06em;
    }

    .name-luckas .letter-script {
        font-size: clamp(5.15rem, 25vw, 8rem);
        margin-right: -0.05em;
    }

    .letter-serif {
        font-size: clamp(2.55rem, 12.2vw, 3.75rem);
        letter-spacing: 0.05em;
    }

    .letter-e {
        left: clamp(0.02rem, 2vw, 0.75rem);
        transform: translateY(-38%);
        font-size: clamp(3.45rem, 16.5vw, 5.5rem);
    }

    .verse {
        font-size: clamp(0.88rem, 4.25vw, 1.1rem);
        letter-spacing: 0.07em;
        line-height: 1.78;
        max-width: 100%;
        margin-bottom: clamp(28px, 4vh, 44px);
        hyphens: none;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .event-details {
        gap: clamp(12px, 3.2vw, 18px);
    }

    .event-details--gold {
        gap: clamp(12px, 3vw, 20px);
    }

    .event-details--gold .event-block .line-top,
    .event-details--gold .event-block .line-bottom {
        font-size: clamp(1.05rem, 4.6vw, 1.55rem);
        letter-spacing: 0.1em;
    }

    .event-block .line-top,
    .event-block .line-bottom {
        font-size: clamp(0.9rem, 3.9vw, 1.08rem);
    }

    .event-divider {
        height: clamp(38px, 9vw, 52px);
    }

    .event-details--gold .event-divider {
        height: clamp(46px, 11vw, 64px);
    }

    .event-block {
        letter-spacing: 0.08em;
    }
}

@media (max-width: 480px) {
    .hero-overlay {
        padding-top: max(16px, env(safe-area-inset-top, 0px));
    }

    .invitation-text {
        max-width: 100%;
        padding: 0 14px;
    }

    .name-larissa .letter-script {
        font-size: clamp(4.85rem, 23.5vw, 7rem);
    }

    .name-luckas .letter-script {
        font-size: clamp(4.55rem, 22.5vw, 6.65rem);
    }

    .letter-serif {
        font-size: clamp(2.15rem, 10.8vw, 3.15rem);
    }

    .letter-e {
        font-size: clamp(2.95rem, 14.5vw, 4.65rem);
    }

    .verse {
        font-size: clamp(0.84rem, 4.35vw, 1.06rem);
        letter-spacing: 0.055em;
        line-height: 1.74;
    }

    .event-details {
        gap: 10px;
    }

    .event-block {
        letter-spacing: 0.06em;
    }

    .event-block .line-top,
    .event-block .line-bottom {
        font-size: clamp(0.84rem, 3.9vw, 1rem);
    }
}

/* Telas muito estreitas (ex.: 320px) */
@media (max-width: 360px) {
    .name-larissa .letter-script {
        font-size: clamp(4.1rem, 21.5vw, 5.95rem);
    }

    .name-luckas .letter-script {
        font-size: clamp(3.85rem, 20.5vw, 5.65rem);
    }

    .letter-serif {
        font-size: clamp(1.82rem, 9.8vw, 2.45rem);
    }

    .letter-e {
        left: 0.02rem;
        font-size: clamp(2.55rem, 13vw, 3.85rem);
    }

    .verse {
        font-size: clamp(0.8rem, 4.2vw, 1rem);
        letter-spacing: 0.05em;
    }

    .event-block .line-top,
    .event-block .line-bottom {
        font-size: clamp(0.8rem, 3.7vw, 0.96rem);
    }

    .event-block {
        letter-spacing: 0.05em;
    }
}

/* Paisagem em celular: compactar verticalmente */
@media (max-width: 896px) and (orientation: landscape) {
    .hero-overlay {
        align-items: center;
        padding-top: max(8px, env(safe-area-inset-top, 0px));
        padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
        background: radial-gradient(
            95% 120% at 50% 50%,
            rgba(240, 235, 226, 0.38) 0%,
            rgba(240, 235, 226, 0.08) 55%,
            transparent 80%
        );
    }

    .names {
        margin-bottom: clamp(10px, 2.5vh, 20px);
    }

    .name-larissa {
        margin-bottom: -0.22em;
    }

    .name-larissa .letter-script,
    .name-luckas .letter-script {
        font-size: clamp(3.45rem, 15.5vh, 5.5rem);
    }

    .letter-serif {
        font-size: clamp(1.52rem, 6.8vh, 2.25rem);
    }

    .letter-e {
        font-size: clamp(2.1rem, 9.5vh, 3.35rem);
    }

    .verse {
        font-size: clamp(0.74rem, 2.45vh, 0.9rem);
        line-height: 1.58;
        margin-bottom: clamp(12px, 2vh, 20px);
        letter-spacing: 0.045em;
    }

    .event-block .line-top,
    .event-block .line-bottom {
        font-size: clamp(0.78rem, 2.55vh, 0.94rem);
    }

    .event-divider {
        height: clamp(28px, 5.5vh, 40px);
    }
}

/* Indicador de rolagem (primeiro slide) */
.scroll-hint {
    position: absolute;
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    margin: 0;
    font-family: 'New Icon Condensed', 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(0.62rem, 1.5vw, 0.72rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(122, 126, 106, 0.88);
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.5);
    text-decoration: none;
    pointer-events: auto;
    cursor: pointer;
    opacity: 1;
}

.scroll-hint:hover {
    color: rgba(90, 94, 78, 0.95);
}

.scroll-hint:focus-visible {
    outline: 2px solid rgba(122, 126, 106, 0.9);
    outline-offset: 4px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-hint {
        opacity: 0.95;
    }
}

/* Seção Confirme presença (vidro #788990) — layout: título no topo, botão no centro, link embaixo (como o hero) */
.section-rsvp {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    overflow: hidden;
}

/* Fundo da seção presença — imagem em img/imagem3.png */
.rsvp-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #3d454c;
    background-image: url('../img/imagem3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rsvp-glass {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(120, 137, 144, 0.48);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .rsvp-glass {
        background: rgba(120, 137, 144, 0.72);
    }
}

@media (prefers-reduced-transparency: reduce) {
    .rsvp-glass {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(120, 137, 144, 0.82);
    }
}

.rsvp-inner {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 720px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
    text-align: center;
    color: #fff;
}

/* Só o título no topo */
.rsvp-top {
    flex-shrink: 0;
    padding-top: max(12px, env(safe-area-inset-top, 0px));
}

.rsvp-title {
    margin: 0;
    font-family: 'Sloop Script', 'Pinyon Script', cursive;
    font-weight: 400;
    font-size: clamp(2.4rem, 7vw, 4.25rem);
    line-height: 1.1;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.rsvp-text {
    margin: 0;
    max-width: 38rem;
    width: 100%;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: clamp(0.82rem, 2.1vw, 1.05rem);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

/* Texto + botão centralizados juntos na área do meio */
.rsvp-middle {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 3.2vh, 2.25rem);
    min-height: 0;
    padding: clamp(16px, 2.5vh, 28px) 0;
}

.rsvp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 14px 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: clamp(0.78rem, 1.8vw, 0.92rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rsvp-cta:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
}

.rsvp-cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.rsvp-cta--confirmed {
    background: rgba(34, 197, 94, 0.35);
    border-color: rgba(134, 239, 172, 0.85);
    color: #ecfdf5;
    cursor: default;
    pointer-events: none;
}

.rsvp-cta--confirmed:hover {
    background: rgba(34, 197, 94, 0.35);
    border-color: rgba(134, 239, 172, 0.85);
    transform: none;
}

.rsvp-cta--submit {
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
}

.page-rsvp-flow {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
}

.section-rsvp--flow {
    min-height: 100vh;
    min-height: 100dvh;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: min(100%, 360px);
}

.rsvp-label {
    align-self: flex-start;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.rsvp-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.08em;
}

.rsvp-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.rsvp-input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 2px;
    border-color: rgba(255, 255, 255, 0.7);
}

.rsvp-flash-error {
    margin: 0 0 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.25);
    border: 1px solid rgba(252, 165, 165, 0.55);
    color: #fff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.9rem;
    text-align: center;
    max-width: 360px;
}

.rsvp-text--success {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
}

/* Link inferior — presença / trajes (padrão do hero) */
.rsvp-next,
.trajes-next {
    flex-shrink: 0;
    align-self: center;
    margin-top: auto;
    margin-bottom: max(18px, env(safe-area-inset-bottom, 0px));
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: clamp(0.62rem, 1.5vw, 0.78rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.rsvp-next:hover,
.trajes-next:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.75);
}

.rsvp-next:focus-visible,
.trajes-next:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 6px;
    border-radius: 4px;
}

/* Seção Trajes — intro com transição de fundo; detalhes em seções abaixo */
.section-trajes {
    --trajes-progress: 0;
    --trajes-bege-opacity: 0;
    --trajes-next-opacity: 0.45;
    --trajes-scroll-extra: 45vh;

    position: relative;
    z-index: 2;
    height: calc(100vh + var(--trajes-scroll-extra));
    height: calc(100dvh + var(--trajes-scroll-extra));
    margin-bottom: calc(-1 * var(--trajes-scroll-extra));
    padding: 0;
    overflow: visible;
    color: #fff;
}

.trajes-scroll-track {
    height: 100%;
}

.trajes-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.trajes-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.15s linear;
}

.trajes-bg--intro {
    background-color: #5a6770;
    background-image: url('../img/imagem2.png');
    opacity: calc(1 - var(--trajes-bege-opacity));
}

.trajes-bg--bege {
    background-color: #f0ede4;
    opacity: var(--trajes-bege-opacity);
}

.trajes-glass {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.15s linear;
}

.trajes-glass--intro {
    background: rgba(120, 137, 144, 0.48);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    opacity: calc(1 - var(--trajes-bege-opacity));
}

.trajes-glass--bege {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
    opacity: var(--trajes-bege-opacity);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .trajes-glass--intro {
        background: rgba(120, 137, 144, 0.72);
    }

    .trajes-glass--bege {
        background: rgba(240, 237, 228, 0.82);
    }
}

.trajes-inner {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: min(960px, 94vw);
    min-height: 0;
    height: 100%;
    margin: 0 auto;
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
    text-align: center;
}

.trajes-top {
    flex-shrink: 0;
    padding-top: max(12px, env(safe-area-inset-top, 0px));
}

.trajes-title {
    margin: 0;
    font-family: 'Sloop Script', 'Pinyon Script', cursive;
    font-weight: 400;
    font-size: clamp(2.4rem, 7vw, 4.25rem);
    line-height: 1.1;
    color: color-mix(in srgb, #fff calc((1 - var(--trajes-bege-opacity)) * 100%), #4a5240 calc(var(--trajes-bege-opacity) * 100%));
    text-shadow: 0 2px 24px rgba(0, 0, 0, calc((1 - var(--trajes-bege-opacity)) * 0.35));
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.trajes-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
}

.trajes-panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vh, 24px) 0;
    pointer-events: none;
}

.trajes-panel--intro {
    opacity: 1;
}

.trajes-text {
    margin: 0 auto;
    max-width: 38rem;
    width: 100%;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: clamp(0.82rem, 2.1vw, 1.05rem);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: color-mix(in srgb, #fff calc((1 - var(--trajes-bege-opacity)) * 100%), #4a5240 calc(var(--trajes-bege-opacity) * 100%));
    text-shadow: 0 1px 14px rgba(0, 0, 0, calc((1 - var(--trajes-bege-opacity)) * 0.35)), 0 0 12px rgba(0, 0, 0, calc((1 - var(--trajes-bege-opacity)) * 0.25));
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.section-trajes .trajes-next {
    position: relative;
    z-index: 3;
    pointer-events: auto;
    opacity: var(--trajes-next-opacity);
    color: color-mix(in srgb, rgba(255, 255, 255, 0.88) calc((1 - var(--trajes-bege-opacity)) * 100%), #4a5240 calc(var(--trajes-bege-opacity) * 100%));
    border-bottom-color: color-mix(in srgb, rgba(255, 255, 255, 0.4) calc((1 - var(--trajes-bege-opacity)) * 100%), rgba(74, 82, 64, 0.45) calc(var(--trajes-bege-opacity) * 100%));
    text-shadow: 0 1px 10px rgba(0, 0, 0, calc((1 - var(--trajes-bege-opacity)) * 0.35));
    transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.section-trajes .trajes-next:hover {
    color: color-mix(in srgb, #fff calc((1 - var(--trajes-bege-opacity)) * 100%), #3d4535 calc(var(--trajes-bege-opacity) * 100%));
}

/* Blocos de orientação (mulheres / homens) — scroll natural */
.section-trajes-detail {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.section-trajes-detail--mulheres {
    color: #f0ede4;
}

.section-trajes-detail--homens {
    color: #1e2635;
}

.section-trajes-detail--last {
    padding-bottom: 0;
}

.trajes-detail-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-trajes-detail--mulheres .trajes-detail-bg {
    background-color: #1e2635;
}

.section-trajes-detail--homens .trajes-detail-bg {
    background-color: #c7cbb8;
}

.trajes-detail-glass {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.section-trajes-detail--mulheres .trajes-detail-glass {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.section-trajes-detail--homens .trajes-detail-glass {
    background: rgba(255, 255, 255, 0.32);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .section-trajes-detail--mulheres .trajes-detail-glass {
        background: rgba(30, 38, 53, 0.88);
    }

    .section-trajes-detail--homens .trajes-detail-glass {
        background: rgba(199, 203, 184, 0.88);
    }
}

.trajes-detail-inner {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: min(960px, 94vw);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding:
        max(24px, env(safe-area-inset-top, 0px))
        clamp(20px, 5vw, 40px)
        max(8px, env(safe-area-inset-bottom, 0px));
}

.trajes-detail-grid {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(20px, 4vw, 44px);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(20px, 4vh, 48px) 0;
    text-align: left;
}

.trajes-detail-model {
    width: 100%;
    max-width: clamp(190px, 32vw, 300px);
    height: auto;
    justify-self: center;
    object-fit: contain;
    object-position: center bottom;
    filter: contrast(1.02);
}

.section-trajes-detail--mulheres .trajes-detail-model {
    mix-blend-mode: normal;
    filter: contrast(1.05) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.28));
}

.section-trajes-detail--homens .trajes-detail-model {
    mix-blend-mode: multiply;
}

.trajes-detail-text {
    margin: 0;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: clamp(0.78rem, 1.9vw, 0.98rem);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-trajes-detail--mulheres .trajes-detail-text {
    color: rgba(240, 237, 228, 0.95);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.section-trajes-detail--homens .trajes-detail-text {
    color: #1e2635;
}

.trajes-detail-next {
    flex-shrink: 0;
    align-self: center;
    margin-top: auto;
    margin-bottom: max(18px, env(safe-area-inset-bottom, 0px));
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: clamp(0.62rem, 1.5vw, 0.78rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.section-trajes-detail--mulheres .trajes-detail-next {
    color: rgba(240, 237, 228, 0.88);
    border-bottom: 1px solid rgba(240, 237, 228, 0.4);
}

.section-trajes-detail--mulheres .trajes-detail-next:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.75);
}

.section-trajes-detail--mulheres .trajes-detail-next:focus-visible {
    outline: 2px solid rgba(240, 237, 228, 0.95);
    outline-offset: 6px;
    border-radius: 4px;
}

.section-trajes-detail--homens .trajes-detail-next {
    color: rgba(30, 38, 53, 0.88);
    border-bottom: 1px solid rgba(30, 38, 53, 0.4);
}

.section-trajes-detail--homens .trajes-detail-next:hover {
    color: #1e2635;
    border-bottom-color: rgba(30, 38, 53, 0.75);
}

.section-trajes-detail--homens .trajes-detail-next:focus-visible {
    outline: 2px solid rgba(30, 38, 53, 0.95);
    outline-offset: 6px;
    border-radius: 4px;
}

@media (max-width: 640px) {
    .trajes-detail-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: clamp(16px, 3vh, 24px);
        align-content: center;
    }

    .trajes-detail-text {
        text-align: center;
        font-size: clamp(0.72rem, 3.2vw, 0.88rem);
    }

    .trajes-detail-model {
        max-width: clamp(150px, 52vw, 220px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-trajes,
    .section-trajes.trajes-reduced-motion {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        margin-bottom: 0;
    }

    .trajes-pin {
        position: relative;
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .trajes-bg--intro,
    .trajes-glass--intro {
        opacity: 0;
    }

    .trajes-bg--bege,
    .trajes-glass--bege {
        opacity: 1;
    }

    .trajes-panel {
        position: relative;
        inset: auto;
        opacity: 1 !important;
    }

    .trajes-panel--intro .trajes-text {
        color: #4a5240;
        text-shadow: none;
    }

    .section-trajes .trajes-next {
        opacity: 1;
        color: #4a5240;
        border-bottom-color: rgba(74, 82, 64, 0.45);
        text-shadow: none;
    }

    .trajes-title {
        color: #4a5240;
        text-shadow: none;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .trajes-glass--intro,
    .trajes-glass--bege,
    .trajes-detail-glass {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .trajes-glass--intro {
        background: rgba(120, 137, 144, 0.82);
    }

    .trajes-glass--bege {
        background: rgba(240, 237, 228, 0.9);
    }

    .section-trajes-detail--mulheres .trajes-detail-glass {
        background: rgba(30, 38, 53, 0.92);
    }

    .section-trajes-detail--homens .trajes-detail-glass {
        background: rgba(199, 203, 184, 0.92);
    }
}

/* Seção Local (segundo slide) */
.section-local {
    --local-bg: #5f664d;
    --local-surface: #6f7758;
    --local-cream: #f4f0e6;

    background: var(--local-bg);
    color: var(--local-cream);
    min-height: 100vh;
    min-height: 100dvh;
    padding:
        max(40px, env(safe-area-inset-top, 0px))
        clamp(18px, 4vw, 40px)
        max(36px, env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 4.5vh, 48px);
}

.local-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.04em;
    margin: 0;
    font-weight: 400;
    line-height: 1;
}

.local-title-script {
    font-family: 'Sloop Script', 'Pinyon Script', cursive;
    font-size: clamp(3.2rem, 9vw, 5rem);
    color: var(--local-cream);
    line-height: 0.9;
}

.local-title-serif {
    font-family: 'New Icon', 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--local-cream);
}

.local-grid {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: clamp(22px, 3.5vw, 44px);
    align-items: center;
    width: 100%;
    max-width: 980px;
}

.local-qr-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 2.5vw, 26px);
    background: var(--local-surface);
    border-radius: 14px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.local-qr-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.local-qr-card:focus-visible {
    outline: 3px solid var(--local-cream);
    outline-offset: 4px;
}

.local-qr-img {
    display: block;
    width: min(228px, 58vw);
    height: auto;
    max-width: 100%;
    border-radius: 6px;
    background: #fff;
}

.local-map-wrap {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
    background: #3d4533;
}

.local-map-frame {
    display: block;
    width: 100%;
    height: clamp(280px, 42vh, 440px);
    border: 0;
}

.local-map-fallback {
    display: block;
    padding: 10px 14px 14px;
    text-align: center;
    font-family: 'New Icon Condensed', 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(0.72rem, 2vw, 0.85rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(244, 240, 230, 0.92);
    background: rgba(0, 0, 0, 0.2);
}

.local-map-fallback:link,
.local-map-fallback:visited {
    color: rgba(244, 240, 230, 0.95);
}

.local-map-fallback:hover {
    text-decoration: underline;
}

.local-address {
    margin: 0;
    max-width: 960px;
    text-align: center;
    font-family: 'New Icon Condensed', 'New Icon', 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(0.72rem, 2.1vw, 0.98rem);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244, 240, 230, 0.92);
}

.section-local .event-details--gold {
    width: 100%;
    max-width: 980px;
    margin-top: 0;
}

.section-local .rsvp-next {
    margin-top: clamp(10px, 2vh, 20px);
}

@media (max-width: 720px) {
    .local-grid {
        grid-template-columns: 1fr;
        justify-items: stretch;
        max-width: 420px;
    }

    .local-qr-card {
        justify-self: center;
    }

    .local-map-frame {
        height: min(52vw, 280px);
        min-height: 220px;
    }
}

/* Link para página de presentes (convite — seção presença, não no Local) */
.rsvp-presentes-wrap {
    margin: clamp(0.35rem, 1.5vh, 0.85rem) 0 0;
    text-align: center;
}

.rsvp-presentes-link {
    display: inline-block;
    font-family: 'New Icon Condensed', 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(0.62rem, 1.5vw, 0.78rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.rsvp-presentes-link:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.75);
}

.rsvp-presentes-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 6px;
    border-radius: 4px;
}

/* Telas muito largas — mantém proporção do convite */
@media (min-width: 1600px) {
    .invitation-text {
        margin-left: 10%;
    }
}

/* Seção Presentes no convite (após Local) */
.section-presentes-home {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

.presentes-home-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.presentes-home-glass {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(255, 253, 248, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.presentes-home-overlay {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 6vw, 64px);
}

.presentes-home-inner {
    text-align: center;
    max-width: 560px;
}

/* Página Presentes (vídeo + letreiro com leve “distorção”) */

.page-presentes-landing .section-presentes-hero {
    min-height: 100vh;
    min-height: 100dvh;
}

.presentes-hero-overlay {
    justify-content: center;
    align-items: center;
    padding: clamp(24px, 6vw, 64px);
}

.presentes-hero-inner {
    pointer-events: auto;
    text-align: center;
    max-width: 560px;
}

.presentes-title {
    margin: 0 0 0.5rem;
    font-family: 'Sloop Script', 'Pinyon Script', cursive;
    font-size: clamp(3rem, 10vw, 5.5rem);
    color: var(--text-color);
    line-height: 1.05;
}

.presentes-title-distort {
    display: inline-block;
    text-shadow:
        0 0 1px rgba(255, 255, 255, 0.9),
        2px 0 0 rgba(122, 126, 106, 0.12),
        -1px 0 0 rgba(90, 94, 78, 0.15);
    animation: presentes-title-shimmer 3.2s ease-in-out infinite;
    filter: contrast(1.06) saturate(1.02);
}

@keyframes presentes-title-shimmer {
    0%,
    100% {
        transform: translateX(0) skewX(0deg);
        text-shadow:
            0 0 1px rgba(255, 255, 255, 0.85),
            2px 0 0 rgba(122, 126, 106, 0.1),
            -1px 0 0 rgba(90, 94, 78, 0.12);
    }
    40% {
        transform: translateX(-0.5px) skewX(-0.35deg);
        text-shadow:
            1px 0 0 rgba(122, 126, 106, 0.18),
            -2px 0 0 rgba(255, 255, 255, 0.35),
            0 0 12px rgba(255, 255, 255, 0.25);
    }
    60% {
        transform: translateX(0.5px) skewX(0.35deg);
        text-shadow:
            -1px 0 0 rgba(90, 94, 78, 0.16),
            2px 0 0 rgba(255, 255, 255, 0.3),
            0 0 10px rgba(255, 255, 255, 0.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .presentes-title-distort {
        animation: none;
    }
}

.presentes-lead {
    margin: 0 0 1.75rem;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: clamp(0.85rem, 2vw, 1rem);
    letter-spacing: 0.06em;
    color: rgba(90, 94, 78, 0.95);
}

/* Auth / área convidado presentes */
.page-presentes-auth,
.page-presentes-area,
.page-presentes-flow {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    background: linear-gradient(160deg, #f4f1ea 0%, #e8e4dc 100%);
    color: #3f4538;
}

.presentes-auth-card,
.presentes-flow-card {
    max-width: 440px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 40px) clamp(20px, 4vw, 28px);
}

.presentes-auth-title,
.presentes-flow-card h1 {
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(2rem, 5vw, 2.75rem);
    text-align: center;
    margin: 0 0 0.75rem;
    color: #5c6349;
}

.presentes-auth-note,
.presentes-flow-lead {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin: 0 0 1rem;
}

.presentes-auth-error {
    color: #b91c1c;
    text-align: center;
    font-size: 0.9rem;
}

.presentes-auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.presentes-label,
.presentes-flow-card label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: #647048;
}

.presentes-input,
.presentes-input-file {
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    padding: 12px 14px;
    font-size: 1rem;
}

.btn-presentes-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid rgba(92, 99, 73, 0.35);
    background: #5c6349;
    color: #fff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-presentes-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(92, 99, 73, 0.25);
}

.btn-presentes-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #94a17a;
    background: transparent;
    color: #4a523c;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
}

.btn-presentes-sm {
    padding: 10px 16px;
    font-size: 0.68rem;
}

.presentes-auth-foot,
.presentes-flow-foot {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
}

.presentes-flow-foot a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid #c9d4b8;
    background: #fff;
    color: #5c6349;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.presentes-flow-foot a::before {
    content: '←';
    font-size: 0.95rem;
    line-height: 1;
}

.presentes-flow-foot a:hover {
    background: #eef3e4;
    border-color: #94a17a;
    color: #3f4632;
}

.presentes-area-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px clamp(16px, 4vw, 28px) 8px;
}

.presentes-area-title {
    margin: 0;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 700;
    color: #5c6349;
    display: flex;
    align-items: center;
    gap: 10px;
}

.presentes-area-sub {
    margin: 4px 0 0;
    font-size: 0.88rem;
    color: #647048;
}

.presentes-area-greeting {
    margin: 6px 0 0;
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(1.6rem, 4vw, 2rem);
    color: #5f664d;
    line-height: 1.1;
}

.presentes-area-nav {
    display: flex;
    gap: 10px;
}

.presentes-highlight-card {
    max-width: 960px;
    margin: 0 auto 12px;
    padding: 0 clamp(16px, 4vw, 28px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.presentes-highlight-item {
    background: #fff;
    border: 1px solid #dbe3d0;
    border-radius: 12px;
    padding: 12px 14px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.presentes-highlight-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}

.presentes-flash {
    max-width: 720px;
    margin: 0 auto 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(92, 99, 73, 0.12);
    text-align: center;
    font-size: 0.9rem;
}

.presentes-welcome-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.presentes-welcome-modal.is-hidden {
    display: none;
}

.presentes-welcome-dialog {
    width: min(680px, 100%);
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
    padding: 20px 20px 18px;
    position: relative;
}

.presentes-welcome-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.presentes-welcome-dialog h2 {
    margin: 0 0 8px;
    color: #5c6349;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
}

.presentes-welcome-lead {
    margin: 0 0 14px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: 'DM Sans', system-ui, sans-serif;
}

.presentes-welcome-options {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.presentes-welcome-option {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
}

.presentes-welcome-option h3 {
    margin: 0 0 6px;
    font-size: 0.9rem;
    color: #3f4538;
    font-family: 'DM Sans', system-ui, sans-serif;
}

.presentes-welcome-option p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #475569;
    font-family: 'DM Sans', system-ui, sans-serif;
}

.presentes-grid {
    max-width: 960px;
    margin: 0 auto;
    padding: 8px clamp(16px, 4vw, 28px) 40px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.presentes-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    padding: 2rem 1rem;
}

.presentes-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}

.presentes-card-img-wrap img {
    width: 100%;
    border-radius: 10px;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 4 / 3;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.presentes-card-title {
    margin: 12px 0 6px;
    font-size: 1.1rem;
    color: #3f4538;
}

.presentes-card-desc {
    margin: 0 0 8px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #647048;
}

.presentes-card-price {
    margin: 0 0 14px;
    font-weight: 700;
    color: #5c6349;
}

.presentes-card-stock {
    margin: 0 0 12px;
    font-size: 0.78rem;
    color: #64748b;
}

.presentes-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.presentes-card-actions .btn-presentes-primary,
.presentes-card-actions .btn-presentes-outline {
    gap: 8px;
}

.presentes-btn-disabled {
    opacity: 0.7;
    pointer-events: none;
}

.presentes-address-box,
.presentes-pix-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    text-align: left;
}

.presentes-address-real-box {
    background: #ffffff;
    border: 1px solid #dbe3d0;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.presentes-address-title {
    margin: 0 0 10px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5c6349;
}

.presentes-address-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.presentes-address-grid {
    display: grid;
    gap: 10px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.presentes-address-grid p {
    margin: 0;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #334155;
}

.presentes-address-grid-actions .presentes-address-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    display: grid;
    gap: 8px;
}

.presentes-copy-inline-btn {
    justify-self: start;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    padding: 6px 12px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.presentes-copy-inline-btn:hover {
    border-color: #94a17a;
    color: #4a523c;
}

.presentes-pix-gentle {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
}

.presentes-flow-card-pix {
    max-width: 760px;
    margin-top: clamp(14px, 4vh, 34px);
    margin-bottom: clamp(20px, 4vh, 40px);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.page-presentes-thanks {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 24px 16px;
}

.presentes-thanks-card {
    width: min(560px, 100%);
    margin-top: clamp(28px, 8vh, 72px);
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(219, 227, 208, 0.95);
    border-radius: 22px;
    padding: clamp(28px, 5vw, 42px) clamp(20px, 4vw, 36px);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: presentesThanksIn 0.55s ease both;
}

@keyframes presentesThanksIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.presentes-thanks-kicker {
    margin: 0 0 8px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7a8468;
}

.presentes-thanks-title {
    margin: 0 0 14px;
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(2.6rem, 8vw, 3.6rem);
    font-weight: 400;
    line-height: 1.15;
    color: #5c6349;
}

.presentes-thanks-lead {
    margin: 0 auto 22px;
    max-width: 34ch;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.28rem;
    line-height: 1.55;
    color: #475569;
}

.presentes-thanks-summary {
    text-align: left;
    background: #f7f9f3;
    border: 1px solid #dbe3d0;
    border-radius: 14px;
    padding: 14px 16px;
    margin: 0 0 18px;
}

.presentes-thanks-summary p {
    margin: 0 0 6px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.92rem;
    color: #334155;
}

.presentes-thanks-summary p:last-child {
    margin-bottom: 0;
}

.presentes-thanks-note {
    margin: 0 0 24px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #64748b;
}

.presentes-thanks-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.presentes-thanks-actions .btn-presentes-primary,
.presentes-thanks-actions .btn-presentes-secondary {
    min-width: 160px;
}

.presentes-flow-card-online {
    max-width: 860px;
    margin-top: clamp(14px, 4vh, 34px);
    margin-bottom: clamp(20px, 4vh, 40px);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.presentes-pix-head-meta {
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
}

.presentes-step-indicator {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0 10px;
}

.presentes-step-indicator-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.presentes-step-indicator span {
    text-align: center;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 8px 10px;
    background: #fff;
}

.presentes-step-indicator span.is-active {
    color: #fff;
    background: #5c6349;
    border-color: #5c6349;
}

.presentes-step-title {
    margin: 8px 0 10px;
    text-align: center;
    font-family: 'DM Sans', system-ui, sans-serif;
    color: #5c6349;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.presentes-pix-step {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #dbe3d0;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.presentes-online-step {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #dbe3d0;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.presentes-online-store-link-wrap {
    display: flex;
    justify-content: center;
    margin: 6px 0 18px;
}

.presentes-step-form {
    gap: 8px;
}

.page-presentes-flow .presentes-qty-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0 2px;
}

.page-presentes-flow .presentes-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    border: 1px solid #c9d4b8;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(92, 99, 73, 0.08);
}

.page-presentes-flow .presentes-qty-btn {
    box-sizing: border-box;
    width: 48px;
    min-width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #eef3e4;
    color: #5c6349;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    font-family: 'DM Sans', system-ui, sans-serif;
    appearance: none;
    -webkit-appearance: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.page-presentes-flow .presentes-qty-btn:hover:not(:disabled) {
    background: #dde7cb;
    color: #3f4632;
}

.page-presentes-flow .presentes-qty-btn:active:not(:disabled) {
    transform: scale(0.96);
    background: #d2ddbc;
}

.page-presentes-flow .presentes-qty-btn:disabled {
    opacity: 0.32;
    cursor: not-allowed;
    background: #f3f5ef;
}

.page-presentes-flow .presentes-qty-value {
    box-sizing: border-box;
    width: 64px;
    min-width: 64px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid #c9d4b8;
    border-right: 1px solid #c9d4b8;
    border-radius: 0;
    text-align: center;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.page-presentes-flow .presentes-qty-value:focus {
    outline: none;
    box-shadow: none;
}

.page-presentes-flow .presentes-qty-hint {
    margin: 0;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.8rem;
    color: #7a8468;
    letter-spacing: 0.02em;
}

.presentes-pix-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.presentes-pix-summary p {
    margin: 0 0 6px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.9rem;
    color: #334155;
}

.presentes-pix-summary p:last-child {
    margin-bottom: 0;
}

.presentes-pix-thanks {
    margin-top: 8px !important;
    color: #5c6349 !important;
    line-height: 1.6;
}

.presentes-pix-key {
    font-family: ui-monospace, monospace;
    font-size: 1rem;
    word-break: break-all;
}

.presentes-pix-center-wrap {
    margin: 14px 0 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.presentes-qr-figure {
    margin: 0;
    text-align: center;
}

.presentes-qr-figure img {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.presentes-pix-key-area {
    width: 100%;
    text-align: center;
    max-width: 380px;
    background: #ffffff;
    border: 1px solid #dbe3d0;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.presentes-pix-key-area .btn-presentes-secondary {
    margin-top: 6px;
}

.presentes-copy-feedback {
    margin-top: 8px;
    font-size: 0.82rem;
    color: #5c6349;
    font-family: 'DM Sans', system-ui, sans-serif;
}

.presentes-step-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-presentes-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid #c7d0bb;
    background: #fff;
    color: #4a523c;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-presentes-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(92, 99, 73, 0.16);
    border-color: #94a17a;
}

.presentes-copy-address-btn {
    padding: 10px 16px;
    font-size: 0.68rem;
}

.presentes-upload-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    overflow: hidden !important;
}

.presentes-upload-actions {
    margin-top: 6px;
    display: flex;
    justify-content: center;
}

.presentes-checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    padding: 14px 16px;
    border: 1px solid #dbe3d0;
    border-radius: 12px;
    background: #f7f9f3;
    font-family: 'DM Sans', system-ui, sans-serif;
    color: #475569;
}

.presentes-checkout-total strong {
    font-size: 1.15rem;
    color: #5c6349;
}

.presentes-checkout-security {
    margin: 2px 0 0;
    text-align: center;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #64748b;
}

.btn-presentes-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.presentes-checkout-status-title {
    margin: 0 0 14px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 6vw, 2.7rem);
    font-weight: 500;
    color: #5c6349;
}

@media (max-width: 720px) {
    .presentes-highlight-card {
        grid-template-columns: 1fr;
    }

    .presentes-welcome-dialog {
        padding: 18px 14px 14px;
    }

    .presentes-flow-card-pix {
        border-radius: 14px;
        padding: 18px 14px;
    }

    .presentes-flow-card-online {
        border-radius: 14px;
        padding: 18px 14px;
    }

    .presentes-step-indicator {
        grid-template-columns: 1fr;
    }

    .presentes-step-actions .btn-presentes-primary,
    .presentes-step-actions .btn-presentes-secondary,
    .presentes-pix-key-area .btn-presentes-secondary {
        width: 100%;
    }

    .presentes-address-grid {
        grid-template-columns: 1fr;
    }

    .presentes-address-head {
        align-items: stretch;
    }

    .presentes-copy-address-btn {
        width: 100%;
    }
}

