/* =========================================================
   Renty — Páginas de TI (ti.html e ti/dispositivos-moveis.html)
   Usa a base de css/home-ti.css (classes rh-)
   ========================================================= */

.rh-crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.rh-crumb a { color: rgba(255,255,255,.8) !important; text-decoration: none; }
.rh-crumb a:hover { color: #fff !important; }
.rh-crumb--dark { color: var(--rh-muted); }
.rh-crumb--dark a { color: var(--rh-teal) !important; }

/* ---------- Camadas da operação (ti.html) ---------- */
.rh-layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rh-layer {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rh-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.rh-layer:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(1, 62, 69, .12); }
.rh-layer__media { aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.rh-layer__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rh-layer__media--white { background: #fff; }
.rh-layer__media--white img { object-fit: contain; padding: 18px; }
.rh-layer__n {
  position: absolute; top: 14px; left: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(4, 26, 29, .8); color: #fff;
}
.rh-layer__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.rh-layer h3 { font-size: 19px; font-weight: 700; color: var(--rh-teal-dark); }
.rh-layer p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--rh-muted); }
.rh-layer ul { list-style: none; padding: 0; margin: 14px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.rh-layer li { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: var(--rh-soft); color: var(--rh-text); }
.rh-layer .rh-product__actions { padding-top: 0; }

/* ---------- Faixa "um contrato" ---------- */
.rh-onecontract {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.rh-onecontract h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; font-weight: 700; color: #fff; }
.rh-onecontract p { margin-top: 14px; font-size: 16.5px; line-height: 1.65; color: rgba(255,255,255,.75); }
.rh-onecontract__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rh-onecontract__list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.rh-onecontract__list i { font-size: 20px; color: var(--rh-orange); margin-top: 2px; }
.rh-onecontract__list b { display: block; color: #fff; font-size: 15px; }
.rh-onecontract__list span { display: block; color: rgba(255,255,255,.7); font-size: 13.5px; margin-top: 2px; line-height: 1.5; }

/* ---------- Cenários ---------- */
.rh-scenarios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rh-scenario { padding: 26px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--rh-line); }
.rh-scenario i {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: #fff1eb; color: var(--rh-orange); font-size: 21px;
}
.rh-scenario h3 { margin-top: 16px; font-size: 17px; font-weight: 700; color: var(--rh-teal-dark); }
.rh-scenario p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--rh-muted); }

/* =========================================================
   DISPOSITIVOS MÓVEIS
   ========================================================= */
.rh-mhero {
  position: relative;
  padding-top: var(--rh-nav-h, 228px);
  background:
    radial-gradient(900px 500px at 80% 30%, #ffffff 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #eef4f4 0%, #f7f9f9 100%);
  overflow: hidden;
}
.rh-mhero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.rh-mhero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; color: var(--rh-teal-dark); }
.rh-mhero h1 span { color: var(--rh-orange); }
.rh-mhero__lead { margin-top: 20px !important; max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--rh-muted); }
.rh-mhero__lead strong { color: var(--rh-text); }
.rh-mhero .rh-eyebrow { background: #fff; border-color: var(--rh-line); color: var(--rh-teal); }
.rh-mhero .rh-btn--ghost { color: var(--rh-teal) !important; border-color: #bfd2d2; }
.rh-mhero .rh-btn--ghost:hover { background: #fff; border-color: var(--rh-teal); }
.rh-mhero__note { margin-top: 18px !important; font-size: 13px; color: var(--rh-muted); display: flex; align-items: center; gap: 8px; }
.rh-mhero__note i { color: var(--rh-teal); }

.rh-mhero__visual { position: relative; height: 540px; }
.rh-mhero__visual img { position: absolute; mix-blend-mode: multiply; user-select: none; pointer-events: none; }
.rh-mhero__main { height: 100%; left: 50%; transform: translateX(-50%); top: 0; z-index: 2; }
.rh-mhero__side1 { height: 52%; left: 0; bottom: 4%; z-index: 1; }
.rh-mhero__side2 { height: 48%; right: 0; bottom: 6%; z-index: 1; }
.rh-mhero__tag {
  position: absolute; z-index: 3;
  display: inline-flex; flex-direction: column;
  padding: 12px 16px; border-radius: 14px;
  background: #fff; box-shadow: 0 14px 34px rgba(1, 62, 69, .14);
  font-size: 12px; color: var(--rh-muted);
}
.rh-mhero__tag b { font-size: 15px; color: var(--rh-teal-dark); }
.rh-mhero__tag--1 { top: 10%; right: 0; }
.rh-mhero__tag--2 { top: 40%; left: 0; }

/* Marcas */
.rh-brands { border-top: 1px solid var(--rh-line); border-bottom: 1px solid var(--rh-line); background: #fff; }
.rh-brands__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 22px; padding-bottom: 22px; }
.rh-brands__label { font-size: 13px; color: var(--rh-muted); }
.rh-brands__inner strong { font-size: 20px; font-weight: 700; color: #9aa6a8; letter-spacing: -.01em; }

/* Filtros */
.rh-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.rh-filter {
  font: inherit; font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rh-line); background: #fff; color: var(--rh-text);
  transition: background .2s, color .2s, border-color .2s;
}
.rh-filter:hover { border-color: var(--rh-teal); }
.rh-filter.is-active { background: var(--rh-teal); border-color: var(--rh-teal); color: #fff; }

/* Grade de aparelhos */
.rh-devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rh-device {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--rh-line); border-radius: 18px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.rh-device:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(1, 62, 69, .12); }
.rh-device[hidden] { display: none; }
.rh-device__media { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 22px; background: #fff; }
.rh-device__media img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .4s; }
.rh-device:hover .rh-device__media img { transform: scale(1.05); }
.rh-device__badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: linear-gradient(90deg, var(--rh-orange-2), var(--rh-orange)); color: #fff;
}
.rh-device__badge--teal { background: var(--rh-teal); }
.rh-device__body { padding: 0 20px 20px; display: flex; flex-direction: column; flex: 1; }
.rh-device__brand { font-size: 12px; font-weight: 600; color: var(--rh-muted); text-transform: uppercase; letter-spacing: .06em; }
.rh-device h3 { margin-top: 2px; font-size: 18px; font-weight: 700; color: var(--rh-teal-dark); }
.rh-device p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--rh-muted); }
.rh-device__btn {
  margin-top: auto;
  font: inherit; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px; border-radius: 10px; cursor: pointer;
  background: var(--rh-soft); color: var(--rh-teal); border: 0;
  transition: background .2s, color .2s;
}
.rh-device__body p + .rh-device__btn { margin-top: 16px; }
.rh-device__btn:hover { background: var(--rh-teal); color: #fff; }

/* Card grande de destaque (iPhone 17 Pro Max) */
.rh-device--feature { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #fff 0%, #fff6f1 100%); }
.rh-device--feature .rh-device__media { aspect-ratio: auto; flex: 1; padding: 36px 36px 10px; background: transparent; }
.rh-device--feature .rh-device__media img { max-height: 440px; mix-blend-mode: multiply; }
.rh-device--feature .rh-device__body { padding: 0 28px 28px; }
.rh-device--feature h3 { font-size: 26px; }
.rh-device--feature p { font-size: 15px; }
.rh-device--feature .rh-device__btn { background: linear-gradient(90deg, var(--rh-orange-2), var(--rh-orange)); color: #fff; }
.rh-device--feature .rh-device__btn:hover { filter: brightness(.95); }

.rh-devices__more {
  margin-top: 28px; padding: 22px 26px; border-radius: 16px; background: var(--rh-soft);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.rh-devices__more p { font-size: 15px; color: var(--rh-text); }
.rh-devices__more strong { color: var(--rh-teal-dark); }

/* Incluso na locação */
.rh-included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rh-included__item { padding: 24px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.rh-included__item i { font-size: 24px; color: var(--rh-orange); }
.rh-included__item h3 { margin-top: 14px; font-size: 17px; font-weight: 700; color: #fff; }
.rh-included__item p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.72); }

.rh-esg {
  margin-top: 24px; display: flex; gap: 18px; align-items: center;
  padding: 22px 26px; border-radius: 16px; background: linear-gradient(90deg, #0b6b4a, #13814f);
}
.rh-esg i { font-size: 30px; color: #c9f5d9; }
.rh-esg p { color: #fff; font-size: 15px; line-height: 1.55; }
.rh-esg b { font-size: 17px; }

/* Especificações */
.rh-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--rh-line); border-radius: 16px; overflow: hidden; }
.rh-spec { padding: 22px; border-right: 1px solid var(--rh-line); }
.rh-spec:last-child { border-right: 0; }
.rh-spec span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rh-muted); }
.rh-spec b { display: block; margin-top: 6px; font-size: 16px; color: var(--rh-teal-dark); }

/* ---------- Modal (reestilizado, mesmo formulário) ---------- */
.rh #modal-orcamento { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(2, 20, 22, .6); padding: 24px 16px; overflow-y: auto; }
.rh #modal-orcamento .modal-content {
  position: relative; max-width: 520px; margin: 40px auto; padding: 32px 28px 26px;
  background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.35);
  font-family: 'Poppins', sans-serif; width: auto;
}
.rh #modal-orcamento .close { position: absolute; top: 14px; right: 18px; font-size: 28px; line-height: 1; cursor: pointer; color: var(--rh-muted); }
.rh #modal-orcamento h2 { font-size: 22px; color: var(--rh-teal-dark); margin: 6px 0 6px; }
.rh #modal-orcamento .modal-content > p { font-size: 14px; color: var(--rh-muted); margin-bottom: 14px; }
.rh #produto-selecionado { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: var(--rh-soft); margin-bottom: 14px; }
.rh #produto-selecionado img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.rh #produto-selecionado p { margin: 0; font-size: 12px; color: var(--rh-muted); }
.rh #produto-selecionado h3 { margin: 2px 0 0; font-size: 16px; color: var(--rh-teal-dark); }
.rh #modal-orcamento form p { margin: 0 0 10px; }
.rh #modal-orcamento input, .rh #modal-orcamento select, .rh #modal-orcamento textarea {
  width: 100%; font: inherit; font-size: 14px; padding: 12px 14px;
  border: 1px solid #d5dfdf; border-radius: 10px; background: #fff; color: var(--rh-text);
}
.rh #modal-orcamento input:focus, .rh #modal-orcamento select:focus, .rh #modal-orcamento textarea:focus { outline: 2px solid rgba(0, 80, 90, .25); border-color: var(--rh-teal); }
.rh #modal-orcamento button[type=submit] {
  width: 100%; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 14px; border: 0; border-radius: 10px; color: #fff;
  background: linear-gradient(90deg, var(--rh-orange-2), var(--rh-orange));
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .rh-layers { grid-template-columns: repeat(2, 1fr); }
  .rh-onecontract { grid-template-columns: 1fr; gap: 32px; }
  .rh-scenarios { grid-template-columns: repeat(2, 1fr); }
  .rh-mhero__grid { grid-template-columns: 1fr; padding-top: 40px; }
  .rh-mhero__visual { height: 440px; max-width: 560px; width: 100%; margin: 0 auto; }
  .rh-devices { grid-template-columns: repeat(2, 1fr); }
  .rh-device--feature { grid-row: auto; }
  .rh-included { grid-template-columns: repeat(2, 1fr); }
  .rh-specs { grid-template-columns: repeat(2, 1fr); }
  .rh-spec:nth-child(2) { border-right: 0; }
  .rh-spec:nth-child(-n+2) { border-bottom: 1px solid var(--rh-line); }
}
@media (max-width: 1200px) { .rh-mhero { padding-top: var(--rh-nav-h, 308px); } }
@media (max-width: 1024px) { .rh-mhero { padding-top: var(--rh-nav-h, 70px); } }

