/* DEFINIÇÃO DAS FONTES PERSONALIZADAS */
@font-face {
    font-family: 'Futura';
    src: url(fonts/FuturaLTProBook.otf) format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura';
    src: url(fonts/FuturaLTProBold.otf) format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura';
    src: url(fonts/FuturaLTProLight.otf) format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Callem';
    src: url(fonts/callem-script.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Estilo geral do corpo */
* {
    font-family: "Futura", "Playfair Display", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: #162150;
    color: #DDE0E1;
    overflow-x: hidden;
    min-height: 100vh;
    font-family: "Futura", "Playfair Display", sans-serif;
}

/* --------- */
/* Navbar Section  */
/* --------- */
.sticky {
    background-color: rgba(22, 33, 80, 0.95) !important;
    transition: all 0.3s ease-out 0s !important;
    box-shadow: 0px 10px 10px 0px rgba(22, 33, 80, 0.2) !important;
    backdrop-filter: blur(15px) !important;
}

.navbar {
    background-color: rgba(22, 33, 80, 0.1) !important;
    transition: all 0.3s ease-out;
    padding: 0.3rem 2rem;
    height: 100px;
    font-size: 1.2rem;
    position: fixed !important;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-scrolled {
    background-color: rgba(22, 33, 80, 0.95) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar-toggler {
    background-color: rgba(105, 124, 182, 0.4);
    outline: none;
    background-color: transparent;
    z-index: 1;
    position: absolute;
    right: 2rem;
}

.navbar-toggler span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #DDE0E1;
    margin: 5px auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggler span:nth-child(1) {
    transform: translateY(-8px) rotate(45deg);
}

.navbar-toggler span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler span:nth-child(3) {
    transform: translateY(8px) rotate(-45deg);
}

.navbar-toggler span:nth-child(4) {
    display: none;
}

.navbar-toggler.collapsed span:nth-child(1),
.navbar-toggler.collapsed span:nth-child(3) {
    transform: rotate(0);
}

.navbar-toggler.collapsed span:nth-child(2) {
    opacity: 1;
}

.navbar-toggler.collapsed span:nth-child(4) {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.navbar-toggler span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #DDE0E1;
    margin: 5px auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggler.collapsed span:nth-child(1) {
    transform: translateY(0) rotate(0);
}

.navbar-toggler.collapsed span:nth-child(2) {
    opacity: 1;
}

.navbar-toggler.collapsed span:nth-child(3) {
    transform: translateY(0) rotate(0);
}

.navbar-toggler span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) translateX(5px);
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) translateX(5px);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    transform: translateY(0) rotate(0) scaleX(0.8);
    opacity: 1;
}

.navbar-collapse.collapse.show {
    display: block !important;
}

.navbar-brand {
    color: #DDE0E1 !important;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: auto;
    max-height: 70px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #DDE0E1 !important;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}

.nav-link {
    padding: 0.8rem 1rem !important;
}

.navbar-nav .nav-item {
    position: relative;
    margin-left: 20px;
}

.navbar-nav .nav-item a {
    font-weight: 400;
    transition: all 0.3s ease-out 0s;
    position: relative;
    z-index: 1;
}

.navbar-nav .nav-item a::after {
    content: "";
    position: relative;
    display: block;
    height: 5px;
    width: 0;
    border-radius: 16px;
    background: #697CB6;
    bottom: 1px;
    left: 0;
    z-index: -1;
    transition: all 0.3s ease-out 0s;
}

.navbar-nav .nav-item a:hover::after {
    width: 100%;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
}

/* Remove o cursor de texto piscando ao clicar na página */
body,
input,
textarea {
    cursor: default;
    user-select: none;
}

input:focus,
textarea:focus,
button:focus {
    outline: none;
}


/* Estilos para a seção faixa-fotos */
.faixa-fotos {
    padding: 60px 0;
    background-color: #162150;
}

/* Estilo das molduras */
.molduras-orbita {
    display: flex;
    flex-wrap: wrap;
    gap: 27px;
    justify-content: center;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Estilo das molduras */
.moldura {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    padding: 10px;
    border: 1px solid #697CB6;
    border-radius: 10px;
    background-color: rgba(22, 33, 80, 0.5);
    width: 200px;
    text-align: center;
    box-sizing: border-box;
}

/* Estilo das imagens dentro das molduras */
.moldura img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Estilo do contêiner de informações do item */
.item-info-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

/* Estilo do nome do item */
.item-info {
    background-color: #3C4257;
    padding: 5px 10px;
    border-radius: 5px;
    border: 2px solid #697CB6;
    color: #DDE0E1;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    margin: 10px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.botao-container {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    box-sizing: border-box;
    position: relative;
    bottom: 0;
}

.comprar-btn {
    background-color: #697CB6;
    color: #DDE0E1;
    border: none;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

/* Estilo do botão quando o item já foi presenteado */
.comprado {
    background-color: #4CAF50;
    color: white;
    cursor: default;
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    width: 100%;
    text-align: center;
    white-space: normal;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    word-wrap: break-word;
}



.comprar-btn:hover {
    background-color: #5a6ca5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.comprado {
    background-color: #4CAF50 !important;
    color: white !important;
    cursor: default;
    border: none;
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    white-space: normal;
    display: block;
}




/* Estilo do formulário de faixa de preços */
.preco-secao {
    padding: 30px;
    margin: 0 auto;
    background-color: transparent;
    max-width: 300px;
    box-sizing: border-box;
    position: relative;
}

.preco-titulo {
    color: #697CB6;
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 30px;
}

.preco-titulo::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 10px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #697CB6;
}

.preco-titulo:hover::after {
    border-top-color: #3C4257;
}

#logo {
    width: auto;
    height: 100px;
    /* Aumentei de 80px para 100px */
    max-height: 120px;
    /* Aumentei o máximo */
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    /* Adicionei transição suave */
}

/* ============ MEDIA QUERIES PARA MOBILE ============ */

/* Ajustes gerais para mobile */
@media (max-width: 768px) {

    /* Ajuste do padding do container principal */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ajuste do logo principal */
    .image-center img.main-logo {
        max-width: 70% !important;
        margin-top: 25% !important;
    }

    /* Ajuste do título principal */
    .main-title {
        font-family: "Futura", serif;
        font-size: 3em;
        color: #DDE0E1;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    /* Ajuste do subtítulo */
    .sub-title {
        font-size: 1.8em !important;
        margin-bottom: 10px;
    }

    /* Ajuste da tagline */
    .tagline {
        font-size: 1.1em !important;
        line-height: 1.5;
        padding: 0 10px;
    }

    /* Navbar mobile */
    .navbar {
        padding: 1rem 1.5rem !important;
        height: 70px;
    }

    #logo {
        height: 70px;
        /* Aumentei de 50px para 70px */
        max-height: 80px;
        /* Adicionei um máximo para mobile */
        left: 1rem;
        /* Ajustei o left */
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar-toggler {
        right: 1.5rem;
    }

    .navbar-collapse.show {
        margin-top: 15px;
        background-color: rgba(169, 169, 169, 0.1);
        padding: 15px;
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
        font-size: 1.1em;
    }

    /* Carrossel mobile */
    .carousel-section {
        padding: 25px 0;
    }

    .carousel-image {
        height: 350px;
        max-width: 280px;
    }

    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    /* Footer mobile */
    footer {
        padding: 15px;
    }

    .social-icon {
        font-size: 20px;
        margin: 0 8px;
    }

    .name {
        font-size: 12px;
        margin-top: 8px;
    }

    .copyright {
        font-size: 10px;
        margin-top: 8px;
    }

    /* Cards de informação mobile */
    .event-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .info-card {
        padding: 20px 15px;
        margin: 0 10px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .info-card h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .info-detail {
        font-size: 1.1em;
        margin-bottom: 5px;
    }

    .info-subdetail {
        font-size: 0.9em;
    }

    /* Contador regressivo mobile */
    .countdown {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
    }

    .countdown-item {
        width: 80px;
        height: 80px;
        padding: 15px;
        margin: 5px;
    }

    .countdown-item h3 {
        font-size: 2em !important;
        margin-bottom: 3px;
    }

    .countdown-item .caption {
        font-size: 0.9em !important;
    }

    .countdown-text h4 {
        font-size: 1.2em !important;
        margin-top: 20px;
    }

    /* Caixa de presente mobile */
    #presentBox {
        width: 300px !important;
        height: 250px !important;
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }

    /* Botões de ação mobile */
    .action-buttons {
        gap: 12px;
        margin: 30px auto;
        padding: 0 15px;
    }

    .svg-button {
        width: 80px;
        height: 80px;
        margin: 8px;
    }

    /* Layout de 3 botões por linha em tablets */
    .action-buttons {
        justify-content: space-around;
    }

    .svg-button:nth-child(n+4) {
        margin-top: 15px;
    }

    /* Dress code mobile */
    .dress-code-icon {
        font-size: 30px;
    }

    .dress-code-content h2 {
        font-size: 22px;
    }

    .dress-code-content p {
        font-size: 16px;
    }

    /* Formulário mobile */
    .signup {
        width: 120%;
        padding: 15px;
        margin: 10px auto;
    }

    .form-control {
        width: 100%;
        font-size: 0.9em;
    }

    .btn-submit {
        font-size: 0.9em;
    }

    /* Comentários mobile */
    #comments-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .comment {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .image-center img.main-logo {
        max-width: 80% !important;
        margin-top: 30% !important;
    }

    .main-title {
        font-size: 2.8em !important;
    }

    .sub-title {
        font-size: 1.5em !important;
    }

    .tagline {
        font-size: 1em !important;
    }

    /* Carrossel mobile pequeno */
    .carousel-image {
        height: 300px;
        max-width: 250px;
    }

    .carousel-control {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    /* Contador regressivo mobile pequeno */
    .countdown-item {
        width: 70px;
        height: 70px;
        padding: 12px;
    }

    .countdown-item h3 {
        font-size: 1.8em !important;
    }

    .countdown-item .caption {
        font-size: 0.8em !important;
    }

    .countdown-text h4 {
        font-size: 1.1em !important;
        padding: 0 10px;
        line-height: 1.3;
    }

    /* Caixa de presente mobile pequeno */
    #presentBox {
        width: 250px !important;
        height: 200px !important;
        margin-top: 25px !important;
        margin-bottom: 25px !important;
    }

    /* Botões de ação mobile pequeno */
    .action-buttons {
        gap: 12px;
        margin: 25px auto;
    }

    .svg-button {
        width: 70px;
        height: 70px;
        margin: 5px;
    }

    /* Layout de 2 botões por linha em mobile */
    .action-buttons {
        justify-content: center;
    }

    .svg-button {
        flex: 0 0 calc(50% - 20px);
        max-width: 80px;
    }

    /* Social icons mobile pequeno */
    .social-icon {
        font-size: 1em;
        margin: 0 5px;
        font-size: 20px;
    }

    .name,
    .copyright {
        font-size: 12px;
    }

    /* Formulário mobile pequeno */
    .signup .form h2 {
        font-size: 1.2em;
    }

    .form-control {
        font-size: 0.9em;
    }

    .btn-submit {
        font-size: 0.8em;
    }

    /* Moldura de fotos mobile */
    .moldura {
        flex: 1 1 100%;
    }
}

@media (max-width: 360px) {
    .svg-button {
        width: 65px;
        height: 65px;
        margin: 4px;
    }
}

/* Melhorias de usabilidade mobile */
@media (max-width: 768px) {

    .nav-link,
    .svg-button,
    .carousel-control,
    .indicator {
        min-height: 44px;
        /* Tamanho mínimo recomendado para toque */
        min-width: 44px;
    }

    .svg-button {
        padding: 5px;
    }

    /* Melhorar legibilidade do texto */
    body {
        font-size: 16px;
        /* Previne zoom em iOS */
        line-height: 1.5;
    }

    .container {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Prevenir transbordamento horizontal */
    body,
    html {
        width: 100%;
        overflow-x: hidden;
    }

    .container {
        max-width: 100%;
    }

    /* Reduzir animações pesadas em mobile */
    .star {
        animation-duration: 8s;
    }

    /* Ajustes de hover para mobile */
    .svg-button:hover {
        transform: translateY(-3px) scale(1.05);
    }

    .countdown-item:hover {
        transform: scale(1.05);
    }
}

/* Ajustes específicos para iPhone */
@supports (-webkit-touch-callout: none) {
    .navbar {
        padding-top: env(safe-area-inset-top);
    }

    footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Ajustes para a área de comentários */
@media (min-width: 768px) {
    #comments-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .comment {
        width: calc(50% - 20px);
    }
}

@media (max-width: 767px) {
    .nav-link {
        padding: 0.7rem 1rem !important;
    }

    #comments-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .comment {
        width: 100%;
    }
}

/* Ajustes para as molduras de fotos */
@media (max-width: 768px) {
    .moldura {
        flex: 1 1 calc(50% - 15px);
        max-width: 30%;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    background-color: #3C4257;
    color: #DDE0E1;
    border: 1px solid #697CB6;
    border-radius: 8px;
    padding: 3px;
    font-size: 1em;
}

/* Estilo do footer */
footer {
    position: relative;
    background-color: #162150;
    color: #697CB6;
    text-align: center;
    padding: 20px;
    width: 100%;
    font-weight: 50;
}

.social-icon {
    margin: 0 10px;
    color: #697CB6;
    font-size: 24px;
    transition: color 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    color: #DDE0E1;
    text-decoration: none;
}

.name {
    font-size: 14px;
    margin-top: 10px;
    color: #697CB6;
}

.copyright {
    font-size: 12px;
    margin-top: 10px;
    color: #697CB6;
    text-decoration: none;
}

.social-icon:hover {
    color: #DDE0E1;
    text-decoration: none;
}

/* Animação dos pontos brilhantes seguindo o mouse */
@keyframes follow-mouse {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }

    50% {
        transform: translate(10px, 10px) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }
}

/* Estilo da seção de introdução */
.introducao-secao {
    padding: 20px;
    color: #DDE0E1;
    max-width: 500px;
    margin: 0 auto;
    text-align: justify;
    box-sizing: border-box;
    font-family: 'Futura';

}

.introducao-titulo {
    color: #697CB6;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: lighter;
    font-family: 'Futura';

}

.introducao-paragrafo {
    font-size: 1em;
    line-height: 1.8;
    margin: 0 auto;
    padding: 0 10px;
}

/* Adiciona padding ao corpo da página para evitar sobreposição de conteúdo com o footer */
body {
    padding-bottom: -20px;
    margin: 0;
}

.image-center {
    text-align: center;
    animation: pulse 7s ease-in-out infinite;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10% !important;
    margin-bottom: 40px !important;
    padding: 0 15px;
}

.image-center img {
    max-width: 30%;
    height: auto;
}



/* Define a animação de pulsação */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}



/* qr code */
#qrcode {
    width: 256px;
    height: 256px;
    margin: 0 auto;
}

.qrcode-container {
    text-align: center;
    padding: 10px;
    border: 2px solid #697CB6;
    border-radius: 10px;
    background-color: rgba(22, 33, 80, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin: 20px auto;
}

.qrcode-container h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #697CB6;
}

.qrcode-container p {
    font-size: 16px;
    color: #DDE0E1;
}

#qrcode-sofiamaria {
    width: 200px;
    height: 200px;
    margin: 20px 0;
    border: 2px solid #697CB6;
    border-radius: 10px;
}

