/* =====================================================================
   MeuConvite — página inicial
   Complementa app.css. Tudo o que é decorativo vive aqui para que as
   páginas da aplicação continuem leves.
   ===================================================================== */

.home-page {
    --inv-paper: #fdfaf7;
    --inv-ink: #6d4b52;
    --inv-rose: #b76e79;
    --inv-rose-soft: #d79aa2;
    --inv-blush: #f2d9d9;
    --inv-gold: #c8a96a;
    --inv-green: #a9bb9d;
}

/* ---------------------------------------------------------------------
   Revelação ao deslizar a página
   --------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
    transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem);
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(215, 154, 162, .18), transparent 60%),
        radial-gradient(900px 420px at 5% 10%, rgba(200, 169, 106, .16), transparent 55%),
        linear-gradient(180deg, #fffdfb 0%, #faf7f3 100%);
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .5;
    pointer-events: none;
    animation: mc-drift 16s ease-in-out infinite alternate;
}

.hero__glow--one {
    width: 22rem;
    height: 22rem;
    top: -6rem;
    left: -6rem;
    background: rgba(200, 169, 106, .35);
}

.hero__glow--two {
    width: 26rem;
    height: 26rem;
    bottom: -10rem;
    right: -4rem;
    background: rgba(183, 110, 121, .28);
    animation-delay: -6s;
}

@keyframes mc-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(2rem, 1.5rem, 0) scale(1.12); }
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mc-gold-dark);
    background: rgba(200, 169, 106, .14);
    border: 1px solid rgba(200, 169, 106, .35);
    border-radius: 2rem;
    padding: .35rem .9rem;
    margin-bottom: 1.25rem;
}

.hero__title {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.02em;
    margin-bottom: 1.1rem;
}

.hero__script {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-size: 1.25em;
    line-height: 1;
    color: var(--mc-gold-dark);
    display: inline-block;
    padding-right: .1em;
}

.hero__lead {
    font-size: 1.05rem;
    color: var(--mc-muted);
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.hero__points {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
    display: grid;
    gap: .45rem;
}

.hero__points li {
    font-size: .92rem;
    color: var(--mc-muted);
}

.hero__points i {
    color: var(--mc-gold-dark);
    margin-right: .45rem;
}

.hero__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3.5rem;
    background: #fff;
    clip-path: ellipse(75% 100% at 50% 100%);
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -140%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: skewX(-20deg);
    animation: mc-shine 4.5s ease-in-out infinite;
}

@keyframes mc-shine {
    0%, 65% { left: -140%; }
    100%    { left: 140%; }
}

/* ---------------------------------------------------------------------
   Convite de demonstração
   --------------------------------------------------------------------- */
.invite {
    display: grid;
    grid-template-columns: 0.82fr 1.12fr 0.82fr;
    align-items: stretch;
    gap: .6rem;
    perspective: 1400px;
    animation: mc-float 7s ease-in-out infinite;
}

@keyframes mc-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.invite__panel {
    background: var(--inv-paper);
    border: 1px solid rgba(183, 110, 121, .18);
    border-radius: .5rem;
    padding: 1.25rem 1rem;
    color: var(--inv-ink);
    font-family: "Cormorant Garamond", Georgia, serif;
    box-shadow: 0 18px 40px -24px rgba(109, 75, 82, .55);
    animation: mc-panel-in .9s cubic-bezier(.2, .8, .3, 1) both;
}

.invite__panel--side {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: .82rem;
}

.invite__panel--rsvp {
    transform: rotateY(9deg) translateZ(-14px);
    transform-origin: right center;
    animation-delay: .1s;
}

.invite__panel--program {
    transform: rotateY(-9deg) translateZ(-14px);
    transform-origin: left center;
    animation-delay: .25s;
}

.invite__panel--main {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 1.25rem 1.75rem;
    text-align: center;
    box-shadow: 0 26px 60px -28px rgba(109, 75, 82, .7);
    z-index: 2;
}

@keyframes mc-panel-in {
    from { opacity: 0; transform: translateY(28px) rotateY(0); }
}

.invite__main-inner {
    position: relative;
    z-index: 2;
}

