/* ========================================
   LaraMenu Revenda White-label — seções comerciais
   Complementa styles.css (reaproveita os tokens :root de lá).
   Prefixo rv- para não colidir com classes existentes.
   ======================================== */

:root {
    --rv-ink: #14101f;
    --rv-ink-2: #231a33;
    --rv-line: rgba(17, 24, 39, 0.08);
    --rv-soft: #fff4ee;
    --rv-green: #16a34a;
}

/* Acessibilidade: foco visível em toda a página */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-radius: 6px;
}

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

/* ---------- Botão secundário ---------- */
.rv-btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid rgba(17, 24, 39, 0.15);
}

.rv-btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

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

.rv-btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* ---------- Hero ---------- */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(239, 99, 49, 0.1);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.hero-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(239, 99, 49, 0.2);
}

.hero-mockup {
    position: relative;
}

.hero-mockup picture {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-mockup .hero-mockup-img {
    width: 100%;
    max-width: 620px;
}

.hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.14);
    font-size: 0.78rem;
    line-height: 1.3;
    color: var(--text-medium);
    animation: rvFloat 6s ease-in-out infinite;
}

.hero-float strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.hero-float__dot {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--rv-soft);
    color: var(--primary);
}

.hero-float--1 {
    top: 8%;
    left: 0;
}

.hero-float--2 {
    bottom: 12%;
    right: 0;
    animation-delay: -3s;
}

@keyframes rvFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 480px) {
    .hero-float {
        display: none;
    }
}

/* ---------- Seções utilitárias ---------- */
.rv-section-soft {
    background: var(--rv-soft);
}

.rv-section-dark {
    background: radial-gradient(120% 90% at 100% 0%, rgba(239, 99, 49, 0.22) 0%, transparent 55%), var(--rv-ink);
    color: #e5e7eb;
}

.rv-section-dark .section-title {
    color: #fff;
}

.rv-section-dark .section-subtitle {
    color: #cbd5e1;
}

.rv-section-dark .section-tag {
    color: #ffb08f;
}

.rv-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

/* ---------- Como funciona (5 passos) ---------- */
.rv-steps,
.rv-flow {
    list-style: none;
}

.rv-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    counter-reset: rvstep;
}

.rv-step {
    position: relative;
    padding: 24px 20px 22px;
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.rv-step__num {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.rv-step h3 {
    font-size: 1.02rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.rv-step p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.55;
}

@media (min-width: 640px) {
    .rv-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rv-steps {
        grid-template-columns: repeat(5, 1fr);
    }

    .rv-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 42px;
        right: -12px;
        width: 8px;
        height: 8px;
        border-top: 2px solid var(--primary);
        border-right: 2px solid var(--primary);
        transform: rotate(45deg);
        opacity: 0.6;
    }
}

/* ---------- Grid de 2 colunas (texto + visual) ---------- */
.rv-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.rv-split > * {
    min-width: 0;
}

.rv-split + .rv-split {
    margin-top: 72px;
}

.rv-split__text .section-tag {
    margin-bottom: 8px;
}

.rv-split__text h2,
.rv-split__text h3 {
    font-size: 1.6rem;
    line-height: 1.25;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.rv-section-dark .rv-split__text h2,
.rv-section-dark .rv-split__text h3 {
    color: #fff;
}

.rv-split__text > p {
    color: var(--text-medium);
    margin-bottom: 18px;
}

.rv-section-dark .rv-split__text > p {
    color: #cbd5e1;
}

.rv-checklist {
    display: grid;
    gap: 10px;
}

.rv-checklist li {
    position: relative;
    padding-left: 30px;
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.rv-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(239, 99, 49, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef6331' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.rv-checklist strong {
    color: var(--text-dark);
}

.rv-section-dark .rv-checklist li {
    color: #cbd5e1;
}

.rv-section-dark .rv-checklist strong {
    color: #fff;
}

.rv-note {
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--text-light);
}

@media (min-width: 900px) {
    .rv-split {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

    .rv-split--reverse .rv-split__visual {
        order: -1;
    }

    .rv-split__text h2,
    .rv-split__text h3 {
        font-size: 1.9rem;
    }
}

/* ---------- Janela (mockups em CSS) ---------- */
.rv-window {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--rv-line);
    box-shadow: 0 30px 60px rgba(17, 24, 39, 0.12);
    overflow: hidden;
}

.rv-window__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: #f3f4f6;
    border-bottom: 1px solid var(--rv-line);
}

.rv-window__bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.rv-window__url {
    flex: 1;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    font-size: 0.72rem;
    color: var(--text-medium);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rv-window__body {
    padding: 18px;
}

.rv-caption {
    margin-top: 12px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
}

.rv-section-dark .rv-caption {
    color: #94a3b8;
}

/* Mock white-label */
.rv-brand-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.rv-brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--text-dark);
}

