/* Mini biblioteca de componentes no estilo shadcn/ui (Button, Card, Input, Badge)
   usando a paleta de marca do Rizzo. Classes prefixadas com "sh-" para não colidir
   com as classes do Bootstrap (.btn, .card, .badge, .form-control) já usadas no tema.
   Fonte editável: rizzo-1.2/src/scss/_shadcn-ui.scss */

:root {
  --sh-background: #ffffff;
  --sh-foreground: #344650;
  --sh-card: #ffffff;
  --sh-card-foreground: #344650;
  --sh-primary: #5CB57D;
  --sh-primary-foreground: #ffffff;
  --sh-secondary: #f4f4f4;
  --sh-secondary-foreground: #344650;
  --sh-muted: #f4f4f4;
  --sh-muted-foreground: #A6A6A6;
  --sh-destructive: #ED114E;
  --sh-destructive-foreground: #ffffff;
  --sh-border: #dddddd;
  --sh-input: #dddddd;
  --sh-ring: #5CB57D;
  --sh-radius: 0.5rem;
}

/* ---------- Button ---------- */
.sh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  white-space: nowrap;
  border-radius: var(--sh-radius);
  border: 1px solid transparent;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1;
  height: 2.25rem;
  padding: 0 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.sh-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--sh-background), 0 0 0 4px var(--sh-ring);
}

.sh-btn:disabled,
.sh-btn.is-disabled {
  opacity: .5;
  pointer-events: none;
  cursor: not-allowed;
}

