/* ============================================================
   RETORNATINTA — Estilos da página
   ============================================================ */

/* ---- BARRA DE TÍTULO ---- */
.rt-title-bar {
    background: #66589e;
    border-radius: 0 0 30px 30px;
    padding-top: 20px;
}

.rt-title-card {
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 7px rgba(0,0,0,0.15);
    min-height: 93px;
    gap: 16px;
}

.rt-title-page {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.rt-title-dot {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #66589e;
    flex-shrink: 0;
}

.rt-title-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: #66589e;
    letter-spacing: -0.32px;
    margin: 0;
    line-height: 1.2;
}

.rt-breadcrumb {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #66589e;
    text-align: right;
    white-space: nowrap;
    text-decoration: none;
}

.rt-breadcrumb a {
    color: #66589e;
    text-decoration: none;
}

/* ---- PAINEL HERO ---- */
.rt-hero {
    padding: 50px 0 40px;
}

.rt-hero-panel {
    background: #66589e;
    border-radius: 24px;
    padding: 40px 64px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.rt-hero-badge {

    border-radius: 12px;

    display: inline-flex;
    align-items: center;
}

.rt-hero-badge img {
    height: 40px;
    width: auto;
    display: block;
    border-radius: 50px 10px 10px 50px;
}

.rt-hero-badge-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #66589e;
}

.rt-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

.rt-hero-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
}

.rt-hero-desc p {
    margin-bottom: 20px;
}

.rt-hero-desc p:last-child {
    margin-bottom: 0;
}

/* ---- TÍTULO DE SEÇÃO ---- */
.rt-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.rt-section-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #5A738D;
    flex-shrink: 0;
    position: relative;
    top: -20px;
}

.rt-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: #5a738d;
    letter-spacing: -0.32px;
    margin: 0;
    line-height: 1.2;
}

.rt-section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: #58536f;
    margin: 0;
}

/* ---- FLUXO DE ETAPAS ---- */
.rt-etapas {
    padding: 40px 0 40px;
}

.rt-etapas-grid {
    display: flex;
    align-items: stretch;
}

.rt-etapa-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 7px rgba(0,0,0,0.15);
    padding: 28px 20px;
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rt-etapa-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rt-etapa-badge {
    width: 48px;
    height: 48px;
    background: #66589e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.rt-etapa-badge img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.rt-etapa-passo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #707070;
    white-space: nowrap;
}

.rt-etapa-titulo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #58536f;
    margin: 0;
}

.rt-etapa-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.3;
    color: #707070;
    margin: 0;
}

.rt-etapa-connector {
    width: 32px;
    height: 2px;
    background: #b2c3dd;
    flex-shrink: 0;
    align-self: center;
}

/* ---- ONDE ENCONTRAR (MAPA + LISTA) ---- */
.rt-pevs {
    padding: 40px 0;
}

.rt-pevs-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: #58536f;
    margin: 0 0 30px;
}

.rt-pevs-row {
    display: flex;
    align-items: stretch;
    gap: 24px;
}

.rt-pevs-map {
    width: 47%;
    flex-shrink: 0;
    height: 480px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.13);
    overflow: hidden;
}

.rt-pevs-scrolltrack {
    width: 8px;
    border-radius: 5px;
    background: #b2c3dd;
    flex-shrink: 0;
    position: relative;
    height: 480px;
}

.rt-pevs-scrollthumb {
    width: 8px;
    border-radius: 5px;
    background: #66589e;
    position: absolute;
    top: 0;
    left: 0;
}

.rt-pevs-list-col {
    flex: 1;
    min-width: 0;
    height: 480px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
    scrollbar-width: none;
}

.rt-pevs-list-col::-webkit-scrollbar {
  display: none;
}

.rt-loja-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rt-loja-group-header {
    background: #66589e;
    border-radius: 8px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rt-loja-group-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    flex-shrink: 0;
}

.rt-loja-group-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.rt-loja-group-children {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 24px;
}

.rt-loja-card {
    background: #f8fafd;
    border-radius: 8px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rt-loja-card:hover,
.rt-loja-card.is-active {
    background: #eceffa;
}

.rt-loja-pino {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #66589e;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rt-loja-texto {
    flex: 1;
    min-width: 0;
}

.rt-loja-cidade {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: #66589e;
    margin: 0 0 2px;
    text-transform: uppercase;
}

.rt-loja-nome {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #58536f;
    margin: 0 0 2px;
}

.rt-loja-endereco {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #707070;
    margin: 0;
}

.rt-map-pin {
    background: #66589e;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    border: 2px solid #fff;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.rt-map-cluster {
    background: #66589e;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: 3px solid #fff;
    box-shadow: 0 0 6px rgba(0,0,0,0.35);
}

/* ---- LOJISTA PARCEIRO ---- */
.rt-parceiro-wrap {
    padding: 0 0 40px;
}

.rt-parceiro {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid #e3e8f0;
}

.rt-parceiro-texto {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #707070;
    margin: 0;
}

.rt-parceiro-email {
    font-weight: 700;
    color: #66589e;
    text-decoration: none;
}

.rt-parceiro-email:hover {
    text-decoration: underline;
}

/* ---- CALLOUT ---- */
.rt-callout-wrap {
    padding: 0 0 50px;
}

.rt-callout {
    background: #b2c3dd;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.13);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.rt-callout-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #66589e;
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rt-callout-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rt-callout-titulo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #58536f;
    margin: 0;
}

.rt-callout-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rt-callout-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.rt-callout-btn:hover {
    opacity: 0.85;
}

.rt-callout-btn--primary {
    background: #66589e;
    color: #fff;
}

.rt-callout-btn--secondary {
    background: #fff;
    color: #66589e;
    border: 2px solid #66589e;
}

/* ---- RESPONSIVO ---- */
@media (max-width: 991px) {
    .rt-etapas-grid  { flex-wrap: wrap; }
    .rt-etapa-card   { flex: 1 1 calc(50% - 16px); }
    .rt-etapa-connector { display: none; }
    .rt-pevs-row     { flex-direction: column; }
    .rt-pevs-map     { width: 100%; height: 320px; }
    .rt-pevs-scrolltrack { display: none; }
    .rt-pevs-list-col { height: auto; max-height: 400px; }
}

@media (max-width: 768px) {
    .rt-title-text   { font-size: 20px; }
    .rt-title-card   { padding: 20px 20px; flex-wrap: wrap; gap: 8px; }
    .rt-hero-panel   { padding: 24px 20px; }
    .rt-hero-title   { font-size: 22px; }
    .rt-hero-desc    { font-size: 15px; }
    .rt-section-title { font-size: 22px; }
    .rt-etapa-card   { flex: 1 1 100%; }
    .rt-callout      { flex-direction: column; text-align: center; padding: 24px; }
}