@keyframes gift-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.gift {
    position: fixed;
    font-size: 30px;
    color: #697CB6;
    top: -50px;
    z-index: 999;
    animation: gift-fall 6s linear infinite;
    opacity: 0.9;
}

#gift-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    border-radius: 70%;
    background: radial-gradient(circle, #697CB6 40%, #3C4257 70%);
    opacity: 0;
    animation: twinkle 5.5s infinite ease-in-out;
}

@keyframes fall {
    to {
        transform: translateY(calc(100vh + 10px));
    }
}

@keyframes twinkle {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes colorChange {
    0% {
        background-color: #697CB6;
    }

    25% {
        background-color: #3C4257;
    }

    50% {
        background-color: #162150;
    }

    75% {
        background-color: #DDE0E1;
    }

    100% {
        background-color: #697CB6;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.blink {
    animation: blink 2s infinite;
}

/* ============ DESIGN MINIMALISTA MOBILE - LISTA DE PRESENTES ============ */
@media (max-width: 768px) {
    .image-center {
        margin-bottom: 30px !important;
        margin-top: 20% !important;
    }

    .image-center img.main-logo {
        max-width: 65% !important;
    }

    /* Layout da lista de presentes */
    .molduras-orbita {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 15px;
        max-width: 100%;
        margin: 0 auto;
    }

    .moldura {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        padding: 16px;
        flex-direction: row;
        align-items: flex-start;
        border-radius: 12px;
        background: rgba(22, 33, 80, 0.3);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(105, 124, 182, 0.2);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .moldura:hover {
        background: rgba(22, 33, 80, 0.4);
        border-color: rgba(105, 124, 182, 0.4);
    }

    /* Imagem do produto - tratamento para imagens que não carregam */
    .moldura img {
        width: 80px !important;
        height: 80px;
        object-fit: cover;
        margin-right: 16px;
        margin-bottom: 0;
        border-radius: 8px;
        flex-shrink: 0;
        background: linear-gradient(135deg, rgba(61, 66, 87, 0.3), rgba(105, 124, 182, 0.2));
    }



    /* Container de informações */
    .item-info-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-width: 0;
        gap: 12px;
    }

    /* Nome do produto */
    .item-info {
        font-size: 14px;
        line-height: 1.4;
        margin: 0;
        padding: 12px;
        white-space: normal;
        word-break: break-word;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        background: rgba(61, 66, 87, 0.3);
        border-radius: 8px;
        border: 1px solid rgba(105, 124, 182, 0.2);
        color: #DDE0E1;
    }

    /* Container do botão e preço */
    .botao-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0;
        gap: 8px;
    }

    /* Preço */
    .botao-container>div:first-child {
        background: rgba(105, 124, 182, 0.2);
        color: #DDE0E1;
        padding: 10px 12px;
        border-radius: 8px;
        font-weight: bold;
        font-size: 16px;
        text-align: center;
        border: 1px solid rgba(105, 124, 182, 0.3);
    }

    /* Botão de compra */
    .comprar-btn {
        width: 100% !important;
        padding: 14px 16px !important;
        font-size: 14px !important;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-top: 0 !important;
        background: rgba(105, 124, 182, 0.3);
        border: 1px solid rgba(105, 124, 182, 0.4);
        color: #DDE0E1;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .comprar-btn:hover {
        background: rgba(105, 124, 182, 0.4);
        transform: translateY(-1px);
    }

    .comprar-btn:active {
        transform: translateY(0);
    }

    /* Logo do Nubank no botão */
    .nubank-logo {
        height: 22px !important;
        width: auto;
        margin-right: 8px;
        filter: brightness(0) invert(1) opacity(0.8);
    }

    /* Botão quando já comprado */
    .comprado {
        font-size: 13px !important;
        white-space: normal;
        line-height: 1.4;
        padding: 12px !important;
        background: rgba(76, 175, 80, 0.2) !important;
        border: 1px solid rgba(76, 175, 80, 0.3) !important;
    }

    /* Seção de introdução */
    .introducao-secao {
        padding: 20px 16px;
        margin: 0 10px;
        background: rgba(22, 33, 80, 0.3);
        border-radius: 12px;
        border: 1px solid rgba(105, 124, 182, 0.2);
        backdrop-filter: blur(10px);
    }

    .introducao-paragrafo {
        font-size: 13px;
        line-height: 1.6;
        text-align: left;
        color: #DDE0E1;
    }

    .introducao-paragrafo b {
        color: #697CB6;
        font-weight: 600;
    }

    /* Ajustes para telas muito pequenas */
    @media (max-width: 360px) {
        .moldura {
            padding: 12px;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .moldura img {
            width: 70px !important;
            height: 70px;
            margin-right: 0;
            margin-bottom: 12px;
        }

        .item-info {
            font-size: 13px;
            padding: 10px;
            -webkit-line-clamp: 4;
        }

        .comprar-btn {
            padding: 12px 14px !important;
            font-size: 14px !important;
        }

        .comprado {
            padding: 12px 14px !important;
            font-size: 13px !important;
        }

        /* Container do botão e preço */
        .botao-container {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            width: 100%;
            padding: 0;
            gap: 8px;
        }

        /* Preço */
        .botao-container>div:first-child {
            background: rgba(105, 124, 182, 0.2);
            color: #DDE0E1;
            padding: 10px 12px;
            border-radius: 8px;
            font-weight: bold;
            font-size: 16px;
            text-align: center;
            border: 1px solid rgba(105, 124, 182, 0.3);
        }
    }

    .nubank-logo {
        height: 20px !important;
        margin-right: 6px;
    }

    .botao-container>div:first-child {
        padding: 8px 10px;
        font-size: 15px;
    }
}


/* Melhorias para desktop */
@media (min-width: 769px) {
    .molduras-orbita {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }

    .moldura {
        transition: all 0.3s ease;
        background: rgba(22, 33, 80, 0.4);
        border: 1px solid rgba(105, 124, 182, 0.3);
    }

    .moldura:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        background: rgba(22, 33, 80, 0.5);
    }
}

/* Animações suaves */
.moldura {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Fallback para imagens quebradas */
.moldura img {
    object-fit: cover;
}

.moldura img[src=""],
.moldura img:not([src]) {
    background: linear-gradient(135deg, #3C4257, #697CB6);
}


/* Melhorias de acessibilidade */
.comprar-btn:focus {
    outline: 2px solid rgba(105, 124, 182, 0.6);
    outline-offset: 2px;
}

/* Suporte para reduzir movimento */
@media (prefers-reduced-motion: reduce) {
    .moldura {
        animation: none;
    }

    .comprar-btn {
        transition: none;
    }
}

/* Melhorias gerais de usabilidade mobile */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }

    /* Melhoria no scroll suave */
    .molduras-orbita {
        -webkit-overflow-scrolling: touch;
    }

    /* Previne zoom em inputs */
    select,
    input,
    textarea {
        font-size: 16px !important;
    }

    /* Melhoria no feedback tátil */
    .comprar-btn {
        -webkit-tap-highlight-color: transparent;
    }

    /* Ajuste no espaçamento geral */
    .introducao-secao {
        margin-bottom: 20px;
    }
}

/* Melhorias de contraste para acessibilidade */
@media (prefers-contrast: high) {
    .moldura {
        border: 2px solid #697CB6 !important;
        background: rgba(22, 33, 80, 0.8) !important;
    }

    .comprar-btn {
        border: 2px solid #697CB6 !important;
    }
}

/* Modo escuro refinado */
@media (prefers-color-scheme: dark) {
    .item-info {
        background: rgba(61, 66, 87, 0.4) !important;
    }

    .botao-container>div:first-child {
        background: rgba(105, 124, 182, 0.25) !important;
    }
}

/* Animações suaves para todas as interações */
.moldura,
.comprar-btn,
.item-info {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estilo para quando não há imagens */
.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3C4257, #697CB6);
    color: rgba(221, 224, 225, 0.7);
    font-size: 24px;
    font-weight: bold;
}

/* ============ BOTÕES MOBILE MELHORADOS ============ */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(15, 23, 60, 0.98) !important;
        backdrop-filter: blur(15px);
        padding: 20px;
        border-radius: 0 0 10px 10px;
        margin-top: 53px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }



    /* Esconder tooltips em mobile */
    .tooltip {
        display: none !important;
    }

    /* Esconder botões originais em mobile */
    .action-buttons {
        display: none !important;
    }

    /* Mostrar botões mobile - MELHORADO */
    .mobile-action-buttons {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 50px 0;
        width: 100%;
        padding: 0 15px;
    }

    .mobile-button {
        display: flex;
        align-items: center;
        background: linear-gradient(135deg, rgba(105, 124, 182, 0.2) 0%, rgba(61, 66, 87, 0.2) 100%);
        backdrop-filter: blur(12px);
        border: 2px solid rgba(105, 124, 182, 0.4);
        border-radius: 20px;
        padding: 20px 25px;
        text-decoration: none;
        color: #DDE0E1;
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
        min-height: 90px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .mobile-button:hover {
        transform: translateY(-5px);
        background: linear-gradient(135deg, rgba(105, 124, 182, 0.3) 0%, rgba(61, 66, 87, 0.3) 100%);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        color: #DDE0E1;
        text-decoration: none;
        border-color: rgba(105, 124, 182, 0.6);
    }

    .mobile-button:active {
        transform: translateY(-2px);
    }

    .mobile-button img {
        width: 70px;
        height: 70px;
        margin-right: 20px;
        filter: brightness(1.1);
        flex-shrink: 0;
        /* REMOVIDO: background, border, padding e border-radius */
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .mobile-button span {
        font-size: 1.3em;
        font-weight: 600;
        flex-grow: 1;
        text-align: left;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        letter-spacing: 0.5px;
    }

    /* Efeito de brilho suave nos botões */
    .mobile-button::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, rgba(105, 124, 182, 0.3), rgba(61, 66, 87, 0.3), rgba(105, 124, 182, 0.3));
        border-radius: 22px;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-button:hover::before {
        opacity: 1;
    }
}

