:root {
    --bg: #111111;
    --bg-soft: #1a1a1a;
    --yellow: #F4B400;
    --yellow-dark: #d99e00;
    --yellow-soft: #FDF3D9;
    --ink: #17181a;
    --gray-900: #1f2023;
    --gray-600: #6b7280;
    --gray-400: #9ca3af;
    --gray-200: #e7e7ea;
    --gray-100: #f3f3f5;
    --white: #ffffff;
    --danger: #e0483f;
    --success: #1f9d55;
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-card: 0 30px 60px -20px rgba(0, 0, 0, 0.35), 0 10px 20px -10px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

button {
    font-family: inherit;
}

input,
select {
    font-family: inherit;
}

/* ==================================================
   CORES DA BARRA DE ROLAGEM E SELEÇÃO DE TEXTO
================================================== */

::-webkit-scrollbar {
    width: 10px; /* largura da barra */
}

::-webkit-scrollbar-track {
    background: #000000; /* cor do fundo/pista */
}

::-webkit-scrollbar-thumb {
    background: #FFC400; /* cor da barra de rolagem (polegar) */
    border-radius: 5px;
    transition: 0.5s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #cba709; /* cor da barra ao passar o mouse */
    transition: 0.5s ease;
}

/* Altera a seleção em todo o site */
::selection {
  background-color: #ffcc00; /* Cor do fundo da seleção */
  color: #000000;           /* Cor do texto selecionado */
}


/* ===================== LAYOUT ===================== */
.page {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(45deg, #101010, #1f1f1f);
}

.logo img {
    width: 17rem;
}

.side {
    position: relative;
    width: 44%;
    min-width: 420px;
    overflow: hidden;
    padding: 56px 64px;
    display: flex;
    flex-direction: column;
    color: var(--white);
}



.right {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 32px;
    overflow-y: auto;
    min-height: 100vh;
}

/* decorative elements */
.deco-circle-bl {
    position: absolute;
    left: -120px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--yellow);
    opacity: 0.95;
    z-index: 1;
}

.deco-ring {
    position: absolute;
    right: 10px;
    top: 670px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1.5px solid rgba(244, 180, 0, 0.35);
    z-index: 0;
}

.deco-dots {
    position: absolute;
    top: 55px;
    right: 710px;
    width: 130px;
    height: 130px;
    background-image: radial-gradient(circle, rgba(244, 180, 0, 0.55) 1.6px, transparent 1.6px);
    background-size: 16px 16px;
    z-index: 0;
}

.cubos {
    position: absolute;
    top: 800px;
    right: 460px;
    z-index: 0;
    width: 300px;
    height: 300px;
}

.deco-line {
    position: absolute;
    z-index: 0;
    opacity: 0.5;
}

.side-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    bottom: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 56px;
}

.logo svg {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--yellow);
}

.logo-text .tag {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--gray-400);
    margin-top: 2px;
}

.eyebrow {
    display: inline-flex;
    align-self: flex-start;
    border: 1px solid rgba(244, 180, 0, 0.5);
    color: var(--yellow);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 7px 14px;
    border-radius: 8px;
    margin-bottom: 22px;
}

.titulo {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.02;
    margin-bottom: 18px;
    /* margin: 0 0 18px 0; */
}


.titulo .accent {
    color: var(--yellow);
}

.side .subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.5;
    max-width: 380px;
    margin: 0 0 14px 0;
}

.side .desc {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 0 34px 0;
}

.divider {
    width: 56px;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
    margin-bottom: 34px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: auto;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    /* width: 20rem; */
}

.feature .icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 25px;
    background: transparent;
    border: 2px solid rgba(255, 188, 3, 0.985);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icone {
    font-size: 1.4rem;
    color: rgba(255, 188, 3, 0.985);
}

.feature .body strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.feature .body span {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.5;
}

.inteligencia {
    max-width: 25vw;
}

.footerLogin {
    background-color: #111213;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #F3F3F3;
    min-height: 10vh;
    max-height: 10vh;
    width: 100vw;
    margin-top: 10vh;
    /* position: relative; */
    z-index: 9999;
}

/* ===================== CARD / WIZARD ===================== */
.wizard-wrap {
    width: 100%;
    max-width: 640px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 40px 44px 34px;
    position: relative;
}

.card-header {
    text-align: center;
    margin-bottom: 28px;
}

.card-header h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--ink);
}

.card-header p {
    font-size: 13.5px;
    color: var(--gray-600);
    margin: 0;
}

