/* ─────────────────────────────────────────────────────────────────────────
   Site público — Noivos (websites de casamento)

   Secções, de cima para baixo:
     · .nv-hero      — alianças desenhadas a traço + auréola dourada à deriva
     · .nv-services  — três serviços autónomos, cartões com foco que segue o rato
     · .nv-path      — percurso do projeto (linha que se preenche com o scroll)
     · .nv-note      — nota sobre as revisões incluídas
     · .nv-cta       — remate antes da secção de contacto partilhada

   Tudo vive dentro da classe de body `.noivos-showcase` e consome os tokens
   de branding-andmore-design.css. O dourado `--am-photo-gold` é o acento da
   página inteira. A animação é melhoria progressiva: a página lê-se toda sem
   JS e o movimento contínuo desliga sob prefers-reduced-motion.
   ──────────────────────────────────────────────────────────────────────── */

/* ── Primitiva de scroll-reveal ────────────────────────────────────────────
   Igual à da home: [data-reveal] nasce invisível e noivos.js acrescenta
   .is-visible à entrada no viewport. É animação e não transição de propósito
   — os cartões têm transition própria no hover e as duas colidiriam. */
.noivos-showcase [data-reveal] {
    opacity: 0;
    will-change: opacity, transform;
}
.noivos-showcase [data-reveal].is-visible {
    animation: nv-reveal .9s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0s) both;
}
@keyframes nv-reveal {
    from { opacity: 0; transform: translateY(26px) scale(.99); }
    to   { opacity: 1; transform: none; }
}
@keyframes nv-reveal-soft {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

/* Rótulo de secção — reaproveitado em todas as bandas. */
.noivos-showcase .nv-label {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--am-font-sub, sans-serif);
    text-transform: uppercase;
    letter-spacing: .24em;
    font-size: .7rem;
    font-weight: 500;
    color: var(--am-photo-gold, #C9A96E);
    margin-bottom: 1.1rem;
}
.noivos-showcase .nv-label::before,
.noivos-showcase .nv-label::after {
    content: "";
    width: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--am-photo-gold-border, rgba(201,169,110,.45)));
}
.noivos-showcase .nv-label::after { transform: scaleX(-1); }