/* Desktop: esconder botões mobile e mostrar os originais */
@media (min-width: 992px) {
    .mobile-action-buttons {
        display: none !important;
    }

    .action-buttons {
        display: flex !important;
    }
}

/* Ajustes para tablets */
@media (max-width: 991px) and (min-width: 768px) {
    .mobile-action-buttons {
        max-width: 600px;
        margin: 50px auto;
    }

    .mobile-button {
        padding: 25px 30px;
        min-height: 100px;
    }

    .mobile-button img {
        width: 80px;
        height: 80px;
    }

    .mobile-button span {
        font-size: 1.4em;
    }
}

/* Ajustes para telas pequenas */
@media (max-width: 480px) {
    .mobile-action-buttons {
        gap: 15px;
        margin: 40px 0;
        padding: 0 10px;
    }

    .mobile-button {
        padding: 18px 20px;
        min-height: 80px;
        border-radius: 18px;
    }

    .mobile-button img {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }

    .mobile-button span {
        font-size: 1.2em;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 360px) {
    .mobile-button {
        padding: 15px 18px;
        min-height: 75px;
        border-radius: 16px;
    }

    .mobile-button img {
        width: 55px;
        height: 55px;
        margin-right: 12px;
    }

    .mobile-button span {
        font-size: 1.1em;
    }
}

/* Melhorias de acessibilidade para o toggle */


/* Ajustes para o logo em mobile */
@media (max-width: 768px) {
    #logo {
        height: 80px;
        max-height: 90px;
    }

    .navbar {
        padding: 0.3rem 1rem;
        height: 90px;
    }
}