.sh-btn--default {
  background: var(--sh-primary);
  color: var(--sh-primary-foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.sh-btn--default:hover { background: color-mix(in srgb, var(--sh-primary) 88%, black); }

.sh-btn--secondary {
  background: var(--sh-secondary);
  color: var(--sh-secondary-foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.sh-btn--secondary:hover { background: color-mix(in srgb, var(--sh-secondary) 92%, black); }

.sh-btn--outline {
  background: var(--sh-background);
  border-color: var(--sh-border);
  color: var(--sh-foreground);
}
.sh-btn--outline:hover { background: var(--sh-muted); }

.sh-btn--destructive {
  background: var(--sh-destructive);
  color: var(--sh-destructive-foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.sh-btn--destructive:hover { background: color-mix(in srgb, var(--sh-destructive) 88%, black); }

.sh-btn--ghost {
  background: transparent;
  color: var(--sh-foreground);
}
.sh-btn--ghost:hover { background: var(--sh-muted); }

.sh-btn--link {
  background: transparent;
  color: var(--sh-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0;
  height: auto;
}

.sh-btn--sm { height: 2rem; padding: 0 .75rem; font-size: .8rem; }
.sh-btn--lg { height: 2.5rem; padding: 0 1.5rem; font-size: .9rem; }

/* ---------- Card ---------- */
.sh-card {
  background: var(--sh-card);
  color: var(--sh-card-foreground);
  border: 1px solid var(--sh-border);
  border-radius: calc(var(--sh-radius) + .25rem);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.sh-card__header {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.sh-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0;
}

.sh-card__description {
  font-size: .875rem;
  color: var(--sh-muted-foreground);
  margin: 0;
}

.sh-card__content {
  padding: 1.5rem;
  padding-top: 0;
}

.sh-card__footer {
  padding: 1.5rem;
  padding-top: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ---------- Input / Textarea / Label ---------- */
.sh-label {
  display: inline-block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--sh-foreground);
  margin-bottom: .375rem;
}

.sh-input,
.sh-textarea,
.sh-select {
  display: flex;
  width: 100%;
  border-radius: var(--sh-radius);
  border: 1px solid var(--sh-input);
  background: var(--sh-background);
  color: var(--sh-foreground);
  font-size: .875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.sh-input::placeholder,
.sh-textarea::placeholder { color: var(--sh-muted-foreground); }

.sh-input:focus-visible,
.sh-textarea:focus-visible,
.sh-select:focus-visible {
  outline: none;
  border-color: var(--sh-ring);
  box-shadow: 0 0 0 3px rgba(92, 181, 125, .25);
}

.sh-input:disabled,
.sh-textarea:disabled,
.sh-select:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.sh-input,
.sh-select {
  height: 2.25rem;
  padding: 0 .75rem;
}

.sh-textarea {
  min-height: 5rem;
  padding: .5rem .75rem;
  resize: vertical;
}

.sh-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A6A6A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 1rem;
  padding-right: 2.25rem;
}

/* ---------- Badge ---------- */
.sh-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: .125rem .625rem;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.25;
  border: 1px solid transparent;
  white-space: nowrap;
}

.sh-badge--default {
  background: var(--sh-primary);
  color: var(--sh-primary-foreground);
}

.sh-badge--secondary {
  background: var(--sh-secondary);
  color: var(--sh-secondary-foreground);
}

.sh-badge--destructive {
  background: var(--sh-destructive);
  color: var(--sh-destructive-foreground);
}

.sh-badge--outline {
  background: transparent;
  color: var(--sh-foreground);
  border-color: var(--sh-border);
}

/* ---------- Header claro ----------
   O header e position:fixed (fica sempre visivel por cima do conteudo ao
   rolar a pagina); totalmente transparente faz o conteudo colidir
   visualmente com o menu durante o scroll. Fica branco solido. */
header,
header:after {
  background-color: #ffffff !important;
}
header:after {
  background-image: none !important;
}
header {
  box-shadow: 0 1px 0 var(--sh-border);
}

.navbar-nav .nav-link,
.navbar-nav a {
  color: var(--sh-foreground) !important;
}

.navbar-nav .menu-item-destaque .nav-link,
.navbar-nav .menu-item-destaque > a {
  color: #ffffff !important;
}

/* precisa da mesma especificidade da regra original
   (ul.nav.navbar-nav > li.dropdown > a...) pra ganhar a cascata.
   viewBox/proporcao igual ao icone-dropdown-branco.svg original (10x6)
   pra nao ficar desproporcional dentro da caixinha de 12x6px. */
ul.nav.navbar-nav > li.nav-item:not(.menu-item-destaque) > a.nav-link.dropdown-toggle:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23ed114e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

header .navbar-brand {
  background-image: url(../../images/svg/logo-rizzo.svg) !important;
}

/* ---------- Footer claro (igual o header) ---------- */
footer {
  background-color: #ffffff !important;
  color: var(--sh-foreground) !important;
}
footer hr {
  color: var(--sh-border) !important;
}
/* :not([class*="bg-"]) exclui botoes com fundo colorido proprio (ex: bg-vermelho
   cor-branco no botao "Assinar" da newsletter) - esses continuam com texto branco */
footer .cor-branco:not([class*="bg-"]),
footer .cor-cinza-claro:not([class*="bg-"]),
footer .menu-footer,
footer .menu-footer a {
  color: var(--sh-foreground) !important;
}
footer .navbar-brand {
  background-image: url(../../images/svg/logo-rizzo.svg) !important;
}
footer .box-info-matriz:before,
footer .box-info-tel:before,
footer .box-info-email:before {
  background-image: none !important;
  background-color: var(--sh-destructive);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
footer .box-info-matriz:before {
  -webkit-mask-image: url(../../images/svg/icone-footer-pin.svg);
  mask-image: url(../../images/svg/icone-footer-pin.svg);
}
footer .box-info-tel:before {
  -webkit-mask-image: url(../../images/svg/icone-footer-tel.svg);
  mask-image: url(../../images/svg/icone-footer-tel.svg);
}
footer .box-info-email:before {
  -webkit-mask-image: url(../../images/svg/icone-footer-email.svg);
  mask-image: url(../../images/svg/icone-footer-email.svg);
}

/* ---------- Menu sanduiche (offcanvas) claro ---------- */
.offcanvas {
  background-color: var(--sh-background) !important;
  color: var(--sh-foreground) !important;
}
.offcanvas .navbar-brand {
  background-image: url(../../images/svg/logo-rizzo.svg) !important;
}
.offcanvas hr:not(.cor-transparente) {
  color: var(--sh-border) !important;
}
.offcanvas h3.cor-cinza-claro {
  color: var(--sh-muted-foreground) !important;
}
.offcanvas .menu-footer,
.offcanvas .menu-footer a,
.offcanvas .menu-offcanvas,
.offcanvas .menu-offcanvas a {
  color: var(--sh-foreground) !important;
}
.offcanvas .menu-footer a:hover,
.offcanvas .menu-footer a:focus,
.offcanvas .menu-offcanvas a:hover,
.offcanvas .menu-offcanvas a:focus {
  color: var(--sh-destructive) !important;
}
.offcanvas .label-footer {
  color: var(--sh-muted-foreground) !important;
}

/* ---------- Home: Hero / Busca ---------- */
.rz-hero {
  text-align: center;
  padding: 3.5rem 1rem 2.5rem;
}
@media (max-width: 1000px) {
  .rz-hero { padding: 1.25rem 1rem 0; }
}

.rz-hero__title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 2rem;
  color: var(--sh-foreground);
}

.rz-hero__title--typing { white-space: nowrap; }

.rz-type-link {
  color: inherit;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}
.rz-type-link--ativo {
  cursor: pointer;
  pointer-events: auto;
}
.rz-type-link--ativo:hover {
  text-decoration: underline;
}

.rz-type-cursor {
  display: inline-block;
  width: 3px;
  height: .85em;
  margin-left: .1em;
  background: var(--sh-destructive);
  vertical-align: -.1em;
  animation: rz-blink 1s step-end infinite;
}

@keyframes rz-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* visibility (nao display) pra reservar sempre o mesmo espaco - se some/aparece
   com display:none, o resto da pagina (a caixa de busca) empurra/pula sozinho */
.rz-type-cta {
  margin-top: 1.25rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, background-color .15s ease, transform .15s ease;
}
@media (max-width: 1000px) {
  .rz-type-cta { margin-top: .4rem; }
  .rz-type-cta::before, .rz-type-cta .dummy-space { width: 18px; height: 18px; }
  #rz-type-cta-label { padding: .35rem .75rem !important; font-size: .85rem !important; }
}
.rz-type-cta:hover {
  background-color: color-mix(in srgb, #ed114e 92%, black) !important;
  border-color: color-mix(in srgb, #ed114e 92%, black) !important;
  transform: translateY(-2px);
}
.rz-type-cta--ativo {
  visibility: visible;
  opacity: 1;
}

/* A busca em si (abas Loteamentos/Revenda/Aluguel/Areas) fica de pe normal no
   fluxo da pagina; o CSS original pressupunha o banner grande (removido) para
   posicionar isso via position:absolute + top fixo, o que quebrou o layout.
   Redesenho visual "clean" mantendo os mesmos campos/abas reais. */
.wrap-busca-home {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  margin-top: 1.5rem;
}
@media (max-width: 1000px) {
  .wrap-busca-home { margin-top: .25rem; }
}
/* no mobile, o select "Loteamentos"/"Revenda"/etc vinha com o canto de baixo
   reto (rounded-bottom-0), grudando visualmente na caixa de busca logo
   abaixo, sem nenhum espaco entre os dois */
.wrap-busca-home .wrap-form {
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  border-radius: 1rem !important;
  position: static !important;
  z-index: auto !important;
}
.wrap-busca-home .sombra-fade {
  box-shadow: 0 20px 50px rgba(0, 0, 0, .08) !important;
  border: 1px solid var(--sh-border);
  border-radius: 1.25rem !important;
}
.wrap-busca-home .box-search { row-gap: 1.5rem; }
.wrap-busca-home .sep { border-color: var(--sh-border) !important; }
.wrap-busca-home label.fontebold {
  font-weight: 600 !important;
  font-size: .75rem !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--sh-muted-foreground) !important;
}
.wrap-busca-home .form-search,
.wrap-busca-home .multiselect-bairro__toggle {
  font-size: .95rem;
  font-weight: 500;
  color: var(--sh-foreground);
}
.wrap-busca-home .btn-lupa,
.wrap-busca-home .btn-lupa-maior {
  background-color: var(--sh-destructive) !important;
  border-radius: 9999px !important;
}
.wrap-busca-home #myTab { border-bottom: none; gap: .25rem; }
.wrap-busca-home #myTab .nav-link {
  border: none !important;
  background: transparent;
  color: var(--sh-muted-foreground);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .03em;
  padding: .85rem 1.4rem;
}
.wrap-busca-home #myTab .nav-link.active {
  color: var(--sh-destructive);
  background: rgba(237, 17, 78, .08);
  border-top-left-radius: .75rem !important;
  border-top-right-radius: .75rem !important;
  box-shadow: inset 0 -2px 0 var(--sh-destructive);
}
.wrap-busca-home #myTabContent {
  border: none !important;
  box-shadow: none !important;
}

@media (max-width: 1000px) {
  .rz-hero__title { font-size: 2rem; margin-bottom: .5rem; }
  .rz-hero__title--typing { white-space: normal; }
}

/* ---------- Paginas institucionais (subpaginas) ---------- */
.rz-inst { color: var(--sh-foreground); }

.rz-inst-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

.rz-inst-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sh-destructive);
  margin-bottom: 1rem;
}

.rz-inst-hero { padding: 4rem 0 3rem; }
.rz-inst-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.rz-inst-hero__h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--sh-foreground);
}
.rz-inst-hero__sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--sh-muted-foreground);
  max-width: 480px;
  margin: 0;
}
.rz-inst-hero__img { aspect-ratio: 4 / 3; }
.rz-inst-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rz-inst-hero__placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sh-muted);
}
.rz-inst-hero__placeholder svg { width: 70px; height: 70px; fill: var(--sh-border); }

