* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif !important;
}

/* Estilo Base */
body {
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    padding-top: 140px;
    height: 100%; */
    font-family: 'Poppins', sans-serif;
}

.container-principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    padding-top: 140px;
    height: 100%;
}

/* Efeito de fade-in e fade-out */
.fade-in {
    opacity: 0;
    animation: fadeIn 3s forwards;
}

.fade-out {
    opacity: 1;
    animation: fadeOut 3s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Aplicando transições nas telas */
.step-1,
.step-2 {
    transition: opacity 1s ease-in-out;
}

.step-1.active,
.step-2.active {
    opacity: 1;
}

.step-1:not(.active),
.step-2:not(.active) {
    opacity: 0;
    pointer-events: none;
    /* Evita interações com elementos ocultos */
}

/* Background para as páginas */
.bg-step1 {
    background: url('../imgs/bg-acenda.jpg') no-repeat center center fixed;
    background-size: cover;
}

.bg-step2 {
    background: url('../imgs/bg-step2.jpg') no-repeat center center fixed;
    backdrop-filter: blur(0px);
    background-size: cover;
}

.bg-velario {
    background: url('../imgs/bg-fatima.jpg') no-repeat;
    backdrop-filter: blur(0px);
    background-size: cover;
}

.bg-intencoes {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    background: linear-gradient(45deg, #160f1f, #5371a3);
    background-size: 400% 400%;
    animation: gradientAnimation 6s ease infinite;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.bg-index {
    margin-top: -4%;
}

.bg-index .logo {
    height: 200px;
    border: 0;
    margin: 10px 0 10px 0;
    overflow: hidden;
}

/* Header */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* width: 100%; */
    padding: 5px 10px;
    /* background: rgba(0, 0, 0, 0.7); */
    background: black;
    color: white;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.logo img {
    height: 60px;
    margin-right: 20px;
}

/* Novo Menu */
nav {
    display: flex;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    display: flex;
    margin-left: 20px;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ff9800;
}

/* Botão MENU/FECHAR */
.menu-toggle {
    display: none;
    cursor: pointer;
    background: #ffbf00;
    color: #3f2b00;
    padding: 5px 10px;
    margin: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    min-width: 120px;
}



/* .menu-toggle span {
    background: white;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    transition: 0.3s;
} */

/* Responsividade */
@media (max-width: 768px) {
    .header-content.active {
        flex-direction: column;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: linear-gradient(135deg, #ff9800, #ff5722);
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        display: block;
        /* muda de flex para block */
        margin: 10px 0;
        text-align: center;
        /* centraliza o texto */
    }

    nav ul li a {
        display: inline-block;
        padding: 0px 0;
        position: relative;
    }

    nav ul li a::after {
        content: "";
        display: block;
        width: 100%;
        /* tamanho do risco */
        height: 1px;
        /* espessura */
        background-color: #ffda89;
        /* cor do risco */
        margin: 5px auto 0;
        /* centraliza embaixo do texto */
    }

    .menu-toggle {
        display: block;
    }

    nav.active {
        display: flex;
    }

    .logo.active {
        display: none;
    }

    header.active {
        padding: 0 !important;
        background-color: hsl(0, 0%, 15%);
    }

    .menu-toggle.active {
        margin-left: auto;
        padding: 5px 10px;
        /* empurra para a direita */
    }
}

/* Estilos de Texto e Botões */
h1,
h2,
h3 {
    margin-top: 10px;
    margin-bottom: 20px;
}

p {
    font-size: 1.2rem;
    margin: 20px 0;
    font-family: 'Poppins', sans-serif;
    color: white;
}

input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    border: none;
    outline: none;
}

button {
    padding: 10px 20px;
    background-color: #614209;
    color: white;
    border: 2px solid #f1a800;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Poppins', sans-serif;
    margin: 10px 0 auto;
}

button:hover {
    background-color: #b37a11;
}

.login-google {
    background: #fff;
    color: #333;
    margin-top: 10px;
}

.info-extra {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #f4eee3;
}

.info-extra a {
    color: #b37a11;
    text-decoration: none;
    font-weight: bold;
}

.info-extra a:hover {
    text-decoration: underline;
}

/* Container Principal */
.container-index {
    background: rgba(0, 0, 0, 0.8);
    padding: 0 20px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    max-width: 600px;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

.container-minhas-intencoes {
    max-width: 1200px;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 30px;
    margin-top: 120px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Estilos da Vela */
.vela-container {
    position: relative;
}

/* container-black (primeira definição geral) */
.container-black {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    overflow: hidden;
}

span {
    font-family: 'Playfair Display', serif;
}

h1 {
    text-align: center;
    color: gold;
    font-family: 'Playfair Display', serif;
    font-size: 2.3em;
    margin-bottom: 40px;
}

h2 {
    text-align: left;
    color: gold;
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin: 20px 0;
}

.velario {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
    justify-items: center;
}

.vela {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.vela img {
    width: 60px;
    transition: transform 0.3s;
    border-radius: 5px;
}

.vela:hover img {
    transform: scale(1.1);
}

.rotulo {
    margin: 5px;
    color: #fff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

/* container-black (segunda definição – mantida, mas ajustada para duas colunas) */
.container-black {
    text-align: center;
    max-width: 1100px;
    /* <- aumentado para caber vela + formulário lado a lado */
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    transition: height 0.3s ease-in-out, margin-top 0.3s ease-in-out;
    min-height: auto !important;
    /* Permite expansão */
    overflow: visible !important;
    /* Permite crescimento */
    display: flex;
    flex-direction: column;
}

/* Estilo para o campo de input das intenções */
.container-black textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin: 10px 0 10px;
    resize: none;
    background: rgba(255, 255, 255, 0.8);
    /* Fundo leve para o campo de input */
    color: #333;
}

.intencao-container {
    margin-top: 20px;
}

/* Estilo da página de Minhas Intenções */
.intencao-item {
    display: flex;
    align-items: center;
    background: #000;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    justify-content: space-between;
}

.intencao-item img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.intencao-item .titulo {
    flex: 1;
    text-align: left;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.intencao-item .data {
    font-size: 0.9rem;
    color: #bbb;
    padding: 0 10px;
}

.intencao-item .acoes {
    display: flex;
    gap: 10px;
}

.intencao-item .acoes button {
    background: #614209;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.intencao-item .acoes button:hover {
    background: #b37a11;
}

/* Link para a página de graça */
.btn-graca {
    background: #8b9e22;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-graca:hover {
    background: #505a14;
}

#container-black {
    position: relative !important;
}

@media (max-width: 768px) {
    .intencao-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .intencao-header {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .intencao-header img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .titulo {
        flex: 1;
    }

    .data {
        margin-top: 5px;
    }

    .acoes {
        margin-top: 10px;
        display: flex;
        gap: 10px;
        width: 100%;
    }

    h1 {
        font-size: 1.3em;
    }
}

.step {
    text-align: center;
    max-width: 800px;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 30px;
    border-radius: 10px;
    display: none;
    /* Inicialmente oculto */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.step.active {
    display: block;
    opacity: 1;
    z-index: 10;
}

/* Estilo para os botões de WhatsApp, Instagram e Facebook */
.social-share {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.social-share a {
    margin: 0 15px;
    font-size: 24px;
    color: #fff !important;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-share a:hover {
    background-color: #b37a11;
    transform: scale(1.1);
}

.whatsapp {
    background-color: #25D366;
}

.whatsapp:hover {
    background-color: #128C7E;
}

.facebook {
    background-color: #3b5998;
}

.facebook:hover {
    background-color: #2d4373;
}

.instagram {
    background-color: #E4405F;
}

.instagram:hover {
    background-color: #C13584;
}

.social-button:hover {
    color: #fff;
}

.vela {
    width: 150px;
    transition: transform 0.2s ease-in-out;
}

.vela:hover {
    transform: scale(1.05);
}

.vela:active {
    transform: none;
}

.vela-acesa {
    display: none;
}

.vela-container.vela-acendida .vela-apagada {
    display: none;
}

.vela-container.vela-acendida .vela-acesa {
    display: inline-block;
}

.efeito-luz {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 20vw;
    height: 20vw;
    background: radial-gradient(circle, rgba(245, 224, 131, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: transform 0.6s ease-out, opacity 0.4s ease-in;
}

/* Social Share (redundante, mantido por compatibilidade) */
.social-share {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.social-share a {
    margin: 0 10px;
    font-size: 20px;
    text-decoration: none;
}

.social-share a:hover {
    color: #b37a11;
}

.menu-mobile,
.menu-fechar {
    display: none !important;
}

.confirmation-message {
    border-radius: 10px;
    color: #fff;
    text-align: left;
}

.mensagem-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap-reverse;
    justify-content: center;
}

.imagem-fatima {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    flex-shrink: 0;
}

.mensagem-texto {
    flex: 1;
}

.mensagem-texto h2 {
    font-size: 1.8rem;
    margin: 0;
    color: #fff;
}

.texto-oracao {
    font-style: italic;
    margin-top: 10px;
    font-size: 1rem;
}

.footer {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.65);
    position: relative;
    color: #000 !important;
    bottom: 0 !important;
    padding: 10px 20px;
    margin-top: 40px;
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 80px;
}

.footer p {
    font-size: 11px;
    color: #000 !important;
}

.footer-info {
    text-align: right;
}

.play-btn {
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: white;
    padding: 8px;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: background 0.2s, opacity 0.2s;
    margin: 10px 0 0 10px !important;
}

.play-btn:hover {
    background: rgba(50, 50, 50, 0.9);
    /* clareia um pouco no hover */
}

.prece {
    font-size: 16px;
    font-style: italic;
    line-height: 1.7;
    white-space: pre-line;
}


/* MOBILE (imagem acima do container preta) */
/* @media (max-width: 768px) { */
/* .menu {
        justify-content: flex-end;
    } */

/* Botão "MENU" visível no mobile */
/* .menu-mobile {
        display: inline-block;
        cursor: pointer;
        user-select: none;
    } */

/* .menu-mobile,
    .menu-fechar {
        padding: 10px 20px;
        background-color: #614209;
        color: white;
        border-radius: 11px;
        font-size: 1rem;
        cursor: pointer;
        transition: background 0.3s;
        font-family: 'Poppins', sans-serif;
        margin: 0 auto;
        display: block !important;
    } */
/* } */

/* DESKTOP (imagem alinhada à direita do conteúdo) */
@media (min-width: 769px) {
    .img-fatima {
        position: static;
        float: right;
        margin: 20px;
    }
}

/* ----------------------------- */
/*  NOVO: layout vela + form     */
/* ----------------------------- */
.velario-wrap {
    width: 100%;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    justify-content: center;
    margin-top: 20px;
}

.vela-col {
    flex: 0 0 auto;
    text-align: center;
}

.form-col {
    flex: 1 1 460px;
    max-width: 560px;
    text-align: left;
}

.label-vela {
    font-size: 18px;
    font-weight: 700;
    /* negrito */
    color: #fff;
    margin: 8px 0 4px;
}

.hint {
    font-size: 12px;
    color: #ddd;
    margin: 0 0 10px;
}

.label-small {
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    margin: 14px 0 6px;
}

/* Inputs da coluna do formulário */
.form-col input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    font-size: 1rem;
}

.text-erro {
    color: red;
}

/* Spinner do login */
.spinner {
    border: 3px solid #f3f3f3;
    /* cor de fundo */
    border-top: 3px solid #3498db;
    /* cor da animação */
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Botão de Som do site */
/* Botão fixo na lateral direita */
#soundButton {
    position: absolute;
    top: 20px;
    /* Distância do topo da página */
    right: 20px;
    /* Distância da lateral direita */
    padding: 10px 15px;
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#soundButtonMenu.sound-desktop {
    top: 20px;
    /* Distância do topo da página */
    right: 20px;
    /* Distância da lateral direita */
    padding: 10px 15px;
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    z-index: 1000;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); */
}

#soundButtonMenu.sound-mobile {
    display: none;
}

/* Carregando  */
.loading-text {
    font-family: Arial, sans-serif;
    font-size: 24px;
    color: #FFD700;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo para os pontos */
.loading-text span {
    animation: blink 1.4s infinite;
    opacity: 0;
}

/* Atraso para cada ponto */
.loading-text span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-text span:nth-child(3) {
    animation-delay: 0.4s;
}

/* A animação de piscar */
@keyframes blink {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Carregando  */

/* Paginacao */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid #ffd700;
    background-color: #020100;
    cursor: pointer;
    border-radius: 5px;
    /* transition: background-color 0.3s, opacity 0.3s; */
    margin-left: 2px;
    /* opacity: 0.7; */
}

.pagination-btn:hover {
    background-color: #ffd700;
    color: #020100;
}

.pagination-btn.active {
    background-color: #ffd700;
    color: #020100;
    border-color: #ffd700;
}

#pagination {
    margin-top: 10px;
}

.mg-top {
    margin-top: 10px;
}

.som-desktop {
    /* Tornar o botão um container flexível */
    display: flex;
    /* Alinhar os itens (ícone e span) em coluna */
    flex-direction: column;
    /* Centralizar horizontalmente o ícone e o texto */
    align-items: center;
    /* Opcional: Centralizar verticalmente também, se o botão tiver altura fixa */
    justify-content: center;

    /* Estilos adicionais para o seu botão, se houver */
    background-color: transparent;
    /* Exemplo */
    border: none;
    /* Exemplo */
    cursor: pointer;
    /* Exemplo */
    padding: 5px;
    /* Ajuste o padding conforme necessário */
    font-size: 24px;
    /* Tamanho do ícone, se for texto */
    color: #FFF;
    /* Cor do ícone, se for texto */
}

.modal-customizada {
    width: 60% !important;
}

.tituloModalOracoes {
    color: #000;
}

.textoModalOracoes {
    color: #000;
    text-align: left;
}

/* Estilo do Rodapé */
.site-footer {
    background-color: #000;
    /* Cor de fundo escura */
    color: #fff;
    /* Cor do texto */
    padding: 10px 0;
    /* Espaçamento interno (cima e baixo) */
    font-family: sans-serif;
    text-align: center;
    /* Alinha o texto centralmente para telas pequenas */
}

.footer-content {
    display: flex;
    flex-direction: column;
    /* Padrão para mobile: itens empilhados */
    align-items: center;
    /* Centraliza os itens */
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-resgate {
    width: 87px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Responsivo: empilha no mobile */
@media (max-width: 768px) {
    .velario-wrap {
        flex-direction: column;
        gap: 18px;
    }

    .form-col {
        max-width: 100%;
    }

    .form-col {
        text-align: left;
    }

    #soundButtonMenu.sound-desktop {
        display: none !important;
        padding-bottom: 0px !important;
    }

    .som-desktop-login {
        display: none !important;
        padding-bottom: 0px !important;
    }

    #ligueSom {
        display: none !important;
    }

    #soundButtonMenu.sound-mobile {
        position: fixed;
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 200%;
        border-radius: 50%;
        border: 0px;
        /* background-color: rgba(255, 215, 0, 0.8); */
        background-color: #ffd700;
        /* Cor verde */
        display: flex;
        justify-content: center;
        align-items: center;
        /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); */
        /* cursor: pointer; */
        z-index: 1000;
        /* transition: transform 0.2s ease-in-out, box-shadow 0.2s; */
    }

    .modal-customizada {
        width: 90% !important;
    }

    .site-footer {
        margin-top: 10px;
    }

    .footer-content p {
        flex-direction: row;
        /* Para desktop, coloca os itens lado a lado */
        font-size: 14px;
    }

    .prece {
        font-size: 14px;
    }
}

.pulse {
    animation: pulse 1s infinite;
}

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

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

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