/* ==========================================================
   SINGLE HOMENAGEM – ESTILO COMPLETO
   ========================================================== */

/* ----------------------------------------------------------
   0. BASE / RESET LEVE
   ---------------------------------------------------------- */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body.homenagem-single-body {
    background-color: #1e1e1e;
    color: #f5f5f5;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Textura + flares de luz */
body.homenagem-single-body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: 0.04;
    pointer-events: none;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAQSURBVHgBYwACBgYGBgYAAAUAAe0B0YcAAAAASUVORK5CYII=');
}

body.homenagem-single-body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(circle at top left, rgba(179,18,23,0.35), transparent 60%),
        radial-gradient(circle at bottom right, rgba(179,18,23,0.25), transparent 55%);
}

/* Helpers de fontes (caso não venham do tema) */
.playfair-display {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    letter-spacing: 2px;
}

.cinzel-font {
    font-family: 'Cinzel', 'Times New Roman', serif;
}

.inter-font {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ----------------------------------------------------------
   1. LAYOUT PRINCIPAL
   ---------------------------------------------------------- */

.homenagem-page-main {
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.homenagem-page-wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 1.5rem 1rem 3rem;
    margin: 0 auto;
    position: relative;
}

.homenagem-container {
    width: 100%;
}

/* Desktop spacing */
@media (min-width: 768px) {
    .homenagem-page-wrapper {
        padding: 2.5rem 2rem 4rem;
    }
}



/* ----------------------------------------------------------
   3. HEADER DA HOMENAGEM
   ---------------------------------------------------------- */

.homenagem-header {
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-top: 1rem;
}

/* Título (Nomes do Casal) - DOURADO CURSIVO */
.homenagem-header h1,
.homenagem-header .homenagem-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 2.4rem;
    font-weight: 700;
    font-style: italic; /* ← Cursivo elegante */
    margin: 0 0 1.5rem 0; /* ← Espaçamento de 1.5rem antes da data */
    color: #cfa97f; /* ← DOURADO */
    text-shadow: 0 0 12px rgba(207, 169, 127, 0.5);
    letter-spacing: 1px;
    line-height: 1.3;
}

/* Spans dos nomes (mantém quebra de linha) */
.nome-primeiro,
.nome-e,
.nome-segundo {
    display: inline; /* Mantém o <br> funcionando */
}

.nome-e {
    font-size: 0.85em; /* "e" um pouco menor */
    opacity: 0.9;
}

/* Data "Desde" - BRANCO */
.homenagem-header p,
.homenagem-header .homenagem-desde {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff; /* ← BRANCO */
    margin: 0;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

/* Desktop */
@media (min-width: 768px) {
    .homenagem-header h1,
    .homenagem-header .homenagem-title {
        font-size: 3.5rem; /* Maior no desktop */
        margin-bottom: 2rem; /* Mais espaçamento no desktop */
    }

    .homenagem-header p,
    .homenagem-header .homenagem-desde {
        font-size: 1.25rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .homenagem-header h1,
    .homenagem-header .homenagem-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .homenagem-header p,
    .homenagem-header .homenagem-desde {
        font-size: 0.95rem;
    }
}


/* ----------------------------------------------------------
   4. SEÇÕES GENÉRICAS / CARDS
   ---------------------------------------------------------- */

.homenagem-section {
    margin-bottom: 2.5rem;
    padding: 1.8rem 1.5rem;
    border-radius: 20px;
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 4px rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.homenagem-section::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(179,18,23,0.35), transparent 65%);
    top: -120px;
    left: -80px;
    opacity: 0.5;
    z-index: -1;
}

.homenagem-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(179,18,23,0.3);
}

/* Títulos das seções */
.homenagem-section > h2 {
    font-size: 1.8rem;
    margin: 0 0 1.4rem;
    color: #b31217;
    text-align: center;
    text-shadow: 0 0 7px rgba(207,169,127,0.4);
}






/* ----------------------------------------------------------
   5. CARROSSEL DE FOTOS - PREMIUM
   ---------------------------------------------------------- */

