/* =============================================================
   ROLESPINHO — home.css
   CSS específico da página Home (não afecta outras páginas).
   Ordem das secções:
   1. Layout (flush sem padding)
   2. Banner principal (slider)
   3. Conteúdo Home (secções, cards, marcas)
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   1. LAYOUT HOME (flush)
   ───────────────────────────────────────────────────────────── */

main.main-no-gap { padding-top: 0 !important; padding-bottom: 0 !important; }
.content.content--flush { padding: 0 !important; max-width: 100%; overflow-x: hidden; }

.container.container--flush {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* ─────────────────────────────────────────────────────────────
   2. BANNER PRINCIPAL (slider)
   ───────────────────────────────────────────────────────────── */

.rp-banner {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.rp-banner__slides { position: relative; }

.rp-banner__slide {
  position: relative;
  opacity: 0;
  pointer-events: none;
  display: none;
  transition: opacity .6s ease;
}
.rp-banner__slide.is-active { opacity: 1; pointer-events: auto; display: block; }

.rp-banner__bg { width: 100%; overflow: hidden; }
.rp-banner__bg img { display: block; width: 100%; height: auto; }

.rp-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.rp-banner__inner {
  position: absolute;
  inset: 0;
  max-width: 1560px;
  margin: 0 auto;
  padding: 40px 18px 80px;
  display: flex;
  align-items: center;
}

.rp-banner__content { max-width: 560px; }

.rp-banner__title   { font-size: 42px; line-height: 1.1; margin: 0 0 16px; font-weight: 700; }
.rp-banner__subtitle { font-size: 18px; margin: 0 0 12px; opacity: .95; }
.rp-banner__text    { font-size: 20px; max-width: 520px; opacity: .9; margin: 0 0 24px; }

.rp-banner__actions { display: flex; gap: 12px; }

.rp-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: #112A8E;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
.rp-banner__btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,.3); background: #f0f0f0; }

.rp-banner__controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 12px;
}

.rp-banner__arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,.35);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  pointer-events: auto;
  transition: background .15s ease, transform .15s ease;
}
.rp-banner__arrow:hover { background: rgba(0,0,0,.6); transform: translateY(-1px); }

.rp-banner__dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: inline-flex; gap: 8px; }

.rp-banner__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  padding: 0;
  transition: width .2s ease, background .2s ease;
}
.rp-banner__dot.is-active { width: 22px; background: #fff; }

@media (max-width: 767px) {
  .rp-banner__inner   { padding: 24px 18px 40px; align-items: flex-end; }
  .rp-banner__title   { font-size: 24px; }
  .rp-banner__subtitle { font-size: 15px; }
  .rp-banner__text    { font-size: 14px; }
  .rp-banner__controls { padding: 0 8px; }
}


/* ─────────────────────────────────────────────────────────────
   3. CONTEÚDO HOME (secções, cards, marcas)
   ───────────────────────────────────────────────────────────── */

.rp-home { margin: 40px 0 60px; padding: 0; max-width: 100%; }

.rp-section { padding: 32px 0; }
.rp-section--muted { background: #f5f6fa; border-radius: 16px; padding: 28px 24px; }
.rp-section__title { font-size: 1.5rem; margin: 0 0 20px; }
.rp-section__text  { font-size: .95rem; line-height: 1.6; color: #374151; margin: 0 0 16px; }

.rp-card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.rp-card {
  background: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #e0e2ea;
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
}
.rp-card__title { margin: 0 0 8px; font-size: 1.05rem; }
.rp-card__text  { font-size: .95rem; line-height: 1.6; margin: 0; }

/* Strip de marcas (scroll automático) */
.rp-brands-strip {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e0e2ea;
  background: #fff;
  padding: 12px 0;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  cursor: grab;
}
.rp-brands-strip--dragging { cursor: grabbing; }

.rp-brands-track { display: inline-flex; align-items: center; gap: 60px; white-space: nowrap; }
.rp-brands-track img { max-height: 60px; width: auto; flex-shrink: 0; opacity: .7; transition: opacity .2s ease, transform .2s ease; }
.rp-brands-track img:hover { opacity: 1; transform: translateY(-3px); }

@media (max-width: 800px) {
  .rp-home { margin: 30px 0 50px; }
  .rp-section { padding: 24px 0; }
  .rp-section__title { font-size: 1.35rem; margin-bottom: 16px; }
  .rp-section__text  { font-size: .9rem; line-height: 1.5; }
  .rp-card-grid { grid-template-columns: 1fr; gap: 16px; }
  .rp-card { padding: 14px 16px; border-radius: 10px; }
  .rp-card__title { font-size: 1rem; margin-bottom: 6px; }
  .rp-card__text  { font-size: .9rem; line-height: 1.45; }
  .rp-brands-strip { padding: 10px 0; }
  .rp-brands-track { gap: 28px; }
  .rp-brands-track img { max-height: 42px; }
}