.rv-brand-logo span {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--rv-brand, var(--primary));
    transition: background 0.4s ease;
}

.rv-swatches {
    display: flex;
    gap: 6px;
}

.rv-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--rv-line);
    cursor: pointer;
    padding: 0;
}

.rv-swatch[aria-pressed="true"] {
    box-shadow: 0 0 0 2px var(--text-dark);
}

.rv-brand-hero {
    padding: 18px;
    border-radius: 12px;
    background: var(--rv-brand, var(--primary));
    color: #fff;
    transition: background 0.4s ease;
}

.rv-brand-hero strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.rv-brand-hero small {
    opacity: 0.9;
}

.rv-brand-hero em {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #fff;
    color: var(--text-dark);
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 600;
}

.rv-brand-rows {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.rv-brand-rows div {
    padding: 10px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid var(--rv-line);
    font-size: 0.7rem;
    color: var(--text-medium);
}

.rv-brand-rows b {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dark);
}

/* ---------- Ecossistema ---------- */
.rv-eco {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 920px;
    margin: 0 auto;
}

.rv-eco__node {
    width: 100%;
    max-width: 560px;
    padding: 18px 20px;
    border-radius: 16px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--rv-line);
    box-shadow: var(--shadow-md);
}

.rv-eco__node h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.rv-eco__node p {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.rv-eco__node--core {
    background: var(--rv-ink);
    border-color: var(--rv-ink);
}

.rv-eco__node--core h3 {
    color: #fff;
}

.rv-eco__node--core p {
    color: #cbd5e1;
}

.rv-eco__node--brand {
    border: 2px solid var(--primary);
}

.rv-eco__link {
    width: 2px;
    height: 28px;
    background: linear-gradient(var(--primary), rgba(239, 99, 49, 0.25));
}

.rv-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.rv-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--rv-soft);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.rv-section-dark .rv-chip {
    background: rgba(255, 255, 255, 0.08);
    color: #ffd2bf;
}

.rv-eco__clients {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 560px;
}

.rv-eco__client {
    padding: 12px 8px;
    border-radius: 12px;
    background: #fff;
    border: 1px dashed rgba(239, 99, 49, 0.45);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-medium);
}

.rv-eco__client b {
    display: block;
    color: var(--text-dark);
    font-size: 0.85rem;
}

.rv-eco__channels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

.rv-eco__channel {
    padding: 14px 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--rv-line);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.rv-eco__channel small {
    display: block;
    font-weight: 400;
    font-size: 0.72rem;
    color: var(--text-medium);
}

@media (min-width: 768px) {
    .rv-eco__channels {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---------- Funcionalidades agrupadas ---------- */
.rv-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.rv-group {
    padding: 24px 22px;
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.rv-group:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.rv-group__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.rv-group__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--rv-soft);
    color: var(--primary);
}

.rv-group__head h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
}

.rv-group ul {
    display: grid;
    gap: 7px;
}

.rv-group li {
    position: relative;
    padding-left: 16px;
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.45;
}

.rv-group li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

