
.ai-kicker {
    background: rgba(255, 250, 239, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-kicker-light,
.ai-header-kicker,
.ai-processing-kicker {
    color: #15534a;
    background: rgba(21, 83, 74, 0.08);
}

.ai-modal-rail h2,
.ai-modal-header h3,
.ai-review-head h3,
.ai-processing-hero h3 {
    margin: 0;
    line-height: 1.1;
}

.ai-modal-rail h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    max-width: 11ch;
}

.ai-rail-description {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(249, 244, 233, 0.86);
}

.ai-rail-benefits,
.ai-processing-grid {
    display: grid;
    gap: 12px;
}

.ai-rail-card,
.ai-processing-card,
.ai-composer-card,
.ai-examples-card,
.ai-result-card,
.ai-summary-panel,
.ai-resume-panel {
    border-radius: 24px;
    border: 1px solid rgba(18, 42, 48, 0.08);
    background: rgba(255, 251, 244, 0.84);
    box-shadow: 0 20px 40px rgba(84, 63, 35, 0.08);
}

.ai-rail-card {
    position: relative;
    z-index: 1;
    padding: 16px 18px;
    color: #fcf8ef;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.ai-rail-card strong,
.ai-processing-card strong,
.ai-field-label,
.ai-examples-head strong,
.ai-summary-metric strong,
.ai-result-top strong,
.ai-result-title {
    display: block;
}

.ai-rail-card strong,
.ai-processing-card strong,
.ai-flow-title,
.ai-summary-title {
    font-size: 0.92rem;
}

.ai-rail-card p,
.ai-rail-flow ol,
.ai-modal-header h3,
.ai-field-hint,
.ai-input-meta,
.ai-examples-head p,
.ai-review-head p,
.ai-processing-hero p,
.ai-summary-note,
.ai-result-description,
.ai-empty-options,
.ai-resume-copy p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #5e665d;
}

.ai-rail-card p,
.ai-rail-flow ol {
    color: rgba(252, 248, 239, 0.82);
}

.ai-rail-flow {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
}

.ai-rail-flow strong {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ai-rail-flow ol {
    padding-left: 18px;
}

.ai-modal-main {
    padding: 28px;
    background:
        radial-gradient(circle at top left, rgba(215, 180, 106, 0.14), transparent 26%),
        linear-gradient(180deg, #fffdfa 0%, #f6efe5 100%);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 0;
}

.ai-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.ai-modal-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(21, 83, 74, 0.08);
    color: #15534a;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ai-modal-close::after {
    content: 'Fechar';
    display: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ai-modal-close:empty::after {
    display: inline;
}

.ai-modal-close:hover {
    background: rgba(21, 83, 74, 0.14);
    transform: rotate(90deg);
}

.ai-stepper-container {
    margin-bottom: 18px;
}

.ai-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