/* Ajustes para a imagem central em mobile */
@media (max-width: 768px) {
    .image-center img {
        max-width: 60%;
        margin-top: 15%;
    }
}

/* Animações adicionais para os botões mobile */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 rgba(105, 124, 182, 0.4);
    }

    50% {
        box-shadow: 0 0 20px rgba(105, 124, 182, 0.6);
    }

    100% {
        box-shadow: 0 0 0 rgba(105, 124, 182, 0.4);
    }
}

.mobile-button {
    animation: pulse-glow 2s infinite;
}

.mobile-button:hover {
    animation: none;
}

/* ============ AJUSTES PARA OS CARDS DE INFORMAÇÃO NO MOBILE ============ */
@media (max-width: 768px) {
    .event-info-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-top: 30px !important;
    }

    .info-card {
        padding: 20px 15px !important;
        border-radius: 15px !important;
        margin: 0 10px !important;
    }

    .info-icon {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 15px !important;
        font-size: 20px !important;
    }

    .info-card h3 {
        font-size: 1.2em !important;
        margin-bottom: 10px !important;
    }

    .info-detail {
        font-size: 1.1em !important;
        margin-bottom: 5px !important;
    }

    .info-subdetail {
        font-size: 0.9em !important;
        margin-bottom: 10px !important;
    }

    .map-link {
        font-size: 0.85em !important;
        margin-top: 8px !important;
    }

    /* Ajustar espaçamento geral da seção */
    .event-info-section {
        padding: 20px 0 !important;
        margin: 20px 0 !important;
    }

    /* Reduzir margens entre os elementos */
    .elegant-header {
        padding: 20px 0 !important;
        margin-bottom: 20px !important;
    }

    .main-title {
        font-size: 3.5em !important;
    }

    .sub-title {
        font-size: 1.6em !important;
    }

    .tagline {
        font-size: 1em !important;
        margin-top: 15px !important;
    }
}

