
:root {
    --sage: #aaa688;
    --sage-light: #c2bea3;
    --sage-dark: #7d7961;

    --ivory: #faf9f5;
    --cream: #f2efe7;

    --lavender: #716b88;

    --text: #57544a;
    --muted: #817d72;

    --white: #fff;
}


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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--ivory);
    color: var(--text);
    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
}


img {
    max-width: 100%;
}


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


button,
input {
    font: inherit;
}


.container {
    width: min(1150px, calc(100% - 40px));
    margin: auto;
}


.section {
    padding: 120px 0;
}


.eyebrow {
    color: var(--sage-dark);
    letter-spacing: .3em;
    font-size: .68rem;
    font-weight: 600;
    margin-bottom: 14px;
}


h1,
h2,
h3,
.signature {
    font-family: "Cormorant Garamond", serif;
}


h2 {
    color: var(--sage-dark);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 32px;
}


/* ========================
   HERO
======================== */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(170,166,136,.20),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #fcfbf8,
            #f0ede4
        );
}





.nav {
    height: 95px;

    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.nav-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}


.nav-links {
    display: flex;
    gap: 32px;
}


.nav-links a {
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}


.nav-links a:hover {
    color: var(--lavender);
}


.menu-button {
    display: none;
}


.hero-content {
    position: relative;
    z-index: 4;

    text-align: center;

    padding-top: 80px;
}


.hero-logo {
    width: 155px;

    object-fit: contain;

    margin-bottom: 20px;

    filter:
        sepia(20%)
        saturate(55%)
        hue-rotate(10deg);
}


.hero h1 {
    color: var(--sage-dark);

    font-size: clamp(4rem, 10vw, 7.6rem);

    font-weight: 400;

    line-height: .87;

    margin: 14px 0 34px;
}


.hero h1 span {
    color: var(--lavender);

    font-size: .55em;

    font-style: italic;
}


.hero-date {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 16px;
}


.hero-date i {
    width: 55px;
    height: 1px;

    background: var(--sage);
}


.hero-date p {
    font-size: .7rem;

    letter-spacing: .23em;
}


.hero-time {
    margin: 6px 0 24px;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.5rem;

    font-style: italic;
}


.hero-message {
    width: min(570px, 100%);

    margin: 0 auto 35px;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.3rem;
}


.button {
    border: 0;

    min-height: 54px;

    padding: 0 31px;

    display: inline-flex;

    justify-content: center;
    align-items: center;

    cursor: pointer;

    font-size: .67rem;

    font-weight: 600;

    letter-spacing: .15em;

    text-transform: uppercase;

    transition: .25s;
}


.button-primary {
    color: white;

    background: var(--sage-dark);
}


.button-primary:hover {
    background: #65624f;

    transform: translateY(-2px);
}


.button-outline {
    color: var(--sage-dark);

    border: 1px solid var(--sage-dark);

    background: transparent;
}


.lavanda {
    position: absolute;

    width: 290px;

    z-index: 1;

    opacity: .74;
}


.lavanda-esquerda {
    left: -80px;
    bottom: -30px;

    transform: rotate(-10deg);
}


.lavanda-direita {
    right: -90px;
    top: 100px;

    transform:
        rotate(160deg)
        scale(.8);
}


.scroll-down {
    position: absolute;

    left: 50%;
    bottom: 35px;

    z-index: 5;

    transform: translateX(-50%);

    font-size: 1.5rem;

    color: var(--sage-dark);
}


/* ========================
   COUNTDOWN
======================== */

.countdown-section {
    padding: 90px 0;

    color: white;

    text-align: center;

    background: var(--sage);
}


.countdown-section h2,
.eyebrow.light {
    color: white;
}


.countdown {
    margin-top: 50px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 34px;
}


.countdown div {
    min-width: 100px;
}


.countdown strong {
    display: block;

    font-family: "Cormorant Garamond", serif;

    font-size: 4.6rem;

    font-weight: 400;

    line-height: .9;
}


.countdown span {
    font-size: .6rem;

    letter-spacing: .2em;

    text-transform: uppercase;
}


.countdown i {
    width: 1px;
    height: 60px;

    background: rgba(255,255,255,.4);
}


/* ========================
   STORY
======================== */