.carrossel-fotos-wrapper {
    /* Herda o glassmorphism de .homenagem-section */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Classe adicionada via JavaScript quando entra na viewport */
.carrossel-fotos-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Container principal do Swiper */
.carrossel-fotos-wrapper .swiper-container {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #151515;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

/* Área principal (mySwiper) */
.carrossel-fotos-wrapper .mySwiper {
    height: min(60vh, 480px); /* ← Aumentei para 480px */
    margin-bottom: 1rem;
}

/* Slides */
.carrossel-fotos-wrapper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

/* Imagens com sombra interna e externa */
.carrossel-fotos-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.3), /* ← Sombra interna */
        0 10px 40px rgba(0, 0, 0, 0.7);     /* ← Sombra externa */
    transition: transform 0.3s ease;
}

.carrossel-fotos-wrapper .swiper-slide img:hover {
    transform: scale(1.02); /* ← Zoom sutil no hover */
}

/* ----------------------------------------------------------
   THUMBNAILS REFINADAS
   ---------------------------------------------------------- */

.carrossel-fotos-wrapper .mySwiperThumbnails {
    height: 90px; /* ← Aumentei de 80px */
    box-sizing: border-box;
    padding: 0.5rem 0.3rem;
}

.carrossel-fotos-wrapper .mySwiperThumbnails .swiper-slide {
    width: 20%;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.carrossel-fotos-wrapper .mySwiperThumbnails .swiper-slide:hover {
    opacity: 0.7;
    transform: scale(1.05); /* ← Zoom no hover */
}

/* Thumbnail ativo - GRADIENTE */
.carrossel-fotos-wrapper .mySwiperThumbnails .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #b31217, #d05e7f) 1; /* ← Gradiente */
}

.carrossel-fotos-wrapper .mySwiperThumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* ----------------------------------------------------------
   PAGINAÇÃO COM GRADIENTE
   ---------------------------------------------------------- */

.carrossel-fotos-wrapper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carrossel-fotos-wrapper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #b31217, #d05e7f); /* ← Gradiente */
    opacity: 1;
    width: 12px; /* ← Bullet ativo maior */
    border-radius: 6px;
}

/* ----------------------------------------------------------
   BOTÕES DE NAVEGAÇÃO CIRCULARES
   ---------------------------------------------------------- */

.carrossel-fotos-wrapper .swiper-button-next,
.carrossel-fotos-wrapper .swiper-button-prev {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #f5f5f5;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.carrossel-fotos-wrapper .swiper-button-next::after,
.carrossel-fotos-wrapper .swiper-button-prev::after {
    font-size: 20px;
}

.carrossel-fotos-wrapper .swiper-button-next:hover,
.carrossel-fotos-wrapper .swiper-button-prev:hover {
    background: rgba(179, 18, 23, 0.8); /* ← Vermelho no hover */
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(179, 18, 23, 0.6); /* ← Glow */
}

/* ----------------------------------------------------------
   RESPONSIVIDADE
   ---------------------------------------------------------- */

@media (max-width: 768px) {
    .carrossel-fotos-wrapper .mySwiper {
        height: min(50vh, 360px);
    }

    .carrossel-fotos-wrapper .mySwiperThumbnails {
        height: 70px;
    }

    .carrossel-fotos-wrapper .swiper-button-next,
    .carrossel-fotos-wrapper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .carrossel-fotos-wrapper .swiper-button-next::after,
    .carrossel-fotos-wrapper .swiper-button-prev::after {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .carrossel-fotos-wrapper .mySwiperThumbnails .swiper-slide {
        width: 25%; /* ← 4 thumbnails no mobile em vez de 5 */
    }
}










/* ----------------------------------------------------------
   6. FRASE ESPECIAL
   ---------------------------------------------------------- */

.frase-especial {
    text-align: center;
}

.frase-especial blockquote {
    margin: 0;
    font-size: 1.3rem;
    color: #ffffff;
    text-shadow: 0 0 6px rgba(0,0,0,0.7);
}

/* Desktop */
@media (min-width: 768px) {
    .frase-especial blockquote {
        font-size: 1.5rem;
    }
}




/* ----------------------------------------------------------
   7. BODAS CARROSSEL - HORIZONTAL DENTRO DA SEÇÃO
   ---------------------------------------------------------- */

/* Título da seção (dourado) */
.bodas-carrossel > h2 {
    color: #cfa97f !important;
    text-shadow: 0 0 10px rgba(207, 169, 127, 0.4);
    margin-bottom: 2rem;
}

/* Container do Swiper ocupa 100% da largura da seção */
.bodas-carrossel {
    overflow: hidden; /* ← Garante que os cards não saiam da seção */
    padding: 1.8rem 1rem !important; /* ← Padding reduzido nas laterais */
}

.bodasSwiper {
    width: 100%;
    height: auto;
    padding: 1rem 0 2rem; /* ← Espaço para os botões de navegação */
}

/* Wrapper dos slides */
.bodasSwiper .swiper-wrapper {
    display: flex;
    align-items: stretch; /* ← Todos os cards com mesma altura */
}

/* ----------------------------------------------------------
   CARD DA BODA - TRANSPARENTE E MINIMALISTA
   ---------------------------------------------------------- */

.bodasSwiper .swiper-slide.boda-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 1.5rem 1rem;
    background: transparent;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    height: auto; /* ← Altura automática */
    min-height: 400px; /* ← Altura mínima para uniformidade */
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
}

.bodasSwiper .swiper-slide.boda-card:hover {
    border-color: rgba(207, 169, 127, 0.3);
    transform: translateY(-5px);
}

/* Borda animada (opcional) */
.bodasSwiper .swiper-slide.boda-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(207, 169, 127, 0.2) 25%,
        rgba(255, 167, 38, 0.2) 50%,
        rgba(207, 169, 127, 0.2) 75%,
        transparent 100%
    );
    background-size: 200% 200%;
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    animation: borderGlow 3s ease-in-out infinite;
    transition: opacity 0.4s ease;
}

