:root {
    --black: #fff8f5;
    --black2: #f9eeec;
    --black3: #f1e0e1;

    --gold: #b76e79;
    --gold-light: #d69aa3;

    --white: #4c2c35;
    --gray: #765a60;
    --gray-dark: #96777d;

    --line: rgba(183,110,121,.25);
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);

    font-family: Georgia, "Times New Roman", serif;

    line-height: 1.7;

    overflow-x: hidden;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

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


/* =========================================================
   ABERTURA
========================================================= */

#abertura {
    position: fixed;

    inset: 0;

    z-index: 10000;

    display: flex;

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

    background:
        radial-gradient(
            circle at center,
            rgba(200,166,107,.08),
            transparent 45%
        ),
        var(--black);

    text-align: center;

    overflow: hidden;
}

#abertura::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.015) 1px,
            transparent 1px
        );

    background-size: 100% 4px;

    pointer-events: none;
}

.abertura-conteudo {
    position: relative;

    z-index: 2;

    width: min(90%, 650px);

    padding: 30px;
}

.abertura-linha {
    width: 45px;
    height: 1px;

    margin: 0 auto 25px;

    background: var(--gold);

    opacity: .7;
}

.abertura-overline {
    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 10px;

    letter-spacing: 5px;

    text-transform: uppercase;

    margin-bottom: 25px;
}

.abertura-conteudo h1 {
    font-size: clamp(42px, 10vw, 86px);

    font-weight: 400;

    line-height: .95;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.abertura-conteudo h1 span {
    color: var(--gold-light);
}

.abertura-nomes {
    color: var(--white);

    font-size: 15px;

    letter-spacing: 4px;
}

.abertura-data {
    margin-top: 8px;

    color: var(--gray) !important;

    font-size: 10px !important;

    letter-spacing: 3px !important;
}


/* =========================================================
   INDICADOR DA ABERTURA
========================================================= */

.abertura-indicador {

    position: absolute;

    left: 50%;
    bottom: 32px;

    transform: translateX(-50%);

    z-index: 5;

    width: 160px;

    display: flex;

    flex-direction: column;

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

    gap: 10px;

    color: var(--gray);

    font-family: Arial, sans-serif;

    font-size: 8px;

    letter-spacing: 3px;

    line-height: 1.3;

    text-transform: uppercase;

    white-space: nowrap;
}

.abertura-indicador span {
    display: block;

    width: 100%;

    text-align: center;
}

.abertura-indicador i {
    display: block;

    width: 1px;
    height: 28px;

    background: linear-gradient(
        to bottom,
        transparent,
        var(--gold),
        transparent
    );

    position: relative;

    font-style: normal;
}

.abertura-indicador i::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 5px;
    height: 5px;

    border-right: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);

    transform: translateX(-50%) rotate(45deg);
}


/* =========================================================
   BOTÃO INICIAL
========================================================= */

.btn-iniciar {
    position: relative;

    margin-top: 45px;

    padding: 16px 26px;

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

    background: transparent;

    color: var(--gold-light);

    font-size: 11px;

    letter-spacing: 3px;

    text-transform: uppercase;

    transition: .35s ease;

    overflow: hidden;
}

.btn-iniciar::before {
    content: "";

    position: absolute;

    inset: 0;

    background: var(--gold);

    transform: translateX(-101%);

    transition: .35s ease;

    z-index: -1;
}

.btn-iniciar:hover {
    color: var(--black);
}

.btn-iniciar:hover::before {
    transform: translateX(0);
}

.btn-iniciar i {
    margin-left: 15px;

    font-style: normal;
}


/* =========================================================
   TRANSIÇÃO
========================================================= */

#transicao {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

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

    background: var(--black);

    opacity: 0;

    transition: opacity 1s ease;

    overflow: hidden;
}

#transicao.ativo {
    opacity: 1;
}

.transicao-fundo {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(200,166,107,.09),
            transparent 40%
        );
}

.transicao-vinheta {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            ellipse at center,
            transparent 25%,
            rgba(0,0,0,.9) 100%
        );

    pointer-events: none;
}

.transicao-conteudo {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    width: min(90%, 700px);
}

.transicao-conteudo > p {
    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 5px;

    text-transform: uppercase;

    margin-bottom: 22px;

    animation: transicaoEntrada .9s ease both;
}

.transicao-ponto {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 0 6px rgba(200,166,107,.08),
        0 0 25px rgba(200,166,107,.35);

    margin-bottom: 28px;

    animation:
        pontoEntrada .8s ease .15s both,
        pontoPulso 2s ease-in-out 1s infinite;
}

.transicao-conteudo h2 {
    margin: 0;

    color: var(--white);

    font-size: clamp(40px, 9vw, 90px);

    font-weight: 400;

    line-height: .95;

    letter-spacing: 3px;

    text-align: center;

    animation: transicaoTitulo 1.1s ease .2s both;
}

.transicao-conteudo > span {
    display: block;

    margin-top: 28px;

    color: var(--gold-light);

    font-family: Arial, sans-serif;

    font-size: 10px;

    letter-spacing: 6px;

    animation: transicaoHora 1s ease .5s both;
}