.story-grid,
.gifts-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 100px;
}


.identity-card {
    width: min(440px, 90%);

    aspect-ratio: .76;

    position: relative;

    margin: auto;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    background: white;

    border: 18px solid var(--cream);

    outline: 14px solid var(--sage);

    box-shadow: 0 30px 80px rgba(70,67,53,.12);
}


.story-logo {
    width: 170px;

    position: relative;
    z-index: 2;
}


.identity-card p {
    margin-top: 45px;

    letter-spacing: .3em;

    font-size: .65rem;
}


.card-lavender {
    position: absolute;

    width: 180px;

    top: 10px;
    left: -55px;

    transform: rotate(-26deg);
}


.story-content p:not(.eyebrow) {
    margin-bottom: 17px;
}


.signature {
    display: block;

    color: var(--sage-dark);

    font-size: 2.3rem;

    font-style: italic;

    margin-top: 30px;
}


/* ========================
   EVENT
======================== */

.event {
    text-align: center;

    background: var(--cream);
}


.event-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    margin-top: 55px;
}


.event-card {
    padding: 50px 25px;

    background: var(--ivory);

    border: 1px solid rgba(170,166,136,.35);

    transition: .3s;
}


.event-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 20px 50px rgba(80,75,55,.1);
}


.event-circle {
    width: 78px;
    height: 78px;

    margin: 0 auto 23px;

    display: grid;

    place-items: center;

    border: 1px solid var(--sage);

    border-radius: 50%;

    color: var(--sage-dark);

    font-family: "Cormorant Garamond", serif;

    font-size: 2.3rem;
}


.event-circle.small {
    font-size: 1.6rem;
}


.event-card h3 {
    color: var(--sage-dark);

    font-size: 2rem;

    font-weight: 400;
}


.event-card p {
    margin-top: 7px;
}


.event-card span {
    color: var(--muted);

    font-size: .78rem;
}


/* ========================
   FRASE
======================== */

.phrase {
    min-height: 480px;

    padding: 110px 0;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    text-align: center;

    color: white;

    background: var(--sage-dark);
}


.phrase .container {
    position: relative;

    z-index: 2;

    max-width: 800px;
}


.phrase .quote {
    display: block;

    font-family: Georgia, serif;

    font-size: 6rem;

    line-height: .5;

    opacity: .4;
}


.phrase p {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(2.2rem, 5vw, 3.8rem);

    font-style: italic;

    line-height: 1.2;
}


.phrase small {
    display: block;

    margin-top: 30px;

    letter-spacing: .3em;
}


.phrase-lavender {
    position: absolute;

    width: 430px;

    right: -70px;
    bottom: -160px;

    opacity: .22;
}


/* ========================
   PRESENTES
======================== */

.gifts p:not(.eyebrow) {
    margin-bottom: 18px;
}


.gifts .button {
    margin-top: 22px;
}


.gift-identity {
    min-height: 500px;

    position: relative;

    display: flex;

    justify-content: center;
    align-items: center;
}


.gift-identity > div {
    width: 320px;
    height: 320px;

    z-index: 2;

    display: grid;

    place-items: center;

    background: var(--sage);

    box-shadow: 0 30px 70px rgba(80,75,55,.13);
}


.gift-identity > div img {
    width: 130px;

    background: var(--ivory);

    border-radius: 50%;

    padding: 17px;
}


.gift-identity > img {
    width: 240px;

    position: absolute;

    right: 0;
    bottom: 0;

    z-index: 3;
}


/* ========================
   RSVP
======================== */

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


.rsvp-wrapper {
    max-width: 850px;

    padding: 75px;

    text-align: center;

    background: var(--ivory);

    border: 1px solid rgba(170,166,136,.35);

    box-shadow: 0 30px 80px rgba(80,75,55,.08);
}


.rsvp-logo {
    width: 95px;

    margin-bottom: 20px;
}


.rsvp-description {
    max-width: 600px;

    margin:
        -6px auto
        45px;
}


.guest-search {
    text-align: left;
}


.guest-search label {
    display: block;

    margin-bottom: 8px;

    color: var(--sage-dark);

    font-size: .68rem;

    font-weight: 600;

    letter-spacing: .13em;

    text-transform: uppercase;
}