/* Ornamentos florais */
.invite__flora {
    position: absolute;
    width: 8.5rem;
    height: 8.5rem;
    pointer-events: none;
    z-index: 1;
}

.invite__flora--tr {
    top: -1.4rem;
    right: -1.6rem;
}

.invite__flora--bl {
    bottom: -1.6rem;
    left: -1.8rem;
    transform: rotate(180deg);
}

.o-rose      { color: var(--inv-rose-soft); }
.o-rose-2    { color: var(--inv-rose); }
.o-blush     { color: var(--inv-blush); }
.o-gold      { color: var(--inv-gold); }
.o-green     { color: var(--inv-green); }
.o-green-2   { color: #bccdb2; }
.o-gold-fill { fill: var(--inv-gold); opacity: .7; }

.ornament__sway {
    transform-origin: 110px 190px;
    animation: mc-sway 9s ease-in-out infinite;
}

@keyframes mc-sway {
    0%, 100% { transform: rotate(-1.6deg); }
    50%      { transform: rotate(1.6deg); }
}

/* Tipografia do convite */
.invite__hearts {
    width: 3rem;
    height: 2.25rem;
    color: var(--inv-gold);
    margin-bottom: .35rem;
}

.invite__eyebrow {
    font-size: .72rem;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--inv-rose);
    margin-bottom: .35rem;
}

.invite__names {
    font-family: "Great Vibes", cursive;
    font-size: clamp(2.1rem, 3.4vw, 3rem);
    line-height: 1.05;
    color: var(--inv-rose);
    margin-bottom: .35rem;
}

.invite__amp {
    display: block;
    font-size: .62em;
    color: var(--inv-gold);
    line-height: .9;
}

.invite__divider {
    width: 7.5rem;
    height: 1.1rem;
    color: var(--inv-gold);
    margin: .5rem auto .7rem;
    display: block;
}

.invite__greeting {
    font-style: italic;
    font-size: .95rem;
    margin-bottom: .15rem;
}

.invite__text {
    font-size: .92rem;
    line-height: 1.5;
    margin-bottom: .8rem;
}

.invite__date {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--inv-rose);
    margin-bottom: .1rem;
}

.invite__time {
    font-size: .85rem;
    margin-bottom: .9rem;
}

.invite__seats {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(183, 110, 121, .09);
    border: 1px solid rgba(183, 110, 121, .22);
    border-radius: 2rem;
    padding: .28rem .95rem;
    margin-bottom: .8rem;
}

.invite__seats-label {
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.invite__seats-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--inv-rose);
}

.invite__events {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-grid;
    gap: .18rem;
    text-align: left;
    font-size: .88rem;
}

.invite__events i {
    color: #6f9c72;
    margin-right: .35rem;
}

.invite__events .is-off {
    color: rgba(109, 75, 82, .45);
}

.invite__events .is-off i {
    color: rgba(109, 75, 82, .35);
}

/* Painéis laterais */
.invite__side-title {
    font-size: .82rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--inv-rose);
    margin-bottom: .2rem;
    line-height: 1.4;
}

.invite__side-title--sm {
    margin-top: 1rem;
    font-size: .74rem;
}

.invite__qr-hint {
    font-size: .78rem;
    font-style: italic;
    margin-bottom: .4rem;
}

.invite__qr {
    width: 7rem;
    height: 7rem;
    margin-bottom: .7rem;
}

.invite__side-text {
    font-size: .82rem;
    line-height: 1.45;
    margin-bottom: .35rem;
}

.invite__side-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: .8rem;
    line-height: 1.6;
}

.invite__side-list li::before {
    content: "•";
    color: var(--inv-rose);
    margin-right: .4rem;
}

.invite__side-foot {
    margin-top: auto;
    padding-top: .8rem;
    font-size: .66rem;
    color: var(--inv-rose);
    font-style: italic;
}

.invite__timeline {
    list-style: none;
    padding: 0;
    margin: 0 0 .25rem;
    text-align: left;
    font-size: .8rem;
    width: 100%;
}

.invite__timeline li {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .22rem 0;
    border-bottom: 1px dashed rgba(183, 110, 121, .22);
}