/* variantes por pagina, pra cada subpagina nao parecer a mesma coisa */
.rz-inst-hero--invertido .rz-inst-hero__grid,
.rz-inst-hero--claro-invertido .rz-inst-hero__grid {
  grid-template-columns: .9fr 1.1fr;
}
.rz-inst-hero--invertido .rz-inst-hero__col,
.rz-inst-hero--claro-invertido .rz-inst-hero__col {
  order: 2;
}
.rz-inst-hero--invertido .rz-inst-hero__img,
.rz-inst-hero--claro-invertido .rz-inst-hero__img {
  order: 1;
}
.rz-inst-hero--claro,
.rz-inst-hero--claro-invertido {
  background: var(--sh-muted);
}
.rz-inst-hero--solo {
  position: relative;
  overflow: hidden;
}
.rz-inst-hero--solo .rz-inst-wrap { position: relative; z-index: 1; }
.rz-inst-hero--solo:before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 40px solid var(--sh-muted);
}
.rz-inst-hero--solo .rz-inst-hero__grid { grid-template-columns: 1fr; }
.rz-inst-hero--solo .rz-inst-hero__col { max-width: 640px; margin: 0 auto; text-align: left; }
.rz-inst-hero--solo .rz-inst-hero__sub { max-width: 560px; }

