/* ─── Page ─────────────────────────────────────────── */
.join-page {
    font-family: 'Inter', sans-serif;
    background: #F7F6FF;
    background: linear-gradient(180deg, rgba(247, 246, 255, 1) 0%, rgba(234, 232, 251, 1) 46%, rgba(251, 250, 254, 1) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 24px 80px;
    gap: 0;
}

/* ─── Hero ──────────────────────────────────────────── */
.join-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 560px;
    width: 100%;
    animation: joinFadeUp 0.5s ease both;
}

.join-promo-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    background: #1A1A2E;
    color: #fff;
    border-radius: 4px;
    padding: 5px 12px 4px;
    margin-bottom: 28px;
}

.join-promo-badge-amount {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.join-promo-badge-text {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #999;
}

.join-hero-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #1A1A2E;
    margin-bottom: 20px;
}

.join-hero-subtitle {
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.7;
    color: #666;
    max-width: 100%;
}

.join-info-trigger {
    position: static;
    /* deixa o tooltip sair do fluxo da hero */
    display: inline-block;
    vertical-align: middle;
}

.join-tooltip {
    position: absolute;
    width: 280px;
    background: #fff;
    border: 1px solid #e0ddd7;
    border-radius: 10px;
    padding: 16px 16px 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    text-align: left;
    display: none;
}


.join-tooltip.is-open {
    display: block;
    animation: tooltipIn 0.18s ease both;
}

.join-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(10, 10, 10, 0.45);
    font-size: inherit;
    line-height: inherit;
    padding: 0;
    transition: color 0.15s;
    vertical-align: middle;
}

.join-info-btn:hover {
    color: #1A1A2E;
}

.join-info-label {
    font-size: 13px;
    text-decoration: underline;
    text-decoration-color: rgba(10, 10, 10, 0.2);
    text-underline-offset: 2px;
}

/* ─── Trust Line ─────────────────────────────────────── */
.join-trust-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
    margin: 32px 0 40px;
    animation: joinFadeUp 0.5s 0.1s ease both;
}

.join-trust-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
}

.join-trust-sep {
    color: #ccc;
}

/* ─── Form Section ───────────────────────────────────── */
.join-form-section {
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: joinFadeUp 0.5s 0.18s ease both;
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    border: 1px solid #e8e6e1;
    border-radius: 10px;
    padding: 32px 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* ─── Field ──────────────────────────────────────────── */
.join-field-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.join-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #444;
}

.join-required {
    color: #e53e3e;
    font-weight: 700;
}

.join-input {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    color: #1A1A2E;
    background: #fafaf9;
    border: 1px solid #e0ddd7;
    border-radius: 6px;
    padding: 10px 13px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    width: 100%;
}

.join-input::placeholder {
    color: #bbb;
}

.join-input:focus {
    border-color: #1A1A2E;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}

/* ─── Pills ──────────────────────────────────────────── */
.join-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.join-pill {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    background: #fafaf9;
    border: 1px solid #e0ddd7;
    border-radius: 6px;
    padding: 18px 28px;
    cursor: pointer;
    transition: all 0.12s;
    letter-spacing: -0.01em;
}

.join-pill:hover {
    border-color: #aaa;
    color: #1A1A2E;
    background: #f2f1ee;
}

.join-pill.active,
.join-pill--active {
    background: #1A1A2E;
    border-color: #1A1A2E;
    color: #fff;
}

.join-muted-note {
    font-size: 12px;
    color: #aaa;
    font-weight: 400;
    margin-top: 2px;
}

/* ─── CTA ────────────────────────────────────────────── */
.join-cta-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.join-cta-button {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    background: #1A1A2E;
    border: none;
    border-radius: 7px;
    padding: 13px 0;
    width: 100%;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.join-cta-button:hover:not(:disabled) {
    background: #222;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.join-cta-button:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.join-cta-reinforcement {
    font-size: 12px;
    color: #aaa;
    font-weight: 400;
}

/* ─── Privacy ────────────────────────────────────────── */
.join-privacy {
    font-size: 12px;
    color: #bbb;
    text-align: center;
    line-height: 1.6;
}

.join-privacy-link {
    color: #888;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

.join-privacy-link:hover {
    color: #1A1A2E;
}

/* ─── Animation ──────────────────────────────────────── */
@keyframes joinFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 480px) {
    .join-page {
        padding: 40px 16px 64px;
    }

    .join-form {
        padding: 24px 20px;
    }

    .join-pill {
        padding: 8px 12px;
        font-size: 12.5px;
    }

    .join-trust-line {
        gap: 8px;
        font-size: 11px;
    }
}



.join-info-trigger {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.join-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    background: #fff;
    border: 1px solid #e0ddd7;
    border-radius: 10px;
    padding: 16px 16px 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
    z-index: 100;
    text-align: left;
}

.join-tooltip.is-open {
    display: block;
    animation: tooltipIn 0.18s ease both;
}

.join-tooltip-arrow {
    position: absolute;
    top: -5px;
    left: 76% !important;
    transform: translateX(-50%) rotate(45deg);
    width: 9px;
    height: 9px;
    background: #fff;
    border-left: 1px solid #e0ddd7;
    border-top: 1px solid #e0ddd7;
}

.join-tooltip-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1A1A2E;
    margin-bottom: 8px;
}

.join-tooltip-body {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    color: #666;
    margin-bottom: 12px;
}

.join-tooltip-close {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #1A1A2E;
    border: none;
    border-radius: 5px;
    padding: 7px 14px;
    cursor: pointer;
    transition: background 0.15s;
    display: block;
    width: 100%;
}

.join-tooltip-close:hover {
    background: #333;
}

@keyframes tooltipIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}


.join-other-field {
    display: none;
    flex-direction: column;
    gap: 6px;
    animation: joinFadeUp 0.18s ease both;
}

.join-other-field.is-open {
    display: flex;
}

.join-other-hint {
    margin-top: 0;
}