/* Ajustes adicionais para telas muito pequenas */
@media (max-width: 480px) {
    .info-card {
        padding: 18px 12px !important;
        border-radius: 12px !important;
        margin: 0 5px !important;
    }

    .info-icon {
        width: 45px !important;
        height: 45px !important;
        margin: 0 auto 12px !important;
        font-size: 18px !important;
    }

    .info-card h3 {
        font-size: 1.1em !important;
        margin-bottom: 8px !important;
    }

    .info-detail {
        font-size: 1em !important;
    }

    .info-subdetail {
        font-size: 0.85em !important;
    }

    .main-title {
        font-size: 3em !important;
    }

    .sub-title {
        font-size: 1.4em !important;
    }
}

/* Melhorias de espaçamento para mobile */
@media (max-width: 768px) {
    .container>.container {
        padding: 0 10px !important;
    }

    .event-info-grid {
        margin: 20px 0 !important;
    }

    /* Reduzir espaçamento excessivo */
    br {
        display: none !important;
    }

    .max-width>.container {
        padding: 0 5px !important;
    }
}

/* Ajustes específicos para o layout grid */
@media (max-width: 768px) {
    .event-info-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .info-card {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto 15px !important;
    }
}

/* Melhorar a hierarquia visual nos cards */
.info-card {
    text-align: center;
}

