:root {
    --cor-padrao: #ff9700;
    --cor-padrao-hover: #d68103;
    --cor-h1: #1C244B;
}

.bg-gray-900 {
    background-color: var(--cor-padrao);
}

.bg-gray-900:hover {
    background-color: var(--cor-padrao-hover);
}

.bg-gray-400 {
    background-color: var(--cor-padrao-hover);
}

.bg-gray-400:hover {
    background-color: var(--cor-padrao-hover);
}

.bg-gray-300 {
    background-color: var(--cor-h1);
    color: white;
}

.bg-gray-100 {
    background-color: #fff;
}

/* Font and Basic Settings */
html {
    height: 100%;
}

body {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: var(--cor-h1);
    line-height: 1.6;
    background: #000;
    min-height: 100vh;
    /* background: rgb(236, 234, 253);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(236, 234, 253, 1)), to(rgba(255, 255, 255, 1))) fixed; */
}

a {
    text-decoration: none;
    color: var(--cor-h1);
}

p {
    padding: 0px;
    margin: 0;
    color: white;
}



.form-style { max-width: 500px; margin: auto; display: flex; flex-direction: column; gap: 10px; }
.form-style input, textarea, button { padding: 10px; font-size: 16px; }
#agradecimento { display: none; text-align: center; }

.into-4-contact {
    padding: 5px 10px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-contact {
    background: var(--cor-padrao);
    color: #fff;
    border: none;
    border-radius: 10px;
}
.btn-contact:hover {
    background: var(--cor-padrao-hover);
    transition: 0.3s;
}


.content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0px;
}





.banner-google-top {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin: 20px auto;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    overflow: hidden;
}

.banner-google {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin: 20px auto;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    overflow: hidden;
}






/* Header */
.header {
    background-color: transparent;
    padding: 0px 0;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    /* position: relative; */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--cor-h1);
    font-weight: bold;
}

.nav-links a:hover {
    color: var(--cor-padrao);
}


.logo {
    cursor: pointer;
    min-width: 350px;
    max-width: 300px;
    max-height: 90px;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    max-width: 300px;
    max-height: 300px;
    object-fit: contain;
}

.logo a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-criar-conta {
    background-color: var(--cor-padrao);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 10px;
}

.btn-criar-conta:hover {
    background-color: var(--cor-padrao-hover);
    transition: 0.3s;
}

/* Estilos para o ícone de menu */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}



.ptbr {
    padding: 0px 3px 0px 3px;
    border: 3px solid var(--cor-padrao);
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
}

.en {
    padding: 0px 3px 0px 3px;
    border: 3px solid transparent;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
}

.es {
    padding: 0px 3px 0px 3px;
    border: 3px solid transparent;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 37px;
        right: 35px;
        background-color: #fff;
        width: 155px;
        padding: 15px 0px 15px 9px;
        /* border: 1px solid var(--cor-padrao); */
        border-radius: 10px;
        flex-direction: column;
        box-shadow: 0 0 5px var(--cor-padrao);
    }

    .logo img {
        max-width: 200px;
        max-height: 200px;
    }


    .menu-icon {
        display: block;
    }

    /* Quando o checkbox está marcado, mostra o menu */
    .menu-toggle:checked~.nav-links {
        display: flex;
    }

}




















/* ------------- DIV 1 ------------*/

.div1 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-self: center;
    align-items: center;
    max-width: 1200px;
    padding: 20px;
    gap: 20px;
}

.div1 h1 {
    margin-top: 10px;
    font-size: 34px;
    color: var(--cor-padrao);
}

.into {
    padding: 20px 10px;
    border: 5px solid var(--cor-padrao);
    border-radius: 20px;
    width: 50%;
}

.into-img {
    padding: 5px 10px;
    width: 50%;
}

.into-img img {
    width: 100%;
    height: auto;
}



.custom-radio-group input[type="radio"] {
    display: none;
}

/* Estilo visual dos botões */
.custom-radio-group label {
    display: inline-block;
    padding: 10px 20px;
    margin: 0px;
    border: 2px solid #ccc;
    border-radius: 25px;
    cursor: pointer;
    background-color: white;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hover */
.custom-radio-group label:hover {
    background-color: #f0f0f0;
}

/* Quando o input radio estiver checado */
.custom-radio-group input[type="radio"]:checked+label {
    background-color: var(--cor-padrao);
    color: white;
    border-color: var(--cor-padrao);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.div1 label,
p {
    display: block;
    margin-top: 0px;
    /* font-weight: 600;
    color: #34495e; */
}

.div1 p {
    font-weight: 600;
    color: #34495e;
}

.div1 label {
    font-weight: 600;
    color: #34495e;
}

.div1 .input-group {
    margin-top: 10px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.div1 input[type="checkbox"] {
    display: none;
}

.div1 input[type="checkbox"]+label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
}

.div1 input[type="checkbox"]+label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--cor-padrao);
    border-radius: 4px;
    background-color: #fff;
    transition: background-color 0.3s, border-color 0.3s;
}

