:root {
    --primary-color: #131421;
    --secondary-color: #ffd400;
    --color-text: #ffffff;
    --color-accent: #ffd400;
    --color-border: #333;
    --color-muted: #999;


    --font-main: "Outfit", sans-serif;


    /* 🔲 Botões e inputs */
    --input-bg: transparent;
    --input-border: #666;
    --input-border-focus: var(--color-accent);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}




body {
    font-family: var(--font-main);
    color: var(--color-text);
    min-height: 100vh;
    color: var(--primary-color);
    font-size: 18px;
}




.outfit {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.fw-medium {
    font-weight: 500;
}


.yellow {
    color: var(--secondary-color);
}



/*Homepage*/

.hero-section {
    background: url("../img/header.png") center/cover no-repeat;
    height: 90vh;
}

.hero-title {
    font-size: 2.2rem;
    color: var(--secondary-color);
}

.nav-link {
    color: var(--color-text) !important;
    font-size: 16px;
    ;
}

.nav-link:hover {
    font-weight: bold;
}

.btn-squared {
    border-radius: 0 !important;

}

.btn-rounded {
    border-radius: 45px;
}

.btn-outline-dark {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-warning {
    --bs-btn-color: var(--secondary-color);
    --bs-btn-border-color: var(--secondary-color);
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: var(--secondary-color);
    --bs-btn-hover-border-color: var(--secondary-color);
    --bs-btn-focus-shadow-rgb: 255, 193, 7;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: var(--secondary-color);
    --bs-btn-active-border-color: var(--secondary-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--secondary-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--secondary-color);
    --bs-gradient: none;
}

.text-warning {
    color: var(--secondary-color) !important;
}

.bg-warning {
    background-color: #ffd400 !important;
}

.text-dark {
    color: var(--primary-color) !important;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.2rem;
    }
}

.ai-card {
    border: none;

}



.tutorial-card {
    height: fit-content;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: transform .25s ease;
}


.tutorial-card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform .25s ease;
}

.tutorial-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    transition: background .25s ease;
}


.tutorial-card .tutorial-text {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
    text-align: center;
}

.tutorial-card .tutorial-text2 {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 0.5rem;
    z-index: 2;

    text-align: center;
}


.tutorial-card .plus-icon {
    background-color: var(--secondary-color);
    border-radius: 25px;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 6px;
    right: 8px;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    transition: transform .25s ease, background .25s ease;
}

.tutorial-card:hover {
    transform: scale(1.045);
}

.tutorial-card:hover img {
    transform: scale(1.09);
}

.tutorial-card:hover .overlay {
    background: rgba(0, 0, 0, 0.55);
}

.tutorial-card:hover .plus-icon {
    transform: scale(1.2);
    background: #ffe44e;
}


.bandeira {
    width: 21px;
    height: 25px;
    background-image: url("../img/bandeira.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: 0.3s ease-in-out;
    float: right;
}

.bandeira:hover {
    background-image: url("../img/bandeira-preenchida.png");
    cursor: pointer;
}

#favoriteBtn.active {
    background-image: url("../img/bandeira-preenchida.png") !important;
    cursor: pointer;
}

.very-small {
    font-size: 12px;
}

/* Navbar padrão (transparente) */
.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

.navbar {
    z-index: 1000;
}


/* Navbar com scroll */
.navbar.scrolled {
    background-color: var(--primary-color);
    /* cor de fundo */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    /* sombra opcional */
}

.nav-link.active {
    color: var(--secondary-color) !important;
}

@media (max-width: 576px) {
    nav {
        background-color: var(--primary-color) !important;

    }

    .nav-link {
        text-align: left;
    }
}

/* LOGIN */

.login-page {
    background-color: var(--primary-color);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Layout principal */
.login-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    padding: 6rem 5%;
}

/* Imagem do lado esquerdo */
.lungs-img {
    max-width: 90%;
    height: auto;

}

/* Formulário do lado direito */
.login-right {
    max-width: 450px;
    width: 100%;
}

.login-right h1 {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.login-form .form-label {
    font-size: 0.9rem;
    color: var(--color-text);
}

.login-form input.form-control {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 0;
    color: var(--color-text);
    padding: 0.75rem;
    font-size: 0.95rem;
}

.login-form input.form-control:focus {
    border-color: var(--input-border-focus);
    box-shadow: none;
    outline: none;
}

.login-form .form-check-label {
    color: var(--color-text);
    font-size: 0.85rem;
}

.login-form a {
    color: var(--color-text);
    font-size: 0.85rem;
    text-decoration: none;
}

.login-form a span {
    color: var(--secondary-color);
}

.login-form a:hover span {
    text-decoration: underline;
}

/* Botões */

/* Radio button personalizado */
.login-form .form-check-input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    background-color: var(--primary-color);
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}

.login-form .form-check-input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.login-form .form-check-input:hover {
    border-color: var(--color-text);
}

.btn-login {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
    padding: 0.75rem;
    width: 80%;
    margin: 1rem auto 0;
    display: block;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-register {
    border: 1px solid var(--color-border);
    color: var(--color-text);
    background: transparent;
    padding: 0.75rem;
    width: 80%;
    margin: 1rem auto 0;
    display: block;
    transition: 0.3s;
}

.btn-register:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* Logo Menarini no rodapé */
.menarini-footer {
    text-align: right;
}

.menarini-footer img {
    margin-bottom: 8px;
}



/* Responsivo */
@media (max-width: 992px) {
    .login-section {
        flex-direction: column;
        text-align: center;
        padding: 4rem 2rem;
    }

    .lungs-img {
        width: 70%;
        margin-bottom: 2rem;
    }

    .login-right {
        max-width: 100%;
    }
}


@media (min-width: 992px) {
    .login-page {
        overflow: hidden;
    }

    .login-section {
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;


    }
}


@media (max-width: 991px) {
    .login-page {
        overflow-y: auto;
    }

    .login-section {
        min-height: auto;
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 2rem 2%;
    }

    .lungs-img {
        width: 70%;
        margin-bottom: 2rem;
    }

    .login-right {
        max-width: 100%;
    }
}

/* HEADER*/

.hero-section {
    height: 100vh;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* garante que o vídeo cobre toda a área */
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.55); */
    /* escurece o vídeo para o texto ficar legível */
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
    /* mantém o texto acima do vídeo */
    position: relative;
}