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

body {
    background-color: #edf4ea;
    color: #16261e;
    font-family: 'Albert Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-body {
    background-color: #cde3c5;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', Arial, sans-serif;
    color: #0b2419;
    font-weight: 600;
    line-height: 1.25;
}

a {
    color: #2f7a4a;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 92%;
    max-width: 1080px;
    margin: 32px auto 48px;
    flex: 1;
}

.escondido {
    display: none !important;
}

.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #d5e0d1;
}

.nav-container {
    width: 92%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #0b2419;
}

.nav-brand:hover {
    text-decoration: none;
}

.butterfly-nav {
    width: 34px;
    height: 27px;
    display: block;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-link {
    color: #2c3e35;
    padding: 8px 13px;
    border-radius: 8px;
    font-size: 0.94rem;
    font-weight: 500;
}

.nav-link:hover {
    background-color: #eef5ec;
    text-decoration: none;
}

.nav-link.active {
    background-color: #d8ead2;
    color: #0b2419;
    font-weight: 600;
}

.nav-cvv {
    color: #9e2a35;
    font-weight: 600;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid #d5e0d1;
    font-size: 0.9rem;
}

.user-name {
    font-weight: 600;
    color: #0b2419;
}

.link-sair {
    color: #707d75;
    font-size: 0.86rem;
}

.menu-mobile-btn {
    display: none;
    background-color: #eef5ec;
    border: 1px solid #c8d8c3;
    color: #0b2419;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.15s ease;
}

.btn:hover {
    text-decoration: none;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.86rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-dark,
.btn-primary {
    background-color: #0b2419;
    color: #ffffff;
}

.btn-dark:hover,
.btn-primary:hover {
    background-color: #173d2c;
}

.btn-outline {
    background-color: #ffffff;
    color: #0b2419;
    border: 1.5px solid #0b2419;
}

.btn-outline:hover {
    background-color: #f2f7f0;
}

.btn-secondary {
    background-color: #dfeadd;
    color: #16261e;
}

.btn-secondary:hover {
    background-color: #cfe0cc;
}

.auth-wrapper {
    width: 92%;
    max-width: 420px;
    margin: 42px auto 56px;
    flex: 1;
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.auth-logo-outside {
    margin-bottom: 18px;
}

.butterfly-auth {
    width: 56px;
    height: 44px;
}

.auth-logo span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0b2419;
    margin-top: 2px;
}

.auth-card {
    background-color: #ffffff;
    border-radius: 22px;
    padding: 30px 26px;
    border: 1px solid #d5e0d1;
    box-shadow: 0 6px 18px rgba(11, 36, 25, 0.06);
}

.auth-card h1 {
    text-align: center;
    font-size: 1.45rem;
    margin-bottom: 6px;
}

.auth-subtitle {
    text-align: center;
    font-size: 0.92rem;
    color: #55665c;
    margin-bottom: 22px;
}

.text-green {
    color: #3b8c55;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-field {
    display: flex;
    align-items: center;
    border: 1px solid #ccd6ce;
    border-radius: 10px;
    padding: 0 12px;
    background-color: #ffffff;
}

.input-field:focus-within {
    border-color: #3b8c55;
}

.field-icon {
    width: 18px;
    height: 18px;
    color: #6c7a72;
    flex-shrink: 0;
    margin-right: 10px;
}

.input-field input {
    width: 100%;
    border: none;
    outline: none;
    padding: 12px 4px;
    font-family: inherit;
    font-size: 0.92rem;
    color: #16261e;
    background: transparent;
}

.btn-eye {
    background: none;
    border: none;
    color: #4f6357;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 6px;
}

.auth-forgot {
    text-align: right;
    font-size: 0.82rem;
    margin-top: -2px;
    margin-bottom: 4px;
}

.auth-forgot a {
    color: #4f6357;
}

.auth-separator {
    text-align: center;
    font-size: 0.82rem;
    color: #76857c;
    margin: 4px 0;
}

.auth-terms {
    text-align: center;
    font-size: 0.78rem;
    color: #76857c;
    margin-top: 10px;
}

.auth-bottom-link {
    text-align: center;
    font-size: 0.86rem;
    color: #55665c;
    margin-top: 8px;
}

.auth-bottom-link a {
    color: #3b8c55;
    font-weight: 600;
}

.hero-box {
    background-color: #d6e8cf;
    border: 1px solid #c1d8b8;
    border-radius: 18px;
    padding: 34px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 36px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #28663c;
    margin-bottom: 8px;
}

.hero-text h1 {
    font-size: 2.1rem;
    margin-bottom: 12px;
}

.hero-text p {
    color: #2c3e35;
    margin-bottom: 22px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-quick-check {
    background-color: #ffffff;
    border: 1px solid #c9dcc2;
    border-radius: 14px;
    padding: 22px;
}

.hero-quick-check h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.hero-quick-check p {
    font-size: 0.88rem;
    color: #55665c;
    margin-bottom: 14px;
}

.quick-moods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.mood-link {
    background-color: #f3f8f1;
    border: 1px solid #d5e0d1;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    font-size: 0.86rem;
    font-weight: 600;
    color: #0b2419;
}

.mood-link:hover {
    background-color: #cde3c5;
    text-decoration: none;
}

.quick-emergency {
    border-top: 1px solid #e4ece1;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.section {
    margin-bottom: 36px;
}

.section-head {
    margin-bottom: 20px;
}

.section-head h2 {
    font-size: 1.55rem;
    margin-bottom: 4px;
}

.section-head p {
    color: #55665c;
    font-size: 0.95rem;
}

.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 18px;
}

.card,
.card-simple {
    background-color: #ffffff;
    border: 1px solid #d5e0d1;
    border-radius: 14px;
    padding: 24px;
}

.card-simple {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-simple h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.card-simple p {
    font-size: 0.92rem;
    color: #55665c;
    margin-bottom: 14px;
}

.text-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: #28663c;
}

.subcard {
    background-color: #f5f9f3;
    border: 1px solid #dce6d8;
    border-radius: 10px;
    padding: 18px;
}

.subcard h4 {
    margin-bottom: 6px;
    font-size: 1.02rem;
}

.subcard p {
    font-size: 0.9rem;
    color: #4f6357;
}

.tabs-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tab-btn {
    background-color: #f2f7f0;
    color: #16261e;
    border: 1px solid #ccd9c7;
    padding: 9px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.tab-btn.active {
    background-color: #0b2419;
    color: #ffffff;
    border-color: #0b2419;
}

.plano-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plano-ativo {
    border: 2px solid #2f7a4a;
}

.plano-valor {
    margin: 10px 0 12px;
}

.plano-valor strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    color: #0b2419;
}

.plano-valor span {
    font-size: 0.86rem;
    color: #55665c;
}

.plano-texto {
    font-size: 0.92rem;
    color: #55665c;
    margin-bottom: 18px;
}

.artigo-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.artigo-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tag {
    background-color: #dfeee0;
    color: #1b5230;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
}

.tempo {
    font-size: 0.82rem;
    color: #66756c;
}

.artigo-box h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.artigo-box p {
    font-size: 0.9rem;
    color: #55665c;
    margin-bottom: 16px;
}

.artigo-rodape {
    border-top: 1px solid #e6eee4;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    color: #66756c;
}

.quiz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.pergunta-item {
    background-color: #f5f9f3;
    border: 1px solid #dce6d8;
    border-radius: 10px;
    padding: 16px;
}

.pergunta-item p {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.94rem;
}

.pergunta-item label {
    display: block;
    margin: 6px 0;
    font-size: 0.9rem;
    cursor: pointer;
}

.pergunta-item input[type="radio"] {
    margin-right: 6px;
    accent-color: #0b2419;
}

.quiz-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.quiz-resultado {
    font-weight: 600;
    color: #1b5230;
}

.page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d5e0d1;
}

.page-head h1 {
    font-size: 1.85rem;
    margin-bottom: 4px;
}

.page-head p {
    color: #55665c;
}

.summary-pill {
    background-color: #ffffff;
    border: 1px solid #d5e0d1;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.dot-sep {
    margin: 0 6px;
    color: #96a39b;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 22px;
    align-items: start;
}

.card-head {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6eee4;
}

.card-head h2 {
    font-size: 1.28rem;
    margin-bottom: 4px;
}

.card-head p {
    font-size: 0.88rem;
    color: #55665c;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 6px;
}

.label-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-text,
.input-select,
.field-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #c8d6c3;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.92rem;
    color: #16261e;
    background-color: #ffffff;
}