.rz-inst-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sh-destructive);
}

.rz-inst-faixa {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.rz-inst-faixa__item { padding: 1.75rem 1.5rem; text-align: center; }
.rz-inst-faixa__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--sh-destructive);
  margin-bottom: .35rem;
}
.rz-inst-faixa__label { display: block; font-size: .85rem; color: var(--sh-muted-foreground); }

.rz-inst-lead { margin: 0 0 3rem; text-align: left; }
.rz-inst-lead__tag { margin-bottom: 1rem; }
.rz-inst-lead p { font-size: 1.4rem; line-height: 1.5; font-weight: 600; color: var(--sh-foreground); margin: 0; }

.rz-inst-secao { padding: 3rem 0; border-top: 1px solid var(--sh-border); }
.rz-inst-secao__grid { display: grid; grid-template-columns: 100px 1fr; gap: 2rem; }
.rz-inst-secao--inv .rz-inst-secao__grid { direction: rtl; }
.rz-inst-secao--inv .rz-inst-secao__conteudo { direction: ltr; }
.rz-inst-secao__num-col { display: flex; flex-direction: column; align-items: center; gap: .875rem; }
.rz-inst-secao__num { font-size: 2.25rem; font-weight: 800; color: var(--sh-destructive); opacity: .35; }
.rz-inst-secao__linha { width: 1px; flex: 1; background: var(--sh-border); }
.rz-inst-secao__conteudo h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 .875rem; color: var(--sh-foreground); }
.rz-inst-secao__texto p { font-size: 1rem; line-height: 1.75; color: var(--sh-muted-foreground); margin: 0 0 .875rem; }
.rz-inst-secao__texto p:last-child { margin-bottom: 0; }

.rz-inst-punch { padding: 2.5rem; margin: 3rem 0; text-align: left; }
.rz-inst-punch__num { display: block; font-size: .8rem; font-weight: 800; color: var(--sh-destructive); letter-spacing: .1em; margin-bottom: .625rem; }
.rz-inst-punch h2 { font-size: 1.3rem; font-weight: 800; margin: 0 0 .625rem; color: var(--sh-foreground); }
.rz-inst-punch__texto p { font-size: 1.4rem; font-weight: 700; line-height: 1.4; color: var(--sh-foreground); font-style: italic; margin: 0; }

.rz-inst-regional { padding: 2.5rem; margin: 3rem 0; }
.rz-inst-regional__tag { margin-bottom: .875rem; }
.rz-inst-regional h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 .875rem; color: var(--sh-foreground); }
.rz-inst-regional p { font-size: 1rem; line-height: 1.7; color: var(--sh-muted-foreground); margin-bottom: 1.5rem; }
.rz-inst-regional__cidades { display: flex; flex-wrap: wrap; gap: .625rem; }

.rz-inst-cidade i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sh-destructive);
  display: inline-block;
  margin-right: .4rem;
}