.bodasSwiper .swiper-slide.boda-card:hover::before {
    opacity: 0.4;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Destaque da boda atual */
.bodasSwiper .swiper-slide.boda-card.boda-atual {
    border: 2px solid rgba(207, 169, 127, 0.5);
    box-shadow: 0 0 20px rgba(207, 169, 127, 0.3);
}

.bodasSwiper .swiper-slide.boda-card.boda-atual::before {
    opacity: 0.6;
}

/* ----------------------------------------------------------
   CÍRCULO DO ANO
   ---------------------------------------------------------- */

.ano-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ano-circulo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid;
    position: relative;
    box-shadow: 
        0 0 15px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 107, 129, 0.2);
    transition: all 0.3s ease;
}

.ano-circulo:hover {
    transform: scale(1.05);
}

/* Anel externo com pulso */
.ano-circulo::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.1;
    }
}

.ano-content {
    text-align: center;
}

.anos-number {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* ----------------------------------------------------------
   CONTEÚDO DA BODA
   ---------------------------------------------------------- */

.boda-info {
    text-align: center;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.boda-nome {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.boda-icone {
    font-size: 2.5rem;
    margin: 0.8rem 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.boda-icone:hover {
    transform: scale(1.1) rotate(5deg);
}

.status-mensagem {
    font-size: 0.9rem;
    color: #e0e0e0;
    margin: 0.8rem 0;
    line-height: 1.4;
    min-height: auto;
    font-weight: 500;
}

.boda-dias-restantes {
    color: #cfa97f;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(207, 169, 127, 0.5);
}

/* Linha divisória */
.divider {
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(207, 169, 127, 0.3),
        transparent
    );
    margin: 1rem auto;
}

/* Significado da boda */
.significado-texto {
    font-size: 0.85rem;
    color: #c0c0c0;
    margin-top: 0.8rem;
    line-height: 1.4;
    font-style: italic;
    max-width: 100%;
    min-height: auto;
}

/* ----------------------------------------------------------
   BOTÕES DE NAVEGAÇÃO
   ---------------------------------------------------------- */

.bodasSwiper .swiper-button-next,
.bodasSwiper .swiper-button-prev {
    color: #cfa97f;
    background: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(207, 169, 127, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    top: 50%; /* ← Centraliza verticalmente */
    margin-top: 0; /* ← Remove margem padrão do Swiper */
}

.bodasSwiper .swiper-button-next::after,
.bodasSwiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.bodasSwiper .swiper-button-next:hover,
.bodasSwiper .swiper-button-prev:hover {
    background: rgba(207, 169, 127, 0.8);
    border-color: rgba(207, 169, 127, 0.6);
    transform: scale(1.1);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(207, 169, 127, 0.6);
}

.bodasSwiper .swiper-button-next {
    right: 10px;
}

.bodasSwiper .swiper-button-prev {
    left: 10px;
}

/* ----------------------------------------------------------
   RESPONSIVIDADE
   ---------------------------------------------------------- */

@media (min-width: 768px) {
    .bodasSwiper .swiper-slide.boda-card {
        padding: 2rem 1.5rem;
        min-height: 450px;
    }

    .ano-container {
        width: 120px;
        height: 120px;
    }

    .anos-number {
        font-size: 2.5rem;
    }

    .boda-nome {
        font-size: 1.6rem;
    }

    .boda-icone {
        font-size: 3rem;
    }

    .status-mensagem {
        font-size: 1rem;
    }

    .significado-texto {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .bodas-carrossel {
        padding: 1.5rem 0.5rem !important;
    }

    .bodasSwiper .swiper-slide.boda-card {
        padding: 1.2rem 0.8rem;
        min-height: 360px;
    }

    .ano-container {
        width: 90px;
        height: 90px;
    }

    .anos-number {
        font-size: 1.8rem;
    }

    .boda-nome {
        font-size: 1.3rem;
    }

    .boda-icone {
        font-size: 2.2rem;
    }

    .status-mensagem {
        font-size: 0.85rem;
    }

    .significado-texto {
        font-size: 0.8rem;
    }

    .bodasSwiper .swiper-button-next,
    .bodasSwiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

    .bodasSwiper .swiper-button-next::after,
    .bodasSwiper .swiper-button-prev::after {
        font-size: 14px;
    }
}






/* ----------------------------------------------------------
   8. NOSSO AMOR EM NÚMEROS
   ---------------------------------------------------------- */

/* Título da seção (dourado) */
.amor-em-numeros > h2 {
    color: #cfa97f !important; /* ← Dourado */
    text-shadow: 0 0 10px rgba(207, 169, 127, 0.4);
}

/* Parágrafo introdutório */
.amor-em-numeros p.inter-font {
    text-align: center;
    margin: 0 0 1.5rem;
    color: #e8e0d1;
    font-size: 1rem;
}

/* Subtítulo "Isso da:" */
.amor-em-numeros p.inter-font:nth-of-type(2) {
    font-size: 1.5rem; /* ← Maior, como subtítulo */
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Grid de números */
.numeros-grid {
    display: grid;
    grid-template-columns: 1fr; /* MOBILE: 1 card por linha */
    gap: 0.9rem;
}

.numero-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 0.9rem 0.8rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.numero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(179, 18, 23, 0.4);
}

.numero-card > span {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #b31217;
    margin-bottom: 0.1rem;
}

.numero-card small {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaaaaa;
}

/* Frase "E contando..." (com animação de fade-in + pulso) */
.amor-em-numeros .frase-inspiradora {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #cfa97f; /* ← Dourado */
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(207, 169, 127, 0.2);
    opacity: 0;
    animation: fadeInPulse 2s ease-in-out 0.5s forwards;
}

@keyframes fadeInPulse {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito de "pontos animados" após "E contando" */
.amor-em-numeros .frase-inspiradora::after {
    content: '...';
    display: inline-block;
    margin-left: 0.3rem;
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
    0%, 20% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    60%, 100% {
        opacity: 0;
    }
}

/* DESKTOP: mantém 5 cards por linha */
@media (min-width: 768px) {
    .numeros-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1rem;
    }

    .numero-card > span {
        font-size: 2rem;
    }

    /* Subtítulo maior no desktop */
    .amor-em-numeros p.inter-font:nth-of-type(2) {
        font-size: 1.5rem;
    }

    /* Frase final maior no desktop */
    .amor-em-numeros .frase-inspiradora {
        font-size: 1.3rem;
    }
}


/* ----------------------------------------------------------
   9. HISTÓRIA DO CASAL
   ---------------------------------------------------------- */

/* Título em dourado (igual aos nomes do casal) */
.historia-casal > h2 {
    color: #cfa97f !important;  /* ← Dourado */
    text-shadow: 0 0 8px rgba(207, 169, 127, 0.5);
}

.historia-casal .historia-content {
    font-size: 1rem;
    color: #dddddd;
    text-align: justify;
}

.historia-casal .historia-content p {
    margin-bottom: 0.8rem;
}





/* ----------------------------------------------------------
   10. VOLTAS AO SOL / ÓRBITA DO AMOR (SEM CARD AZUL)
   ---------------------------------------------------------- */

.voltas-ao-sol {
    /* Sem card interno, apenas o card pai .homenagem-section */
    text-align: center;
}

.voltas-ao-sol > h2 {
    font-size: 1.8rem; /* ← Volta ao tamanho padrão */
    margin-bottom: 0.5rem;
    color: #cfa97f;  /* ← DOURADO (igual aos nomes) */
    text-shadow: 0 0 8px rgba(207, 169, 127, 0.5); /* ← Brilho dourado */
}


.voltas-ao-sol .frase-inspiradora {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #e0e0e0;
    opacity: 0.9;
}

/* ----------------------------------------------------------
   ÓRBITA ANIMADA
   ---------------------------------------------------------- */

.orbita-amor-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.orbita-circulo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px dashed rgba(207, 169, 127, 0.3); /* ← Dourado claro */
    position: relative;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.orbita-wrapper {
    position: absolute;
    inset: 0;
    animation: orbitaAmor 16s linear infinite;
    transform-origin: 50% 50%;
}

.sol-centro {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #fff9c4, #ffb300 60%, #f57f17 100%);
    box-shadow:
        0 0 30px rgba(255, 214, 0, 0.9),
        0 0 70px rgba(255, 171, 0, 0.6);
}

.planeta-orbita {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #e3f2fd, #42a5f5 60%, #0d47a1 100%);
    box-shadow: 0 0 16px rgba(66, 165, 245, 0.9);
    transform: translate(75px, -50%);
}

@keyframes orbitaAmor {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbita-legenda {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #cfa97f;
    opacity: 0.85;
}

/* ----------------------------------------------------------
   MÉTRICAS (VOLTAS COMPLETAS / DIAS PARA PRÓXIMA)
   ---------------------------------------------------------- */

.voltas-metricas {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.volta-metrica {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.volta-valor {
    font-size: 2.2rem;
    font-weight: 700;
    color: #b31217;
    text-shadow: 0 2px 8px rgba(179, 18, 23, 0.4);
}

.volta-label {
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ----------------------------------------------------------
   PROGRESSO
   ---------------------------------------------------------- */

.voltas-progresso {
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

.progresso-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.progresso-label {
    opacity: 0.9;
}

.progresso-percentual {
    font-weight: 600;
    color: #b31217;
}

.progress-bar-wrapper {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #b31217, #d05e7f);
    border-radius: 999px;
    transition: width 0.6s ease-out;
    box-shadow: 0 0 10px rgba(179, 18, 23, 0.6);
}

/* ----------------------------------------------------------
   FOOTER CARD (DESDE + JORNADA)
   ---------------------------------------------------------- */

.voltas-footer-card {
    max-width: 400px;
    margin: 1.5rem auto 0;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.voltas-desde {
    margin: 0 0 0.4rem;
    font-size: 0.9rem;
    color: #e0e0e0;
    text-align: center;
}

.voltas-desde span {
    color: #cfa97f;
    font-weight: 600;
}

.voltas-jornada {
    margin: 0;
    font-size: 0.85rem;
    color: #aaaaaa;
    text-align: center;
    opacity: 0.9;
}

/* ----------------------------------------------------------
   RESPONSIVIDADE
   ---------------------------------------------------------- */

@media (max-width: 768px) {
    .voltas-metricas {
        gap: 2rem;
    }

    .volta-valor {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .orbita-circulo {
        width: 150px;
        height: 150px;
    }

    .sol-centro {
        width: 40px;
        height: 40px;
    }

    .planeta-orbita {
        width: 20px;
        height: 20px;
        transform: translate(65px, -50%);
    }

    .voltas-metricas {
        gap: 1.5rem;
    }

    .volta-valor {
        font-size: 1.6rem;
    }

    .voltas-progresso {
        max-width: 100%;
    }
}

/* ==========================================================
   11. SEÇÃO "SENDO FELIZ" (NOVA SEÇÃO DESTACADA)
   ========================================================== */

.sendo-feliz-section {
    text-align: center;
    padding: 2.5rem 1.5rem !important;
    position: relative;
}

/* Efeito de brilho de fundo */
.sendo-feliz-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(179, 18, 23, 0.2), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    z-index: -1;
}

.sendo-feliz-titulo {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    color: #cfa97f;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(207, 169, 127, 0.5);
    letter-spacing: 1px;
}

.sendo-feliz-numero {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    color: #b31217;
    text-shadow: 
        0 0 20px rgba(179, 18, 23, 0.6),
        0 4px 10px rgba(0, 0, 0, 0.5);
    margin: 0.5rem 0;
    line-height: 1;
}

.sendo-feliz-dias {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    color: #e0e0e0;
    margin-bottom: 0.3rem;
}

.sendo-feliz-texto {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #cccccc;
    margin-bottom: 1rem;
}

.sendo-feliz-coracao {
    font-size: clamp(3rem, 8vw, 4.5rem);
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { 
        transform: scale(1); 
    }
    25% { 
        transform: scale(1.1); 
    }
    50% { 
        transform: scale(1); 
    }
}

/* Mobile */
@media (max-width: 480px) {
    .sendo-feliz-section {
        padding: 2rem 1rem !important;
    }
}




/* ==========================================================
   SEÇÃO NOSSA MÚSICA
   ========================================================== */

#nossa-musica {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(42, 42, 42, 0.95));
    border-top: 1px solid rgba(207, 169, 127, 0.2);
}

#nossa-musica .section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #cfa97f;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(207, 169, 127, 0.3);
}

/* ===================================
   PLAYER DENTRO DA SEÇÃO
=================================== */

#nossa-musica #playerWrapper {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 960px !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 auto !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    transform: none !important;
    transition: all 0.3s ease;
}

#nossa-musica #playerWrapper.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
}

#nossa-musica #playerWrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================
   BARRA DE CONTROLES - FLUTUANTE CENTRALIZADA
   ========================================================== */

#barraControles {
    position: fixed !important;
    left: 50% !important;
    bottom: 24px !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    padding: 10px 16px;
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    width: auto !important;
    height: auto !important;
    max-width: 200px !important;
}

#barraControles button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    transition: all 0.2s ease;
    display: inline-flex !important;
    flex-shrink: 0 !important;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 0 !important;
}

#barraControles button:hover {
    background: rgba(179, 18, 23, 0.8);
    transform: scale(1.1);
}

#barraControles button:active {
    transform: scale(0.95);
}

/* ===================================
   POPUP INICIAL
=================================== */

#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.popup-content {
    position: relative;
    z-index: 1000000;
    text-align: center;
    padding: 40px;
    max-width: 500px;
}

.popup-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 0 10px rgba(179, 18, 23, 0.5);
}

.popup-subtitle {
    font-size: 1.125rem;
    color: #cccccc;
    margin-bottom: 32px;
    line-height: 1.6;
}

#surpresaBtn {
    position: relative;
    z-index: 1000001;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: linear-gradient(135deg, #b31217, #c72a32);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(179, 18, 23, 0.4);
}

#surpresaBtn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(179, 18, 23, 0.6);
}