.search-row {
    display: grid;

    grid-template-columns:
        1fr auto;

    gap: 10px;
}


.search-row input {
    min-width: 0;

    height: 54px;

    padding: 0 17px;

    outline: none;

    border: 1px solid #d5d1c5;

    color: var(--text);

    background: white;
}


.search-row input:focus {
    border-color: var(--sage);
}


.guest-result,
.multiple-results,
.not-found {
    margin-top: 30px;

    padding: 35px;

    border: 1px solid rgba(170,166,136,.4);

    background: white;
}


.hidden {
    display: none !important;
}


.result-label {
    color: var(--sage-dark);

    font-size: .62rem;

    font-weight: 600;

    letter-spacing: .25em;
}


.guest-result h3 {
    color: var(--sage-dark);

    font-size: 2.8rem;

    font-weight: 400;

    margin: 4px 0 5px;
}


.attendance-options {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 25px;
}


.attendance-button {
    min-height: 50px;

    padding: 0 24px;

    cursor: pointer;

    border: 1px solid var(--sage-dark);

    background: transparent;

    color: var(--sage-dark);
}


.attendance-button.yes {
    color: white;

    background: var(--sage-dark);
}


.guest-choice {
    display: block;

    width: 100%;

    min-height: 48px;

    margin-top: 10px;

    cursor: pointer;

    border: 1px solid #d5d1c5;

    background: var(--ivory);
}


.guest-choice:hover {
    border-color: var(--sage-dark);
}


/* ========================
   FOOTER
======================== */

footer {
    padding: 80px 0;

    text-align: center;

    color: white;

    background: #686551;
}


.footer-logo {
    width: 105px;

    filter: brightness(0) invert(1);

    opacity: .92;
}


footer h2 {
    margin: 15px 0 8px;

    color: white;

    font-size: 3rem;
}


footer p {
    font-size: .65rem;

    letter-spacing: .2em;

    text-transform: uppercase;
}


.footer-lavender {
    display: block;

    width: 95px;

    margin: 25px auto;

    opacity: .7;
}


footer small {
    opacity: .55;

    font-size: .65rem;
}


/* ========================
   RESPONSIVO
======================== */

@media (max-width: 900px) {

    .section {
        padding: 90px 0;
    }


    .story-grid,
    .gifts-grid {
        grid-template-columns: 1fr;

        gap: 70px;
    }


    .event-grid {
        grid-template-columns: 1fr;
    }


    .menu-button {
        width: 32px;
        height: 25px;

        position: relative;

        z-index: 31;

        display: flex;

        flex-direction: column;

        justify-content: space-between;

        border: 0;

        background: transparent;
    }


    .menu-button span {
        width: 100%;
        height: 1px;

        background: var(--sage-dark);
    }


    .nav-links {
        width: min(340px, 82%);

        height: 100vh;

        position: fixed;

        top: 0;
        right: -100%;

        padding: 100px 35px;

        flex-direction: column;

        justify-content: center;

        background: var(--ivory);

        box-shadow: -20px 0 50px rgba(0,0,0,.08);

        transition: .3s;
    }


    .nav-links.open {
        right: 0;
    }


    .rsvp-wrapper {
        padding: 55px 30px;
    }

}


@media (max-width: 620px) {

    .container {
        width: calc(100% - 28px);
    }


    


    .hero-logo {
        width: 115px;
    }


    .hero h1 {
        font-size: 4.3rem;
    }


    .lavanda {
        width: 210px;

        opacity: .38;
    }


    .hero-date i {
        width: 22px;
    }


    .hero-date p {
        font-size: .58rem;

        letter-spacing: .12em;
    }


    .countdown {
        gap: 8px;
    }


    .countdown div {
        min-width: 58px;
    }


    .countdown strong {
        font-size: 2.6rem;
    }


    .countdown span {
        font-size: .5rem;
    }


    .countdown i {
        height: 38px;
    }


    .identity-card {
        width: 78%;
    }


    .search-row {
        grid-template-columns: 1fr;
    }


    .search-row .button {
        width: 100%;
    }


    .attendance-options {
        flex-direction: column;
    }


    .attendance-button {
        width: 100%;
    }


    .rsvp-wrapper {
        padding: 50px 20px;
    }

}