@keyframes transicaoEntrada {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pontoEntrada {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pontoPulso {
    0%,
    100% {
        box-shadow:
            0 0 0 6px rgba(200,166,107,.08),
            0 0 20px rgba(200,166,107,.25);
    }

    50% {
        box-shadow:
            0 0 0 10px rgba(200,166,107,.04),
            0 0 35px rgba(200,166,107,.4);
    }
}

@keyframes transicaoTitulo {
    from {
        opacity: 0;
        transform: translateY(25px);
        letter-spacing: 12px;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 3px;
    }
}

@keyframes transicaoHora {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   HISTÓRIA
========================================================= */

#historia {
    display: none;

    width: 100%;

    min-height: 100vh;
}


/* =========================================================
   MENU
========================================================= */

.menu {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    display: flex;

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

    padding: 18px 25px;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.9),
            transparent
        );
}

.menu-marca {
    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--gold-light);

    font-size: 16px;

    letter-spacing: 2px;
}

.menu-marca b {
    color: var(--gold);

    font-size: 11px;

    font-weight: 400;
}

.menu-acoes {
    display: flex;

    align-items: center;
}

.menu button {
    width: 42px;
    height: 42px;

    margin-left: 8px;

    border: 1px solid rgba(200,166,107,.45);

    border-radius: 50%;

    background: rgba(0,0,0,.45);

    color: var(--gold-light);

    font-size: 15px;

    transition: .3s ease;
}

.menu button:hover {
    background: var(--gold);

    color: var(--black);

    transform: translateY(-2px);
}


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

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;

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

    overflow: hidden;
}

.hero-imagem {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(200,166,107,.08),
            transparent 50%
        ),
        var(--black);
}

.hero img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .48;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.25),
            rgba(0,0,0,.82)
        );

    z-index: 1;
}

.hero-granulado {
    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    opacity: .12;

    background-image:
        radial-gradient(
            rgba(255,255,255,.5) .5px,
            transparent .5px
        );

    background-size: 5px 5px;
}

.hero-conteudo {
    position: relative;

    z-index: 3;

    text-align: center;

    padding: 30px;

    max-width: 900px;
}

.hero-overline {
    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 10px;

    letter-spacing: 5px;

    text-transform: uppercase;

    margin-bottom: 22px;
}

.hero-conteudo h1 {
    font-size: clamp(48px, 12vw, 110px);

    font-weight: 400;

    line-height: .95;

    letter-spacing: 4px;
}

.hero-conteudo h1 span {
    color: var(--gold-light);
}

.hero-separador {
    width: 55px;
    height: 1px;

    margin: 28px auto;

    background: var(--gold);
}

.hero-frase {
    color: var(--gray);

    font-size: 12px;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* =========================================================
   INDICADOR DA CAPA
========================================================= */

.hero-baixo {
    position: absolute;

    left: 50%;
    bottom: 28px;

    transform: translateX(-50%);

    z-index: 5;

    width: 210px;

    display: flex;

    flex-direction: column;

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

    gap: 8px;

    text-align: center;

    color: var(--gray);

    font-family: Arial, sans-serif;

    font-size: 8px;

    letter-spacing: 3px;

    line-height: 1.4;

    text-transform: uppercase;

    white-space: nowrap;
}

.hero-baixo span {
    display: block;

    width: 100%;

    text-align: center;
}

.hero-baixo i {
    display: block;

    color: var(--gold);

    font-size: 18px;

    line-height: 1;

    font-style: normal;

    animation: setaBaixo 1.8s ease-in-out infinite;
}

@keyframes setaBaixo {
    0%,
    100% {
        transform: translateY(0);

        opacity: .65;
    }

    50% {
        transform: translateY(6px);

        opacity: 1;
    }
}


/* =========================================================
   SEÇÕES
========================================================= */

.secao {
    width: min(1100px, 90%);

    margin: auto;

    padding: 120px 0;
}

.eyebrow {
    display: block;

    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 4px;

    text-transform: uppercase;
}

.secao-titulo {
    margin-bottom: 65px;
}

.secao-titulo span {
    display: block;

    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 10px;

    letter-spacing: 4px;

    text-transform: uppercase;

    margin-bottom: 15px;
}

.secao-titulo h2 {
    font-size: clamp(32px, 6vw, 58px);

    font-weight: 400;

    line-height: 1.1;
}

.secao-titulo p {
    max-width: 600px;

    margin-top: 20px;

    color: var(--gray);

    font-size: 15px;
}


/* =========================================================
   INTRODUÇÃO
========================================================= */

.introducao {
    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 45px;
}

.numero-secao {
    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 10px;

    letter-spacing: 3px;

    padding-top: 10px;
}

.introducao-texto h2 {
    margin-top: 15px;

    font-size: clamp(38px, 7vw, 70px);

    font-weight: 400;

    line-height: 1;
}

.introducao-texto h2 em {
    color: var(--gold-light);

    font-style: italic;
}

.texto-suave {
    max-width: 650px;

    margin-top: 30px;

    color: var(--gray);

    font-size: 17px;

    line-height: 1.9;
}


/* =========================================================
   CABEÇALHOS DAS GALERIAS
========================================================= */

.secao-cabecalho {
    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    margin-bottom: 60px;
}

.secao-cabecalho h2 {
    margin-top: 12px;

    font-size: clamp(34px, 6vw, 58px);

    font-weight: 400;

    line-height: 1.05;
}

.contador-cards {
    color: var(--gray-dark);

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 3px;

    white-space: nowrap;
}


/* =========================================================
   GALERIA
========================================================= */

.galeria,
.galeria-editorial {
    display: flex;

    flex-direction: column;

    gap: 70px;
}

.historia-card {
    position: relative;

    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 350px;

    border-top: 1px solid var(--line);

    padding-top: 35px;
}

.historia-card:nth-child(even) {
    direction: rtl;
}

.historia-card:nth-child(even) > * {
    direction: ltr;
}

.card-imagem {
    min-height: 350px;

    overflow: hidden;

    background: var(--black2);
}

.card-imagem img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .7s ease;
}

