* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #030712;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 28px 20px;
    margin: 0;
    box-sizing: border-box;
}

.container {
    max-width: 512px;
    min-width: 320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding-top: 12px;
    flex: 1 1 auto;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

@media (min-width: 640px) {
    .container {
        gap: 40px;
    }
}

@media (min-width: 768px) {
    .container {
        gap: 48px;
    }
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 160px;
    height: auto;
    display: block;
    object-fit: contain;
    max-width: 100%;
}

/* Garantir que imagens sejam exibidas mesmo se caminho estiver errado */
img[src*="logo"] {
    display: block;
}

img[src*="selos"] {
    display: block;
}

/* Main Heading */
.main-heading {
    font-size: 16px;
    font-weight: 700;
    color: #012340;
    text-align: center;
    line-height: 1.5;
    max-width: 512px;
    margin: 0;
    white-space: pre-line;
}

/* Features */
.features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 512px;
}

.feature-box {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 100%;
    justify-content: center;
}

.feature-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.feature-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a5f;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.feature-content span {
    font-size: 14px;
    font-weight: 400;
    color: #1e3a5f;
    margin: 0;
}

/* Animação de pulso */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(5, 37, 64, 0.7);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 8px rgba(5, 37, 64, 0);
    }
}

/* Buttons */
.btn-primary {
    background-color: #052540;
    border: 1px solid #0e314e;
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    width: 100%;
    max-width: 512px;
    transition: all 0.3s;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(5, 37, 64, 0.3);
    animation: none; /* Para a animação no hover */
}

.btn-primary:active {
    transform: translateY(0) scale(1);
    animation: none;
}

.btn-secondary {
    background-color: #01bb5e;
    border: 1px solid #0d6e3d;
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    width: 100%;
    max-width: 512px;
    transition: all 0.3s;
    text-align: center;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 187, 94, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Barra de Selos de Confiança */
.trust-bar-img-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
}

.trust-bar-img {
    width: 512px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Trust Icons */
.trust-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 550px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 100px;
}

.trust-icon {
    width: 28px;
    height: 28px;
}

.trust-icon svg {
    width: 100%;
    height: 100%;
}

.trust-item p {
    font-size: 11px;
    font-weight: 500;
    color: #1e3a5f;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-heading {
        font-size: 24px;
    }

    .logo-img {
        max-width: 250px;
    }

    .feature-box p {
        font-size: 14px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 16px;
        padding: 16px 30px;
    }

    .trust-icons {
        gap: 15px;
    }

    .trust-item p {
        font-size: 11px;
    }

    .trust-bar-img {
        max-width: 450px;
    }
}

@media (max-width: 480px) {
    .container {
        gap: 25px;
    }

    .main-heading {
        font-size: 20px;
    }

    .logo-img {
        max-width: 200px;
    }

    .feature-box {
        padding: 15px;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
    }

    .trust-icons {
        gap: 12px;
    }

    .trust-bar-img {
        max-width: 350px;
    }
}

/* Ocultar widget do Jivo até ser aberto pelo botão */
#jivo-widget-container.jivo-hidden,
.jivo-widget.jivo-hidden,
iframe[src*="jivosite"].jivo-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Quando o chat for aberto, mostrar */
#jivo-widget-container.jivo-open,
.jivo-widget.jivo-open,
iframe[src*="jivosite"].jivo-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Por padrão, ocultar o widget do Jivo quando carregar */
#jivo-widget-container:not(.jivo-open):not(.jivo-hidden),
.jivo-widget:not(.jivo-open):not(.jivo-hidden),
iframe[src*="jivosite"]:not(.jivo-open):not(.jivo-hidden) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Modal de Unidades */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-unidades {
    max-width: 512px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 28px 20px;
}

@media (min-width: 640px) {
    .modal-unidades {
        gap: 40px;
    }
}

@media (min-width: 768px) {
    .modal-unidades {
        gap: 48px;
        padding-top: 12px;
    }
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e3a5f;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.modal-title-unidades {
    font-size: 24px;
    font-weight: 700;
    color: #052540;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.modal-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #1e3a5f;
    text-align: center;
    margin: 0 0 40px 0;
}

.modal-header-unidades {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-subtitle-unidades {
    font-size: 14px;
    font-weight: 400;
    color: #1e3a5f;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.modal-subtitle-unidades strong {
    font-weight: 700;
}

.unidades-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 640px) {
    .unidades-list {
        gap: 40px;
    }
}

@media (min-width: 768px) {
    .unidades-list {
        gap: 48px;
    }
}

.unidade-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.unidade-nome {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a5f;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.unidade-endereco {
    font-size: 14px;
    font-weight: 400;
    color: #1e3a5f;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 512px;
    margin: 0 auto;
}

.btn-selecionar {
    background-color: #052540;
    border: 1px solid #0e314e;
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.btn-selecionar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 37, 64, 0.3);
}

.btn-selecionar:active {
    transform: translateY(0);
}

.btn-voltar-unidades {
    background-color: #043a67;
    border: 1px solid #0e314e;
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.btn-voltar-unidades:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 58, 103, 0.3);
}

.btn-voltar-unidades:active {
    transform: translateY(0);
}