.div1 input[type="checkbox"]:checked+label::before {
    background-color: var(--cor-padrao);
    border-color: var(--cor-padrao);
}

.div1 input[type="checkbox"]:checked+label::after {
    content: "✔";
    position: absolute;
    left: 4px;
    top: 0;
    font-size: 18px;
    color: #fff;
}

.div1 input[type="number"] {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: calc(100% - 22px);
    max-width: 200px;
}

.div1 .hidden {
    display: none;
}

.div1 button {
    margin-top: 30px;
    padding: 12px 20px;
    font-size: 16px;
    background-color: var(--cor-padrao);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.div1 button:hover {
    background-color: var(--cor-padrao);
}

.div1 #resultado {
    margin-top: 30px;
    padding: 20px;
    background-color: #ecf0f1;
    border-left: 5px solid var(--cor-padrao);
    font-size: 1.1em;
    border-radius: 5px;
}

.div1 .label-gen {
    margin-top: 20px;
}


/* .div1 {
    opacity: 0;
    animation: fadeIn 1s forwards;
  }
  
  @keyframes fadeIn {
    100% {
      opacity: 1;
    }
  } */


@media (max-width: 768px) {

    .div1 {
        display: flex;
        flex-direction: column;
    }

    .into {
        width: 100%;
    }

    .into-img {
        width: 100%;
    }
}


/* ------------- DIV 2 ------------*/

.div2 {
    display: flex;
    flex-direction: column;
}

.titulo-type {
    display: flex;
    justify-content: center;
}

.titulo-type h2 {
    font-size: 34px;
    color: var(--cor-h1);
    padding-bottom: 20px;
}

.into-2 {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.into-type {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    width: 170px;
    padding: 10px;
    border-radius: 20px;
}

.into-type h3 {
    padding: 0px;
    margin: 0;
}

.type-img {
    display: flex;
    justify-content: center;
}

.into-type img {
    width: 120px;
    height: 270px;
}

.type-p-faixa {
    color: grey;
    font-size: 14px;
    font-weight: bold;
    padding-top: 5px;
}

.type-p-desc {
    font-size: 17px;
    padding-top: 5px;
    line-height: 17px;
}




/* ------------- DIV 3 ------------*/


.div3 {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    padding: 20px;
    /* margin-top: 100px;
    margin-bottom: 100px; */
}

.div3 h4 {
    font-size: 34px;
    color: var(--cor-padrao);
    margin-top: 0;
}

.into-3 {
    padding: 5px 10px;
    width: 50%;
}




@media (max-width: 768px) {

    .div3 {
        display: flex;
        flex-direction: column;
    }

    .into-3 {
        padding: 5px 10px;
        width: 100%;
    }

    .div3 h4 {
        margin-top: 0;
    }
}





/* ------------- DIV 4 ------------*/


.div4 {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-self: center;
    padding: 20px;
}

.div4 h4 {
    font-size: 34px;
    color: var(--cor-padrao);
}

.into-4 {
    padding: 5px 10px;
    width: 50%;
}




@media (max-width: 768px) {

    .div4 {
        display: flex;
        flex-direction: column;
    }

    .div1 {
        margin-top: 0px;
    }

    .into-4 {
        padding: 5px 10px;
        width: 100%;
    }

    .div4 h4 {
        margin-top: 0;
    }
}

/* section {
    margin-top: 50px;
} */



/* ------------- DIV 5 SOBRE ------------*/


.div5 {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-self: center;
    padding: 20px;
    margin-top: 5px;
}

.div5 h4 {
    font-size: 34px;
    margin-top: 10px;
    color: white;
    margin-top: 0;
}


@media (max-width: 768px) {

    .div5 {
        display: flex;
        flex-direction: column;
    }

    .div5 {
        margin-top: 0px;
    }

    .div5 h4 {
        margin-top: 0;
    }
}






/* ------------- DIV 6 Políticas ------------*/


.div6 {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-self: center;
    padding: 20px;
    margin-top: 5px;
}

.div6 h4 {
    font-size: 34px;
    margin-top: 10px;
    color: white;
}

.div6 h5 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}