/* MENU CENTRALIZADO NO DESKTOP */
@media (min-width: 901px) {
    .nav {
        position: absolute;
    }

    .nav-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        justify-content: center;
        width: max-content;
    }
}

.map-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--sage-dark);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--sage);
    padding-bottom: 3px;
}

.map-link:hover {
    color: var(--lavender);
}

/* LOCAL DO CASAMENTO */
.event-address {
    display: block;
    margin-top: 7px;
    line-height: 1.6;
}

.map-link {
    display: inline-block;
    margin-top: 18px;
    padding-bottom: 3px;
    color: var(--sage-dark);
    border-bottom: 1px solid var(--sage);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    transition: .25s;
}

.map-link:hover {
    color: var(--lavender);
    border-color: var(--lavender);
}

/* CARD LOCAL - AJUSTE FINAL */
.event-address {
    display: block;
    margin-top: 8px;
    line-height: 1.65;
    color: var(--muted);
}

.map-link {
    display: inline-block;
    margin-top: 18px;
    padding-bottom: 3px;
    color: var(--sage-dark);
    border-bottom: 1px solid var(--sage);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    transition: .25s;
}

.map-link:hover {
    color: var(--lavender);
    border-color: var(--lavender);
}

/* MAPA DO LOCAL */
.event-map {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 28px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 18px 50px rgba(80,75,55,.10);
}

.event-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

@media (max-width: 620px) {
    .event-map iframe {
        height: 320px;
    }
}

/* Ajuste mobile */
@media (max-width: 620px) {
    .countdown-section::before,
    .story::before,
    .event::before,
    .phrase::before,
    .gifts::before,
    .rsvp::before,
    footer::before {
        top: -14px;
        height: 18px;
    }
}

/* =========================================
   TRANSIÇÃO DE PAPEL RASGADO - PNG
========================================= */

.hero,
.countdown-section,
.story,
.event,
.phrase,
.gifts,
.rsvp,
footer {
    position: relative;
}

/* Ajuste no celular */
@media (max-width: 620px) {
    .countdown-section::before,
    .story::before,
    .event::before,
    .phrase::before,
    .gifts::before,
    .rsvp::before,
    footer::before {
        top: -30px;
        height: 34px;
        background-size: auto 34px;
    }
}


/* RESET DEFINITIVO DA TRANSIÇÃO ANTIGA */
.countdown-section::before,
.story::before,
.event::before,
.phrase::before,
.gifts::before,
.rsvp::before,
footer::before {
    clip-path: none !important;
}

.countdown-section::after,
.story::after,
.event::after,
.phrase::after,
.gifts::after,
.rsvp::after,
footer::after {
    content: none !important;
}

/* Mantém a transição maior nas outras seções */
.countdown-section::before,
.story::before,
.event::before,
.gifts::before,
.rsvp::before,
footer::before {
    top: -34px !important;
    height: 92px !important;
    background-size: auto 92px !important;
    background-position: center bottom !important;
}

@media (max-width: 620px) {
    .phrase::before {
        top: -16px !important;
        height: 40px !important;
        background-size: auto 40px !important;
    }
}

/* AJUSTE DE COR DO & NA CAPA */
.hero h1 span {
    color: var(--sage-dark) !important;
}

/* CONTADOR DE PRAZO RSVP */
.rsvp-deadline {
    margin: 36px 0 34px;
    text-align: center;
}