.historia-card:hover .card-imagem img {
    transform: scale(1.04);
}

.card-conteudo {
    padding: 35px 45px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.card-numero {
    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 10px;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.card-subtitulo {
    color: var(--gold-light);

    font-size: 11px;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 12px;
}

.card-conteudo h3 {
    font-size: 30px;

    font-weight: 400;

    line-height: 1.2;

    margin-bottom: 18px;
}

.card-descricao {
    color: var(--gray);

    font-size: 15px;

    line-height: 1.8;
}

.card-frase {
    margin-top: 25px;

    color: var(--gold-light);

    font-size: 14px;

    font-style: italic;
}

.historia-card .btn-ver-foto {
    align-self: flex-start;

    margin-top: 25px;
}


/* =========================================================
   SEM FOTO
========================================================= */

.card-sem-foto {
    min-height: 200px;

    display: flex;

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

    padding: 25px;

    color: var(--gray-dark);

    border: 1px dashed rgba(200,166,107,.15);

    font-family: Arial, sans-serif;

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;

    text-align: center;
}


/* =========================================================
   BOTÃO VER FOTO
========================================================= */

.btn-ver-foto {
    position: relative;

    padding: 11px 18px;

    border: 1px solid rgba(200,166,107,.55);

    background: rgba(0,0,0,.25);

    color: var(--gold-light);

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 2px;

    text-transform: uppercase;

    overflow: hidden;

    transition: .35s ease;
}

.btn-ver-foto::before {
    content: "◉";

    margin-right: 9px;

    color: var(--gold);
}

.btn-ver-foto::after {
    content: "";

    position: absolute;

    inset: 0;

    background: var(--gold);

    transform: translateX(-105%);

    transition: .35s ease;

    z-index: -1;
}

.btn-ver-foto:hover {
    color: var(--black);

    border-color: var(--gold);
}

.btn-ver-foto:hover::before {
    color: var(--black);
}

.btn-ver-foto:hover::after {
    transform: translateX(0);
}


/* =========================================================
   MOMENTO CENTRAL
========================================================= */

.momento-central {
    min-height: 80vh;

    display: flex;

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

    text-align: center;

    padding: 100px 20px;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.momento-conteudo {
    position: relative;

    z-index: 2;
}

.momento-overline {
    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 10px;

    letter-spacing: 5px;

    margin-bottom: 18px;
}

.momento-hora {
    color: var(--gold-light);

    font-size: clamp(50px, 10vw, 100px);

    line-height: 1;

    letter-spacing: 5px;
}

.momento-linha {
    width: 50px;
    height: 1px;

    margin: 30px auto;

    background: var(--gold);
}

.momento-central h2 {
    font-size: clamp(40px, 9vw, 85px);

    font-weight: 400;

    line-height: 1;
}

.momento-central p {
    margin-top: 25px;

    color: var(--gray);
}


/* =========================================================
   CONTADOR — VERTICAL SEM SOBREPOSIÇÃO
========================================================= */

.contador-secao {
    text-align: center;
}

.contador-intro h2 {
    margin-top: 15px;

    font-size: clamp(35px, 7vw, 60px);

    font-weight: 400;

    line-height: 1.1;
}

.contador-intro p {
    margin-top: 15px;

    color: var(--gray);
}


/*
   A estrutura é deliberadamente vertical.

   Cada .contador-item possui:
   - número
   - palavra

   em posições separadas.

   Assim "00" e "Segundos" nunca podem ocupar
   o mesmo espaço.
*/

.contador {
    position: relative;

    width: min(100%, 260px);

    margin: 55px auto;

    padding: 5px 0;
}


/* Linha vertical */

.contador::before {
    content: "";

    position: absolute;

    left: 18px;

    top: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            var(--gold) 8%,
            var(--gold) 92%,
            transparent
        );

    opacity: .55;
}


/* Cada unidade */

.contador-item {
    position: relative;

    min-height: 92px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    padding-left: 55px;

    text-align: left;
}


/* Ponto */

.contador-item::before {
    content: "";

    position: absolute;

    left: 14px;

    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 0 5px rgba(200,166,107,.08),
        0 0 15px rgba(200,166,107,.25);
}


/* Número */

.contador-item strong {
    display: block;

    color: var(--white);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 34px;

    font-weight: 400;

    line-height: 1;

    letter-spacing: 2px;

    white-space: nowrap;

    margin-bottom: 8px;
}


/* Palavra */

.contador-item span {
    display: block;

    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 3px;

    line-height: 1.2;

    text-transform: uppercase;

    white-space: normal;

    overflow-wrap: normal;

    word-break: normal;
}


/* Retira completamente qualquer linha
   que pudesse ficar ao lado da palavra */

.contador-item span::after {
    display: none !important;

    content: none;
}


/* Separadores */

.contador-separador {
    width: 30px;

    height: 1px;

    margin-left: 55px;

    background: rgba(200,166,107,.16);
}


/* Hover */

.contador-item:hover strong {
    color: var(--gold-light);

    transform: translateX(4px);

    transition: .3s ease;
}

.contador-item:hover span {
    color: var(--gold-light);

    transition: .3s ease;
}


/* Frase */

.contador-frase {
    color: var(--gray-dark);

    font-size: 13px;

    font-style: italic;
}


/* =========================================================
   TEXTO PROFUNDO
========================================================= */

.texto-profundo {
    max-width: 800px;

    margin: auto;

    padding: 120px 20px;
}

.texto-profundo h2 {
    margin-top: 15px;

    font-size: clamp(38px, 7vw, 70px);

    font-weight: 400;

    line-height: 1.05;
}

.texto-profundo p {
    margin-top: 30px;

    color: var(--gray);

    font-size: clamp(17px, 3vw, 22px);

    line-height: 1.9;
}

.texto-profundo p:first-of-type::first-letter {
    color: var(--gold);

    font-size: 60px;

    float: left;

    line-height: .8;

    padding-right: 8px;
}


/* =========================================================
   NOIVADO
========================================================= */

.noivado-secao {
    position: relative;

    min-height: 80vh;

    display: flex;

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

    text-align: center;

    padding: 120px 25px;

    background:
        radial-gradient(
            circle at center,
            rgba(200,166,107,.08),
            transparent 55%
        );

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    overflow: hidden;
}

.noivado-conteudo {
    position: relative;

    z-index: 2;

    max-width: 700px;
}

.noivado-conteudo h2 {
    margin-top: 15px;

    font-size: clamp(40px, 8vw, 75px);

    font-weight: 400;

    line-height: 1;
}

.noivado-conteudo h2 em {
    color: var(--gold-light);

    font-style: italic;
}

.noivado-conteudo p {
    max-width: 600px;

    margin: 30px auto 0;

    color: var(--gray);

    font-size: 16px;

    line-height: 1.8;
}

.noivado-linha {
    width: 50px;
    height: 1px;

    margin: 35px auto 0;

    background: var(--gold);
}


/* =========================================================
   CARTA
========================================================= */

.carta {
    max-width: 760px;

    margin: auto;

    padding: 100px 25px;
}

.carta-decoracao {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 45px;
}

.carta-decoracao span {
    width: 35px;
    height: 1px;

    background: var(--gold);

    opacity: .6;
}

.carta-decoracao i {
    color: var(--gold-light);

    font-size: 12px;

    font-style: normal;

    letter-spacing: 3px;
}

.carta-topo {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 35px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--line);
}

.carta-data {
    color: var(--gray-dark);

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 3px;
}

.carta p {
    margin-bottom: 25px;

    color: var(--gray);

    font-size: 17px;

    line-height: 2;
}

.carta-assinatura {
    margin-top: 50px;

    display: flex;

    flex-direction: column;

    color: var(--gold-light);

    font-size: 22px;

    font-style: italic;
}


/* =========================================================
   TIMELINE
========================================================= */

.timeline-titulo {
    text-align: center;
}

.timeline-titulo h2 {
    margin-top: 15px;

    font-size: clamp(38px, 7vw, 65px);

    font-weight: 400;
}

.timeline {
    position: relative;

    max-width: 800px;

    margin: auto;

    padding: 80px 0;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 50%;

    top: 0;
    bottom: 0;

    width: 1px;

    background: var(--line);

    transform: translateX(-50%);
}

.timeline-item {
    position: relative;

    width: 50%;

    padding: 25px 45px;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
}

.timeline-item::before {
    content: "";

    position: absolute;

    top: 34px;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 0 5px rgba(200,166,107,.08);
}

.timeline-item:nth-child(odd)::before {
    right: -4px;
}

.timeline-item:nth-child(even)::before {
    left: -4px;
}

.timeline-item span {
    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 3px;
}

.timeline-item h3 {
    margin-top: 8px;

    font-size: 22px;

    font-weight: 400;
}

.timeline-item p {
    margin-top: 8px;

    color: var(--gray);

    font-size: 14px;
}


/* =========================================================
   FINAL
========================================================= */

.final {
    min-height: 80vh;

    display: flex;

    flex-direction: column;

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

    text-align: center;

    padding: 100px 25px;

    border-top: 1px solid var(--line);
}

.final-conteudo {
    position: relative;

    z-index: 2;
}

.final h2 {
    font-size: clamp(42px, 10vw, 100px);

    font-weight: 400;

    line-height: .95;

    letter-spacing: 3px;
}

.final h2 small {
    color: var(--gold);

    font-size: .45em;

    vertical-align: middle;
}

.final-linha {
    width: 55px;
    height: 1px;

    margin: 30px auto;

    background: var(--gold);
}

.final p {
    color: var(--gray);

    font-style: italic;
}

.final-infinito {
    display: block;

    margin-top: 25px;

    color: var(--gold);

    font-size: 25px;
}


/* =========================================================
   VISUALIZADOR
========================================================= */

#visualizador {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

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

    padding: 25px;

    background: rgba(3,3,3,.97);

    backdrop-filter: blur(18px);

    opacity: 0;

    transition: opacity .3s ease;
}