.autosave-pill {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 11px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity .3s ease;
}

.autosave-pill.show {
    opacity: 1;
}

.autosave-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

/* Stepper */
.stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    cursor: pointer;
}

.step-item .circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-400);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 700;
    transition: all .25s ease;
    z-index: 2;
}

.step-item .label {
    font-size: 10px;
    color: var(--gray-400);
    margin-top: 8px;
    text-align: center;
    max-width: 74px;
    line-height: 1.3;
    font-weight: 600;
    transition: color .25s ease;
}

.step-item .line {
    position: absolute;
    top: 15px;
    left: calc(-50% + 16px);
    width: calc(100% - 32px);
    height: 2px;
    background: var(--gray-200);
    z-index: 1;
}

.step-item:first-child .line {
    display: none;
}

.step-item.active .circle {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--ink);
    box-shadow: 0 0 0 5px rgba(244, 180, 0, 0.18);
}

.step-item.active .label {
    color: var(--ink);
}

.step-item.done .circle {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--yellow);
}

.step-item.done .line {
    background: var(--yellow);
}

.step-item.done .label {
    color: var(--gray-600);
}

/* progress bar (mobile) */
.progress-bar {
    display: none;
    height: 5px;
    background: var(--gray-100);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 22px;
}

.progress-bar .fill {
    height: 100%;
    background: var(--yellow);
    border-radius: 6px;
    transition: width .35s ease;
}

/* Steps */
.step-panel {
    display: none;
    animation: fadeSlide .35s ease;
}

.step-panel.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-panel h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.step-panel .step-desc {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0 0 20px 0;
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.field label .opt {
    font-weight: 500;
    color: var(--gray-400);
}

.input-wrap {
    position: relative;
}

.input-wrap svg.leading {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--gray-400);
    pointer-events: none;
}

.input-wrap input,
.input-wrap select {
    width: 100%;
    padding: 11px 13px 11px 38px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-200);
    font-size: 13.5px;
    color: var(--ink);
    background: var(--white);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.input-wrap select {
    padding-left: 38px;
    appearance: none;
    cursor: pointer;
}

.input-wrap select+svg.chevron {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: var(--gray-400);
    pointer-events: none;
}

.field.no-icon .input-wrap input {
    padding-left: 13px;
}

.input-wrap input:focus,
.input-wrap select:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3.5px rgba(244, 180, 0, 0.18);
}

.input-wrap input.error,
.input-wrap select.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3.5px rgba(224, 72, 63, 0.12);
}

.input-wrap input.valid {
    border-color: var(--success);
}

.toggle-eye {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--gray-400);
    background: none;
    border: none;
    padding: 2px;
    display: flex;
}

.toggle-eye:hover {
    color: var(--ink);
}

.error-msg {
    font-size: 11.5px;
    color: var(--danger);
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 5px;
}

.error-msg.show {
    display: flex;
}

.hint {
    font-size: 11.5px;
    color: var(--gray-400);
    margin-top: 5px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 4px;
}

.checkbox-row input[type=checkbox] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--yellow);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-row label {
    font-size: 12.5px;
    color: var(--gray-600);
    line-height: 1.5;
    cursor: pointer;
}

.upload-box {
    border: 1.5px dashed var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: border-color .2s;
}

.upload-box:hover {
    border-color: var(--yellow);
}

.upload-box .icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.upload-box .txt strong {
    display: block;
    font-size: 12.5px;
}

.upload-box .txt span {
    font-size: 11px;
    color: var(--gray-400);
}

/* password strength */
.strength-wrap {
    margin-top: 8px;
}

.strength-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.strength-bar span {
    height: 5px;
    flex: 1;
    border-radius: 4px;
    background: var(--gray-200);
    transition: background .25s ease;
}

.strength-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
}

.checklist {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.checklist li {
    font-size: 11.5px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color .2s ease;
}

.checklist li .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.checklist li.ok {
    color: var(--success);
}

.checklist li.ok .dot {
    background: var(--success);
    border-color: var(--success);
}

.checklist li.ok .dot svg {
    width: 8px;
    height: 8px;
    color: #fff;
}

.radio-cards {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.radio-card {
    flex: 1;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all .2s ease;
}

.radio-card input {
    accent-color: var(--yellow);
    width: 15px;
    height: 15px;
}

.radio-card span {
    font-size: 13px;
    font-weight: 600;
}

.radio-card.selected {
    border-color: var(--yellow);
    background: var(--yellow-soft);
}

.sub-panel {
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 12px;
    display: none;
}

.sub-panel.show {
    display: block;
}

.section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin: 22px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title:first-of-type {
    margin-top: 4px;
}

.section-title .badge-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--yellow);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 6px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    cursor: pointer;
    transition: all .2s ease;
}