@media (max-width: 640px) {
  .rh-layers, .rh-scenarios, .rh-included { grid-template-columns: 1fr; }
  .rh-mhero__lead { font-size: 16px; }
  .rh-mhero__visual { height: 320px; }
  .rh-mhero__tag { padding: 8px 12px; font-size: 11px; }
  .rh-mhero__tag b { font-size: 13px; }
  .rh-mhero .rh-hero__ctas { flex-direction: column; }
  .rh-mhero .rh-hero__ctas .rh-btn { justify-content: center; white-space: normal; }
  .rh-brands__inner { justify-content: flex-start; gap: 10px 22px; }
  .rh-brands__label { width: 100%; }
  .rh-brands__inner strong { font-size: 17px; }
  .rh-devices { grid-template-columns: 1fr 1fr; gap: 12px; }
  .rh-device--feature { grid-column: span 2; }
  .rh-device--feature .rh-device__media img { max-height: 300px; }
  .rh-device__media { padding: 14px; }
  .rh-device__body { padding: 0 14px 14px; }
  .rh-device h3 { font-size: 15px; }
  .rh-device p { display: none; }
  .rh-device--feature p { display: block; }
  .rh-device__body p + .rh-device__btn, .rh-device__btn { margin-top: 12px; font-size: 13px; padding: 9px 10px; }
  .rh-specs { grid-template-columns: 1fr; }
  .rh-spec { border-right: 0 !important; border-bottom: 1px solid var(--rh-line); }
  .rh-spec:last-child { border-bottom: 0; }
  .rh-esg { flex-direction: column; align-items: flex-start; }
}

