/* ===================================================
   LEGENDÁRIOS — Cadastro TOP · Ultra Premium Dark Theme
   =================================================== */

@import url('brand_variables.css');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--legendarios-font-main, 'Montserrat', sans-serif);
    background: #050505;
    color: #f0f0f0;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---- Ambient Animated Background (Premium Mesh Gradient) ---- */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0a0a0a 0%, #000 100%);
}

.ambient-background::before,
.ambient-background::after,
.ambient-background .blob {
    content: '';
    position: absolute;
    width: 80vmax;
    height: 80vmax;
    filter: blur(120px);
    opacity: 0.35;
    mix-blend-mode: screen;
    border-radius: 50%;
    animation: meshMovement 30s infinite alternate ease-in-out;
}

.ambient-background::before {
    top: -40%;
    left: -20%;
    background: radial-gradient(circle, rgba(255, 75, 0, 0.4) 0%, transparent 70%);
}

.ambient-background::after {
    bottom: -30%;
    right: -20%;
    background: radial-gradient(circle, rgba(200, 30, 0, 0.3) 0%, transparent 70%);
    animation-delay: -7s;
    animation-duration: 35s;
}

.ambient-background .blob {
    top: 20%;
    right: -10%;
    width: 60vmax;
    height: 60vmax;
    background: radial-gradient(circle, rgba(255, 120, 60, 0.25) 0%, transparent 70%);
    animation-delay: -15s;
    animation-duration: 40s;
}

@keyframes meshMovement {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(10vw, 15vh) scale(1.1) rotate(60deg); }
    66% { transform: translate(-15vw, 5vh) scale(0.9) rotate(120deg); }
    100% { transform: translate(5vw, -10vh) scale(1.2) rotate(180deg); }
}

/* Base Fade-in for overall app */
body {
    animation: globalFade 1.5s ease-out;
}

@keyframes globalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plusmed-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, background 0.3s ease;
}

.plusmed-badge:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.6);
}

.plusmed-badge span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #bbb;
}

.plusmed-badge img {
    height: 22px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

@media (max-width: 600px) {
    .plusmed-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem 0.8rem;
    }
    .plusmed-badge span {
        display: none;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(255, 75, 0, 0.2) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 1.5rem;
}

.hero-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 25px rgba(255, 75, 0, 0.5));
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
}