#surpresaBtn:active {
    transform: scale(0.98);
}

/* ===================================
   POPUP OCULTO
=================================== */

#popup.popup-hidden,
#popup.popup-hidden::before,
#popup.popup-hidden::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -9999 !important;
}

/* ===================================
   RESPONSIVIDADE TABLET
=================================== */

@media (max-width: 768px) {
    #nossa-musica {
        padding: 60px 0;
    }

    #nossa-musica .section-title {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }

    #nossa-musica #playerWrapper {
        max-width: 100% !important;
        border-radius: 8px;
    }

    #barraControles {
        bottom: 20px !important;
        gap: 8px;
        padding: 8px 12px;
        max-width: 160px !important;
    }

    #barraControles button {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        font-size: 18px;
    }

    .popup-content {
        padding: 24px;
    }

    #surpresaBtn {
        padding: 14px 32px;
        font-size: 1.125rem;
    }
}

/* ===================================
   RESPONSIVIDADE MOBILE
=================================== */

@media (max-width: 480px) {
    #nossa-musica {
        padding: 40px 0;
    }

    #nossa-musica .section-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    #barraControles {
        left: 50% !important;
        bottom: 16px !important;
        transform: translateX(-50%) !important;
        gap: 6px;
        padding: 6px 10px;
        flex-direction: row !important;
        width: auto !important;
        height: auto !important;
        max-width: 140px !important;
    }

    #barraControles button {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        font-size: 16px;
    }
}