/* Card "outro modelo" na grade de aparelhos */
.rh-device--more {
  justify-content: center; gap: 10px; padding: 26px 22px; text-decoration: none;
  background: linear-gradient(160deg, var(--rh-teal) 0%, #00707d 100%); border-color: transparent;
}
.rh-device--more > i { font-size: 30px; color: #ffb38a; }
.rh-device--more h3 { color: #fff; font-size: 19px; }
.rh-device--more p { color: rgba(255,255,255,.8); display: block !important; }
.rh-device--more .rh-link { color: #fff !important; margin-top: 6px; }
@media (max-width: 640px) { .rh-device--more { grid-column: span 2; } }

/* =========================================================
   SISTEMA DE REDE e KIT SEGURANÇA
   ========================================================= */
.rh-hero__visual--single { display: grid; place-items: center; }
.rh-hero__visual--single .rh-hero__single { width: 88%; max-width: 520px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); user-select: none; pointer-events: none; }

/* Sem x Com a Renty */
.rh-pain { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rh-pain__col { border-radius: 20px; padding: 32px 30px; }
.rh-pain__col--bad { background: #fbf3f1; border: 1px solid #f3dcd5; }
.rh-pain__col--good { background: linear-gradient(160deg, var(--rh-teal) 0%, #00707d 100%); color: #fff; }
.rh-pain__col h3 { font-size: 20px; font-weight: 700; color: #7a2e17; display: flex; align-items: center; gap: 10px; }
.rh-pain__col--good h3 { color: #fff; }
.rh-pain__col ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.rh-pain__col li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: #5b3a30; }
.rh-pain__col--good li { color: rgba(255,255,255,.92); }
.rh-pain__col li i { font-size: 18px; margin-top: 1px; }
.rh-pain__col--bad li i { color: #d9532f; }
.rh-pain__col--good li i { color: #8ff0d8; }

/* Cards de serviço (3 colunas) */
.rh-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rh-services .rh-scenario { padding: 28px 24px; }

/* Equipamentos com foto */
.rh-equip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rh-equip__item { border: 1px solid var(--rh-line); border-radius: 18px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.rh-equip__media { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; overflow: hidden; }
.rh-equip__media img { width: 100%; height: 100%; object-fit: cover; }
.rh-equip__media--contain img { object-fit: contain; padding: 14px; }
.rh-equip__body { padding: 18px 22px 22px; border-top: 1px solid var(--rh-line); }
.rh-equip__body h3 { font-size: 17px; font-weight: 700; color: var(--rh-teal-dark); }
.rh-equip__body p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--rh-muted); }
.rh-note { margin-top: 18px !important; font-size: 13.5px; color: var(--rh-muted); display: flex; gap: 8px; align-items: center; }
.rh-note i { color: var(--rh-teal); }

/* Fluxo da infraestrutura */
.rh-flow { display: flex; align-items: stretch; gap: 0; margin-top: 8px; }
.rh-flow__step {
  flex: 1; text-align: center; padding: 22px 12px; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
}
.rh-flow__step i { font-size: 26px; color: var(--rh-orange); }
.rh-flow__step b { display: block; margin-top: 10px; font-size: 14.5px; color: #fff; }
.rh-flow__step span { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(255,255,255,.65); line-height: 1.45; }
.rh-flow__arrow { flex: 0 0 34px; display: grid; place-items: center; color: rgba(255,255,255,.45); font-size: 20px; }
.rh-flow__keys { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rh-flow__key { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.rh-flow__key strong { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--rh-orange); color: #fff; font-size: 14px; }
.rh-flow__key b { display: block; color: #fff; font-size: 15px; }
.rh-flow__key span { display: block; margin-top: 3px; color: rgba(255,255,255,.7); font-size: 13.5px; line-height: 1.5; }

/* Etapas em 5 colunas */
.rh-steps--5 { grid-template-columns: repeat(5, 1fr); }
.rh-steps--5 li { padding: 24px 20px; }

/* Chamada cruzada (Rede <-> CFTV) */
.rh-cross { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; overflow: hidden; background: var(--rh-ink); }
.rh-cross__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 300px; }
.rh-cross__body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.rh-cross__body h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 700; color: #fff; }
.rh-cross__body p { color: rgba(255,255,255,.75); font-size: 15.5px; line-height: 1.6; }
.rh-cross__body .rh-hero__ctas { margin-top: 10px; }

@media (max-width: 1080px) {
  .rh-pain, .rh-cross { grid-template-columns: 1fr; }
  .rh-services, .rh-equip { grid-template-columns: repeat(2, 1fr); }
  .rh-flow { flex-direction: column; }
  .rh-flow__arrow { flex: 0 0 30px; transform: rotate(90deg); }
  .rh-flow__keys { grid-template-columns: 1fr; }
  .rh-steps--5 { grid-template-columns: repeat(2, 1fr); }
  .rh-cross__media img { min-height: 220px; max-height: 300px; }
}
@media (max-width: 640px) {
  .rh-services, .rh-equip, .rh-steps--5 { grid-template-columns: 1fr; }
  .rh-pain__col { padding: 26px 22px; }
  .rh-cross__body { padding: 30px 22px; }
  .rh-hero__visual--single { height: 300px; }
}
.rh-equip__media--contain { background: #eef3f3; }
.rh-equip__media--contain img { mix-blend-mode: multiply; }