.rsvp-deadline-label {
    margin-bottom: 10px;
    color: var(--sage-dark);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.rsvp-deadline-date {
    margin: 0 0 20px;
    color: var(--sage-dark);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
}

.deadline-countdown {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.deadline-item {
    min-width: 92px;
    padding: 16px 14px;
    border: 1px solid rgba(125, 121, 97, .22);
    background: rgba(255, 255, 255, .45);
}

.deadline-item strong {
    display: block;
    color: var(--sage-dark);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 8px;
}

.deadline-item span {
    color: var(--sage-dark);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rsvp-deadline-note {
    margin-top: 16px;
    color: #7a766a;
    font-size: .92rem;
}

@media (max-width: 620px) {
    .rsvp-deadline-date {
        font-size: 1.55rem;
    }

    .deadline-countdown {
        gap: 10px;
    }

    .deadline-item {
        min-width: 72px;
        padding: 14px 10px;
    }

    .deadline-item strong {
        font-size: 1.45rem;
    }
}

.rsvp-deadline-text {
    margin: -22px auto 34px;
    color: var(--sage-dark);
    font-size: .9rem;
    letter-spacing: .03em;
}

.rsvp-deadline-text strong {
    font-weight: 600;
}

/* CONTADOR DO PRAZO DE CONFIRMAÇÃO */
.rsvp-deadline-countdown {
    margin: 28px auto 34px;
    text-align: center;
}

.deadline-title {
    margin-bottom: 14px;
    color: var(--sage-dark);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.deadline-countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.deadline-item {
    width: 92px;
    padding: 15px 8px 13px;
    background: #fff;
    border: 1px solid rgba(125, 121, 97, .24);
}

.deadline-item strong {
    display: block;
    color: var(--sage-dark);
    font-family: "Cormorant Garamond", serif;
    font-size: 2.1rem;
    font-weight: 400;
    line-height: 1;
}

.deadline-item span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.deadline-message {
    margin-top: 12px;
    color: var(--muted);
    font-size: .8rem;
}

@media (max-width: 620px) {

    .deadline-countdown {
        gap: 6px;
    }

    .deadline-item {
        width: 68px;
        padding: 12px 5px;
    }

    .deadline-item strong {
        font-size: 1.65rem;
    }

    .deadline-item span {
        font-size: .5rem;
    }
}

/* AJUSTE REAL DA SOBREPOSIÇÃO ENTRE SEÇÕES */
.countdown-section {
    position: relative;
    z-index: 3;
    margin-top: -58px !important;
    padding-top: 150px !important;
}

.countdown-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(-78%);
    width: 100%;
    height: 125px !important;

    
    background-repeat: repeat-x;
    background-position: center top;
    background-size: auto 125px;

    z-index: 6;
    pointer-events: none;
}

@media (max-width: 620px) {
    .countdown-section {
        margin-top: -38px !important;
        padding-top: 110px !important;
    }

    .countdown-section::before {
        height: 88px !important;
        background-size: auto 88px !important;
        transform: translateY(-74%);
    }
}

/* CORREÇÃO FINAL DA TRANSIÇÃO ENTRE HERO E CONTAGEM */
.countdown-section {
    margin-top: 0 !important;
    padding-top: 105px !important;
    overflow: visible;
}

.countdown-section::before {
    top: -42px !important;
    transform: none !important;

    height: 58px !important;

    
    background-repeat: repeat-x !important;
    background-position: center bottom !important;
    background-size: auto 58px !important;

    z-index: 6;
}

/* evita o rasgo encostar no botão da hero */
.hero {
    padding-bottom: 55px;
}

@media (max-width: 620px) {
    .countdown-section {
        padding-top: 85px !important;
    }

    .countdown-section::before {
        top: -32px !important;
        height: 44px !important;
        background-size: auto 44px !important;
    }

    .hero {
        padding-bottom: 45px;
    }
}

/* AUMENTAR ALTURA DO PNG DA TRANSIÇÃO */
.countdown-section::before {
    height: 80px !important;
    background-size: auto 80px !important;
    top: -55px !important;
}

@media (max-width: 620px) {
    .countdown-section::before {
        height: 60px !important;
        background-size: auto 60px !important;
        top: -40px !important;
    }
}

/* TRANSIÇÃO COM NOVO PNG */
.countdown-section::before,
.story::before,
.event::before,
.phrase::before,
.gifts::before,
.rsvp::before,
footer::before {
    
}

/* AJUSTE FINO - SOBE MAIS UM POUCO */
.countdown-section::before,
.story::before,
.event::before,
.phrase::before,
.gifts::before,
.rsvp::before,
footer::before {
    top: -28px !important;
}

/* AJUSTE FINO - SOBE SÓ MAIS UM POUCO */
.countdown-section::before,
.story::before,
.event::before,
.phrase::before,
.gifts::before,
.rsvp::before,
footer::before {
    top: -30px !important;
}

/* CENTRALIZAR HISTÓRIA E PRESENTES */
.story,
.gifts {
    text-align: center;
}

.story .container,
.gifts .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story p,
.gifts p {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.story h2,
.gifts h2,
.story .section-title,
.gifts .section-title,
.story .section-label,
.gifts .section-label,
.story .signature,
.gifts .signature {
    text-align: center;
}

.story a,
.story button,
.gifts a,
.gifts button {
    margin-left: auto;
    margin-right: auto;
}

.story .signature,
.gifts .signature {
    margin-top: 28px;
}

/* NOSSA HISTÓRIA SEM O QUADRO */
.story-grid {
    grid-template-columns: 1fr !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.story-content {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.story-content p {
    margin-left: auto;
    margin-right: auto;
}

.story .signature {
    text-align: center;
}


/* RESET FINAL - SEM TRANSICOES DE PAPEL */
.countdown-section::before,
.story::before,
.event::before,
.phrase::before,
.gifts::before,
.rsvp::before,
footer::before,
.countdown-section::after,
.story::after,
.event::after,
.phrase::after,
.gifts::after,
.rsvp::after,
footer::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
}

/* Remove deslocamentos criados pelas transicoes */
.countdown-section,
.story,
.event,
.phrase,
.gifts,
.rsvp,
footer {
    margin-top: 0 !important;
    transform: none !important;
}

/* TRANSIÇÃO SUAVE EM DEGRADÊ ENTRE SEÇÕES */

.countdown-section,
.story,
.event,
.phrase,
.gifts,
.rsvp,
footer {
    position: relative;
}

/* transição clara para verde */
.countdown-section::before {
    content: "";
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 70px;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(250, 249, 245, 0),
        rgba(170, 166, 136, .35),
        var(--sage)
    );
}

/* transição verde para claro */
.story::before,
.event::before,
.gifts::before,
.rsvp::before {
    content: "";
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(170, 166, 136, 0),
        rgba(245, 242, 234, .6),
        var(--ivory)
    );
}

/* transição para seção escura da frase */
.phrase::before {
    content: "";
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 70px;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(242, 239, 231, 0),
        rgba(125, 121, 97, .35),
        var(--sage-dark)
    );
}

/* transição para o rodapé */
footer::before {
    content: "";
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(245, 242, 234, 0),
        rgba(104, 101, 81, .55),
        #686551
    );
}

@media (max-width: 620px) {
    .countdown-section::before,
    .story::before,
    .event::before,
    .phrase::before,
    .gifts::before,
    .rsvp::before,
    footer::before {
        top: -42px;
        height: 42px;
    }
}

/* TRANSIÇÃO SUAVE EM DEGRADÊ ENTRE SEÇÕES */

.countdown-section,
.story,
.event,
.phrase,
.gifts,
.rsvp,
footer {
    position: relative;
}

/* transição clara para verde */
.countdown-section::before {
    content: "";
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 70px;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(250, 249, 245, 0),
        rgba(170, 166, 136, .35),
        var(--sage)
    );
}