.noivos-showcase .nv-section-title {
    font-family: var(--am-font-heading, serif);
    font-weight: 300;
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    line-height: 1.12;
    color: var(--am-base, #E1DFDB);
    margin: 0 0 1rem;
}
.noivos-showcase .nv-section-title em {
    font-style: italic;
    color: var(--am-photo-gold, #C9A96E);
}
.noivos-showcase .nv-section-lead {
    font-family: var(--am-font-body, sans-serif);
    font-weight: 300;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.75;
    color: var(--am-text-muted, #958D86);
    max-width: 44rem;
    margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════════ */
.noivos-showcase .nv-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: min(94vh, 860px);
    padding: clamp(5rem, 12vw, 9rem) 0 clamp(3.5rem, 8vw, 6rem);
    text-align: center;
}

/* Auréola: dois halos desfocados que derivam devagar. Só transform e opacity
   — fica no compositor e não repinta o resto da página. */
.noivos-showcase .nv-hero__glow {
    position: absolute;
    inset: -25% -10%;
    z-index: -2;
    pointer-events: none;
}
.noivos-showcase .nv-hero__glow::before,
.noivos-showcase .nv-hero__glow::after {
    content: "";
    position: absolute;
    width: 58vw;
    height: 58vw;
    max-width: 800px;
    max-height: 800px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
}
.noivos-showcase .nv-hero__glow::before {
    top: -6%;
    left: 50%;
    background: radial-gradient(circle at 50% 50%,
        rgba(201, 169, 110, .38) 0%, rgba(201, 169, 110, 0) 68%);
    animation: nv-drift-a 19s ease-in-out infinite alternate;
}
.noivos-showcase .nv-hero__glow::after {
    bottom: -18%;
    right: -4%;
    background: radial-gradient(circle at 50% 50%,
        rgba(214, 179, 178, .24) 0%, rgba(214, 179, 178, 0) 68%);
    animation: nv-drift-b 24s ease-in-out infinite alternate;
}
@keyframes nv-drift-a {
    from { transform: translate3d(-50%, 0, 0)  scale(1);    }
    to   { transform: translate3d(-54%, 6%, 0) scale(1.16); }
}
@keyframes nv-drift-b {
    from { transform: translate3d(0, 0, 0)     scale(1.08); }
    to   { transform: translate3d(-7%, -5%, 0) scale(.94);  }
}

/* Grelha de pontos ténue, esbatida nos bordos por uma máscara elíptica. */
.noivos-showcase .nv-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(203, 191, 176, .13) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 44%, #000 32%, transparent 76%);
            mask-image: radial-gradient(ellipse 78% 68% at 50% 44%, #000 32%, transparent 76%);
    opacity: .55;
    pointer-events: none;
}

.noivos-showcase .nv-hero__inner { max-width: 56rem; }

/* Alianças: dois círculos SVG desenhados a traço no arranque
   (stroke-dashoffset → 0) e um brilho que passa de tempos a tempos. */
.noivos-showcase .nv-rings {
    width: clamp(88px, 12vw, 132px);
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    overflow: visible;
}
.noivos-showcase .nv-rings__ring {
    fill: none;
    stroke: var(--am-photo-gold, #C9A96E);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-dasharray: 176;
    stroke-dashoffset: 176;
    animation: nv-ring-draw 2.2s cubic-bezier(.65, 0, .35, 1) forwards;
}
.noivos-showcase .nv-rings__ring--b { animation-delay: .35s; }
@keyframes nv-ring-draw {
    from { stroke-dashoffset: 176; opacity: .2; }
    to   { stroke-dashoffset: 0;   opacity: 1;  }
}

/* Brilho a percorrer cada aro. É o mesmo círculo por cima do traço, mas
   reduzido a um arco curto pelo stroke-dasharray (16 de traço para 160 de
   intervalo, num perímetro de 2πr ≈ 176) e desfocado pelo filtro SVG. Animar
   o stroke-dashoffset faz esse arco dar a volta ao aro.

   Os dois têm a MESMA duração e atrasos separados por meio ciclo (2,4s e 5s
   sobre 5,2s), o que mantém as luzes em lados opostos para sempre — com
   durações diferentes acabariam por se sincronizar e passar a piscar juntas. */
.noivos-showcase .nv-rings__glow {
    fill: none;
    stroke: #f6e7c4;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-dasharray: 16 160;
    stroke-dashoffset: 176;
    opacity: 0;
    animation: nv-ring-glow 5.2s linear infinite;
}
.noivos-showcase .nv-rings__glow--a { animation-delay: 2.4s; }
.noivos-showcase .nv-rings__glow--b { animation-delay: 5s; }
@keyframes nv-ring-glow {
    0%   { stroke-dashoffset: 176; opacity: 0;   }
    14%  { opacity: .95; }
    86%  { opacity: .95; }
    100% { stroke-dashoffset: 0;   opacity: 0;   }
}

.noivos-showcase .nv-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--am-font-sub, sans-serif);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .7rem;
    color: var(--am-text-muted, #958D86);
    padding: .38rem .95rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--am-border, rgba(203,191,176,.15));
    border-radius: var(--am-radius-pill, 999px);
    background: color-mix(in srgb, var(--am-bg, #161c18) 70%, transparent);
}
.noivos-showcase .nv-hero__eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--am-photo-gold, #C9A96E);
    animation: nv-pulse 2.6s ease-out infinite;
}
@keyframes nv-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(201,169,110,.55); }
    70%  { box-shadow: 0 0 0 9px rgba(201,169,110,0); }
    100% { box-shadow: 0 0 0 0 rgba(201,169,110,0);   }
}

.noivos-showcase .nv-hero__title {
    font-family: var(--am-font-heading, serif);
    font-weight: 300;
    font-size: clamp(2.8rem, 7.4vw, 5.6rem);
    line-height: 1.06;
    letter-spacing: -.005em;
    color: var(--am-base, #E1DFDB);
    margin: 0 0 1.4rem;
}
/* Brilho que atravessa a palavra em itálico de tempos a tempos. */
.noivos-showcase .nv-hero__title em {
    font-style: italic;
    color: var(--am-photo-gold, #C9A96E);
    background: linear-gradient(100deg,
        var(--am-photo-gold, #C9A96E) 0%,
        #f3e2c0 42%,
        var(--am-photo-gold, #C9A96E) 60%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: nv-shimmer 9s ease-in-out 1.6s infinite;
}
@keyframes nv-shimmer {
    0%, 62%, 100% { background-position: 130% 0; }
    82%           { background-position: -30% 0; }
}

.noivos-showcase .nv-hero__lead {
    font-family: var(--am-font-body, sans-serif);
    font-weight: 300;
    font-size: clamp(1.02rem, 1.8vw, 1.2rem);
    line-height: 1.8;
    color: var(--am-text-muted, #958D86);
    max-width: 40rem;
    margin: 0 auto 2.2rem;
}

/* Entrada em cascata do bloco do hero (um disparo, ao carregar). */
.noivos-showcase .nv-hero__eyebrow,
.noivos-showcase .nv-hero__title,
.noivos-showcase .nv-hero__lead,
.noivos-showcase .nv-hero__cta,
.noivos-showcase .nv-hero__scroll {
    animation: nv-rise .95s cubic-bezier(.22, 1, .36, 1) both;
}
.noivos-showcase .nv-hero__eyebrow { animation-delay: .15s; }
.noivos-showcase .nv-hero__title   { animation-delay: .28s; }
.noivos-showcase .nv-hero__lead    { animation-delay: .42s; }
.noivos-showcase .nv-hero__cta     { animation-delay: .56s; }
.noivos-showcase .nv-hero__scroll  { animation-delay: .90s; }
@keyframes nv-rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}

/* ── Botões ───────────────────────────────────────────────────────────── */
.noivos-showcase .nv-hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .9rem;
}
.noivos-showcase .nv-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1.7rem;
    border-radius: var(--am-radius-pill, 999px);
    border: 1px solid var(--am-photo-gold-border, rgba(201,169,110,.45));
    color: var(--am-photo-gold, #C9A96E);
    font-family: var(--am-font-sub, sans-serif);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .35s ease, border-color .35s ease, transform .35s cubic-bezier(.22,1,.36,1);
}
/* Preenchimento que sobe de baixo no hover — num ::before, para a transição
   do fundo não competir com a do transform. */
.noivos-showcase .nv-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--am-photo-gold, #C9A96E);
    transform: translateY(101%);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.noivos-showcase .nv-btn:hover,
.noivos-showcase .nv-btn:focus-visible {
    color: var(--am-contrast, #1a1713);
    border-color: var(--am-photo-gold, #C9A96E);
    transform: translateY(-2px);
}
.noivos-showcase .nv-btn:hover::before,
.noivos-showcase .nv-btn:focus-visible::before { transform: translateY(0); }

.noivos-showcase .nv-btn--solid {
    background: var(--am-photo-gold, #C9A96E);
    color: var(--am-contrast, #1a1713);
    border-color: var(--am-photo-gold, #C9A96E);
}
.noivos-showcase .nv-btn--solid::before { background: #e0c48d; }
.noivos-showcase .nv-btn--ghost {
    color: var(--am-text, #cbbfb0);
    border-color: var(--am-border, rgba(203,191,176,.15));
}

.noivos-showcase .nv-hero__scroll {
    margin-top: clamp(2.5rem, 6vw, 4rem);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    font-family: var(--am-font-sub, sans-serif);
    font-size: .64rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--am-text-dim, #65574E);
    text-decoration: none;
}
.noivos-showcase .nv-hero__scroll i { animation: nv-bob 2.4s ease-in-out infinite; }
@keyframes nv-bob {
    0%, 100% { transform: translateY(0);   opacity: .5; }
    50%      { transform: translateY(6px); opacity: 1;  }
}

/* ════════════════════════════════════════════════════════════════════════
   SERVIÇOS — três cartões autónomos
   ════════════════════════════════════════════════════════════════════════ */
.noivos-showcase .nv-services {
    padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.noivos-showcase .nv-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: clamp(1.8rem, 3vw, 2.4rem);
    border: 1px solid var(--am-border, rgba(203,191,176,.15));
    border-radius: var(--am-radius-lg, 12px);
    background: var(--am-bg-card, #1c2320);
    overflow: hidden;
    isolation: isolate;
    transition:
        transform    .5s cubic-bezier(.22, 1, .36, 1),
        border-color .5s ease,
        box-shadow   .5s ease;
}
/* Foco que segue o ponteiro. noivos.js escreve --mx/--my em percentagem;
   sem JS o gradiente fica centrado e invisível (opacity 0). */
.noivos-showcase .nv-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
        rgba(201, 169, 110, .13), transparent 62%);
    opacity: 0;
    transition: opacity .5s ease;
}
/* Fio dourado no topo, que se abre da esquerda para a direita. */
.noivos-showcase .nv-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent, var(--am-photo-gold, #C9A96E), transparent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.noivos-showcase .nv-card:hover,
.noivos-showcase .nv-card:focus-within {
    transform: translateY(-6px);
    border-color: var(--am-photo-gold-border, rgba(201,169,110,.45));
    box-shadow: var(--am-shadow-lg, 0 12px 48px rgba(0,0,0,.55));
}
.noivos-showcase .nv-card:hover::before,
.noivos-showcase .nv-card:focus-within::before { opacity: 1; }
.noivos-showcase .nv-card:hover::after,
.noivos-showcase .nv-card:focus-within::after  { transform: scaleX(1); }

.noivos-showcase .nv-card__icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.3rem;
    border-radius: 50%;
    border: 1px solid var(--am-photo-gold-border, rgba(201,169,110,.45));
    background: var(--am-photo-gold-dim, rgba(201,169,110,.18));
    color: var(--am-photo-gold, #C9A96E);
    font-size: 1.25rem;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.noivos-showcase .nv-card:hover .nv-card__icon { transform: rotate(-8deg) scale(1.08); }

.noivos-showcase .nv-card__kicker {
    font-family: var(--am-font-sub, sans-serif);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .64rem;
    color: var(--am-text-dim, #65574E);
    margin-bottom: .5rem;
}
/* O base.css põe todos os h3 em maiúsculas com espaçamento largo — regra do
   backoffice. Aqui os títulos são Cormorant em caixa mista, como os das
   secções, senão o serif fica pesado e a página perde a linha elegante. */
.noivos-showcase .nv-card__title {
    font-family: var(--am-font-heading, serif);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.4vw, 1.85rem);
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    color: var(--am-base, #E1DFDB);
    margin: 0 0 .8rem;
}
.noivos-showcase .nv-card__desc {
    font-family: var(--am-font-body, sans-serif);
    font-weight: 300;
    font-size: .95rem;
    line-height: 1.75;
    color: var(--am-text-muted, #958D86);
    margin: 0 0 1.4rem;
}
.noivos-showcase .nv-card__list {
    list-style: none;
    margin: 0 0 1.8rem;
    padding: 0;
    display: grid;
    gap: .6rem;
}
.noivos-showcase .nv-card__list li {
    position: relative;
    padding-left: 1.6rem;
    font-family: var(--am-font-body, sans-serif);
    font-weight: 300;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--am-text, #cbbfb0);
}
.noivos-showcase .nv-card__list li::before {
    content: "\F26E";                      /* bi-check-lg */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: .05em;
    font-size: .82rem;
    color: var(--am-photo-gold, #C9A96E);
}

/* Preço — empurrado para o fundo do cartão para os três alinharem. */
.noivos-showcase .nv-card__price {
    margin-top: auto;
    padding-top: 1.3rem;
    border-top: 1px solid var(--am-border-soft, rgba(203,191,176,.08));
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .5rem;
}
.noivos-showcase .nv-price {
    font-family: var(--am-font-heading, serif);
    font-weight: 600;
    font-size: clamp(2.2rem, 4vw, 2.9rem);
    line-height: 1;
    color: var(--am-photo-gold, #C9A96E);
}
.noivos-showcase .nv-price sup {
    font-family: var(--am-font-body, sans-serif);
    font-size: .32em;
    top: -1.05em;
    margin-left: .12em;
    color: var(--am-text-dim, #65574E);
}
.noivos-showcase .nv-card__price-note {
    font-family: var(--am-font-sub, sans-serif);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--am-text-dim, #65574E);
}

/* Nota do asterisco — discreta, por baixo dos cartões. */
.noivos-showcase .nv-vat {
    margin-top: 1.8rem;
    font-family: var(--am-font-body, sans-serif);
    font-weight: 300;
    font-size: .78rem;
    line-height: 1.6;
    color: var(--am-text-dim, #65574E);
}
.noivos-showcase .nv-vat sup { color: var(--am-photo-gold, #C9A96E); }

/* ════════════════════════════════════════════════════════════════════════
   CASAMENTOS — portefólio (subtipo wedding-invites)
   ════════════════════════════════════════════════════════════════════════ */
.noivos-showcase .nv-work { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 7rem); }

.noivos-showcase .nv-work-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

/* Moldura de telemóvel. A altura do ecrã vive numa variável porque o
   deslizamento da captura depende dela: o transform tem de parar exatamente
   no fundo da imagem, seja ela alta ou baixa. */
.noivos-showcase .nv-phone {
    --nv-screen-h: clamp(300px, 46vw, 390px);
    position: relative;
    width: calc(var(--nv-screen-h) * 0.49);
    padding: .55rem .4rem;
    border-radius: 1.6rem;
    background: linear-gradient(160deg, #2b312d, #171c19);
    border: 1px solid var(--am-border, rgba(203,191,176,.15));
    box-shadow: var(--am-shadow, 0 6px 24px rgba(0,0,0,.45));
    transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s ease, border-color .5s ease;
}
.noivos-showcase .nv-work-card:hover .nv-phone,
.noivos-showcase .nv-work-card:focus-within .nv-phone {
    transform: translateY(-6px);
    border-color: var(--am-photo-gold-border, rgba(201,169,110,.45));
    box-shadow: var(--am-shadow-lg, 0 12px 48px rgba(0,0,0,.55));
}
.noivos-showcase .nv-phone__notch {
    position: absolute;
    top: .95rem;
    left: 50%;
    transform: translateX(-50%);
    width: 28%;
    height: 4px;
    border-radius: 4px;
    background: rgba(0,0,0,.55);
    z-index: 2;
}
.noivos-showcase .nv-phone__screen {
    position: relative;
    height: var(--nv-screen-h);
    overflow: hidden;
    border-radius: 1.1rem;
    background: var(--am-bg, #161c18);
}
/* A captura é a página inteira do convite, muito mais alta do que o ecrã.
   Ao passar o rato desliza até ao fundo — `-100%` da própria altura mais a
   altura do ecrã para a última dobra ficar mesmo a fechar o movimento. */
.noivos-showcase .nv-phone__shot {
    display: block;
    width: 100%;
    height: auto;
    min-height: var(--nv-screen-h);
    transition: transform 1s ease;
}
.noivos-showcase .nv-work-card:hover .nv-phone__shot,
.noivos-showcase .nv-work-card:focus-within .nv-phone__shot {
    transform: translateY(calc(-100% + var(--nv-screen-h)));
    transition: transform 7s linear;
}
.noivos-showcase .nv-phone__hint {
    position: absolute;
    right: .45rem;
    bottom: .45rem;
    width: 1.5rem;
    height: 1.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--am-bg, #161c18) 78%, transparent);
    border: 1px solid var(--am-photo-gold-border, rgba(201,169,110,.45));
    color: var(--am-photo-gold, #C9A96E);
    font-size: 1rem;
    opacity: .85;
    animation: nv-bob 2.4s ease-in-out infinite;
    transition: opacity .4s ease;
}
.noivos-showcase .nv-work-card:hover .nv-phone__hint { opacity: 0; }
.noivos-showcase .nv-phone__empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--am-text-dim, #65574E);
    font-size: 1.6rem;
}
.noivos-showcase .nv-phone__bar {
    display: block;
    width: 34%;
    height: 3px;
    margin: .5rem auto .1rem;
    border-radius: 3px;
    background: rgba(203,191,176,.25);
}

.noivos-showcase .nv-work-card__title {
    font-family: var(--am-font-heading, serif);
    font-weight: 400;
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
    color: var(--am-base, #E1DFDB);
    margin: 1.4rem 0 .2rem;
}
.noivos-showcase .nv-work-card__year {
    font-family: var(--am-font-sub, sans-serif);
    font-size: .66rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--am-text-dim, #65574E);
    margin: 0;
}
.noivos-showcase .nv-work-card__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .7rem;
    padding-bottom: .15rem;
    border-bottom: 1px solid transparent;
    font-family: var(--am-font-sub, sans-serif);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--am-photo-gold, #C9A96E);
    text-decoration: none;
    transition: border-color .35s ease, gap .35s ease;
}
.noivos-showcase .nv-work-card__link:hover,
.noivos-showcase .nv-work-card__link:focus-visible {
    border-bottom-color: var(--am-photo-gold, #C9A96E);
    gap: .6rem;
}

/* ════════════════════════════════════════════════════════════════════════
   PERCURSO — linha do tempo do projeto
   ════════════════════════════════════════════════════════════════════════ */
.noivos-showcase .nv-path { padding: clamp(4rem, 9vw, 7rem) 0; }

.noivos-showcase .nv-path__track {
    position: relative;
    margin-top: clamp(2.5rem, 6vw, 4rem);
    padding-left: 3.25rem;               /* espaço para o carril em mobile */
}
/* Carril: um traço estático e, por cima, o mesmo traço em dourado escalado
   verticalmente por --nv-progress (0→1), escrito pelo noivos.js no scroll. */
.noivos-showcase .nv-path__rail {
    position: absolute;
    top: .5rem;
    bottom: .5rem;
    left: 1rem;
    width: 2px;
    background: var(--am-border, rgba(203,191,176,.15));
    border-radius: 2px;
}
.noivos-showcase .nv-path__rail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        var(--am-photo-gold, #C9A96E),
        color-mix(in srgb, var(--am-photo-gold, #C9A96E) 45%, transparent));
    transform: scaleY(var(--nv-progress, 0));
    transform-origin: top center;
    transition: transform .25s linear;
    box-shadow: 0 0 12px rgba(201, 169, 110, .55);
}

.noivos-showcase .nv-step {
    position: relative;
    padding: 0 0 clamp(2rem, 4vw, 3rem);
}
.noivos-showcase .nv-step:last-child { padding-bottom: 0; }

/* Marcador. O anel externo só pulsa no passo já alcançado. */
.noivos-showcase .nv-step__dot {
    position: absolute;
    left: -2.75rem;
    top: .15rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    border: 1px solid var(--am-border, rgba(203,191,176,.15));
    background: var(--am-bg, #161c18);
    display: grid;
    place-items: center;
    transition: border-color .5s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.noivos-showcase .nv-step__dot::before {
    content: "";
    width: .38rem;
    height: .38rem;
    border-radius: 50%;
    background: var(--am-text-dim, #65574E);
    transition: background-color .5s ease, transform .5s ease;
}
.noivos-showcase .nv-step.is-reached .nv-step__dot {
    border-color: var(--am-photo-gold, #C9A96E);
    transform: scale(1.15);
}
.noivos-showcase .nv-step.is-reached .nv-step__dot::before {
    background: var(--am-photo-gold, #C9A96E);
    transform: scale(1.25);
}
.noivos-showcase .nv-step.is-reached .nv-step__dot::after {
    content: "";
    position: absolute;
    inset: -.28rem;
    border-radius: 50%;
    border: 1px solid var(--am-photo-gold, #C9A96E);
    animation: nv-halo 2.4s ease-out infinite;
}
@keyframes nv-halo {
    0%   { opacity: .7; transform: scale(.85); }
    70%  { opacity: 0;  transform: scale(1.5); }
    100% { opacity: 0;  transform: scale(1.5); }
}

.noivos-showcase .nv-step__card {
    border: 1px solid var(--am-border-soft, rgba(203,191,176,.08));
    border-radius: var(--am-radius, 8px);
    background: color-mix(in srgb, var(--am-bg-card, #1c2320) 60%, transparent);
    padding: clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.2rem, 2.4vw, 1.7rem);
    transition: border-color .5s ease, background-color .5s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.noivos-showcase .nv-step.is-reached .nv-step__card {
    border-color: var(--am-border, rgba(203,191,176,.15));
    background: var(--am-bg-card, #1c2320);
}
.noivos-showcase .nv-step__card:hover { transform: translateX(4px); }

.noivos-showcase .nv-step__index {
    font-family: var(--am-font-sub, sans-serif);
    font-size: .64rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--am-text-dim, #65574E);
    transition: color .5s ease;
}
.noivos-showcase .nv-step.is-reached .nv-step__index { color: var(--am-photo-gold, #C9A96E); }
.noivos-showcase .nv-step__title {
    font-family: var(--am-font-heading, serif);
    font-weight: 400;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
    color: var(--am-base, #E1DFDB);
    margin: .3rem 0 .5rem;
}
.noivos-showcase .nv-step__desc {
    font-family: var(--am-font-body, sans-serif);
    font-weight: 300;
    font-size: .92rem;
    line-height: 1.75;
    color: var(--am-text-muted, #958D86);
    margin: 0;
}
/* Etiqueta de passo repetido (as duas atualizações). */
.noivos-showcase .nv-step__tag {
    display: inline-block;
    margin-left: .6rem;
    padding: .12rem .55rem;
    border: 1px solid var(--am-border, rgba(203,191,176,.15));
    border-radius: var(--am-radius-pill, 999px);
    font-family: var(--am-font-sub, sans-serif);
    font-size: .58rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--am-text-dim, #65574E);
    vertical-align: middle;
}

/* Alternância esquerda/direita a partir de lg — o carril passa ao centro.
   O lado é a classe .is-left/.is-right que o PHP escreve, e não :nth-child:
   o carril é o primeiro filho do track e falseava a contagem. */
@media (min-width: 992px) {
    .noivos-showcase .nv-path__track { padding-left: 0; }
    .noivos-showcase .nv-path__rail  { left: calc(50% - 1px); }
    .noivos-showcase .nv-step {
        width: 50%;
        padding-right: 3rem;
    }
    .noivos-showcase .nv-step.is-left .nv-step__dot  { left: auto; right: -.55rem; }
    .noivos-showcase .nv-step.is-left .nv-step__card { text-align: right; }
    .noivos-showcase .nv-step.is-left .nv-step__card:hover { transform: translateX(-4px); }
    .noivos-showcase .nv-step.is-left .nv-step__tag  { margin-left: 0; margin-right: .6rem; }
    .noivos-showcase .nv-step.is-right {
        margin-left: 50%;
        padding-right: 0;
        padding-left: 3rem;
    }
    .noivos-showcase .nv-step.is-right .nv-step__dot { left: -.55rem; right: auto; }
}

/* ── Nota das revisões ────────────────────────────────────────────────── */
.noivos-showcase .nv-note {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    max-width: 52rem;
    margin: clamp(2.5rem, 6vw, 4rem) auto 0;
    padding: clamp(1.3rem, 2.6vw, 1.8rem);
    border: 1px solid var(--am-photo-gold-border, rgba(201,169,110,.45));
    border-radius: var(--am-radius-lg, 12px);
    background: var(--am-photo-gold-dim, rgba(201,169,110,.18));
}
.noivos-showcase .nv-note i {
    flex: none;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--am-photo-gold, #C9A96E);
}
.noivos-showcase .nv-note h3 {
    font-family: var(--am-font-sub, sans-serif);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--am-base, #E1DFDB);
    margin: 0 0 .5rem;
}
.noivos-showcase .nv-note p {
    font-family: var(--am-font-body, sans-serif);
    font-weight: 300;
    font-size: .92rem;
    line-height: 1.75;
    color: var(--am-text, #cbbfb0);
    margin: 0;
}
.noivos-showcase .nv-note p + p { margin-top: .6rem; }

/* ════════════════════════════════════════════════════════════════════════
   REMATE
   Uma linha só, sem título: a secção de contacto que vem a seguir já traz o
   seu próprio "Vamos conversar" e dois cabeçalhos seguidos matavam-se um ao
   outro. Aqui fica apenas o brilho dourado e a frase de fecho.
   ════════════════════════════════════════════════════════════════════════ */
.noivos-showcase .nv-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(4rem, 9vw, 6.5rem) 0;
    text-align: center;
    border-top: 1px solid var(--am-border-soft, rgba(203,191,176,.08));
}
.noivos-showcase .nv-cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: -60%;
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
        rgba(201, 169, 110, .16) 0%, rgba(201, 169, 110, 0) 65%);
    filter: blur(60px);
    pointer-events: none;
}
.noivos-showcase .nv-outro__line {
    font-family: var(--am-font-heading, serif);
    font-weight: 300;
    font-size: clamp(1.5rem, 3.4vw, 2.4rem);
    line-height: 1.35;
    color: var(--am-text, #cbbfb0);
    margin: 0;
}
.noivos-showcase .nv-outro__line em {
    font-style: italic;
    color: var(--am-photo-gold, #C9A96E);
}

/* ── Responsivo ───────────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
    .noivos-showcase .nv-hero { min-height: auto; }
    .noivos-showcase .nv-btn  { padding: .78rem 1.35rem; font-size: .76rem; }
    .noivos-showcase .nv-label::before,
    .noivos-showcase .nv-label::after { width: 1.2rem; }
}

/* ════════════════════════════════════════════════════════════════════════
   MOVIMENTO REDUZIDO — corta o que é contínuo, mantém tudo legível
   ════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    /* Só o movimento em ciclo: deriva dos halos, pulsares, brilho, seta. */
    .noivos-showcase .nv-hero__glow,
    .noivos-showcase .nv-hero__glow::before,
    .noivos-showcase .nv-hero__glow::after,
    .noivos-showcase .nv-hero__eyebrow .dot,
    .noivos-showcase .nv-hero__scroll i,
    .noivos-showcase .nv-step.is-reached .nv-step__dot::after {
        animation: none !important;
    }
    /* O brilho a girar é movimento contínuo puro — desaparece por completo,
       em vez de ficar congelado num arco solto a meio do aro. */
    .noivos-showcase .nv-rings__glow { display: none !important; }
    /* A captura deixa de deslizar: fica-se pelo topo da página do convite. */
    .noivos-showcase .nv-work-card:hover .nv-phone__shot,
    .noivos-showcase .nv-work-card:focus-within .nv-phone__shot {
        transform: none !important;
    }
    .noivos-showcase .nv-phone__hint { display: none !important; }
    /* O halo do hero fica parado, mas centrado (a deriva incluía o -50%). */
    .noivos-showcase .nv-hero__glow::before { transform: translateX(-50%); }
    /* O brilho do título deixa de correr — devolve-se a cor sólida. */
    .noivos-showcase .nv-hero__title em {
        animation: none !important;
        background: none;
        -webkit-text-fill-color: var(--am-photo-gold, #C9A96E);
    }
    /* As alianças ficam desenhadas, sem o traço a correr. */
    .noivos-showcase .nv-rings__ring {
        animation: none !important;
        stroke-dashoffset: 0;
    }
    /* Entrada do hero: mantém-se, mas sem curva de overshoot. */
    .noivos-showcase .nv-hero__eyebrow,
    .noivos-showcase .nv-hero__title,
    .noivos-showcase .nv-hero__lead,
    .noivos-showcase .nv-hero__cta,
    .noivos-showcase .nv-hero__scroll {
        animation-timing-function: ease-out !important;
    }
    /* Reveal continua (é um disparo único por elemento), mas mais suave. */
    .noivos-showcase [data-reveal].is-visible {
        animation-name: nv-reveal-soft !important;
        animation-timing-function: ease-out !important;
    }
    /* O carril salta para a posição em vez de deslizar. */
    .noivos-showcase .nv-path__rail::after { transition: none !important; }
}