.check-item:hover {
    border-color: var(--gray-400);
}

.check-item.checked {
    border-color: var(--yellow);
    background: var(--yellow-soft);
}

.check-item input {
    accent-color: var(--yellow);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.check-item span {
    font-size: 12.5px;
    font-weight: 600;
}

.meal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.meal-item label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    display: block;
    margin-bottom: 5px;
}

.meal-item input {
    width: 100%;
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-200);
    font-size: 13px;
    text-align: center;
}

.meal-item input:focus {
    border-color: var(--yellow);
    outline: none;
}

/* review */
.review-card {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 14px;
}

.review-card .rc-head {
    display: flex;
    align-items: center;
    justify-content: between;
    justify-content: space-between;
    margin-bottom: 12px;
}

.review-card .rc-head strong {
    font-size: 13.5px;
    font-weight: 700;
}

.review-card .edit-btn {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--yellow-dark);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-card .edit-btn:hover {
    text-decoration: underline;
}

.review-row {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    padding: 6px 0;
    border-top: 1px solid var(--gray-100);
}

.review-row:first-of-type {
    border-top: none;
}

.review-row .k {
    color: var(--gray-600);
}

.review-row .v {
    font-weight: 600;
    color: var(--ink);
    text-align: right;
    max-width: 60%;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.tag {
    background: var(--gray-100);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
}

/* buttons */
.btn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 26px;
    gap: 12px;
}

.btn {
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13.5px;
    padding: 13px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all .2s ease;
}

.btn-primary {
    background: var(--yellow);
    color: var(--ink);
    margin-left: auto;
}

.btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-ghost {
    background: none;
    color: var(--gray-600);
    border: 1.5px solid var(--gray-200);
}

.btn-ghost:hover {
    border-color: var(--gray-400);
    color: var(--ink);
}

.kbd-hint {
    font-size: 10.5px;
    color: rgb(134, 131, 131);
    text-align: center;
    margin-top: 14px;
}

.kbd-hint kbd {
    background: var(--gray-100);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: inherit;
    border: 1px solid var(--gray-200);
}

.security-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 11.5px;
    color: rgb(134, 131, 131);
    margin-top: 22px;
}

.security-footer svg {
    width: 13px;
    height: 13px;
}

.cadeado {
    font-size: 0.9rem;
    color: rgb(139, 135, 135);
}

.loginLink {
    text-decoration: none;
    color: var(--yellow-dark);
    font-size: 0.8rem;
    transition: 0.5s ease;
    font-weight: bold;
}

.loginLink:hover {
    transition: 0.5s ease;
    color: var(--yellow);
    font-weight: bold;
}

/* conclusion */
.done-wrap {
    text-align: center;
    padding: 14px 0 4px;
}

.done-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    animation: pop .5s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes pop {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.done-icon svg {
    width: 38px;
    height: 38px;
    color: var(--ink);
}

.done-wrap h2 {
    font-family: var(--font-display);
    font-size: 24px;
    margin: 0 0 10px;
}

.done-wrap p {
    font-size: 13.5px;
    color: var(--gray-600);
    max-width: 400px;
    margin: 0 auto 26px;
    line-height: 1.6;
}

.done-summary {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    text-align: left;
    margin-bottom: 26px;
}

.done-summary .review-row {
    border-top: 1px solid var(--gray-200);
}

.done-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.done-btns .btn-primary {
    margin: 0;
    justify-content: center;
}

.done-btns .btn-ghost {
    justify-content: center;
}

@media (max-width: 980px) {
    .side {
        display: none;
    }

    .right {
        width: 100%;
    }

    .stepper {
        display: none;
    }

    .progress-bar {
        display: block;
    }
}

@media (max-width: 600px) {
    .right {
        padding: 20px 12px;
    }

    .card {
        padding: 26px 20px 24px;
        border-radius: 16px;
    }

    .grid2 {
        grid-template-columns: 1fr;
    }

    .checklist {
        grid-template-columns: 1fr;
    }

    .check-grid {
        grid-template-columns: 1fr;
    }

    .meal-grid {
        grid-template-columns: 1fr 1fr;
    }

    .radio-cards {
        flex-direction: column;
    }
}