#visualizador.aberto {
    opacity: 1;
}

.visualizador-conteudo {
    position: relative;

    width: min(100%, 900px);

    max-height: 95vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}

.visualizador-imagem {
    display: flex;

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

    width: 100%;
}

#fotoAmpliada {
    max-width: 100%;
    max-height: 68vh;

    object-fit: contain;

    box-shadow:
        0 20px 80px rgba(0,0,0,.7);

    animation: fotoEntrar .35s ease;
}

@keyframes fotoEntrar {
    from {
        opacity: 0;

        transform: scale(.96);
    }

    to {
        opacity: 1;

        transform: scale(1);
    }
}

.visualizador-info {
    width: 100%;

    text-align: center;
}

#fotoData {
    display: block;

    margin-top: 25px;

    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 3px;
}

#fotoTitulo {
    margin-top: 8px;

    font-size: 25px;

    font-weight: 400;
}

#fotoDescricao {
    max-width: 600px;

    margin: 8px auto 0;

    color: var(--gray);

    font-size: 14px;
}

.btn-fechar {
    position: absolute;

    top: 20px;
    right: 20px;

    z-index: 3;

    width: 44px;
    height: 44px;

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

    border-radius: 50%;

    background: rgba(0,0,0,.8);

    color: var(--gold-light);

    font-size: 20px;

    transition: .35s ease;
}

