/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-primary: #22A653;
    --green-dark: #1B8F45;
    --green-light: #E8F5E9;
    --green-bg: #f0f9f0;
    --black: #1a1a1a;
    --text-body: #555;
    --text-light: #888;
    --gray-border: #e0e0e0;
    --gray-bg: #f5f5f5;
    --white: #fff;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
}

a {
    color: var(--green-primary);
    text-decoration: underline;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-border);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
}

.header__logo {
    height: 28px;
    width: auto;
}

/* ===== MAIN ===== */
.analise {
    padding: 28px 20px 40px;
}

.analise__container {
    max-width: 480px;
    margin: 0 auto;
}

/* ===== TITLE ===== */
.analise__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 12px;
    line-height: 1.2;
}

.analise__subtitle {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 24px;
}

/* ===== SECURITY CARD ===== */
.analise__security-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--green-light);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 28px;
}

.analise__security-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--green-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.analise__security-text {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--black);
    font-weight: 500;
}

/* ===== FORM ===== */
.analise__form {
    margin-bottom: 0;
}

.analise__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.analise__input {
    width: 100%;
    padding: 16px 18px;
    font-size: 17px;
    font-family: var(--font);
    font-weight: 500;
    color: var(--black);
    background: var(--white);
    border: 1.5px solid var(--gray-border);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease;
}

.analise__input::placeholder {
    color: #bbb;
    font-weight: 400;
}

.analise__input:focus {
    border-color: var(--green-primary);
}

.analise__helper {
    display: block;
    font-size: 12.5px;
    color: var(--text-light);
    margin-top: 6px;
    margin-bottom: 20px;
}

/* ===== CHECKBOX ===== */
.analise__checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 28px;
    -webkit-user-select: none;
    user-select: none;
}

.analise__checkbox {
    display: none;
}

.analise__checkbox-custom {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--gray-border);
    border-radius: 4px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
    margin-top: 1px;
}

.analise__checkbox:checked + .analise__checkbox-custom {
    background: var(--green-primary);
    border-color: var(--green-primary);
}

.analise__checkbox:checked + .analise__checkbox-custom::after {
    content: '';
    width: 6px;
    height: 11px;
    border: solid var(--white);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
    left: 6px;
}

.analise__checkbox-label {
    font-size: 14px;
    line-height: 1.45;
    color: var(--black);
}

.analise__checkbox-label a {
    color: var(--green-primary);
    font-weight: 500;
}

/* ===== BUTTONS ===== */
.analise__btn {
    display: block;
    width: 100%;
    padding: 18px 24px;
    font-size: 17px;
    font-family: var(--font);
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    background: var(--green-primary);
    color: var(--white);
}

.analise__btn:hover:not(:disabled) {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.analise__btn:active:not(:disabled) {
    transform: translateY(0);
}

.analise__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.analise__btn--confirm {
    margin-bottom: 10px;
}

.analise__btn--outline {
    background: var(--white);
    color: var(--green-primary);
    border: 2px solid var(--green-primary);
}

.analise__btn--outline:hover {
    background: var(--green-light);
    transform: translateY(-1px);
}

/* ===== CONFIRMATION CARD ===== */
.analise__confirm {
    margin-top: 28px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 14px;
    padding: 24px 22px;
    animation: fadeSlideUp 0.4s ease forwards;
}

.analise__confirm-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 20px;
}

.analise__confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.analise__confirm-row:last-of-type {
    border-bottom: none;
    margin-bottom: 16px;
}

.analise__confirm-label {
    font-size: 14px;
    color: var(--text-body);
    font-weight: 400;
}

.analise__confirm-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    text-align: right;
}

.analise__confirm-question {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 16px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
    .header {
        padding: 16px 24px;
    }

    .header__logo {
        height: 34px;
    }

    .analise {
        padding: 48px 32px 60px;
    }

    .analise__container {
        max-width: 520px;
    }

    .analise__title {
        font-size: 28px;
    }

    .analise__subtitle {
        font-size: 15.5px;
    }

    .analise__input {
        font-size: 18px;
        padding: 18px 20px;
    }

    .analise__btn {
        font-size: 18px;
        padding: 20px 28px;
    }
}

@media (min-width: 1024px) {
    .analise {
        padding: 60px 40px 80px;
    }

    .analise__container {
        max-width: 540px;
    }

    .analise__title {
        font-size: 30px;
    }
}