.btn-fechar-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #1e3a5f;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.btn-fechar-modal:hover {
    background-color: #f0f0f0;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }

    .modal-unidades {
        gap: 32px;
        padding: 28px 20px;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-title-unidades {
        font-size: 20px;
    }

    .modal-subtitle {
        font-size: 14px;
    }

    .modal-subtitle-unidades {
        font-size: 13px;
    }

    .unidade-nome {
        font-size: 15px;
    }

    .unidade-endereco {
        font-size: 13px;
    }

    .btn-selecionar,
    .btn-voltar-unidades {
        font-size: 15px;
        padding: 18px;
    }

    .unidades-list {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 25px 15px;
    }

    .modal-title {
        font-size: 22px;
    }

    .unidade-nome {
        font-size: 16px;
    }

    .unidade-endereco {
        font-size: 13px;
    }

    .btn-selecionar {
        font-size: 14px;
        padding: 10px 25px;
    }

    .unidades-list {
        gap: 25px;
    }
}

/* Modal de Datas Disponíveis */
.modal-datas {
    max-width: 512px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 28px 20px;
}

@media (min-width: 640px) {
    .modal-datas {
        gap: 40px;
    }
}

@media (min-width: 768px) {
    .modal-datas {
        gap: 48px;
        padding-top: 12px;
    }
}

.modal-header-datas {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-title-datas {
    font-size: 24px;
    font-weight: 700;
    color: #052540;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.modal-title-datas strong {
    font-weight: 700;
}

.modal-subtitle-datas {
    font-size: 14px;
    font-weight: 400;
    color: #1e3a5f;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.modal-subtitle-datas strong {
    font-weight: 700;
}

.datas-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 640px) {
    .datas-list {
        gap: 40px;
    }
}

@media (min-width: 768px) {
    .datas-list {
        gap: 48px;
    }
}

.data-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.data-texto {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a5f;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.data-texto p {
    margin: 0;
}

.btn-selecionar-data {
    background-color: #052540;
    border: 1px solid #0e314e;
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.btn-selecionar-data:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 37, 64, 0.3);
}

.btn-selecionar-data:active {
    transform: translateY(0);
}

.btn-voltar-datas {
    background-color: #043a67;
    border: 1px solid rgba(192, 38, 211, 0.1);
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.btn-voltar-datas:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 58, 103, 0.3);
}

.btn-voltar-datas:active {
    transform: translateY(0);
}

/* Responsive Modal de Datas */
@media (max-width: 768px) {
    .modal-datas {
        gap: 32px;
        padding: 28px 20px;
    }

    .modal-title-datas {
        font-size: 20px;
    }

    .modal-subtitle-datas {
        font-size: 13px;
    }

    .data-texto {
        font-size: 15px;
    }

    .btn-selecionar-data,
    .btn-voltar-datas {
        font-size: 15px;
        padding: 18px;
    }

    .datas-list {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .modal-datas {
        gap: 32px;
        padding: 25px 15px;
    }

    .modal-title-datas {
        font-size: 18px;
    }

    .data-texto {
        font-size: 14px;
    }

    .btn-selecionar-data,
    .btn-voltar-datas {
        font-size: 14px;
        padding: 16px;
    }

    .datas-list {
        gap: 28px;
    }
}

/* Modal de Horários Disponíveis */
.modal-horarios {
    max-width: 512px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 28px 20px;
}

@media (min-width: 640px) {
    .modal-horarios {
        gap: 40px;
    }
}

@media (min-width: 768px) {
    .modal-horarios {
        gap: 48px;
        padding-top: 12px;
    }
}

.modal-header-horarios {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-title-horarios {
    font-size: 24px;
    font-weight: 700;
    color: #052540;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.modal-title-horarios strong {
    font-weight: 700;
}

.modal-subtitle-horarios {
    font-size: 14px;
    font-weight: 400;
    color: #1e3a5f;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.modal-subtitle-horarios strong {
    font-weight: 700;
}

.horarios-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 640px) {
    .horarios-list {
        gap: 40px;
    }
}

@media (min-width: 768px) {
    .horarios-list {
        gap: 48px;
    }
}

.horario-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.horario-texto {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a5f;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.horario-texto p {
    margin: 0;
}

.tolerancia-texto {
    font-size: 13px;
    font-weight: 400;
    color: #1e3a5f;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
}

.btn-selecionar-horario {
    background-color: #052540;
    border: 1px solid #0e314e;
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.btn-selecionar-horario:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 37, 64, 0.3);
}

.btn-selecionar-horario:active {
    transform: translateY(0);
}

.btn-voltar-horarios {
    background-color: #043a67;
    border: 1px solid rgba(192, 38, 211, 0.1);
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.btn-voltar-horarios:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 58, 103, 0.3);
}

.btn-voltar-horarios:active {
    transform: translateY(0);
}

.sem-horarios {
    text-align: center;
    color: #1e3a5f;
    font-size: 16px;
    padding: 20px;
}

/* Responsive Modal de Horários */
@media (max-width: 768px) {
    .modal-horarios {
        gap: 32px;
        padding: 28px 20px;
    }

    .modal-title-horarios {
        font-size: 20px;
    }

    .modal-subtitle-horarios {
        font-size: 13px;
    }

    .horario-texto {
        font-size: 15px;
    }

    .tolerancia-texto {
        font-size: 12px;
    }

    .btn-selecionar-horario,
    .btn-voltar-horarios {
        font-size: 15px;
        padding: 18px;
    }

    .horarios-list {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .modal-horarios {
        gap: 32px;
        padding: 25px 15px;
    }

    .modal-title-horarios {
        font-size: 18px;
    }

    .horario-texto {
        font-size: 14px;
    }

    .tolerancia-texto {
        font-size: 11px;
    }

    .btn-selecionar-horario,
    .btn-voltar-horarios {
        font-size: 14px;
        padding: 16px;
    }

    .horarios-list {
        gap: 28px;
    }
}