.rz-inst-videos { padding: 3rem 0; border-top: 1px solid var(--sh-border); }
.rz-inst-videos__tag { margin-bottom: .875rem; }
.rz-inst-videos__titulo { font-size: 1.6rem; font-weight: 800; margin: 0 0 2rem; color: var(--sh-foreground); }
.rz-inst-videos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.rz-inst-video__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--sh-foreground); }
.rz-inst-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rz-inst-video__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #ffffff; font-weight: 700; text-decoration: none; }
.rz-inst-video__nome { margin: 0; padding: .875rem 1rem; font-size: .875rem; font-weight: 700; color: var(--sh-foreground); }

.rz-inst-closing { padding: 3rem; margin: 3rem 0; }
.rz-inst-closing__grid { display: grid; grid-template-columns: 140px 1fr; gap: 2.5rem; align-items: center; }
.rz-inst-closing__circulo { position: relative; width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; }
.rz-inst-closing__circulo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rz-inst-closing__circulo span { position: relative; font-size: 1.75rem; font-weight: 800; color: var(--sh-foreground); display: flex; flex-direction: column; align-items: center; line-height: 1; }
.rz-inst-closing__circulo span em { font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sh-muted-foreground); margin-top: .25rem; }
.rz-inst-closing__texto h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 .75rem; color: var(--sh-foreground); }
.rz-inst-closing__texto p { font-size: 1rem; line-height: 1.7; color: var(--sh-muted-foreground); margin-bottom: .625rem; }
.rz-inst-closing__frase { font-weight: 700; color: var(--sh-destructive); font-style: italic; }

@media (max-width: 900px) {
  .rz-inst-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .rz-inst-hero__h1 { font-size: 1.8rem; }
  .rz-inst-hero--invertido .rz-inst-hero__col,
  .rz-inst-hero--claro-invertido .rz-inst-hero__col,
  .rz-inst-hero--invertido .rz-inst-hero__img,
  .rz-inst-hero--claro-invertido .rz-inst-hero__img {
    order: initial;
  }
}

@media (max-width: 700px) {
  .rz-inst-faixa { grid-template-columns: 1fr; }
  .rz-inst-secao__grid { grid-template-columns: 1fr; }
  .rz-inst-secao__num-col { flex-direction: row; }
  .rz-inst-secao__linha { display: none; }
  .rz-inst-closing__grid { grid-template-columns: 1fr; text-align: center; }
  .rz-inst-closing__circulo { margin: 0 auto; }
}

/* ---------- Pagina "Nossos Clientes" (depoimentos em video) ---------- */
.rz-dep-grupo {
  margin-bottom: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--sh-border);
}
.rz-dep-grupo:first-of-type { border-top: none; padding-top: 0; }
.rz-dep-grupo__titulo { font-size: 1.75rem; font-weight: 800; color: var(--sh-foreground); margin: 0 0 .75rem; }
.rz-dep-grupo__intro { font-size: 1rem; line-height: 1.6; color: var(--sh-muted-foreground); margin: 0 0 2rem; }

.rz-dep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(560px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.rz-dep-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
/* zig-zag: alterna o video de lado a cada card, pra nao ficar repetitivo */
.rz-dep-card:nth-child(even) .rz-dep-card__video { order: 2; }
.rz-dep-card:nth-child(even) .rz-dep-card__body { order: 1; }
/* preenche a altura da coluna (acompanha o texto do lado); o proprio player
   do YouTube ja se ajusta sem cortar nada, sem precisar forcar 16:9 na caixa
   (o que cortava o topo quando a coluna ficava baixa) */
.rz-dep-card__video {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  background: var(--sh-foreground);
}
.rz-dep-card__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 700px) {
  .rz-dep-card { grid-template-columns: 1fr; }
  .rz-dep-card__video { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .rz-dep-card:nth-child(even) .rz-dep-card__video { order: 1; }
  .rz-dep-card:nth-child(even) .rz-dep-card__body { order: 2; }
}
.rz-dep-card__video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .45);
  font-size: .8rem;
  font-weight: 600;
}
.rz-dep-card__body { padding: 1.5rem; }
.rz-dep-card__quote { font-size: 1.1rem; font-weight: 700; font-style: italic; color: var(--sh-foreground); line-height: 1.4; margin: 0 0 1rem; }
.rz-dep-card__nome { font-size: .95rem; font-weight: 700; color: var(--sh-foreground); margin: 0; }
.rz-dep-card__cargo { font-size: .8rem; color: var(--sh-destructive); font-weight: 600; margin: 0 0 .875rem; }
.rz-dep-card__texto { font-size: .875rem; line-height: 1.6; color: var(--sh-muted-foreground); margin: 0; }