.input-text:focus,
.input-select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: #2f7a4a;
}

.mood-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mood-choice-btn {
    background-color: #f5f9f3;
    border: 1px solid #ccd9c7;
    border-radius: 8px;
    padding: 10px 8px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    color: #16261e;
}

.mood-choice-btn.selected {
    background-color: #0b2419;
    color: #ffffff;
    border-color: #0b2419;
    font-weight: 600;
}

.range-input {
    width: 100%;
    accent-color: #0b2419;
    cursor: pointer;
}

.field-hint {
    font-size: 0.84rem;
    color: #55665c;
    margin-top: 4px;
}

.form-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-panel {
    background-color: #ffffff;
    border: 1px solid #d5e0d1;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.filter-panel .filter-row {
    margin-bottom: 0;
}

.filter-row .input-text {
    flex: 1;
    min-width: 180px;
}

.filter-row .input-select {
    width: auto;
    min-width: 180px;
}

.filter-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.entries-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.entry-item {
    background-color: #f6faf4;
    border: 1px solid #dce6d8;
    border-radius: 10px;
    padding: 14px 16px;
}

.entry-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}

.mood-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
}

.tag-feliz { background-color: #d6f0d4; color: #154c25; }
.tag-calmo { background-color: #d8eef2; color: #154552; }
.tag-motivado { background-color: #f7ecc6; color: #5c450d; }
.tag-ansioso { background-color: #f7dfd4; color: #692913; }
.tag-cansado { background-color: #e4e9e6; color: #36423b; }
.tag-triste { background-color: #e6e0f0; color: #3e285c; }

.entry-score {
    font-size: 0.82rem;
    font-weight: 600;
    color: #4f6357;
    margin-left: 6px;
}

.entry-date {
    font-size: 0.8rem;
    color: #6c7a72;
}

.entry-body {
    font-size: 0.92rem;
    margin-bottom: 10px;
}

.entry-bottom {
    border-top: 1px solid #e3ece0;
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #6c7a72;
}

.entry-links {
    display: flex;
    gap: 12px;
}

.link-delete {
    color: #a82e3b;
}

.reading-box {
    margin-bottom: 24px;
    border-color: #9ec4a6;
}

.reading-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reading-meta {
    font-size: 0.86rem;
    color: #66756c;
    margin: 6px 0 16px;
}

.reading-content {
    background-color: #f6faf4;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2f7a4a;
    line-height: 1.75;
}

.prof-box {
    padding: 20px;
}

.prof-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.prof-meta {
    font-size: 0.84rem;
    color: #4f6357;
}

.prof-desc {
    font-size: 0.9rem;
    color: #4f6357;
    margin-bottom: 12px;
}

.prof-bottom {
    border-top: 1px solid #e6eee4;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e3ece0;
    font-size: 0.9rem;
}

.data-table th {
    background-color: #f3f8f1;
    color: #0b2419;
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
}

.status-confirmado { background-color: #d6f0d4; color: #154c25; }
.status-agendado { background-color: #f7ecc6; color: #5c450d; }
.status-cancelado { background-color: #f7d9dc; color: #7a1c24; }

.cvv-banner {
    background-color: #ffffff;
    border: 1px solid #d5e0d1;
    border-left: 5px solid #0b2419;
    border-radius: 14px;
    padding: 30px;
}

.cvv-banner h1 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.cvv-banner p {
    color: #4f6357;
    max-width: 740px;
    margin-bottom: 20px;
}

.breathing-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 28px 0;
}

.breathing-circle {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background-color: #cde3c5;
    border: 2px solid #9ec4a6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 3.8s ease-in-out, background-color 1s ease;
}

.breathing-circle.inspire {
    transform: scale(1.18);
    background-color: #b7d8ac;
}

.breathing-circle.segure {
    transform: scale(1.18);
    background-color: #d8ead2;
}

.breathing-circle.expire {
    transform: scale(0.9);
    background-color: #e6f0e2;
}

.breathing-core {
    background-color: #ffffff;
    width: 142px;
    height: 142px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
}

.breathing-core strong {
    font-size: 0.92rem;
    color: #0b2419;
}

.breathing-time {
    font-size: 0.85rem;
    color: #2f7a4a;
    font-weight: 600;
    margin-top: 4px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-success {
    background-color: #daf0d8;
    color: #154c25;
    border: 1px solid #b4ddb0;
}

.alert-danger {
    background-color: #f8dfe2;
    color: #7a1c24;
    border: 1px solid #ebbfc4;
}

.error-list {
    padding-left: 18px;
}

.erro-validacao-js {
    color: #a82e3b;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

.footer {
    background-color: #ffffff;
    border-top: 1px solid #d5e0d1;
    padding: 26px 0;
    margin-top: auto;
}

.footer-inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
    color: #55665c;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #0b2419;
    margin-bottom: 4px;
}

.butterfly-footer {
    width: 24px;
    height: 19px;
}

.footer-right {
    text-align: right;
}

.footer-links {
    margin-top: 4px;
}

@media (max-width: 820px) {
    .hero-box,
    .two-columns,
    .quiz-grid,
    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .menu-mobile-btn {
        display: block;
    }

    #nav-principal {
        display: none;
        width: 100%;
    }

    #nav-principal.aberto {
        display: block;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        padding-top: 10px;
    }

    .nav-user {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        padding-top: 8px;
    }

    .footer-right {
        text-align: left;
    }
}