.btn-fechar:hover {
    background: var(--gold);

    color: var(--black);

    transform: rotate(90deg);
}


/* =========================================================
   MÚSICA FLUTUANTE
========================================================= */

#btnMusicaFlutuante {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 2000;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(200,166,107,.5);

    border-radius: 50%;

    background: rgba(5,5,5,.85);

    color: var(--gold-light);

    backdrop-filter: blur(10px);

    transition: .3s ease;
}

#btnMusicaFlutuante:hover {
    background: var(--gold);

    color: var(--black);

    transform: scale(1.05);
}


/* =========================================================
   EDITOR
========================================================= */

#editor {
    position: fixed;

    inset: 0;

    z-index: 11000;

    display: none;

    overflow-y: auto;

    background:
        radial-gradient(
            circle at top,
            rgba(200,166,107,.06),
            transparent 45%
        ),
        var(--black);
}

.editor-container {
    width: min(900px, 92%);

    margin: auto;

    padding: 80px 0;
}

.editor-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 45px;

    padding-bottom: 25px;

    border-bottom: 1px solid var(--line);
}

.editor-header h2 {
    margin-top: 10px;

    font-size: 35px;

    font-weight: 400;
}

.editor-header p {
    margin-top: 10px;

    color: var(--gray);

    font-size: 14px;
}

.editor-fechar {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

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

    border-radius: 50%;

    background: transparent;

    color: var(--gold-light);

    transition: .3s ease;
}

.editor-fechar:hover {
    background: var(--gold);

    color: var(--black);

    transform: rotate(90deg);
}

.editor-bloco {
    margin-bottom: 45px;

    padding-bottom: 35px;

    border-bottom: 1px solid rgba(200,166,107,.1);
}

.editor-bloco-titulo {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}

.editor-bloco-titulo > span {
    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 10px;

    letter-spacing: 3px;
}

.editor-bloco h3 {
    color: var(--gold-light);

    font-size: 18px;

    font-weight: 400;
}

.editor-item {
    margin-bottom: 30px;

    padding: 20px;

    background: var(--black2);

    border: 1px solid rgba(200,166,107,.1);
}

.editor-item label {
    display: block;

    margin-bottom: 8px;

    color: var(--gold);

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.editor-item input,
.editor-item textarea,
.editor-item select {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid rgba(200,166,107,.2);

    outline: none;

    background: var(--black3);

    color: var(--white);

    font-size: 14px;
}

.editor-item textarea {
    min-height: 110px;

    resize: vertical;
}

.editor-item input:focus,
.editor-item textarea:focus,
.editor-item select:focus {
    border-color: var(--gold);
}

.editor-acoes {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 35px;
}

.editor-acoes button {
    padding: 13px 20px;

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

    background: transparent;

    color: var(--gold-light);

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 2px;

    text-transform: uppercase;

    transition: .3s ease;
}

.editor-acoes button:hover {
    background: var(--gold);

    color: var(--black);
}

.editor-preview {
    width: 100%;

    max-height: 400px;

    margin-bottom: 20px;

    overflow: hidden;

    border: 1px solid var(--line);
}

.editor-preview img {
    width: 100%;

    max-height: 400px;

    object-fit: cover;
}

.upload-btn {
    display: inline-flex;

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

    padding: 13px 18px;

    border: 1px solid rgba(200,166,107,.45);

    color: var(--gold-light);

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 2px;

    text-transform: uppercase;

    cursor: pointer;

    transition: .3s ease;
}

.upload-btn:hover {
    background: var(--gold);

    color: var(--black);
}

.btn-secundario,
.btn-principal {
    cursor: pointer;
}

.musica-status {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;
}

.musica-status-ponto {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold);
}

.musica-status p {
    color: var(--gray);

    font-size: 13px;
}


/* =========================================================
   RESPONSIVO — TABLET
========================================================= */