/* ===================================
   MOBILE EXTRA PEQUENO
=================================== */

@media (max-width: 360px) {
    #barraControles {
        gap: 5px;
        padding: 5px 8px;
        max-width: 120px !important;
    }

    #barraControles button {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        font-size: 14px;
    }
}

/* ===================================
   UTILIDADES
=================================== */

body.no-scroll,
html.no-scroll {
    overflow: hidden !important;
    height: 100%;
}




homenagens-preview-card .preview-youtube-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}
.homenagens-preview-card .preview-youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}





/* ==========================================================
   EMOJIS CAINDO - SISTEMA DINÂMICO (DISCRETO E FUNCIONAL)
   ========================================================== */

/* Container dos emojis (cobre toda a página) */
.homenagem-emojis-falling {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* ← Não interfere com cliques */
    z-index: 999; /* ← AUMENTADO para garantir que fique acima de tudo */
    overflow: hidden; /* ← Garante que nada saia do container */
}

/* Cada emoji individual */
.falling-emoji {
    position: absolute;
    top: -50px; /* Inicia fora da tela */
    display: block;
    opacity: 0;
    pointer-events: none;
    animation: fall linear forwards, emojiSway 3.2s ease-in-out infinite; /* ← Adiciona balanço lateral */
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)); /* ← Sombra mais discreta */
    font-size: 1.8rem; /* ← Tamanho base um pouco menor */
    color: rgba(179, 18, 23, 0.6); /* ← Cor mais transparente (gradiente reduzido) */
    text-shadow: 0 0 4px rgba(179, 18, 23, 0.3); /* ← Brilho mais sutil */
    will-change: transform, opacity;
}

