/* Home pública — estilos exclusivos da página.
   Tipografia continua herdando a configuração original do site. */
.rf-whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 56px;
  height: 56px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: #20bd5a;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(20, 80, 45, .20);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease
}
.rf-whatsapp-float i {
  font-size: 27px;
  line-height: 1
}
.rf-whatsapp-float:hover, .rf-whatsapp-float:focus {
  background: #18a94d;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 7px 19px rgba(20, 80, 45, .25)
}
.rf-whatsapp-float:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px
}
@media(max-width:575.98px) {
  .rf-whatsapp-float {
    right: 16px;
    bottom: 18px;
    width: 54px;
    min-width: 54px;
    height: 54px;
    padding: 0
  }
  .rf-whatsapp-float .rf-whatsapp-label {
    display: none
  }
  .rf-whatsapp-float i {
    font-size: 26px
  }
}
@media(prefers-reduced-motion:reduce) {
  .rf-whatsapp-float {
    transition: none
  }
}
/* Hero compacta inspirada na apresentação visual da página de serviço */
.rf-home-hero {
  margin: 0 !important;
  border-bottom: 1px solid #edf0f2;
  background: #fff
}
.rf-home-hero .container-xxl, .rf-home-hero .container {
  max-width: none;
  padding: 0
}
.rf-home-hero-box {
  overflow: hidden;
  background: #fff
}
.rf-home-hero-box > .row {
  min-height: 292px;
  margin: 0;
  align-items: stretch !important
}
.rf-home-hero-copy {
  min-height: 292px;
  padding: 31px 28px 28px max(4.3vw, calc((100vw - 1440px)/2 + 40px));
  display: flex;
  flex-direction: column;
  justify-content: center
}
.rf-home-hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase
}
.rf-home-hero-kicker:before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
  flex: 0 0 auto
}
.rf-home-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  letter-spacing: -1.2px;
  line-height: 1.08;
  margin: 10px 0 !important;
  font-weight: 800;
  color: #10283a;
  max-width: 720px
}
.rf-home-hero p {
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 14px !important;
  color: #183047;
  max-width: 690px
}
.rf-home-hero .btn {
  min-height: 38px;
  padding: 8px 19px;
  border-radius: 9px;
  font-weight: 600
}
.rf-home-hero .col-lg-5 {
  height: 292px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%)
}
.rf-home-hero .col-lg-5:before {
  content: "";
  position: absolute;
  left: 8%;
  top: 0;
  width: 7px;
  height: 112px;
  background: var(--primary);
  transform: skew(-12deg);
  z-index: 2
}
.rf-home-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%
}

.rf-hero-differentials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #e8edf1;
  max-width: 760px
}
.rf-hero-differential {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-right: 1px solid #e8edf1;
  color: #173149;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25
}
.rf-hero-differential:first-child { padding-left: 0 }
.rf-hero-differential:last-child { border-right: 0 }
.rf-hero-differential i { color: var(--primary); font-size: 24px; flex: 0 0 auto }
@media(max-width:767.98px) {
  .rf-hero-differentials { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 12px }
  .rf-hero-differential { padding-left: 0; border-right: 0 }
}

@media(max-width:991.98px) {
  .rf-home-hero-box > .row {
    min-height: auto
  }
  .rf-home-hero-copy {
    min-height: auto;
    padding: 34px 28px
  }
  .rf-home-hero .col-lg-5 {
    height: 260px;
    clip-path: none
  }
  .rf-home-hero .col-lg-5:before {
    display: none
  }
}
@media(max-width:575.98px) {
  .rf-home-hero-copy {
    padding: 28px 20px
  }
  .rf-home-hero h1 {
    font-size: 30px
  }
  .rf-home-hero p {
    font-size: 16px
  }
  .rf-home-hero .col-lg-5 {
    height: 220px
  }
}
.project-card {
  transition: transform .2s ease, box-shadow .2s ease
}
.project-card:hover, .project-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .12) !important
}
.project-card-link {
  cursor: pointer
}
/* Componentes específicos da Home */
.rf-home-media-frame {
  min-height: 400px
}
.rf-home-cover {
  object-fit: cover
}
.rf-home-corner {
  width: 200px;
  height: 200px
}
.rf-home-glass {
  background: rgba(255, 255, 255, .30);
  border-radius: 5px
}
.rf-accent-bar {
  width: 60px;
  height: 5px
}
/* Sobre a empresa */
.rf-about-section {
  background: var(--rf-about-bg, #fff)
}
.rf-about-section > .container-fluid > .row {
  min-height: 470px
}
.rf-about-media {
  min-height: 320px;
  position: relative;
  overflow: hidden
}
.rf-about-section .rf-home-media-frame {
  min-height: 100%;
  border-radius: 0;
  position: relative
}
.rf-about-section .rf-home-media-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: -1px;
  width: 38%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, var(--rf-about-bg, #fff) 60%);
  clip-path: polygon(52% 0, 100% 0, 100% 100%, 0 100%)
}
.rf-about-section .rf-home-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}
.rf-about-content {
  padding: 36px clamp(32px, 6vw, 95px);
  display: flex;
  flex-direction: column;
  justify-content: center
}
.rf-about-logo {
  display: block;
  max-width: 220px;
  max-height: 82px;
  object-fit: contain;
  object-position: left center
}
.rf-about-diff {
  padding: 6px;
  border0: 1px solid rgba(0, 0, 0, .09);
  background: rgba(255, 255, 255, .88)
}
.rf-about-diff > i {
  font-size: 25px;
  color: var(--primary);
  line-height: 1
}
.rf-about-diff h6 {
  font-family: "Poppins", sans-serif
}
.rf-about-diff p {
  font-family: "Roboto", sans-serif;
  line-height: 1.5
}
@media(max-width:991.98px) {
  .rf-about-section .rf-home-media-frame::after {
    top: auto;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 28%;
    background: linear-gradient(180deg, transparent 0%, var(--rf-about-bg, #fff) 92%);
    clip-path: polygon(0 28%, 100% 0, 100% 100%, 0 100%)
  }
  .rf-about-section > .container-fluid > .row {
    min-height: 0
  }
  .rf-about-media {
    min-height: 380px
  }
  .rf-about-content {
    padding: 34px 28px
  }
}
@media(max-width:575.98px) {
  .rf-about-media {
    min-height: 300px
  }
  .rf-about-content {
    padding: 30px 20px
  }
}