@media (max-width: 800px) {

    .secao {
        padding: 85px 0;
    }

    .historia-card {
        grid-template-columns: 1fr;
    }

    .historia-card:nth-child(even) {
        direction: ltr;
    }

    .card-imagem {
        min-height: 280px;
    }

    .card-conteudo {
        padding: 30px 5px;
    }

    .timeline-item {
        width: 100%;

        margin-left: 0 !important;

        padding-left: 45px;
        padding-right: 20px;
    }

    .timeline::before {
        left: 15px;

        transform: none;
    }

    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before {
        left: 11px;

        right: auto;
    }
}


/* =========================================================
   RESPONSIVO — TELEMÓVEL
========================================================= */

@media (max-width: 600px) {

    .menu {
        padding: 12px 15px;
    }

    .menu button {
        width: 38px;
        height: 38px;
    }


    /* ABERTURA */

    .abertura-conteudo {
        padding: 20px;
    }

    .abertura-conteudo h1 {
        font-size: clamp(40px, 13vw, 65px);

        letter-spacing: 2px;
    }

    .abertura-indicador {
        bottom: 25px;

        gap: 8px;

        font-size: 7px;

        letter-spacing: 2.5px;
    }


    /* TRANSIÇÃO */

    .transicao-conteudo h2 {
        font-size: clamp(38px, 11vw, 65px);

        letter-spacing: 2px;
    }

    .transicao-conteudo > p {
        font-size: 8px;

        letter-spacing: 4px;
    }


    /* HERO */

    .hero-conteudo {
        padding: 20px;
    }

    .hero-conteudo h1 {
        font-size: clamp(45px, 13vw, 75px);

        letter-spacing: 2px;
    }

    .hero-baixo {
        bottom: 24px;

        width: 190px;

        font-size: 7px;

        letter-spacing: 2.5px;
    }


    /* SEÇÕES */

    .secao {
        width: 88%;

        padding: 70px 0;
    }

    .introducao {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .numero-secao {
        padding-top: 0;
    }

    .secao-cabecalho {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    /* GALERIA */

    .galeria,
    .galeria-editorial {
        gap: 50px;
    }

    .historia-card {
        min-height: auto;

        padding-top: 25px;
    }

    .card-imagem {
        min-height: 230px;
    }

    .card-conteudo {
        padding: 25px 0;
    }

    .card-conteudo h3 {
        font-size: 26px;
    }

    .card-descricao {
        font-size: 14px;
    }


    /* CONTADOR */

    .contador {
        width: min(100%, 230px);

        margin: 40px auto;
    }

    .contador-item {
        min-height: 88px;

        padding-left: 48px;
    }

    .contador-item::before {
        left: 11px;
    }

    .contador::before {
        left: 15px;
    }

    .contador-item strong {
        font-size: 30px;

        letter-spacing: 1px;

        margin-bottom: 7px;
    }

    .contador-item span {
        font-size: 9px;

        letter-spacing: 2.5px;

        white-space: normal;
    }

    .contador-separador {
        margin-left: 48px;

        width: 25px;
    }


    /* TEXTO */

    .texto-profundo {
        padding: 75px 20px;
    }

    .texto-profundo p {
        font-size: 16px;
    }


    /* CARTA */

    .carta {
        padding: 70px 20px;
    }

    .carta-topo {
        flex-direction: column;

        gap: 10px;
    }

    .carta p {
        font-size: 16px;
    }


    /* NOIVADO */

    .noivado-secao {
        min-height: 70vh;

        padding: 80px 20px;
    }


    /* FINAL */

    .final {
        min-height: 70vh;
    }


    /* VISUALIZADOR */

    #visualizador {
        padding: 15px;
    }

    #fotoAmpliada {
        max-height: 60vh;
    }

    .btn-fechar {
        top: 12px;

        right: 12px;
    }


    /* EDITOR */

    .editor-container {
        padding: 60px 0;
    }

    .editor-header {
        align-items: flex-start;
    }
}


/* =========================================================
   RESPONSIVO — TELEMÓVEL PEQUENO
========================================================= */

@media (max-width: 380px) {

    .contador {
        width: 210px;
    }

    .contador-item {
        min-height: 84px;

        padding-left: 45px;
    }

    .contador-item strong {
        font-size: 28px;
    }

    .contador-item span {
        font-size: 8px;

        letter-spacing: 2px;
    }

    .contador-separador {
        margin-left: 45px;
    }

    .hero-conteudo {
        padding: 20px;
    }

    .hero-conteudo h1 {
        font-size: 43px;
    }

    .card-conteudo h3 {
        font-size: 24px;
    }
}
#editor.ativo {
    display: block;
}


/* =========================================================
   ENVELOPE E CARTA ESPECIAL PARA CHEILA
========================================================= */

.carta-secao {
    background:
        radial-gradient(circle at 50% 30%,
        rgba(214,154,163,.13),
        transparent 65%);
}

.carta-introducao {
    text-align: center;
    margin-bottom: 45px;
}

.carta-introducao h2 {
    margin: 15px 0;
    color: var(--white);
    font-size: clamp(30px, 6vw, 46px);
    font-weight: normal;
}

.carta-introducao p {
    color: var(--gray);
    font-size: 14px;
}

.carta-envelope {
    max-width: 440px;
    margin: 0 auto;
    perspective: 1000px;
}

