/* =============================================
   Roteiro da Visita que Matricula (prefixo rv-)
   ============================================= */

.roteiro-visita {
    --rv-primary: #083FCF;
    --rv-secondary: #FC7D55;
    --rv-tertiary: #B073FF;
    --rv-soft-orange: #FFE4DC;
    --rv-soft-purple: #EFE2FF;
    --rv-soft-blue: #edf2ff;
    --rv-text: #1F2937;
    --rv-text-2: #6b7280;
    --rv-border: #e5e7eb;
    --rv-error: #EF4444;
    --rv-success: #059669;
    --rv-bg-soft: #f8faff;
    --rv-heading: 'Outfit', system-ui, sans-serif;
    --rv-body: 'Nunito', system-ui, -apple-system, sans-serif;
    --rv-shadow: 0 20px 44px rgba(8, 63, 207, 0.13);
}

body.roteiro-visita {
    margin: 0;
    color: var(--rv-text);
    background: #fff;
    font-family: var(--rv-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.roteiro-visita *,
.roteiro-visita *::before,
.roteiro-visita *::after {
    box-sizing: border-box;
}

.roteiro-visita h1,
.roteiro-visita h2,
.roteiro-visita h3,
.roteiro-visita h4 {
    font-family: var(--rv-heading);
}

.rv-container {
    width: min(100% - 2rem, 1140px);
    margin: 0 auto;
}

.rv-container--narrow {
    width: min(100% - 2rem, 820px);
}

.rv-hidden {
    display: none !important;
}

.rv-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Botões ---------- */
.rv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0 1.45rem;
    border: 0;
    border-radius: 30px;
    font-family: var(--rv-heading);
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rv-btn:hover {
    transform: translateY(-2px);
}

.rv-btn-hero {
    min-height: 60px;
    padding: 0 2rem;
    color: #fff;
    background: linear-gradient(135deg, #FC7D55 0%, #B073FF 100%);
    box-shadow: 0 14px 30px rgba(252, 125, 85, 0.32);
}

.rv-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #FC7D55 0%, #B073FF 100%);
    box-shadow: 0 12px 26px rgba(176, 115, 255, 0.26);
}

.rv-btn-primary:hover {
    box-shadow: 0 16px 32px rgba(176, 115, 255, 0.34);
}

.rv-btn-full {
    width: 100%;
    min-height: 60px;
}

.rv-btn-outline {
    color: var(--rv-primary);
    background: #fff;
    border: 2px solid var(--rv-primary);
}

.rv-btn-outline:hover {
    color: #fff;
    background: var(--rv-primary);
}

.rv-btn-light {
    color: var(--rv-primary);
    background: var(--rv-soft-blue);
}

.rv-link {
    min-height: 44px;
    padding: 0 0.5rem;
    border: 0;
    background: none;
    color: var(--rv-primary);
    font-family: var(--rv-heading);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

/* ---------- Hero ---------- */
.rv-hero {
    position: relative;
    padding: 0 0 5rem;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 12% 18%, rgba(252, 125, 85, 0.25) 0%, transparent 28%),
        radial-gradient(circle at 82% 72%, rgba(176, 115, 255, 0.24) 0%, transparent 35%),
        linear-gradient(135deg, #071747 0%, #083FCF 54%, #5b55df 100%);
}

.rv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

.rv-brandbar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 0 3rem;
}

.rv-brandbar img {
    height: 25px;
    width: auto;
}

.rv-brandbar-link {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--rv-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.rv-brandbar-link:hover {
    text-decoration: underline;
}

.rv-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.rv-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
}

.rv-badge,
.rv-section-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-family: var(--rv-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rv-badge {
    padding: 0.42rem 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.rv-hero-title {
    max-width: 680px;
    margin: 0;
    font-size: clamp(2.2rem, 4.6vw, 3.9rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.rv-hero-title span {
    color: var(--rv-secondary);
}

.rv-hero-subtitle {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.1rem;
    line-height: 1.75;
}

.rv-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.rv-hero-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
}

.rv-hero-visual {
    display: flex;
    justify-content: center;
}

.rv-mock {
    width: min(100%, 420px);
    padding: 1.5rem;
    border-radius: 28px;
    color: var(--rv-text);
    background: linear-gradient(145deg, #ffffff 0%, #f6f1ff 100%);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.28), 18px 18px 0 rgba(255, 255, 255, 0.08);
    transform: rotate(2deg);
}

.rv-mock-top {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--rv-primary);
    font-family: var(--rv-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rv-mock-top span:last-child {
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    color: #c2441f;
    background: #ffece5;
}

.rv-mock-title {
    margin: 1rem 0 0.8rem;
    font-family: var(--rv-heading);
    font-size: 1.35rem;
    font-weight: 800;
}

.rv-mock-steps {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-mock-steps li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(8, 63, 207, 0.07);
    font-size: 0.9rem;
}

.rv-mock-steps b {
    min-width: 44px;
    color: var(--rv-primary);
    font-family: var(--rv-heading);
}

.rv-mock-msg {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 16px 16px 16px 4px;
    background: #dcf8c6;
}

.rv-mock-msg small {
    display: block;
    margin-bottom: 0.25rem;
    color: #3d6b2a;
    font-size: 0.72rem;
    font-weight: 800;
}

.rv-mock-msg p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ---------- Seções da landing ---------- */
.rv-context,
.rv-value,
.rv-how,
.rv-tool-section,
.rv-faq {
    padding: 5rem 0;
}

.rv-value {
    background: linear-gradient(180deg, #f9fbff 0%, #f5efff 100%);
}

.rv-hl {
    color: var(--rv-secondary);
}

.rv-tool-section {
    background:
        radial-gradient(circle at 20% 20%, rgba(252, 125, 85, 0.18), transparent 28%),
        linear-gradient(145deg, #071747 0%, #083FCF 58%, #5736c7 100%);
    scroll-margin-top: 0;
}

.rv-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.rv-section-tag {
    padding: 0.35rem 0.95rem;
    color: var(--rv-primary);
    background: var(--rv-soft-blue);
}

.rv-section-tag--warm {
    color: #c2441f;
    background: #ffece5;
}

.rv-section-header h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.rv-section-header p {
    max-width: 680px;
    margin: 0;
    color: var(--rv-text-2);
    font-size: 1.04rem;
    line-height: 1.75;
}

.rv-context-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.rv-context-card {
    padding: 1.75rem;
    border: 1px solid var(--rv-border);
    border-radius: 20px;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.rv-context-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--rv-shadow);
}

.rv-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--rv-primary), var(--rv-tertiary));
}

.rv-context-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.15rem;
    line-height: 1.3;
}

.rv-context-card p {
    margin: 0;
    color: var(--rv-text-2);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* ---------- O que você recebe ---------- */
.rv-value-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3.5rem;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
}

.rv-value-visual {
    order: -1;
}

.rv-value-list {
    display: grid;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-value-list li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.rv-value-list h3 {
    margin: 0.1rem 0 0.25rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.rv-value-list p {
    margin: 0;
    color: var(--rv-text-2);
    line-height: 1.6;
}

.rv-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.rv-value-icon--roteiro {
    color: var(--rv-primary);
    background: var(--rv-soft-blue);
}

.rv-value-icon--objecao {
    color: #7c3aed;
    background: var(--rv-soft-purple);
}

.rv-value-icon--followup {
    color: #c2441f;
    background: var(--rv-soft-orange);
}

.rv-value-bonus {
    margin: 0.75rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rv-border);
    color: var(--rv-text-2);
    font-size: 0.95rem;
    line-height: 1.6;
}

.rv-value-bonus strong {
    color: var(--rv-text);
}

.rv-out {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--rv-shadow);
}

.rv-out-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.25rem 1rem;
    padding: 1.1rem 1.5rem;
    color: #fff;
    background: linear-gradient(140deg, #071747 0%, #083FCF 100%);
}

.rv-out-head b {
    font-family: var(--rv-heading);
    font-size: 1.05rem;
}

.rv-out-head span {
    color: #ffb394;
    font-size: 0.85rem;
    font-weight: 700;
}

.rv-out-part {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
}

.rv-out-part + .rv-out-part {
    border-top: 1px solid #f1f2f6;
}

.rv-out-part .rv-value-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.rv-out-part p {
    margin: 0;
    color: var(--rv-text-2);
    font-size: 0.9rem;
    line-height: 1.5;
}

.rv-out-part p b {
    color: var(--rv-text);
}

.rv-out-bar {
    display: flex;
    gap: 3px;
    margin-bottom: 0.6rem;
}

.rv-out-bar i {
    flex: var(--rv-dur) 1 0;
    min-width: 0;
    padding: 0.3rem 0;
    border-radius: 8px;
    color: var(--rv-primary);
    background: var(--rv-soft-blue);
    font-family: var(--rv-heading);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 800;
    text-align: center;
}

.rv-out-bar .is-on {
    color: #fff;
    background: linear-gradient(135deg, #FC7D55, #B073FF);
}

.rv-out-part .rv-out-quote {
    margin-bottom: 0.15rem;
    color: var(--rv-text);
    font-family: var(--rv-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.rv-out-msg {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rv-out-msg p {
    flex: 1;
    padding: 0.65rem 0.9rem;
    border-radius: 14px 14px 14px 4px;
    color: var(--rv-text);
    background: #dcf8c6;
}

.rv-out-msg span {
    flex-shrink: 0;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    color: #fff;
    background: var(--rv-primary);
    font-family: var(--rv-heading);
    font-size: 0.78rem;
    font-weight: 800;
}

/* ---------- Como funciona (linha do tempo) ---------- */
.rv-how {
    background: #fff;
}

.rv-how-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: start;
}

.rv-how-intro {
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.rv-how-intro h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.rv-how-intro p {
    margin: 0 0 0.5rem;
    color: var(--rv-text-2);
    font-size: 1.04rem;
    line-height: 1.75;
}

.rv-steps {
    position: relative;
    display: grid;
    gap: 2.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 27px;
    width: 2px;
    background: linear-gradient(180deg, var(--rv-primary), var(--rv-tertiary), var(--rv-secondary));
}

.rv-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1.25rem;
}

.rv-step-num {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 2px solid var(--rv-primary);
    border-radius: 50%;
    color: var(--rv-primary);
    background: #fff;
    font-family: var(--rv-heading);
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 0 0 6px #fff;
}

.rv-step:last-child .rv-step-num {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #FC7D55, #B073FF);
}

.rv-step-time {
    display: inline-flex;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    color: var(--rv-primary);
    background: var(--rv-soft-blue);
    font-family: var(--rv-heading);
    font-size: 0.76rem;
    font-weight: 800;
}

.rv-step h3 {
    margin: 0.6rem 0 0.35rem;
    font-size: 1.25rem;
}

.rv-step p {
    margin: 0;
    color: var(--rv-text-2);
    line-height: 1.65;
}

/* ---------- Gate ---------- */
.rv-gate-card,
.rv-tool-card {
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.rv-gate-card {
    max-width: 930px;
    margin: 0 auto;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.rv-form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
}

.rv-form-header span {
    color: rgba(255, 255, 255, 0.66);
    font-family: var(--rv-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rv-form-header h2 {
    max-width: 720px;
    margin: 0.6rem auto 0.55rem;
    color: #fff;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.2;
}

.rv-form-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.rv-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.rv-form-span-2 {
    grid-column: 1 / -1;
}

.rv-gate-card .rv-field {
    margin: 0;
}

.rv-gate-card .rv-field label {
    color: rgba(255, 255, 255, 0.92);
}

.rv-req {
    color: #ffb394;
}

.roteiro-visita .rv-gate-card .rv-field input,
.roteiro-visita .rv-gate-card .rv-field select {
    height: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    background-color: rgba(255, 255, 255, 0.13);
}

.rv-gate-card .rv-field select {
    appearance: none;
    padding-right: 2.6rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.rv-gate-card .rv-field select option {
    color: #fff;
    background: #26318f;
}

.rv-gate-card .rv-field input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.roteiro-visita .rv-gate-card .rv-field input:focus,
.roteiro-visita .rv-gate-card .rv-field select:focus {
    border-color: rgba(255, 255, 255, 0.68);
    background-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.rv-gate-card .rv-input-error {
    border-color: #ff8a8a !important;
    box-shadow: 0 0 0 3px rgba(255, 138, 138, 0.16) !important;
}

.rv-form-disclaimer {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    text-align: center;
}

.rv-form-feedback {
    min-height: 1.3rem;
    margin: 1rem 0 0;
    color: #ffd0d0;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

/* ---------- Ferramenta ---------- */
.rv-tool-card {
    padding: 2rem;
    background: #fff;
    scroll-margin-top: 1rem;
}

.rv-tool-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--rv-border);
}

.rv-tool-header h2 {
    margin: 0.75rem 0 0.35rem;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.rv-tool-welcome {
    margin: 0;
    color: var(--rv-text-2);
}

.rv-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: var(--rv-soft-purple);
}

.rv-welcome p {
    margin: 0;
    font-weight: 700;
}

.rv-stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.rv-stepper li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0 1rem;
    border: 1px solid var(--rv-border);
    border-radius: 14px;
    color: var(--rv-text-2);
    background: #fff;
    font-family: var(--rv-heading);
    font-weight: 700;
}

.rv-stepper li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--rv-text-2);
    background: var(--rv-border);
    font-size: 0.82rem;
}

.rv-stepper li.is-active {
    color: var(--rv-primary);
    border-color: rgba(8, 63, 207, 0.22);
    background: var(--rv-soft-blue);
}

.rv-stepper li.is-active span {
    color: #fff;
    background: var(--rv-primary);
}

.rv-stepper li.is-done span {
    color: #fff;
    background: var(--rv-secondary);
}

.rv-panel {
    display: none;
}

.rv-panel.is-active {
    display: block;
    animation: rv-fade 0.3s ease;
}

@keyframes rv-fade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

.rv-step-heading {
    margin-bottom: 1.5rem;
}

.rv-step-heading h3 {
    margin: 0 0 0.4rem;
    font-size: 1.55rem;
    font-weight: 800;
}

.rv-step-heading p {
    margin: 0;
    color: var(--rv-text-2);
}

/* ---------- Campos ---------- */
.rv-field {
    margin-bottom: 1.4rem;
}

.rv-field label,
.rv-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
    font-weight: 800;
}

.rv-field input[type="text"],
.rv-field input[type="email"],
.rv-field input[type="tel"],
.rv-field textarea,
.rv-field select,
.rv-repeat input {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--rv-border);
    border-radius: 12px;
    color: var(--rv-text);
    background-color: #fff;
    font-family: var(--rv-body);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rv-field textarea {
    resize: vertical;
}

.rv-field input:focus,
.rv-field textarea:focus,
.rv-field select:focus,
.rv-repeat input:focus {
    outline: none;
    border-color: var(--rv-primary);
    box-shadow: 0 0 0 3px rgba(8, 63, 207, 0.1);
}

.rv-input-error {
    border-color: var(--rv-error) !important;
}

.rv-field-help {
    margin: 0.4rem 0 0;
    color: var(--rv-text-2);
    font-size: 0.85rem;
}

.rv-field-highlight {
    padding: 1.25rem;
    border: 2px solid transparent;
    border-radius: 18px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #FC7D55, #B073FF) border-box;
}

.rv-field-highlight > .rv-field-help {
    margin: 0 0 1rem;
}

.rv-tag {
    display: inline-block;
    margin-left: 0.25rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    color: var(--rv-text-2);
    background: #f1f2f6;
    font-family: var(--rv-body);
    font-size: 0.72rem;
    font-weight: 700;
    vertical-align: middle;
}

.rv-tag-rec {
    color: #c2441f;
    background: var(--rv-soft-orange);
}

.rv-grid-2,
.rv-grid-3 {
    display: grid;
    gap: 1rem;
}

.rv-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rv-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- Práticas (Sim/Não) ---------- */
.rv-praticas {
    display: grid;
    gap: 0.6rem;
}

.rv-pratica {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--rv-border);
    border-radius: 14px;
    background: var(--rv-bg-soft);
}

.rv-pratica > span {
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.4;
}

.rv-yesno {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 3px;
    border: 1px solid var(--rv-border);
    border-radius: 999px;
    background: #fff;
}

.rv-yesno button {
    min-width: 64px;
    min-height: 40px;
    padding: 0 0.9rem;
    border: 0;
    border-radius: 999px;
    color: var(--rv-text-2);
    background: transparent;
    font-family: var(--rv-heading);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.rv-yesno button[data-resposta="sim"].is-selected {
    color: #fff;
    background: var(--rv-success);
}

.rv-yesno button[data-resposta="nao"].is-selected {
    color: #fff;
    background: var(--rv-secondary);
}

/* ---------- Chips ---------- */
.rv-chips,
.rv-temp {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rv-chip {
    min-height: 44px;
    padding: 0 1rem;
    border: 1.5px solid var(--rv-border);
    border-radius: 999px;
    color: var(--rv-text);
    background: #fff;
    font-family: var(--rv-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rv-chip:hover {
    border-color: var(--rv-tertiary);
}

.rv-chip.is-selected {
    color: #fff;
    background: var(--rv-primary);
    border-color: var(--rv-primary);
}

.rv-chip-other {
    border-style: dashed;
    color: var(--rv-primary);
}

.rv-chip-input {
    min-height: 44px;
    padding: 0 1rem;
    border: 1.5px solid var(--rv-primary);
    border-radius: 999px;
    font-family: var(--rv-body);
    font-size: 0.92rem;
}

.rv-chip-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 63, 207, 0.1);
}

/* ---------- Repetíveis ---------- */
.rv-repeat {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.rv-repeat-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.rv-remove {
    flex: 0 0 44px;
    height: 44px;
    border: 1.5px solid var(--rv-border);
    border-radius: 12px;
    color: var(--rv-text-2);
    background: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.rv-add {
    min-height: 44px;
    padding: 0;
    border: 0;
    color: var(--rv-primary);
    background: none;
    font-family: var(--rv-heading);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.rv-completude {
    margin: 0.5rem 0 1.5rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: var(--rv-text-2);
    background: var(--rv-soft-purple);
    font-size: 0.92rem;
}

.rv-completude strong {
    color: var(--rv-primary);
}

.rv-panel-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rv-border);
}

.rv-disclaimer {
    margin: 1.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--rv-border);
    color: var(--rv-text-2);
    font-size: 0.84rem;
}

/* ---------- Resultado ---------- */
.rv-res-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 20px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(176, 115, 255, 0.4), transparent 40%),
        linear-gradient(140deg, #071747 0%, #083FCF 100%);
}

.rv-res-kicker {
    display: inline-flex;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    font-family: var(--rv-heading);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rv-res-head h2 {
    margin: 0.6rem 0 0.75rem;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
}

.rv-res-head .rv-ph {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.rv-res-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-res-meta li {
    padding: 0.2rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 700;
}

.rv-res-head .rv-btn {
    flex: 0 0 auto;
}

.rv-res-nav {
    position: sticky;
    top: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0.5rem;
    border: 1px solid var(--rv-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
}

.rv-res-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    border-radius: 12px;
    color: var(--rv-text);
    font-family: var(--rv-heading);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.rv-res-nav a:hover {
    color: var(--rv-primary);
    background: var(--rv-soft-blue);
}

.rv-res-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #fff;
    background: var(--rv-primary);
    font-size: 0.78rem;
}

.rv-res-nav a:last-child span {
    background: var(--rv-secondary);
}

.rv-res-sec {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--rv-border);
    border-radius: 20px;
    background: #fff;
    scroll-margin-top: 80px;
}

.rv-res-sec-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.rv-res-sec-head h3 {
    flex: 1 1 auto;
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
}

.rv-res-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    height: 36px;
    border-radius: 12px;
    color: #fff;
    background: var(--rv-primary);
    font-family: var(--rv-heading);
    font-size: 1rem;
    font-weight: 800;
}

.rv-res-label {
    margin: 0 0 0.45rem;
    color: var(--rv-text-2);
    font-family: var(--rv-heading);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rv-time {
    flex: 0 0 auto;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    color: var(--rv-primary);
    background: var(--rv-soft-blue);
    font-family: var(--rv-heading);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.rv-ph {
    padding: 0 0.2rem;
    border-radius: 4px;
    color: #9a3f1f;
    background: #FFF1D6;
}

.rv-result-note {
    margin: 0 0 1rem;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    color: #9a3f1f;
    background: var(--rv-soft-orange);
    font-size: 0.92rem;
    font-weight: 700;
}

.rv-diag {
    display: grid;
    gap: 1.25rem;
}

.rv-diag--duas {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
}

.rv-diag-good {
    padding: 1.1rem;
    border-radius: 16px;
    background: #ECFDF5;
}

.rv-diag-good .rv-res-label {
    color: #047857;
}

.rv-check-list {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-check-list li {
    position: relative;
    padding-left: 1.75rem;
    color: #065f46;
    font-weight: 700;
    line-height: 1.45;
}

.rv-check-list li::before {
    content: '';
    position: absolute;
    top: 0.15rem;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--rv-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.rv-diag-list {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: rv-diag;
}

.rv-diag-item {
    position: relative;
    padding: 1rem 1rem 1rem 3.4rem;
    border: 1px solid var(--rv-border);
    border-radius: 14px;
    counter-increment: rv-diag;
}

.rv-diag-item::before {
    content: counter(rv-diag);
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--rv-primary);
    background: var(--rv-soft-blue);
    font-family: var(--rv-heading);
    font-size: 0.85rem;
    font-weight: 800;
}

.rv-diag-item:first-child {
    border-color: rgba(252, 125, 85, 0.45);
    background: #FFF8F5;
}

.rv-diag-item:first-child::before {
    color: #fff;
    background: var(--rv-secondary);
}

.rv-diag-first {
    display: inline-flex;
    margin-bottom: 0.35rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    color: #c2441f;
    background: var(--rv-soft-orange);
    font-size: 0.72rem;
    font-weight: 800;
}

.rv-diag-item h4 {
    margin: 0 0 0.3rem;
    font-size: 1.02rem;
}

.rv-diag-item p {
    margin: 0.2rem 0;
    color: var(--rv-text-2);
    font-size: 0.92rem;
}

.rv-diag-item .rv-diag-fazer {
    margin-top: 0.5rem;
    color: var(--rv-text);
}

.rv-diag-ok {
    margin: 0;
    color: var(--rv-success);
    font-weight: 700;
}

.rv-empty-card {
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    background: var(--rv-bg-soft);
}

.rv-empty-card p {
    margin: 0 0 1rem;
    font-weight: 700;
}

.rv-agenda {
    display: flex;
    gap: 4px;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.rv-agenda li {
    flex: var(--rv-dur) 1 0;
    min-width: 92px;
}

.rv-agenda a {
    display: block;
    height: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    color: var(--rv-text);
    background: var(--rv-soft-blue);
    text-decoration: none;
    transition: background 0.2s ease;
}

.rv-agenda a:hover {
    background: #dfe7ff;
}

.rv-agenda b {
    display: block;
    color: var(--rv-primary);
    font-family: var(--rv-heading);
    font-size: 0.95rem;
}

.rv-agenda span {
    display: block;
    font-size: 0.78rem;
    line-height: 1.3;
}

.rv-blocos {
    position: relative;
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-blocos::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 19px;
    width: 2px;
    background: linear-gradient(180deg, var(--rv-primary), var(--rv-tertiary), var(--rv-secondary));
    opacity: 0.35;
}

.rv-bloco {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 1rem;
    scroll-margin-top: 80px;
}

.rv-bloco-num {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    background: var(--rv-primary);
    font-family: var(--rv-heading);
    font-weight: 800;
    box-shadow: 0 0 0 5px #fff;
}

.rv-bloco-body {
    padding: 1.2rem;
    border: 1px solid var(--rv-border);
    border-radius: 16px;
    background: #fff;
}

.rv-bloco-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.rv-bloco-head h4 {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.3;
}

.rv-bloco-obj {
    margin: 0.35rem 0 1rem;
    color: var(--rv-text-2);
    font-size: 0.95rem;
}

.rv-part + .rv-part,
.rv-bloco-body > .rv-proximo,
.rv-bloco-body > .rv-evitar {
    margin-top: 1rem;
}

.rv-bloco-body ul {
    margin: 0;
    padding-left: 1.2rem;
}

.rv-bloco-body li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.rv-pontos li::marker {
    color: var(--rv-primary);
}

.rv-part--perguntas {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: var(--rv-soft-purple);
}

.rv-perguntas {
    list-style: none;
}

.rv-bloco-body .rv-perguntas {
    padding-left: 0;
}

.rv-perguntas li {
    position: relative;
    padding-left: 1.6rem;
    font-weight: 600;
}

.rv-perguntas li::before {
    content: '?';
    position: absolute;
    top: 0.1rem;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--rv-tertiary);
    font-family: var(--rv-heading);
    font-size: 0.72rem;
    font-weight: 800;
}

.rv-paradas {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: rv-parada;
}

.rv-parada {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem 1rem 0.8rem 3rem;
    position: relative;
    border-radius: 12px;
    background: var(--rv-bg-soft);
    counter-increment: rv-parada;
}

.rv-parada::before {
    content: counter(rv-parada);
    position: absolute;
    top: 0.85rem;
    left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #fff;
    background: var(--rv-secondary);
    font-family: var(--rv-heading);
    font-size: 0.78rem;
    font-weight: 800;
}

.rv-paradas .rv-parada {
    margin: 0;
}

.rv-parada em {
    color: #8b3fe8;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 700;
}

.rv-objecoes {
    display: grid;
    gap: 0.75rem;
}

.rv-objecao {
    padding: 0.9rem 1rem;
    border: 1px solid var(--rv-border);
    border-left: 4px solid var(--rv-secondary);
    border-radius: 12px;
}

.rv-objecao-q {
    margin: 0 0 0.45rem;
    font-family: var(--rv-heading);
    font-size: 1.02rem;
    font-weight: 800;
}

.rv-proximo {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: var(--rv-soft-blue);
}

.rv-proximo .rv-res-label {
    color: var(--rv-primary);
}

.rv-proximo p:last-child {
    margin: 0;
    font-weight: 700;
}

.rv-evitar {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #FEF2F2;
    font-size: 0.92rem;
}

.rv-evitar .rv-res-label {
    color: #b91c1c;
}

/* ---------- Depois da visita (destaque máximo) ---------- */
.rv-posvisita {
    padding: 2rem 1.75rem;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, #EFE2FF 0%, #FFE4DC 100%);
    box-shadow: 0 18px 44px rgba(176, 115, 255, 0.18);
}

.rv-pos-head {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.rv-pos-head .rv-res-num {
    background: var(--rv-secondary);
}

.rv-pos-head h3 {
    margin: 0.6rem 0 0.4rem;
    font-size: clamp(1.45rem, 3vw, 1.95rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.rv-posvisita-sub {
    margin: 0;
    color: #4b5563;
    font-size: 1.02rem;
}

.rv-pos-step + .rv-pos-step {
    margin-top: 1.75rem;
}

.rv-pos-step-head {
    margin-bottom: 0.75rem;
}

.rv-pos-step-tag {
    display: inline-flex;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    color: #fff;
    background: var(--rv-text);
    font-family: var(--rv-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rv-pos-step-head h4 {
    margin: 0.45rem 0 0.15rem;
    font-size: 1.2rem;
}

.rv-pos-step-head p {
    margin: 0;
    color: #4b5563;
    font-size: 0.92rem;
}

.rv-ficha {
    padding: 1.4rem;
    border-radius: 18px;
    background: #fff;
}

.rv-temp .rv-chip {
    flex: 1;
    min-width: 90px;
}

.rv-regua {
    position: relative;
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-regua::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 47px;
    width: 2px;
    background: rgba(8, 63, 207, 0.2);
}

.rv-regua-item {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.rv-regua-day {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.55rem 0.4rem;
    border-radius: 14px;
    color: #fff;
    background: var(--rv-primary);
    text-align: center;
}

.rv-regua-day b {
    font-family: var(--rv-heading);
    font-size: 1.15rem;
    line-height: 1.1;
}

.rv-regua-day small {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.7rem;
    line-height: 1.25;
}

.rv-regua-item:first-child .rv-regua-day {
    background: var(--rv-secondary);
}

.rv-regua-card {
    padding: 1.1rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(31, 41, 55, 0.06);
}

.rv-regua-obj {
    margin: 0 0 0.6rem;
    font-family: var(--rv-heading);
    font-size: 1rem;
    font-weight: 700;
}

.rv-regua-msg {
    display: block;
    width: 100%;
    min-height: 110px;
    padding: 0.8rem 0.9rem;
    border: 1.5px solid var(--rv-border);
    border-radius: 12px;
    color: var(--rv-text);
    background: var(--rv-bg-soft);
    font-family: var(--rv-body);
    font-size: 0.94rem;
    line-height: 1.55;
    resize: vertical;
    overflow: hidden;
}

.rv-regua-msg:focus {
    outline: none;
    border-color: var(--rv-primary);
    background: #fff;
}

.rv-regua-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
}

.rv-regua-nores {
    margin: 0;
    color: var(--rv-text-2);
    font-size: 0.84rem;
}

.rv-btn-copy {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 1.2rem;
    font-size: 0.9rem;
}

.rv-btn-copy.is-copied {
    background: var(--rv-success);
    box-shadow: none;
}

/* ---------- CTAs ---------- */
.rv-cta {
    margin-top: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 16px;
}

.rv-cta h4 {
    margin: 0 0 0.35rem;
    color: var(--rv-primary);
    font-size: 1.02rem;
}

.rv-cta p {
    margin: 0 0 0.8rem;
    color: var(--rv-text-2);
    font-size: 0.92rem;
}

.rv-cta-inline {
    background: var(--rv-soft-purple);
}

.rv-cta h4 + .rv-btn {
    margin-top: 0.5rem;
}

.rv-cta-highlight {
    border: 2px solid var(--rv-secondary);
    background: #fff;
}

.rv-cta-highlight {
    margin-top: 1.5rem;
    padding: 1.4rem 1.5rem;
}

.rv-final-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: var(--rv-bg-soft);
}

/* ---------- FAQ ---------- */
.rv-faq-item {
    margin-bottom: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--rv-border);
    border-radius: 16px;
    background: #fff;
}

.rv-faq-item summary {
    font-family: var(--rv-heading);
    font-weight: 700;
    cursor: pointer;
}

.rv-faq-item p {
    margin: 0.6rem 0 0;
    color: var(--rv-text-2);
}

/* ---------- Rodapé ---------- */
.rv-foot {
    padding: 2.5rem 0 3rem;
    text-align: center;
    background: #071747;
}

.rv-foot img {
    height: 26px;
    width: auto;
    margin-bottom: 0.9rem;
}

.rv-foot p {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.85rem;
}

.rv-foot a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.rv-foot a:hover {
    border-bottom-color: #fff;
}

/* ---------- Toast ---------- */
.rv-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    border-radius: 24px;
    color: #fff;
    background: var(--rv-text);
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.3s ease;
}

.rv-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
    .rv-hero-grid,
    .rv-context-grid,
    .rv-how-layout,
    .rv-diag--duas {
        grid-template-columns: 1fr;
    }

    .rv-hero-copy,
    .rv-hero-actions {
        align-items: center;
        text-align: center;
    }

    .rv-mock {
        transform: none;
    }

    .rv-grid-3 {
        grid-template-columns: 1fr;
    }

    .rv-value-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .rv-value-copy,
    .rv-value-visual {
        width: min(100%, 520px);
        margin: 0 auto;
    }

    .rv-value-visual {
        order: 0;
    }

    .rv-how-layout {
        gap: 2.5rem;
    }

    .rv-how-intro {
        position: static;
    }
}

@media (max-width: 680px) {
    .rv-container,
    .rv-container--narrow {
        width: min(100% - 1.2rem, 1140px);
    }

    .rv-hero {
        padding-bottom: 3.5rem;
    }

    .rv-brandbar {
        padding-bottom: 2rem;
    }

    .rv-context,
    .rv-value,
    .rv-how,
    .rv-tool-section,
    .rv-faq {
        padding: 3.5rem 0;
    }

    .rv-value-list li {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .rv-value-list .rv-value-icon {
        width: 44px;
        height: 44px;
    }

    .rv-out-head,
    .rv-out-part {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .rv-out-part {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 0.8rem;
    }

    .rv-out-part .rv-value-icon {
        width: 34px;
        height: 34px;
    }

    .rv-out-msg {
        flex-direction: column;
        align-items: flex-start;
    }

    .rv-agenda {
        flex-direction: column;
    }

    .rv-agenda a {
        display: flex;
        align-items: baseline;
        gap: 0.75rem;
    }

    .rv-agenda b {
        flex: 0 0 52px;
    }

    .rv-agenda li {
        min-width: 0;
    }

    .rv-how-intro .rv-btn {
        width: 100%;
    }

    .rv-steps::before {
        left: 21px;
    }

    .rv-step {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 1rem;
    }

    .rv-step-num {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .rv-btn-hero,
    .rv-btn-full {
        min-height: 50px;
    }

    .rv-hero-actions,
    .rv-btn-hero,
    .rv-panel-actions .rv-btn,
    .rv-final-actions .rv-btn,
    .rv-welcome .rv-btn,
    .rv-ficha > .rv-btn,
    .rv-cta .rv-btn {
        width: 100%;
    }

    .rv-mock {
        padding: 1.15rem;
    }

    .rv-gate-card,
    .rv-tool-card {
        padding: 1.2rem;
        border-radius: 22px;
    }

    .rv-form-header h2 {
        font-size: 1.45rem;
    }

    .rv-form-grid,
    .rv-grid-2 {
        grid-template-columns: 1fr;
    }

    .rv-tool-header {
        flex-direction: column;
    }

    .rv-stepper li {
        justify-content: center;
        padding: 0 0.5rem;
        font-size: 0;
    }

    .rv-stepper li span {
        font-size: 0.82rem;
    }

    .rv-stepper li.is-active {
        font-size: 0.85rem;
    }

    .rv-pratica {
        flex-direction: column;
        align-items: stretch;
    }

    .rv-yesno button {
        flex: 1;
    }

    .rv-res-head {
        flex-direction: column;
        padding: 1.2rem;
    }

    .rv-res-head .rv-btn {
        width: 100%;
    }

    .rv-res-nav a {
        flex-direction: column;
        gap: 0.2rem;
        padding: 0.35rem 0.2rem;
        font-size: 0.74rem;
        line-height: 1.2;
        text-align: center;
    }

    .rv-res-sec,
    .rv-posvisita {
        padding: 1.1rem 1rem;
    }

    .rv-res-sec-head h3 {
        font-size: 1.2rem;
    }

    .rv-blocos {
        gap: 1.75rem;
    }

    .rv-blocos::before {
        display: none;
    }

    .rv-bloco {
        display: block;
    }

    .rv-bloco-num {
        position: absolute;
        top: -13px;
        left: 14px;
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        box-shadow: 0 0 0 4px #fff;
    }

    .rv-bloco-body {
        padding: 1.4rem 1rem 1rem;
    }

    .rv-regua::before {
        display: none;
    }

    .rv-regua-item {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .rv-regua-day {
        flex-direction: row;
        align-items: baseline;
        gap: 0.5rem;
        width: fit-content;
        margin-left: 1rem;
        padding: 0.4rem 0.8rem;
        border-radius: 12px 12px 0 0;
    }

    .rv-regua-day small {
        margin-top: 0;
    }

    .rv-regua-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .rv-btn-copy {
        width: 100%;
    }

    .rv-final-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .roteiro-visita *,
    .roteiro-visita *::before,
    .roteiro-visita *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* ---------- Impressão (Baixar em PDF) ---------- */
.rv-print-root {
    display: none;
}

@media print {
    @page {
        margin: 12mm;
    }

    html,
    body.rv-printing {
        height: auto !important;
        min-height: 0 !important;
    }

    body.rv-printing {
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    body.rv-printing > *:not(.rv-print-root) {
        display: none !important;
    }

    body.rv-printing .rv-print-root {
        display: block !important;
    }

    .rv-pr,
    .rv-pr * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .rv-pr {
        color: #1f2937;
        font-family: var(--rv-body);
        font-size: 9.5pt;
        line-height: 1.45;
    }

    .rv-pr-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12pt;
        margin-bottom: 10pt;
        padding-bottom: 8pt;
        border-bottom: 2px solid #083FCF;
    }

    .rv-pr-head img {
        height: 22pt;
        width: auto;
    }

    .rv-pr-head span {
        color: #083FCF;
        font-family: var(--rv-heading);
        font-size: 8pt;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .rv-pr h1 {
        margin: 0 0 3pt;
        font-family: var(--rv-heading);
        font-size: 16pt;
        line-height: 1.2;
    }

    .rv-pr-meta {
        margin: 0;
        color: #4b5563;
        font-size: 8.5pt;
    }

    .rv-pr-sec {
        margin-top: 12pt;
    }

    .rv-pr h2 {
        margin: 0 0 6pt;
        padding: 4pt 8pt;
        border-radius: 4pt;
        color: #fff;
        background: #083FCF;
        font-family: var(--rv-heading);
        font-size: 11pt;
        break-after: avoid;
    }

    .rv-pr h3 {
        margin: 8pt 0 2pt;
        color: #083FCF;
        font-family: var(--rv-heading);
        font-size: 10.5pt;
        break-after: avoid;
    }

    .rv-pr h3 small {
        color: #6b7280;
        font-size: 8.5pt;
    }

    .rv-pr-label {
        margin: 6pt 0 2pt;
        color: #6b7280;
        font-size: 7.5pt;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        break-after: avoid;
    }

    .rv-pr-note {
        margin: 0 0 6pt;
        padding: 4pt 8pt;
        border-left: 3px solid #FC7D55;
        background: #FFF4EF;
        font-size: 8.5pt;
    }

    .rv-pr-agenda {
        display: flex;
        flex-wrap: wrap;
        gap: 2pt 10pt;
        margin: 0;
        color: #083FCF;
        font-size: 8.5pt;
        font-weight: 700;
    }

    .rv-pr ul,
    .rv-pr ol {
        margin: 0;
        padding-left: 14pt;
    }

    .rv-pr li {
        margin-bottom: 2pt;
    }

    .rv-pr-bloco {
        padding-bottom: 6pt;
        border-bottom: 1px solid #e5e7eb;
    }

    .rv-pr-obj {
        margin: 0 0 3pt;
        color: #4b5563;
        font-style: italic;
    }

    .rv-pr-checks {
        color: #047857;
        font-weight: 700;
    }

    .rv-pr-melhorias {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4pt 14pt;
    }

    .rv-pr-melhorias strong,
    .rv-pr-melhorias span {
        display: block;
    }

    .rv-pr-melhorias li,
    .rv-pr-paradas li,
    .rv-pr-objecao,
    .rv-pr-proximo,
    .rv-pr-ficha,
    .rv-pr-msg {
        break-inside: avoid;
    }

    .rv-pr-paradas em {
        color: #8b3fe8;
        font-style: normal;
        font-weight: 700;
    }

    .rv-pr-objecao {
        margin: 4pt 0;
        padding-left: 6pt;
        border-left: 2px solid #FC7D55;
    }

    .rv-pr-proximo {
        margin: 4pt 0 0;
        padding: 4pt 8pt;
        border-radius: 4pt;
        background: #edf2ff;
    }

    .rv-pr-ficha {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6pt 14pt;
        padding: 8pt;
        border: 1px solid #d1d5db;
        border-radius: 6pt;
    }

    .rv-pr-campo span {
        display: block;
        color: #6b7280;
        font-size: 7.5pt;
        font-weight: 800;
        text-transform: uppercase;
    }

    .rv-pr-campo i {
        display: block;
        height: 14pt;
        border-bottom: 1px solid #9ca3af;
    }

    .rv-pr-msg {
        margin-top: 6pt;
        padding: 6pt 8pt;
        border: 1px solid #e5e7eb;
        border-radius: 6pt;
    }

    .rv-pr-msg p {
        margin: 0 0 3pt;
    }

    .rv-pr-msg-head {
        color: #083FCF;
        font-size: 8.5pt;
    }

    .rv-pr-nores {
        color: #6b7280;
        font-size: 8pt;
    }

    .rv-pr .rv-ph {
        padding: 0 2pt;
        color: #9a3f1f;
        background: #FFF1D6;
    }

    .rv-pr-foot {
        margin-top: 12pt;
        padding-top: 6pt;
        border-top: 1px solid #e5e7eb;
        color: #6b7280;
        font-size: 7.5pt;
    }
}
