/* styles.css */

/* Estilos para dispositivos móveis (mobile first) */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body {
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
    display: flex;
    flex-direction: column;
    font-family: Barlow, sans-serif;
}

body {
    font-family: Barlow, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    font-style: italic;
    height: auto;
}

/* Estilos do Header */
header {
    background-color: #d60d10;
    color: white;
    text-align: center;
}

a:hover, a:visited, a:link, a:active {
    text-decoration: none;
}

h1 {
    font-size: 1.5em;
}

.section {
    width: 100%;
}

.main-1 {
    padding: 15px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    height: 100%;
}

main.main-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #fff;
}

.section-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

h2 {
    color: #d60d10;
    font-style: normal;
    font-weight: 800;
}

h3 {
    color: #d60d10;
    font-style: normal;
    text-align: center;
}

span {
    text-align: center;
    color: #747474;
    font-weight: 500;
}

p.titulo {
    text-align: left;
    width: 80%;
    margin: 0;
}

.mt-3{
    margin-top: 30px;
}
.pt-3{
    padding-top: 30px;
}

hr {
    border: none; /* Remove a borda padrão */
    height: 2px; /* Altura da linha */
    background-color: #ccc; /* Cor da linha */
    width: 85%; /* Largura da linha */
    margin: 20px auto; /* Centraliza e adiciona margem */
}


.wpp-btn {
    background-color: #00C300;
    color: #fff;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    padding: 15px 30px;
    margin-top: 15px;
    display: flex;
    width: 85%;
    border: none;
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
}

a {
    color: #fff;
}

.h4-main {
    color: #d60d10;
    text-align: center;
    font-size: 0.8rem;
}

.h4-footer {
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    padding-top: 20px;
}

.logo {
    width: 200px;
    padding: 20px;
}

.banner {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.div-input-2 {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    line-height: 30px;
}

label {
    text-align: left;
    width: 80%;

}

.input-style {
    background-color: #dddddd;
    border: none;
    width: 80%;
    height: 30px;

}

.send-btn {
    background-color: #00182e;
    width: 110px;
    height: 38px;
    justify-content: space-between;
    padding: 10px 10px;
    align-items: center;
    display: flex;
    border: none;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    font-family: Barlow, sans-serif;
}


.send-btn img {
    width: 16px;
}

.color-grey {
    color: #747474;
}

.txt {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 500;
}

footer {
    background-color: #d60d10;
    width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
    position: relative; /* O footer vai se posicionar normalmente no final do conteúdo */
}

.p-footer {
    color: #fff;
    font-size: 0.8rem;
    text-align: left;
    margin-left: 40px;
    width: 85%;
    display: flex;
    flex-direction: column;
}

.p-footer p {
    display: flex;
    align-items: start;
}

.sub-text {
    margin-left: 30px;
    display: block;
    color: #fff;
    font-weight: 400;
    text-align: left;
}

.p2 {
    width: 82%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.p2-footer {
    font-size: 0.6rem;
    color: #fff;
    text-align: center;
    font-style: normal;
}

/* Estilos do Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-sizing: border-box;
}
.close-alert {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-alert:hover, .close-alert:focus {
    color: black;
    text-decoration: none;
}
.btn-reservado {
    background-color: #28a745 !important;
    cursor: default;
}
.btn-reservado:hover {
    background-color: #28a745 !important;
}
.msg-resgate {
    display: block;
    font-size: 14px;
    color: #747474;
    margin-top: 5px;
    text-align: center;
    font-style: normal;
}

.dot {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #00182e;
    display: flex;
    justify-content: center;
    font-weight: 800;
    text-align: center;
    align-items: center;
    margin-right: 10px;
    font-size: 14px;
    color: #fff;
    font-style: normal;
}

.img {
    width: 200px;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Estilos específicos para dispositivos móveis */
@media (max-width: 375px) {
    html, body {
        font-size: 14px; /* Ajuste global do tamanho da fonte para telas pequenas */
    }

    h1 {
        font-size: 1.3em; /* Reduz o tamanho do título */
    }

    .logo {
        width: 160px; /* Ajusta o tamanho do logo */
        padding: 15px; /* Reduz o padding */
    }

    .banner {
        width: 100%; /* Garante que a imagem ocupe toda a largura disponível */
        height: auto; /* Mantém as proporções da imagem */
    }

    .h4-main, .h4-footer {
        font-size: 0.75rem; /* Reduz levemente o tamanho da fonte */
    }

    .p-footer {
        font-size: 0.8rem; /* Ajusta o tamanho do texto */
        margin-left: 30px; /* Reduz a margem lateral */
        width: 90%; /* Garante que o conteúdo ocupe a largura da tela */
    }

    .p-footer p {
        display: flex;
        align-items: flex-start; /* Garante o alinhamento correto sem quebra */
        flex-wrap: wrap; /* Permite que o texto se ajuste em várias linhas */
    }

    .dot {
        height: 18px; /* Ajusta o tamanho do círculo */
        width: 18px; /* Ajusta o tamanho do círculo */
        font-size: 10px; /* Ajusta o tamanho do texto no círculo */
        margin-right: 8px; /* Reduz o espaço entre o círculo e o texto */
    }

    .input-style {
        width: 90%; /* Ajusta o input para ocupar o espaço disponível */
        height: 28px; /* Reduz a altura do campo */
    }

    .send-btn {
        width: 30px; /* Ajusta o tamanho do botão */
        height: 30px; /* Ajusta o tamanho do botão */
    }

    .send-btn img {
        width: 12px; /* Ajusta o tamanho do ícone no botão */
    }

    .txt {
        font-size: 0.65rem; /* Ajusta o tamanho do texto informativo */
    }

    .p2 {
        width: 90%; /* Garante que o conteúdo fique ajustado */
    }

    .p2-footer {
        font-size: 0.6rem; /* Ajusta o tamanho do texto no rodapé */
    }
}

/* Forçar visualização no modo mobile, independente da tela */
@media (min-width: 1024px) {
    body {
        width: 375px; /* Fixar largura para simular o comportamento mobile */
        margin: 0 auto; /* Centraliza o conteúdo */
        overflow-x: hidden; /* Evita o overflow horizontal */
    }

    main {
        max-width: 375px; /* Limitar largura do conteúdo */
    }
}