.info-detail {
    font-weight: 600;
    color: #697CB6 !important;
}

.info-subdetail {
    color: #A9A9A9 !important;
    line-height: 1.4;
}

/* Ajustar o link do mapa para mobile */
@media (max-width: 768px) {
    .map-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 15px;
        background: rgba(105, 124, 182, 0.1);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .map-link:hover {
        background: rgba(105, 124, 182, 0.2);
        transform: translateY(-2px);
    }
}

/* ============ FILTRO DE PREÇOS ============ */
.filtro-container {
    background: rgba(22, 33, 80, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(105, 124, 182, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 30px auto;
    max-width: 900px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filtro-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(105, 124, 182, 0.3);
}

.filtro-header i {
    font-size: 24px;
    color: #697CB6;
    margin-right: 12px;
}

.filtro-header h3 {
    color: #DDE0E1;
    font-size: 1.4em;
    margin: 0;
    font-weight: 500;
}

.filtro-botoes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.filtro-btn {
    background: rgba(105, 124, 182, 0.2);
    border: 1px solid rgba(105, 124, 182, 0.3);
    color: #DDE0E1;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

.filtro-btn:hover {
    background: rgba(105, 124, 182, 0.3);
    transform: translateY(-2px);
}

.filtro-btn.active {
    background: rgba(105, 124, 182, 0.4);
    border-color: rgba(105, 124, 182, 0.6);
    box-shadow: 0 4px 8px rgba(105, 124, 182, 0.2);
}

.filtro-info {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(105, 124, 182, 0.2);
}

#contador-itens {
    color: #697CB6;
    font-size: 14px;
    font-weight: 500;
}

/* Responsividade do filtro */
@media (max-width: 768px) {
    .filtro-container {
        margin: 20px 15px;
        padding: 15px;
    }

    .filtro-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .filtro-header i {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .filtro-botoes {
        gap: 8px;
    }

    .filtro-btn {
        padding: 10px 15px;
        font-size: 13px;
        min-width: 70px;
        flex: 1;
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .filtro-botoes {
        gap: 6px;
    }

    .filtro-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 60px;
        max-width: calc(50% - 6px);
    }

    .filtro-header h3 {
        font-size: 1.2em;
    }
}

/* Animações para o filtro */
.filtro-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filtro-container {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Efeito de foco para acessibilidade */
.filtro-btn:focus {
    outline: 2px solid rgba(105, 124, 182, 0.6);
    outline-offset: 2px;
}


/* Nova estrutura para a lista de preferências */
.introducao-texto {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.preferencias-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.preferencias-titulo {
    display: block;
    font-weight: bold;
    margin-bottom: 15px;
    color: #697CB6;
    font-size: 1.1em;
}

.preferencia-item {
    display: block;
    font-size: small;
    padding: 8px 0;
    border-bottom: 1px solid rgba(105, 124, 182, 0.2);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    .preferencias-lista {
        gap: 8px;
    }

    .preferencia-item {
        padding: 6px 0;
        font-size: 14px;
        color: #DDE0E1;
    }

    .preferencias-titulo {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/* REGRAS DE EMERGÊNCIA - Forçar quebra de linha */
@media (max-width: 768px) {

    .introducao-paragrafo,
    .introducao-paragrafo *,
    .introducao-paragrafo b,
    .introducao-paragrafo i,
    .introducao-paragrafo strong {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        -ms-hyphens: auto !important;
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Remover qualquer flexbox que possa estar causando problemas */
    .introducao-paragrafo {
        display: block !important;
        flex: none !important;
    }
}
