@font-face {
    font-family: 'DMSans';
    src: url('../fontes/DMSans/DMSans.woff2') format('woff2'),
        url('../fontes/DMSans/DMSans.woff') format('woff'),
        url('../fontes/DMSans/DMSans.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DMSans-Bold';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/dmsans/v15/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Helvetica';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fontes/Helvetica.ttf') format('truetype');
}

@font-face {
    font-family: 'Helvetica-Bold';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fontes/Helvetica-Bold.ttf') format('truetype');
}

:root {
    --cor-texto: #222222;
    --cor-texto-suave: #6f6f6f;
    --cor-texto-muted: #7e7e7e;
    --cor-salmao: #aa715f;

    --cor-sucesso: #00c882;
    --cor-sucesso-hover: #00a96d;

    --cor-borda-suave: rgba(255, 255, 255, 0.28);
    --cor-glass: rgba(255, 255, 255, 0.16);
    --cor-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 22px;

    --transition: all 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica', Arial, sans-serif !important;
    background-color: #ffffff !important;
    background-image: url('../img/bg-desktop.webp');
    background-repeat: no-repeat;
    background-position: left center;
    background-attachment: fixed;
    background-size: cover;
    color: var(--cor-texto) !important;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.75rem;
    color: var(--cor-texto);
}

h2 {
    font-family: 'DMSans-Bold', Arial, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    font-size: 34px !important;
    line-height: 1.1;
}

p {
    margin-bottom: 1rem;
}

.text-muted {
    color: var(--cor-texto-muted) !important;
}

.fw-bold {
    font-family: 'Helvetica-Bold', Arial, sans-serif !important;
    font-weight: 800 !important;
}

.cor-salmao {
    color: var(--cor-salmao) !important;
}

.bg-degrade {
    background: var(--cor-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cor-borda-suave);
    box-shadow: var(--cor-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.bg-degrade2 {
    background: linear-gradient(90deg, rgb(247, 246, 245) 0%, rgba(255, 255, 255, 1) 100%);
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.65),
            rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0.95;
}

a {
    color: inherit;
    transition: var(--transition);
}

/* BOTÕES */
.btn {
    --bs-btn-padding-y: 0.75rem !important;
    --bs-btn-padding-x: 1rem !important;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    box-shadow: none;
}

.btn:focus,
.btn:active,
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 200, 130, 0.18) !important;
}

.btn-success {
    background: var(--cor-sucesso) !important;
    font-size: 20px;
    border: none;
    border-radius: 10px;
    min-height: 52px;
    box-shadow: 0 8px 20px rgba(0, 200, 130, 0.22);
}

.btn-success:hover {
    background: var(--cor-sucesso-hover) !important;
    border: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 200, 130, 0.24);
}

/* FORMULÁRIOS */
.form-control,
.form-select {
    min-height: 50px;
    border-radius: 12px;
    border: 1px solid rgba(34, 34, 34, 0.08);
    color: var(--cor-texto);
    font-size: 15px;
    box-shadow: none !important;
    transition: var(--transition);
}

.form-control::placeholder {
    color: #9b9b9b;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(0, 200, 130, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(0, 200, 130, 0.12) !important;
    background-color: #fff;
}

.form-check-input {
    cursor: pointer;
    box-shadow: none !important;
}

.form-check-input:checked {
    background-color: var(--cor-sucesso);
    border-color: var(--cor-sucesso);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 200, 130, 0.14) !important;
}

/* IMAGENS E BLOCOS */
.professora-section {
    max-width: 900px;
}

.professora-titulo {
    font-size: 24px;
    font-weight: 700;
    color: var(--cor-texto);
    line-height: 1.2;
}

.professora-img {
    width: 100%;
    max-width: 160px;
    border-radius: 16px;
    display: inline-block;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.professora-p {
    color: var(--cor-texto-suave);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 14px;
}

/* MODAL TERMOS */
.modal-termos-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 9999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-termos-overlay.active {
    display: flex;
}

.modal-termos-box {
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.30);
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-termos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f8d7da, #fff0f2);
    border-bottom: 1px solid #eeeeee;
}

.modal-termos-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2a2a2a;
}

.modal-termos-close {
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #555;
    transition: var(--transition);
}

.modal-termos-close:hover {
    color: #000;
    transform: scale(1.05);
    background: #fff;
}

.modal-termos-tabs {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
    background: #fafafa;
    border-bottom: 1px solid #eeeeee;
    flex-wrap: wrap;
}

.tab-btn {
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #444444;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: #d97b8e;
    color: #d14f6b;
    background: #fff8fa;
}

.tab-btn.active {
    background: #d14f6b;
    color: #ffffff;
    border-color: #d14f6b;
    box-shadow: 0 8px 18px rgba(209, 79, 107, 0.18);
}

.modal-termos-content {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 130px);
    color: #333333;
}

.conteudo-documento {
    display: none;
}

.conteudo-documento.active {
    display: block;
}

.conteudo-documento h4 {
    font-size: 24px;
    margin-bottom: 18px;
    font-weight: 700;
    color: #202020;
    line-height: 1.2;
}

.conteudo-documento p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: #444444;
}

.conteudo-documento ul {
    padding-left: 20px;
    margin-bottom: 18px;
}

.conteudo-documento ul li {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 8px;
    color: #444444;
}

.doc-update {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #ececec;
    color: #666666;
    font-size: 13px;
}

.link-termo {
    color: #d14f6b;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.link-termo:hover {
    text-decoration: underline;
    color: #b93f5a;
}

body.modal-open {
    overflow: hidden;
}

/* MOBILE */
@media screen and (max-width: 767px) {
    body {
        background-image: url('../img/bg-mobile.webp');
        background-repeat: no-repeat;
        background-position: left top;
        background-attachment: scroll;
        background-size: contain;
    }

    h2 {
        font-size: 25px !important;
        line-height: 1.15;
    }

    .box-pessoas {
        display: none !important;
    }

    .box-truque {
        display: flex;
        justify-content: flex-end;
        font-size: 13px;
    }

    .box-texto {
        max-width: 65%;
        text-align: left !important;
    }

    .box-texto2 {
        justify-content: flex-end !important;
        flex-direction: row !important;
        margin-right: 5px;
        margin-left: -16px;
    }

    .box-form {
        margin: 10px !important;
    }

    .prof-ro {
        display: none !important;
    }

    .cop-labyus {
        width: 100% !important;
    }

    .btn-success {
        font-size: 18px;
        min-height: 50px;
    }

    .modal-termos-box {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 14px;
    }

    .modal-termos-header {
        padding: 16px;
    }

    .modal-termos-header h3 {
        font-size: 18px;
    }

    .modal-termos-content {
        padding: 18px;
        max-height: calc(95vh - 130px);
    }

    .conteudo-documento h4 {
        font-size: 20px;
    }

    .conteudo-documento p,
    .conteudo-documento ul li {
        font-size: 13px;
    }
}

/* DESKTOP */
@media screen and (min-width: 768px) {
    body {
        background-image: url('../img/bg-desktop.webp');
        background-repeat: no-repeat;
        background-position: left top;
        background-attachment: fixed;
        background-size: contain;
    }

    .box-truque .box-texto {
        max-width: 514px;
        text-align: center !important;
    }

    .box-pessoas2 {
        display: none !important;
    }

    .prof-ro1 {
        display: none !important;
    }
}