@media (min-width: 640px) {
    .rv-groups {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rv-groups {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Mock: chat WhatsApp dentro do mockup de smartphone ---------- */
/* A tela ocupa exatamente a área transparente de mockup-smartphone.webp (1154x2224):
   x 92→1058 e y 82→2115, cantos com raio ~100px. A moldura fica por cima. */
.rv-phone {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 1154 / 2224;
    filter: drop-shadow(0 30px 40px rgba(17, 24, 39, 0.22));
}

.rv-phone__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    z-index: 2;
    pointer-events: none;
}

.rv-phone__screen {
    position: absolute;
    /* ~12px (da imagem) de sobra por baixo da moldura preta em cada lado, com cantos menos
       arredondados: cobre toda a área transparente, inclusive a curva dos cantos, sem fresta */
    left: calc(80 / 1154 * 100%);
    top: calc(70 / 2224 * 100%);
    width: calc(990 / 1154 * 100%);
    height: calc(2057 / 2224 * 100%);
    border-radius: 6% / 2.9%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    background: #efeae2;
    /* Tipografia proporcional à largura da tela do aparelho */
    container-type: inline-size;
}

.rv-phone__status {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 7.2cqw;
    min-height: 20px;
    padding: 1.2cqw 7cqw 0 8cqw;
    background: #075e54;
    color: #fff;
    font-size: 3.6cqw;
    font-weight: 600;
}

.rv-phone__status,
.rv-phone__status span {
    line-height: 1;
}

/* Hora com a mesma caixa dos ícones, para os centros ficarem alinhados */
.rv-phone__status > span:first-child {
    display: inline-flex;
    align-items: center;
    height: 3.2cqw;
}

.rv-phone__icons {
    display: flex;
    align-items: center;
    gap: 1.6cqw;
}

.rv-phone__icons svg {
    height: 3.2cqw;
    width: auto;
    fill: currentColor;
}

.rv-chat__head {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2.8cqw;
    padding: 2.6cqw 4cqw 3cqw 2.6cqw;
    background: #075e54;
    color: #fff;
    font-size: 4.4cqw;
    font-weight: 600;
}

.rv-chat__back {
    width: 6cqw;
    height: 6cqw;
    fill: #fff;
    flex-shrink: 0;
}

.rv-chat__input {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2cqw;
    padding: 2.4cqw 3cqw 7cqw;
    background: #efeae2;
}

.rv-chat__input span {
    flex: 1;
    padding: 2.6cqw 4cqw;
    border-radius: 99px;
    background: #fff;
    color: #8696a0;
    font-size: 3.8cqw;
}

.rv-chat__input i {
    flex-shrink: 0;
    width: 10cqw;
    height: 10cqw;
    border-radius: 50%;
    background: #00a884;
    display: grid;
    place-items: center;
}

.rv-chat__input svg {
    width: 5cqw;
    height: 5cqw;
    fill: #fff;
}

.rv-chat__head small {
    display: block;
    opacity: 0.8;
    font-size: 3.4cqw;
    font-weight: 400;
}

.rv-chat__body {
    display: flex;
    flex-direction: column;
    gap: 2.2cqw;
    padding: 3.4cqw 3cqw 2cqw;
}

.rv-msg {
    max-width: 84%;
    padding: 2.2cqw 2.8cqw;
    border-radius: 2.8cqw;
    font-size: 4.1cqw;
    line-height: 1.45;
    color: #111827;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.rv-msg--out {
    align-self: flex-end;
    background: #d9fdd3;
}

.rv-msg--ok {
    border-left: 3px solid var(--rv-green);
}

/* ---------- Mock: fluxo em etapas ---------- */
.rv-flow {
    display: grid;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
}

.rv-flow li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    font-size: 0.92rem;
    color: var(--text-dark);
}

.rv-flow li span {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--rv-soft);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.rv-flow li small {
    display: block;
    color: var(--text-medium);
    font-size: 0.78rem;
}

/* ---------- Mock: cupom de impressão ---------- */
.rv-receipt {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 22px 20px 26px;
    background: #fff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #111827;
    box-shadow: 0 24px 50px rgba(17, 24, 39, 0.16);
    border-radius: 4px;
    -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100% repeat-x;
            mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100% repeat-x;
}

.rv-receipt p {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 2px 0;
}

.rv-receipt .c {
    justify-content: center;
    font-weight: 700;
}

.rv-receipt hr {
    border: 0;
    border-top: 1px dashed #9ca3af;
    margin: 10px 0;
}

/* ---------- Mock: carteira de fidelidade ---------- */
.rv-wallet {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.rv-wallet__card {
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, #ff9a5a 100%);
    color: #fff;
    box-shadow: 0 20px 40px rgba(239, 99, 49, 0.3);
}

.rv-wallet__card small {
    opacity: 0.9;
    font-size: 0.78rem;
}

.rv-wallet__card strong {
    display: block;
    font-size: 1.6rem;
    margin-top: 2px;
}

.rv-stamps {
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    font-size: 0.85rem;
    color: var(--text-dark);
}

.rv-stamps__row {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    margin-top: 10px;
}

.rv-stamps__row i {
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px dashed rgba(239, 99, 49, 0.4);
}

.rv-stamps__row i.on {
    border: 0;
    background: var(--primary);
}

.rv-wheel-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--rv-ink);
    color: #fff;
    border-radius: 16px;
    font-size: 0.85rem;
}

.rv-wheel-pill span {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0 25%, #ffc107 0 50%, #fff 0 75%, #ff9a5a 0);
}