.hero-tagline {
    font-size: 0.85rem;
    color: var(--legendarios-orange, #FF4B00);
    margin-top: 0.5rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 800;
}

/* ---- Form Container ---- */
.form-container {
    max-width: 840px;
    margin: -30px auto 3rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

/* ---- Progress Bar (Premium) ---- */
.progress-wrapper {
    max-width: 700px;
    margin: 0 auto 3rem;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.progress-bar {
    height: 6px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-fill {
    width: 25%;
    height: 100%;
    background: linear-gradient(90deg, #E63E00, #FF7A30);
    border-radius: 6px;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 15px rgba(255, 75, 0, 0.6);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.4;
    transition: all 0.4s ease;
}

.step-indicator.active {
    opacity: 1;
    transform: translateY(-3px);
}

.step-indicator.done {
    opacity: 0.8;
}

.step-indicator span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.4s;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.step-indicator.active span {
    border-color: var(--legendarios-orange, #FF4B00);
    background: rgba(255, 75, 0, 0.15);
    color: var(--legendarios-orange, #FF4B00);
    box-shadow: 0 0 20px rgba(255, 75, 0, 0.3), inset 0 0 10px rgba(255, 75, 0, 0.2);
}

.step-indicator.done span {
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

.step-indicator small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* ---- Glassmorphism Steps Container ---- */
.form-step {
    display: none;
    background: rgba(25, 25, 25, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (max-width: 600px) {
    .form-step { padding: 1.5rem; }
}

.form-step.active {
    display: block;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.step-desc {
    color: #a0a0a0;
    font-size: 1rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* ---- Inputs Premium ---- */
.field-group {
    margin-bottom: 1.5rem;
}

.field-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #bbb;
    margin-bottom: 0.5rem;
    margin-left: 0.2rem;
}

.field-group input,
.field-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

.field-group input::placeholder { color: #555; font-weight: 500;}

.field-group input:focus,
.field-group select:focus {
    border-color: rgba(255, 75, 0, 0.7);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 75, 0, 0.15), inset 0 2px 5px rgba(0,0,0,0.3);
}

/* ---- Premium Buttons ---- */
.btn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    gap: 1rem;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #FF4B00 0%, #CC3C00 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 75, 0, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 120, 60, 0.3);
    flex: 1;
    max-width: 300px;
    margin-left: auto;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 75, 0, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ---- Risk Factors (Cards) ---- */
.risk-factor {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s;
}

.risk-factor:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.3);
}

.factor-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.factor-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,75,0,0.2), rgba(255,75,0,0.05));
    border: 1px solid rgba(255, 75, 0, 0.2);
    color: var(--legendarios-orange, #FF4B00);
    font-weight: 900;
    font-size: 1rem;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
}

.factor-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.factor-hint {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.2rem;
}

.factor-points {
    margin-left: auto;
    font-size: 1.5rem;
    font-weight: 900;
    min-width: 50px;
    text-align: right;
    color: #444;
    transition: color 0.4s;
    letter-spacing: -0.05em;
}

.factor-points.scored {
    color: var(--legendarios-orange, #FF4B00);
    text-shadow: 0 0 15px rgba(255, 75, 0, 0.3);
}

/* Radio Glass Cards */
.factor-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.radio-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
}

.radio-card input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #555;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background: rgba(0,0,0,0.3);
}

.radio-card input[type="radio"]:checked {
    border-color: var(--legendarios-orange, #FF4B00);
    background: var(--legendarios-orange, #FF4B00);
    box-shadow: inset 0 0 0 4px #111, 0 0 10px rgba(255,75,0,0.5);
}

.radio-card:has(input:checked) {
    border-color: rgba(255, 75, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 75, 0, 0.1), rgba(0,0,0,0.4));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.radio-card:hover:not(:has(input:checked)) {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(30, 30, 30, 0.8);
    color: #ccc;
}

/* ---- Grid de Checkbox (Anamnese) ---- */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.check-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.9rem;
    font-weight: 600;
    color: #999;
}

.check-card input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.check-card input[type="checkbox"]:checked {
    background: var(--legendarios-orange, #FF4B00);
    border-color: var(--legendarios-orange, #FF4B00);
    box-shadow: 0 0 15px rgba(255, 75, 0, 0.4);
}

.check-card input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
}

.check-card:has(input:checked) {
    background: rgba(255, 75, 0, 0.08);
    border-color: rgba(255, 75, 0, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.check-card:hover:not(:has(input:checked)) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ---- Exclusion Box ---- */
.exclusion-box {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(231, 76, 60, 0.05);
    border: 1px dashed rgba(231, 76, 60, 0.3);
    border-radius: 20px;
}

.exclusion-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ff6b5a;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.exclusion-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.exclusion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 600;
    color: #bbb;
}

.exclusion-item:has(input:checked) {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.5);
    color: #fff;
}

/* ---- PAR-Q List ---- */
.parq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.parq-item {
    background: rgba(0, 0, 0, 0.23);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.5rem;
}

.parq-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.parq-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 800;
    font-size: 0.85rem;
    color: #777;
    letter-spacing: 0.1em;
}

.parq-btn:has(input:checked) {
    border-color: #e74c3c;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(0,0,0,0.4));
    color: #ff6b5a;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.2);
}

.parq-btn.parq-no:has(input:checked) {
    border-color: #2ecc71;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15), rgba(0,0,0,0.4));
    color: #4ade80;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.15);
}

.parq-btn input[type="radio"] {
    display: none;
}

/* ---- Results Glass Card ---- */
.result-card {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
}

.result-card.liberado::before { background: linear-gradient(90deg, #2ecc71, #27ae60); box-shadow: 0 0 20px #2ecc71; }
.result-card.restricao::before { background: linear-gradient(90deg, #f39c12, #e67e22); box-shadow: 0 0 20px #f39c12; }
.result-card.nao-liberado::before { background: linear-gradient(90deg, #e74c3c, #c0392b); box-shadow: 0 0 20px #e74c3c; }

.result-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));
}

.result-status {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.result-card.liberado .result-status { color: #4ade80; text-shadow: 0 0 20px rgba(46, 204, 113, 0.4); }
.result-card.restricao .result-status { color: #facc15; text-shadow: 0 0 20px rgba(243, 156, 18, 0.4); }
.result-card.nao-liberado .result-status { color: #ff6b5a; text-shadow: 0 0 20px rgba(231, 76, 60, 0.4); }

.detail-row {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-key { color: #999; font-weight: 600; }
.detail-value { font-weight: 900; font-size: 1.1rem; }

/* ---- Attestation Premium ---- */
.attestation-box {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(0,0,0,0.3));
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
}

/* ---- Validation Colors ---- */
.score-green { color: #4ade80 !important; }
.score-lime { color: #a3e635 !important; }
.score-yellow { color: #facc15 !important; }
.score-orange { color: #fb923c !important; }
.score-red { color: #f87171 !important; }
.score-darkred { color: #ef4444 !important; }

/* Shake Error */
.field-group input.invalid,
.risk-factor.invalid {
    border-color: rgba(231, 76, 60, 0.8) !important;
    background: rgba(231, 76, 60, 0.05);
    animation: shakeX 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeX {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* Footer Premium */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 5rem;
    padding: 4rem 1.5rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-title { 
    color: #555; 
    font-weight: 800; 
    letter-spacing: 0.2em; 
    text-transform: uppercase;
    font-size: 0.85rem;
}

.footer-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-signature span {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.footer-logo {
    max-width: 160px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.site-footer small {
    color: #444;
    font-size: 0.75rem;
}

/* ---- Info Cards (Classification Step) ---- */
.info-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(12px);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.info-card.warning-style {
    border-color: rgba(255, 193, 7, 0.25);
    background: rgba(255, 193, 7, 0.05);
}

.info-card.attention-style {
    border-color: rgba(33, 150, 243, 0.25);
    background: rgba(33, 150, 243, 0.05);
}

/* ---- Exam Items ---- */
.exam-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.exam-item:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.exam-item .exam-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.exam-item strong {
    display: block;
    color: #fff;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.exam-item p {
    color: #aaa;
    font-size: 0.82rem;
    line-height: 1.4;
}

/* ---- Care List ---- */
.care-list {
    list-style: none;
    padding: 0;
}

.care-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.5rem;
    color: #ccc;
    font-size: 0.88rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.care-list li:last-child { border-bottom: none; }

.care-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--legendarios-color-primary, #5aff4a);
    font-weight: 700;
    font-size: 1.1rem;
}

.care-list li strong {
    color: #fff;
}

/* ---- Payment Card ---- */
.payment-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.payment-card .payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.payment-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.payment-card p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.btn-lg {
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
}

/* ---- Summary Grid ---- */
.summary-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
}

.summary-row:last-child { border-bottom: none; }

.summary-row span {
    color: #888;
}

.summary-row strong {
    color: #fff;
    text-align: right;
}

/* ---- Detail Rows in Result ---- */
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
}

.detail-row:last-child { border-bottom: none; }

.detail-row span { color: #999; }
.detail-row strong { color: #fff; }

/* ---- Input Error State ---- */
input.error, select.error {
    border-color: #ff4444 !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2) !important;
}