.envelope-trigger {
    position: relative;
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: transform .4s ease;
}

.envelope-trigger:hover {
    transform: translateY(-5px);
}

.envelope-sombra {
    position: absolute;
    inset: 35px 15px 15px;
    background: rgba(112,57,72,.16);
    filter: blur(20px);
    border-radius: 15px;
}

.envelope-corpo {
    position: absolute;
    inset: 35px 15px 15px;
    background: linear-gradient(145deg,#f5dfe0,#e9c4cb);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(112,57,72,.15);
}

.envelope-aba {
    position: absolute;
    top: 35px;
    left: 15px;
    right: 15px;
    height: 130px;
    background: #dba8b2;
    clip-path: polygon(0 0,100% 0,50% 100%);
    transform-origin: top;
    transition: transform .8s ease;
    z-index: 3;
}

.envelope-selo {
    position: absolute;
    z-index: 4;
    top: 125px;
    left: 50%;
    transform: translateX(-50%);
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    background: #b76e79;
    color: white;
    border-radius: 50%;
    font-size: 23px;
    box-shadow: 0 4px 12px rgba(112,57,72,.2);
}

.envelope-destinatario {
    position: absolute;
    z-index: 2;
    top: 185px;
    left: 0;
    width: 100%;
    color: #754552;
    font-family: Georgia,serif;
    font-size: 27px;
    font-style: italic;
}

.envelope-remetente {
    position: absolute;
    z-index: 2;
    top: 225px;
    left: 0;
    width: 100%;
    color: #966b75;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.carta-envelope.aberta .envelope-aba {
    transform: rotateX(180deg);
    z-index: 0;
}

.carta-envelope.aberta .envelope-selo {
    opacity: 0;
    transition: opacity .25s ease;
}

.carta-envelope.aberta .envelope-trigger {
    pointer-events: none;
    opacity: .35;
}

.carta-conteudo {
    margin-top: 25px;
    padding: 35px 28px;
    background: #fffaf8;
    border: 1px solid rgba(183,110,121,.25);
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(112,57,72,.10);
    animation: revelarCarta .8s ease both;
}

.carta-conteudo[hidden] {
    display: none;
}

.carta-topo {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.carta-conteudo p {
    color: #765a60;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 22px;
}

.carta-conteudo .carta-assinatura {
    color: #b76e79;
}

.fechar-carta {
    display: block;
    margin: 35px auto 0;
    padding: 12px 22px;
    border: 1px solid #b76e79;
    background: transparent;
    color: #965866;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
}

.fechar-carta:hover {
    background: #b76e79;
    color: white;
}

@keyframes revelarCarta {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .envelope-trigger {
        height: 235px;
    }

    .envelope-corpo,
    .envelope-sombra {
        inset: 30px 8px 12px;
    }

    .envelope-aba {
        top: 30px;
        left: 8px;
        right: 8px;
    }

    .envelope-selo {
        top: 115px;
    }

    .envelope-destinatario {
        top: 170px;
    }

    .envelope-remetente {
        top: 207px;
    }

    .carta-conteudo {
        padding: 25px 20px;
    }
}


/* =========================================================
   ENVELOPE E CARTA ESPECIAL PARA CHEILA
========================================================= */

.carta-secao {
    background:
        radial-gradient(circle at 50% 30%,
        rgba(214,154,163,.13),
        transparent 65%);
}

.carta-introducao {
    text-align: center;
    margin-bottom: 45px;
}

.carta-introducao h2 {
    margin: 15px 0;
    color: var(--white);
    font-size: clamp(30px, 6vw, 46px);
    font-weight: normal;
}

.carta-introducao p {
    color: var(--gray);
    font-size: 14px;
}

.carta-envelope {
    max-width: 440px;
    margin: 0 auto;
    perspective: 1000px;
}

.envelope-trigger {
    position: relative;
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: transform .4s ease;
}

.envelope-trigger:hover {
    transform: translateY(-5px);
}

.envelope-sombra {
    position: absolute;
    inset: 35px 15px 15px;
    background: rgba(112,57,72,.16);
    filter: blur(20px);
    border-radius: 15px;
}

.envelope-corpo {
    position: absolute;
    inset: 35px 15px 15px;
    background: linear-gradient(145deg,#f5dfe0,#e9c4cb);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(112,57,72,.15);
}

.envelope-aba {
    position: absolute;
    top: 35px;
    left: 15px;
    right: 15px;
    height: 130px;
    background: #dba8b2;
    clip-path: polygon(0 0,100% 0,50% 100%);
    transform-origin: top;
    transition: transform .8s ease;
    z-index: 3;
}

.envelope-selo {
    position: absolute;
    z-index: 4;
    top: 125px;
    left: 50%;
    transform: translateX(-50%);
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    background: #b76e79;
    color: white;
    border-radius: 50%;
    font-size: 23px;
    box-shadow: 0 4px 12px rgba(112,57,72,.2);
}

.envelope-destinatario {
    position: absolute;
    z-index: 2;
    top: 185px;
    left: 0;
    width: 100%;
    color: #754552;
    font-family: Georgia,serif;
    font-size: 27px;
    font-style: italic;
}

.envelope-remetente {
    position: absolute;
    z-index: 2;
    top: 225px;
    left: 0;
    width: 100%;
    color: #966b75;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.carta-envelope.aberta .envelope-aba {
    transform: rotateX(180deg);
    z-index: 0;
}

.carta-envelope.aberta .envelope-selo {
    opacity: 0;
    transition: opacity .25s ease;
}

.carta-envelope.aberta .envelope-trigger {
    pointer-events: none;
    opacity: .35;
}

.carta-conteudo {
    margin-top: 25px;
    padding: 35px 28px;
    background: #fffaf8;
    border: 1px solid rgba(183,110,121,.25);
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(112,57,72,.10);
    animation: revelarCarta .8s ease both;
}

.carta-conteudo[hidden] {
    display: none;
}

.carta-topo {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.carta-conteudo p {
    color: #765a60;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 22px;
}

.carta-conteudo .carta-assinatura {
    color: #b76e79;
}

.fechar-carta {
    display: block;
    margin: 35px auto 0;
    padding: 12px 22px;
    border: 1px solid #b76e79;
    background: transparent;
    color: #965866;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
}

.fechar-carta:hover {
    background: #b76e79;
    color: white;
}

@keyframes revelarCarta {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .envelope-trigger {
        height: 235px;
    }

    .envelope-corpo,
    .envelope-sombra {
        inset: 30px 8px 12px;
    }

    .envelope-aba {
        top: 30px;
        left: 8px;
        right: 8px;
    }

    .envelope-selo {
        top: 115px;
    }

    .envelope-destinatario {
        top: 170px;
    }

    .envelope-remetente {
        top: 207px;
    }

    .carta-conteudo {
        padding: 25px 20px;
    }
}


/* =========================================================
   ENVELOPE E CARTA ESPECIAL PARA CHEILA
========================================================= */

.carta-secao {
    background:
        radial-gradient(circle at 50% 30%,
        rgba(214,154,163,.13),
        transparent 65%);
}

.carta-introducao {
    text-align: center;
    margin-bottom: 45px;
}

.carta-introducao h2 {
    margin: 15px 0;
    color: var(--white);
    font-size: clamp(30px, 6vw, 46px);
    font-weight: normal;
}

.carta-introducao p {
    color: var(--gray);
    font-size: 14px;
}

.carta-envelope {
    max-width: 440px;
    margin: 0 auto;
    perspective: 1000px;
}

.envelope-trigger {
    position: relative;
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: transform .4s ease;
}

.envelope-trigger:hover {
    transform: translateY(-5px);
}

.envelope-sombra {
    position: absolute;
    inset: 35px 15px 15px;
    background: rgba(112,57,72,.16);
    filter: blur(20px);
    border-radius: 15px;
}

.envelope-corpo {
    position: absolute;
    inset: 35px 15px 15px;
    background: linear-gradient(145deg,#f5dfe0,#e9c4cb);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(112,57,72,.15);
}

.envelope-aba {
    position: absolute;
    top: 35px;
    left: 15px;
    right: 15px;
    height: 130px;
    background: #dba8b2;
    clip-path: polygon(0 0,100% 0,50% 100%);
    transform-origin: top;
    transition: transform .8s ease;
    z-index: 3;
}

.envelope-selo {
    position: absolute;
    z-index: 4;
    top: 125px;
    left: 50%;
    transform: translateX(-50%);
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    background: #b76e79;
    color: white;
    border-radius: 50%;
    font-size: 23px;
    box-shadow: 0 4px 12px rgba(112,57,72,.2);
}

.envelope-destinatario {
    position: absolute;
    z-index: 2;
    top: 185px;
    left: 0;
    width: 100%;
    color: #754552;
    font-family: Georgia,serif;
    font-size: 27px;
    font-style: italic;
}

.envelope-remetente {
    position: absolute;
    z-index: 2;
    top: 225px;
    left: 0;
    width: 100%;
    color: #966b75;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.carta-envelope.aberta .envelope-aba {
    transform: rotateX(180deg);
    z-index: 0;
}

.carta-envelope.aberta .envelope-selo {
    opacity: 0;
    transition: opacity .25s ease;
}

.carta-envelope.aberta .envelope-trigger {
    pointer-events: none;
    opacity: .35;
}

.carta-conteudo {
    margin-top: 25px;
    padding: 35px 28px;
    background: #fffaf8;
    border: 1px solid rgba(183,110,121,.25);
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(112,57,72,.10);
    animation: revelarCarta .8s ease both;
}

.carta-conteudo[hidden] {
    display: none;
}

.carta-topo {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.carta-conteudo p {
    color: #765a60;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 22px;
}

.carta-conteudo .carta-assinatura {
    color: #b76e79;
}

.fechar-carta {
    display: block;
    margin: 35px auto 0;
    padding: 12px 22px;
    border: 1px solid #b76e79;
    background: transparent;
    color: #965866;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
}

.fechar-carta:hover {
    background: #b76e79;
    color: white;
}

@keyframes revelarCarta {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .envelope-trigger {
        height: 235px;
    }

    .envelope-corpo,
    .envelope-sombra {
        inset: 30px 8px 12px;
    }

    .envelope-aba {
        top: 30px;
        left: 8px;
        right: 8px;
    }

    .envelope-selo {
        top: 115px;
    }

    .envelope-destinatario {
        top: 170px;
    }

    .envelope-remetente {
        top: 207px;
    }

    .carta-conteudo {
        padding: 25px 20px;
    }
}