/* Animação de queda – movimento vertical + rotação + fade (MAIS TEMPO VISÍVEL E DISCRETO) */
@keyframes fall {
    0% {
        top: -50px;
        opacity: 0;
        transform: translateX(var(--drift)) rotate(var(--rotation-start));
    }
    10% {
        opacity: 0.6; /* ← Aparece mais discreto */
    }
    80% { /* Fica visível por mais tempo */
        opacity: 0.5; /* ← Mantém visível e discreto */
    }
    100% {
        top: calc(100vh + 50px);
        opacity: 0; /* Some no final */
        transform: translateX(var(--drift)) rotate(var(--rotation-end));
    }
}

/* Animação de balanço lateral (versão mais suave) */
@keyframes emojiSway {
    0%, 100% { transform: translate3d(-8px, 0, 0); } /* ← Balanço mais suave */
    50%      { transform: translate3d(8px, 0, 0); }
}

/* NOVA ANIMAÇÃO: Rotação sutil no eixo Z (inclinação enquanto cai) */
@keyframes subtleRotate {
    0%, 100% { transform: rotateZ(-5deg); } /* Inclina levemente para a esquerda */
    50%      { transform: rotateZ(5deg); }  /* Inclina levemente para a direita */
}

/* Variações de tamanho (ajustadas para o novo tamanho base discreto) */
.falling-emoji.size-small {
    font-size: 1.2rem;
}

.falling-emoji.size-medium {
    font-size: 1.8rem;
}

.falling-emoji.size-large {
    font-size: 2.4rem;
}

/* Responsividade (ajustada para o novo tamanho base discreto) */
@media (max-width: 768px) {
    .falling-emoji {
        font-size: 1.4rem;
    }
    .falling-emoji.size-small { font-size: 1rem; }
    .falling-emoji.size-medium { font-size: 1.4rem; }
    .falling-emoji.size-large { font-size: 2rem; }
}

@media (max-width: 480px) {
    .falling-emoji {
        font-size: 1.1rem;
    }
    .falling-emoji.size-small { font-size: 0.8rem; }
    .falling-emoji.size-medium { font-size: 1.1rem; }
    .falling-emoji.size-large { font-size: 1.6rem; }
}