/* transição verde para claro */
.story::before,
.event::before,
.gifts::before,
.rsvp::before {
    content: "";
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(170, 166, 136, 0),
        rgba(245, 242, 234, .6),
        var(--ivory)
    );
}

/* transição para seção escura da frase */
.phrase::before {
    content: "";
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 70px;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(242, 239, 231, 0),
        rgba(125, 121, 97, .35),
        var(--sage-dark)
    );
}

/* transição para o rodapé */
footer::before {
    content: "";
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(245, 242, 234, 0),
        rgba(104, 101, 81, .55),
        #686551
    );
}

@media (max-width: 620px) {
    .countdown-section::before,
    .story::before,
    .event::before,
    .phrase::before,
    .gifts::before,
    .rsvp::before,
    footer::before {
        top: -42px;
        height: 42px;
    }
}

/* REMOVE A ILUSTRAÇÃO DA LISTA DE PRESENTES */
.gift-identity {
    display: none !important;
}

/* CENTRALIZA A LISTA DE PRESENTES */
.gifts-grid {
    grid-template-columns: 1fr !important;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.gifts-grid > div:first-child {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.gifts-grid p {
    margin-left: auto;
    margin-right: auto;
}

.gifts-grid .button {
    margin-left: auto;
    margin-right: auto;
}