/* ---------- Cards da seção de crescimento ---------- */
.rv-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.rv-card {
    padding: 24px 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rv-card h3 {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 8px;
}

.rv-card p {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.55;
}

.rv-card__tag {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffb08f;
}

@media (min-width: 640px) {
    .rv-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rv-cards--4 {
        grid-template-columns: repeat(4, 1fr);
    }

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

/* ---------- Modelo de receita ---------- */
.rv-money {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

.rv-money__item {
    position: relative;
    padding: 20px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--rv-line);
    text-align: center;
}

.rv-money__item b {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
}

.rv-money__item p {
    font-size: 0.92rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

.rv-money__item small {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-medium);
}

.rv-money__item--end {
    background: var(--primary);
    border-color: var(--primary);
}

.rv-money__item--end b,
.rv-money__item--end p,
.rv-money__item--end small {
    color: #fff;
}

@media (min-width: 900px) {
    .rv-money {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ---------- Faixa de CTA intermediária ---------- */
.rv-band {
    padding: 36px 24px;
    border-radius: 22px;
    background: linear-gradient(120deg, var(--primary-dark), var(--primary) 55%, #ff9a5a);
    color: #fff;
    text-align: center;
}

.rv-band h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.rv-band p {
    opacity: 0.95;
    max-width: 620px;
    margin: 0 auto;
}

.rv-band .rv-cta-row {
    margin-top: 22px;
}

@media (min-width: 768px) {
    .rv-band {
        padding: 48px 40px;
    }

    .rv-band h2 {
        font-size: 1.9rem;
    }
}

/* ---------- Correções de transbordo (seções herdadas do styles.css) ---------- */
.rv-eco__clients {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rv-eco__client {
    overflow-wrap: anywhere;
}

.comparison-header,
.comparison-row {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
}

.comparison-col {
    overflow-wrap: anywhere;
    max-width: 100%;
}

/* E-mail do rodapé só quebra onde não cabe (celulares estreitos) */
@media (max-width: 400px) {
    .footer-email {
        overflow-wrap: anywhere;
        max-width: 100%;
    }
}

@media (max-width: 400px) {
    .rv-eco__client {
        padding: 10px 4px;
        font-size: 0.72rem;
    }

    .rv-eco__client b {
        font-size: 0.78rem;
    }

    .comparison-col {
        padding: 12px 6px;
        font-size: 0.75rem;
    }
}

/* Rodapé: 4 colunas não cabem entre 768 e 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Imagens de ícone reduzidas ---------- */
.feature-icon img,
.advantage-icon-wrapper img {
    max-width: 100%;
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
    .hero-float {
        animation: none;
    }

    .rv-group,
    .rv-brand-logo span,
    .rv-brand-hero {
        transition: none;
    }

    .rv-group:hover {
        transform: none;
    }
}

/* ========================================
   Chat Lara IA — layout portado do index-new (styles-new.css)
   ======================================== */
.lm-chat {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.lm-chat.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lm-chat__overlay {
    display: none;
}

.lm-chat__modal {
    width: 360px;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.2);
    overflow: hidden;
    font-family: inherit;
}

.lm-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--primary);
    color: #fff;
}

.lm-chat__header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lm-chat__header-info img {
    width: 40px;
    height: 40px;
    max-width: none;
    border-radius: 50%;
    background: #fff;
}

.lm-chat__header-info strong {
    display: block;
    font-size: 0.9375rem;
}

.lm-chat__header-info span {
    font-size: 0.8125rem;
    opacity: 0.85;
}

.lm-chat__header button {
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.lm-chat__messages {
    min-height: 220px;
    max-height: 300px;
    overflow-y: auto;
    padding: 16px;
    background: #fafafc;
}

.lm-chat__msg {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    max-width: 85%;
}

.lm-chat__msg--user {
    margin-left: auto;
    flex-direction: row-reverse;
}

.lm-chat__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.lm-chat__avatar img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.lm-chat__msg--user .lm-chat__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

.lm-chat__bubble {
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.lm-chat__msg--lara .lm-chat__bubble {
    background: #fff;
    color: #4a4a68;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lm-chat__msg--lara .lm-chat__bubble a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.lm-chat__msg--user .lm-chat__bubble {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.lm-chat__typing {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: #fafafc;
}

.lm-chat__typing span {
    width: 8px;
    height: 8px;
    background: #b3b3c6;
    border-radius: 50%;
    animation: lmTyping 1.4s infinite;
}

.lm-chat__typing span:nth-child(2) { animation-delay: 0.2s; }
.lm-chat__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes lmTyping {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.lm-chat__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 12px;
    background: #fafafc;
}

.lm-chat__chips button {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #ebebf2;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.8125rem;
    color: #6b6b8a;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lm-chat__chips button:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.lm-chat__form {
    display: flex;
    gap: 10px;
    padding: 16px;
    background: #fff;
    border-top: 1px solid #ebebf2;
}

.lm-chat__form input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid #ebebf2;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9375rem;
    outline: none;
}

.lm-chat__form input:focus {
    border-color: var(--primary);
}

.lm-chat__form button {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lm-chat__form button:hover {
    background: var(--primary-dark);
}

.lm-chat__form button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.lm-chat__fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(239, 99, 49, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.lm-chat__fab:hover {
    transform: scale(1.05);
}

.lm-chat__fab img {
    width: 44px;
    height: 44px;
    max-width: none;
    border-radius: 50%;
}

.lm-chat__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lm-chat__fab.is-open .lm-chat__badge {
    display: none;
}

@media (max-width: 767px) {
    /* Mobile: chat em tela cheia; fecha só pelo X do cabeçalho.
       O container ocupa a tela toda porque o transform da animação vira
       o referencial dos filhos com position: fixed. */
    .lm-chat {
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
    }

    .lm-chat__modal {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    .lm-chat__header {
        flex-shrink: 0;
        padding-top: max(16px, env(safe-area-inset-top));
    }

    .lm-chat__header button {
        width: 44px;
        height: 44px;
        margin-right: -10px;
    }

    .lm-chat__messages {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
    }

    .lm-chat__typing,
    .lm-chat__chips {
        flex-shrink: 0;
    }

    .lm-chat__form {
        flex-shrink: 0;
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }

    /* Botão flutuante some com o chat aberto (cobria o botão de enviar) */
    .lm-chat__fab.is-open {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lm-chat,
    .lm-chat__typing span {
        transition: none;
        animation: none;
    }
}

/* ========================================
   Páginas legais (privacidade.html, termos.html)
   ======================================== */
.rv-legal-page {
    background: var(--rv-soft);
}

.rv-legal-top {
    background: var(--primary);
    padding: 14px 0;
}

.rv-legal-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rv-legal-top__logo img {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: block;
}

.rv-legal-top__back {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.rv-legal {
    padding: 48px 0 64px;
}

.rv-legal__inner {
    max-width: 820px;
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: var(--radius-xl);
    padding: 32px 22px;
    box-shadow: var(--shadow-sm);
}

.rv-legal h1 {
    font-size: 1.9rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.rv-legal h2 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin: 28px 0 10px;
}

.rv-legal p,
.rv-legal li {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.rv-legal p + p {
    margin-top: 10px;
}

.rv-legal ul {
    list-style: disc;
    padding-left: 22px;
    display: grid;
    gap: 8px;
}

.rv-legal a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.rv-legal__meta {
    font-size: 0.85rem !important;
    color: var(--text-light) !important;
    margin-bottom: 20px;
}

.rv-legal__see {
    margin-top: 28px !important;
}

.rv-legal-foot {
    padding: 24px 0 32px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-medium);
}

.rv-legal-foot a {
    color: var(--primary-dark);
}

@media (min-width: 768px) {
    .rv-legal__inner {
        padding: 48px 56px;
    }

    .rv-legal h1 {
        font-size: 2.3rem;
    }
}

/* ========================================
   Espaços para imagens reais do sistema (imagens/sistema/)
   Sem a imagem, a ilustração (fallback) continua visível.
   ======================================== */
.rv-shot {
    position: relative;
    width: 100%;
    margin: 0;
}

.rv-shot__img {
    /* Invisível até carregar; ocupa a área para o lazy-load disparar */
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    opacity: 0;
    pointer-events: none;
}

.rv-shot.has-shot .rv-shot__img {
    position: static;
    display: block;
    height: auto;
    opacity: 1;
    pointer-events: auto;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(17, 24, 39, 0.16);
    border: 1px solid var(--rv-line);
}

.rv-shot.has-shot .rv-shot__fallback {
    display: none;
}

.rv-shot--phone.has-shot .rv-shot__img {
    width: auto;
    max-width: min(100%, 340px);
    border-radius: 28px;
}

.rv-section-dark .rv-shot.has-shot .rv-shot__img {
    border-color: rgba(255, 255, 255, 0.12);
}


/* ========================================
   Simulação animada do Bot de Pedidos (WhatsApp)
   ======================================== */
.rv-chat__logo {
    width: 10cqw;
    height: 10cqw;
    max-width: none;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    flex-shrink: 0;
}

.rv-chat__head small {
    min-height: 1em;
}

#rvBotChat {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
}

#rvBotChat::-webkit-scrollbar {
    display: none;
}

.rv-msg {
    white-space: normal;
    overflow-wrap: anywhere;
}

.rv-msg.is-new {
    animation: rvMsgIn 0.35s ease-out both;
}

@keyframes rvMsgIn {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.rv-msg--typing {
    display: inline-flex;
    align-self: flex-start;
    gap: 1.2cqw;
    align-items: center;
    width: auto;
    padding: 3cqw 3.6cqw;
}

.rv-msg--typing i {
    width: 1.8cqw;
    height: 1.8cqw;
    border-radius: 50%;
    background: #9ca3af;
    animation: lmTyping 1.2s infinite;
}

.rv-msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.rv-msg--typing i:nth-child(3) { animation-delay: 0.3s; }

.rv-chat__replay {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--primary-dark);
    text-decoration: underline;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .rv-msg.is-new,
    .rv-msg--typing i {
        animation: none;
    }
}

/* "O que sua revenda recebe" (seção Como funciona) */
.rv-receive {
    margin-top: 32px;
    padding: 24px 22px;
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.rv-receive__title {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.rv-receive__list {
    gap: 14px;
}

@media (min-width: 900px) {
    .rv-receive {
        padding: 28px 32px;
    }

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

/* ========================================
   Conheça também (banners de outros produtos, acima do rodapé)
   ======================================== */
.rv-partners {
    padding: 56px 0 64px;
    background: var(--bg-white);
}

.rv-partners__title {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.rv-partners__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.rv-partner {
    display: block;
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rv-partner:hover {
    transform: translateY(-3px);
}

.rv-partner__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.16);
    border: 0;
}

@media (min-width: 768px) {
    .rv-partners__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rv-partner,
    .rv-partner:hover {
        transition: none;
        transform: none;
    }
}

/* ========================================
   Novidades (carrossel de atualizações)
   ======================================== */
.rv-news {
    max-width: 1100px;
    margin: 0 auto;
}

.rv-news__slide {
    display: none;
}

.rv-news__slide.is-active {
    display: block;
    animation: rvMsgIn 0.4s ease-out both;
}

/* Arrastar com dedo/mouse (scripts-revenda.js): o conteúdo segue o gesto */
.rv-news__slide {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.rv-news__slide > * {
    transform: translateX(var(--rv-drag, 0px));
    transition: transform 0.3s ease;
}

.rv-news.is-dragging .rv-news__slide {
    cursor: grabbing;
}

.rv-news.is-dragging .rv-news__slide > * {
    transition: none;
}

.rv-news__slide img {
    -webkit-user-drag: none;
}

.rv-news__media {
    position: relative;
}

.rv-news__media .rv-shot.has-shot .rv-shot__img {
    width: 100%;
    border-radius: 22px;
}

.rv-news__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(239, 99, 49, 0.35);
}

/* Banner provisório enquanto a imagem da novidade não é enviada */
.rv-news__ph {
    aspect-ratio: 2 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    border-radius: 22px;
    text-align: center;
    color: #fff;
    background: radial-gradient(90% 120% at 85% 10%, rgba(239, 99, 49, 0.55) 0%, transparent 60%), var(--rv-ink);
    box-shadow: 0 24px 50px rgba(17, 24, 39, 0.16);
}

.rv-news__ph span {
    font-size: 2.6rem;
    line-height: 1;
}

.rv-news__ph strong {
    font-size: 1.5rem;
    line-height: 1.25;
    max-width: 520px;
}

.rv-news__info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

.rv-news__card {
    padding: 22px 22px;
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.rv-news__card h3 {
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.rv-news__sub {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.rv-news__card p:not(.rv-news__sub) {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.rv-news__card p + p {
    margin-top: 10px;
}

.rv-news__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.rv-news__btn {
    padding: 10px 16px;
    border: 1px solid var(--rv-line);
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.rv-news__btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.rv-news__dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.rv-news__dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(239, 99, 49, 0.3);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.rv-news__dots button[aria-selected="true"] {
    width: 28px;
    background: var(--primary);
}

@media (max-width: 480px) {
    .rv-news__ph strong {
        font-size: 1.1rem;
    }

    .rv-news__ph span {
        font-size: 2rem;
    }

    .rv-news__btn {
        padding: 8px 12px;
        font-size: 0.82rem;
    }
}

@media (min-width: 900px) {
    .rv-news__info {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .rv-news__card {
        padding: 28px 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rv-news__slide.is-active {
        animation: none;
    }
}

/* ========================================
   Página de acesso de demonstração
   ======================================== */
.rv-demo-hero {
    padding: 56px 0 24px;
    text-align: center;
}

.rv-demo-hero h1 {
    font-size: 1.9rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.rv-demo-hero p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-medium);
}

.rv-demo-hero__ctas {
    margin-top: 28px;
}

.rv-demo {
    padding: 24px 0 56px;
}

.rv-demo__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.rv-demo__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 22px;
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.rv-demo__card h2 {
    font-size: 1.15rem;
    color: var(--text-dark);
}

.rv-demo__card > p {
    font-size: 0.92rem;
    color: var(--text-medium);
    line-height: 1.55;
}

.rv-demo__icon {
    font-size: 1.8rem;
    line-height: 1;
}

.rv-demo__sub {
    font-size: 0.8rem !important;
    font-weight: 600;
    color: var(--primary-dark) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rv-demo__card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.rv-demo__cred {
    display: grid;
    gap: 6px;
    margin: 6px 0 10px;
}

.rv-demo__row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid var(--rv-line);
    font-size: 0.85rem;
}

.rv-demo__row span {
    min-width: 64px;
    color: var(--text-medium);
}

.rv-demo__row code {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.rv-demo__row button {
    border: 0;
    background: none;
    color: var(--primary-dark);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.rv-demo__pedir,
.rv-demo__hint {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.rv-demo__pedir a,
.rv-demo__hint a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: underline;
}

.rv-demo__note {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

.rv-demo-help {
    padding: 48px 0 64px;
    text-align: center;
    background: #fff;
}

.rv-demo-help h2 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.rv-demo-help p {
    color: var(--text-medium);
    margin-bottom: 20px;
}

@media (min-width: 700px) {
    .rv-demo__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .rv-demo-hero h1 {
        font-size: 2.5rem;
    }

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

/* Mockup com fundo transparente (sem moldura de cartão) */
.rv-mockup {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 24px 40px rgba(17, 24, 39, 0.18));
}

/* Print real de tela do sistema (com moldura) */
.rv-screenshot {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid var(--rv-line);
    box-shadow: 0 30px 60px rgba(17, 24, 39, 0.16);
}

.rv-mockup--wide {
    max-width: 640px;
}

/* Hero mais baixo e com o mockup maior */
.hero {
    min-height: auto;
    padding: 136px 0 80px;
}

@media (min-width: 1024px) {
    .hero {
        padding: 188px 0 140px;
    }

    .hero-container {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 24px;
    }

    .hero-mockup .hero-mockup-img {
        max-width: 820px;
    }
}

/* Telas largas: amplia o mockup sem aumentar a altura do hero */
@media (min-width: 1360px) {
    .hero-mockup .hero-mockup-img {
        transform: scale(1.14);
        transform-origin: left center;
    }
}

.hero-buttons .btn {
    white-space: nowrap;
}

/* Espaço vazio reservado para o mockup de celular (a imagem entra quando for enviada) */
.rv-phone-slot {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9 / 18;
    margin: 0 auto;
}

/* Mockups dos apps (fundo transparente): sem moldura e com o aparelho do mesmo tamanho.
   O celular ocupa ~95% da imagem do garçom (1254x1254) e ~88% da do entregador (1061x1483),
   por isso as larguras diferentes (437 ≈ 340 x 1,285) resultam em aparelhos iguais. */
#app-garcom .rv-shot.has-shot .rv-shot__img,
#app-entregador .rv-shot.has-shot .rv-shot__img {
    height: auto;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 24px 40px rgba(17, 24, 39, 0.18));
}

#app-entregador .rv-shot.has-shot .rv-shot__img {
    width: min(78%, 340px);
}

#app-garcom .rv-shot.has-shot .rv-shot__img {
    width: min(100%, 437px);
}

/* Cupom no formato real do print-service */
.rv-receipt {
    max-width: 330px;
    font-size: 0.76rem;
    line-height: 1.45;
}

.rv-receipt p {
    margin: 1px 0;
}

.rv-receipt .big {
    font-size: 1.05rem;
    letter-spacing: 1px;
}

.rv-receipt .b,
.rv-receipt b {
    font-weight: 700;
}

.rv-receipt .gap {
    margin-top: 8px;
}

.rv-receipt .in {
    padding-left: 1.5em;
}

.rv-receipt hr.eq {
    border-top: 3px double #6b7280;
}

.rv-receipt p.lr {
    justify-content: flex-start;
    align-items: baseline;
    gap: 4px;
}

.rv-receipt p.lr i {
    flex: 1;
    border-bottom: 1px dotted #6b7280;
    transform: translateY(-3px);
}

.rv-receipt p.total {
    font-size: 0.95rem;
    font-weight: 700;
}

/* Um único banner, centralizado */
.rv-partners__grid--single {
    grid-template-columns: 1fr !important;
    max-width: 560px;
}

/* ========================================
   Banner "Conheça também" — borda em espectro laranja percorrendo o banner
   ======================================== */
@property --rv-spin {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.rv-partners .rv-partner {
    position: relative;
    padding: 8px;
    border-radius: 26px;
    isolation: isolate;
    background: conic-gradient(
        from var(--rv-spin),
        rgba(239, 99, 49, 0.45) 0deg,
        rgba(239, 99, 49, 0.45) 150deg,
        #ef6331 220deg,
        #ffb08f 270deg,
        #fff6ef 300deg,
        #ef6331 330deg,
        rgba(239, 99, 49, 0.45) 360deg
    );
    animation: rvSpin 3.2s linear infinite;
    box-shadow: 0 12px 30px rgba(239, 99, 49, 0.28);
}

/* Brilho difuso acompanhando a borda */
.rv-partners .rv-partner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: inherit;
    filter: blur(16px);
    opacity: 0.8;
}

.rv-partners .rv-partner__img {
    border-radius: 18px;
    box-shadow: none;
}

@keyframes rvSpin {
    to { --rv-spin: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
    .rv-partners .rv-partner {
        animation: none;
        background: #ef6331;
    }
}

/* Botão "Baixar Apresentação em PDF" (hero) */
.rv-btn-pdf img {
    width: 24px;
    height: 24px;
    max-width: none;
    flex-shrink: 0;
}

/* Espaço do ícone dos cards de funcionalidades: sem fundo, altura fixa mesmo sem imagem */
.rv-icon-slot {
    height: 70px;
    margin-bottom: 16px;
}

.rv-icon-slot img {
    max-width: none;
}

/* Banner real de uma novidade (foto) */
.rv-news__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 22px;
    box-shadow: 0 24px 50px rgba(17, 24, 39, 0.16);
}

/* Para quem é: ilustrações no lugar dos emojis */
.profile-icon img {
    display: block;
    height: 96px;
    width: auto;
    margin: 0 auto;
}

/* Jornada do parceiro: 2 etapas (licenciamento e ativação), centralizadas */
#etapas .etapas-grid {
    max-width: 820px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    #etapas .etapas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Roleta de licenciamento (#roleta) ----------
   O resultado vem do servidor; aqui só a roda e a animação até o segmento sorteado. */
.rv-wheel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.rv-wheel__stage {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.rv-wheel__disc {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 10px;
    background: #f5b800;
    box-shadow: 0 0 0 6px #2a1846, 0 18px 50px rgba(0, 0, 0, 0.45);
    transition: transform 5.2s cubic-bezier(0.12, 0.8, 0.12, 1);
    will-change: transform;
}

.rv-wheel__disc svg {
    display: block;
    width: 100%;
    height: 100%;
}

.rv-wheel__disc text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    fill: #fff;
    pointer-events: none;
}

.rv-wheel__pointer {
    position: absolute;
    top: -14px;
    left: 50%;
    z-index: 2;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 30px solid #f5b800;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.35));
}

.rv-wheel__hub {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 26%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 5px solid #f5b800;
    background: #7c3aed;
    color: #fff;
    font-weight: 800;
    font-size: clamp(0.8rem, 2.4vw, 1.05rem);
    letter-spacing: 0.04em;
}

.rv-wheel__panel .section-title,
.rv-wheel__panel .section-subtitle {
    text-align: left;
    margin-left: 0;
}

.rv-wheel__form {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.rv-wheel__form input[type="text"],
.rv-wheel__form input[type="email"],
.rv-wheel__form input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font: inherit;
}

.rv-wheel__form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.rv-wheel__consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.rv-wheel__consent input {
    margin-top: 3px;
    flex-shrink: 0;
}

.rv-wheel__consent a {
    color: #fff;
    text-decoration: underline;
}

.rv-wheel__form button[disabled] {
    opacity: 0.6;
    cursor: wait;
}

.rv-wheel__error {
    margin: 0;
    color: #fca5a5;
    font-size: 0.9rem;
}

.rv-wheel__note {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.rv-wheel__result {
    margin-top: 24px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
}

.rv-wheel__result h3 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    color: #fff;
}

.rv-wheel__result p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.8);
}

.rv-wheel__plans {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.rv-wheel__plan {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.rv-wheel__plan strong {
    display: block;
    color: #fff;
}

.rv-wheel__plan span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.rv-wheel__plan s {
    color: rgba(255, 255, 255, 0.5);
}

.rv-wheel__plan .btn {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .rv-wheel {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .rv-wheel__stage {
        max-width: 320px;
    }

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

@media (prefers-reduced-motion: reduce) {
    .rv-wheel__disc {
        transition-duration: 0.01s;
    }
}

/* O atributo hidden precisa vencer os display: grid/flex acima (e o .section da seção inteira). */
#roleta[hidden],
.rv-wheel [hidden] {
    display: none !important;
}