@media (max-width: 768px) {

    .div6 {
        display: flex;
        flex-direction: column;
    }

    .div6 {
        margin-top: 0px;
    }
}






/* ------------- DIV 7 TERMOS ------------*/


.div7 {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-self: center;
    padding: 20px;
    margin-top: 5px;
}

.div7 h4 {
    font-size: 34px;
    margin-top: 10px;
    color: var(--cor-h1);
}

.div7 h5 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--cor-h1);
}


@media (max-width: 768px) {

    .div7 {
        display: flex;
        flex-direction: column;
    }

    .div7 {
        margin-top: 0px;
    }
}







/* ------------- DIV 8 Contato ------------*/


.div8 {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-self: center;
    padding: 20px;
    margin-top: 5px;
}

.div8 h4 {
    font-size: 34px;
    margin-top: 10px;
    color: var(--cor-h1);
}


@media (max-width: 768px) {

    .div8 {
        display: flex;
        flex-direction: column;
    }

    .div8 {
        margin-top: 0px;
    }
}






























.navbar-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-left: 0;
}

.nav-links-footer {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.nav-links-footer a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.nav-links-footer a:hover {
    color: var(--cor-padrao);
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-social {
    width: 24px;
    margin-right: 5px;
}

/* Footer */
.footer {
    background-color: #000;
    border-top: 1px solid #ddd;
    color: #fff;
    text-align: center;
    /* margin-top: 100px; */
}

.footer p {
    color: white;
}

@media (max-width: 768px) {
    .navbar-footer {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
    }

    .nav-links-footer {
        list-style: none;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        align-items: center;
        padding: 0;
        gap: 10px;
    }

}

/* Estilo para modal ou popup com scroll */
body::-webkit-scrollbar {
    width: 4px;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--cor-padrao);
    border-radius: 6px;
}

body::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

body::-webkit-scrollbar-button {
    display: none;
}

















































/* ESTILO CALCULADORA */

.content-page {
    max-width: 600px;
    margin: auto;
    padding-bottom: 40px;
    background: #000;
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.content-page p, h3, h2 {
    color: white;
}

.selectors {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.scroll-picker {
    width: 80px;
    height: 120px;
    overflow-y: scroll;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: 24px;
    text-align: center;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    /* background: linear-gradient(to bottom, #f4f4f4, white 20%, white 80%, #f4f4f4); */
    background: linear-gradient(to bottom, #5a5a5a, black 40%, black 60%, #5a5a5a);
    box-shadow: inset 0 10px 10px -10px #aaa, inset 0 -10px 10px -10px #aaa;
    scrollbar-width: thin;
    position: relative;
    color: var(--cor-padrao);
}

.scroll-picker::-webkit-scrollbar {
    width: 0px;
}

.scroll-picker::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.scroll-picker .scroll-picker-highlight {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 40px;
    border-top: 2px solid #0d6efd;
    border-bottom: 2px solid #0d6efd;
    pointer-events: none;
    z-index: 10;
}

.option {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
}

.option.spacer {
    visibility: hidden;
    pointer-events: none;
}

button {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    background: var(--cor-padrao);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

button:hover {
    background: var(--cor-padrao-hover);
}

.dormir {
    align-items: center;
    margin-top: 15px;
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    background: none;
    color: var(--cor-padrao);
    border: 1px solid var(--cor-padrao);
    border-radius: 10px;
    cursor: pointer;
}

.dormir:hover {
    color: var(--cor-h1);
    background: var(--cor-padrao);
}

.results {
    margin-top: 30px;
}

.result-block {
    background: #ffeed4;
    margin-bottom: 10px;
    padding: 10px;
    border-left: 5px solid var(--cor-padrao);
}

h1 {
    text-align: center;
    color: white;
}

label {
    color: white;
}



.sleep-recommendation {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.sleep-recommendation li {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

.sleep-recommendation li:hover {
    background-color: #f9f9f9;
}

.sleep-recommendation li:last-child {
    border-bottom: none;
}

.sleep-recommendation li::before {
    content: "🛌";
    margin-right: 12px;
    color: var(--cor-padrao);
}

.sleep-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.sleep-table thead {
    background-color: var(--cor-h1);
    color: white;
    text-align: left;
}

.sleep-table th,
.sleep-table td {
    padding: 12px 16px;
    color: var(--cor-padrao);
}

.sleep-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.sleep-table tbody tr:hover {
    background-color: #f8f9fa;
}