.invite__timeline li:last-child {
    border-bottom: 0;
}

.invite__timeline i {
    color: var(--inv-rose);
    font-size: .9rem;
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
}

.invite__hour {
    font-weight: 600;
    color: var(--inv-rose);
    margin-right: .1rem;
}

.invite__caption {
    text-align: center;
    font-size: .8rem;
    color: var(--mc-muted);
    margin-top: 1.5rem;
}

.invite__caption i {
    color: var(--mc-gold);
}

/* ---------------------------------------------------------------------
   Faixa de números
   --------------------------------------------------------------------- */
.strip {
    background: #fff;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.strip__value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--mc-gold-dark);
    line-height: 1;
}

.strip__label {
    font-size: .82rem;
    color: var(--mc-muted);
    margin-top: .3rem;
}

/* ---------------------------------------------------------------------
   Secções
   --------------------------------------------------------------------- */
.section {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
    background: #fff;
}

.section--tinted {
    background: linear-gradient(180deg, #faf8f5 0%, #fff 100%);
}

.section__head {
    max-width: 42rem;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: .74rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--mc-gold-dark);
    margin-bottom: .6rem;
}

.section__head h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 600;
    margin-bottom: .6rem;
}

.section__head p {
    color: var(--mc-muted);
    margin: 0;
}

.feature-card {
    height: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: .9rem;
    padding: 1.6rem;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 169, 106, .45);
    box-shadow: 0 18px 36px -22px rgba(31, 41, 51, .35);
}

.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: .8rem;
    background: linear-gradient(135deg, rgba(200, 169, 106, .18), rgba(183, 110, 121, .18));
    color: var(--mc-gold-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.feature-card p {
    font-size: .9rem;
    color: var(--mc-muted);
    margin: 0;
}

/* ---------------------------------------------------------------------
   Passos
   --------------------------------------------------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.5rem;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 1.4rem 1.2rem 1.2rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: .9rem;
}

.step__number {
    position: absolute;
    top: -1rem;
    left: 1.2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--mc-gold);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .9rem;
    box-shadow: 0 6px 14px -6px rgba(200, 169, 106, .9);
}

.step h3 {
    font-size: .98rem;
    font-weight: 600;
    margin: .6rem 0 .4rem;
}

.step p {
    font-size: .88rem;
    color: var(--mc-muted);
    margin: 0;
}

/* ---------------------------------------------------------------------
   Chamada final
   --------------------------------------------------------------------- */
.cta {
    padding: 0 0 clamp(3rem, 7vw, 5rem);
    background: #fff;
}

.cta__card {
    text-align: center;
    padding: clamp(2.2rem, 5vw, 3.5rem) 1.5rem;
    border-radius: 1.25rem;
    background:
        radial-gradient(700px 240px at 20% 0%, rgba(183, 110, 121, .16), transparent 60%),
        linear-gradient(135deg, #fffdf9 0%, #f8f3ec 100%);
    border: 1px solid rgba(200, 169, 106, .3);
}

.cta__card h2 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 600;
    margin-bottom: .5rem;
}

.cta__card p {
    color: var(--mc-muted);
    margin-bottom: 1.4rem;
}

.cta__contact {
    margin: 1.2rem 0 0;
    font-size: .88rem;
}

/* ---------------------------------------------------------------------
   Ecrãs pequenos
   --------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .invite {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 26rem;
        margin: 0 auto;
        animation: none;
    }

    .invite__panel--main   { order: 1; }
    .invite__panel--program { order: 2; }
    .invite__panel--rsvp    { order: 3; }

    .invite__panel--rsvp,
    .invite__panel--program {
        transform: none;
    }

    .hero__points {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .invite__flora {
        width: 6.5rem;
        height: 6.5rem;
    }

    .strip__value {
        font-size: 1.6rem;
    }
}

/* ---------------------------------------------------------------------
   Acessibilidade: respeitar quem prefere menos movimento
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .invite,
    .invite__panel,
    .ornament__sway,
    .hero__glow,
    .btn-shine::after {
        animation: none !important;
    }

    .feature-card {
        transition: none;
    }
}
