/* =========================================
   RUDI MANGUEIRAS HIDRÁULICAS – style.css
   ========================================= */

:root {
  --azul: #002351;
  --azul-medio: #052959;
  --azul-card: #0F366A;
  --vermelho: #D9272C;
  --vermelho-hover: #b52020;
  --branco: #ffffff;
  --cinza-claro: #F1F2F8;
  --font-titulo: 'Montserrat', sans-serif;
  --font-corpo: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-corpo);
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
}

/* -------- NAVBAR -------- */
#mainNav {
  background-color: var(--azul);
  padding: 0.6rem 0;
  transition: box-shadow 0.3s;
}

#mainNav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.logo-img {
  object-fit: contain;
  transition: transform 0.3s;
}
.logo-img:hover { transform: scale(1.04); }

.navbar-nav .nav-link {
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85) !important;
  padding: 0.5rem 0.8rem;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.navbar-nav .nav-link:hover {
  color: #fff !important;
}

.btn-fale-nav {
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 6px;
  border: 2px solid #fff;
  padding: 0.45rem 1.2rem;
  transition: all 0.27s;
  letter-spacing: 0.03em;
}
.btn-fale-nav:hover {
  background: #fff;
  color: var(--azul) !important;
}

/* -------- HERO -------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,29,61,0.88) 40%, rgba(0,29,61,0.35) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 1rem;
}

.hero-title {
  font-family: var(--font-titulo);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--vermelho);
}

.hero-subtitle {
  font-family: var(--font-corpo);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 460px;
}

/* -------- BUTTONS -------- */
.btn-rudi-red {
  background: var(--vermelho);
  color: #fff;
  font-family: var(--font-titulo);
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1.8rem;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
  transition: background 0.25s, transform 0.2s;
}
.btn-rudi-red:hover {
  background: var(--vermelho-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-rudi-dark {
  background: var(--azul);
  color: #fff;
  font-family: var(--font-titulo);
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1.8rem;
  font-size: 0.97rem;
  transition: background 0.25s, transform 0.2s;
}
.btn-rudi-dark:hover {
  background: var(--azul-medio);
  color: #fff;
  transform: translateY(-2px);
}

.button-transparente{
  background: linear-gradient(to right, #052959, #184075);
  border: 1px solid #ffffff7a;
  padding: 10px 20px;
  color: #fff;
  font-size: 1rem;
  transition: color 0.25s, transform 0.2s;
}

.button-transparente:hover{
  background: linear-gradient(to right, #0f3a72, #265592);
  transform: translateY(-2px);
  color: var(--branco);
  border: 1px solid #ffffffb2;
}


/* -------- frase rotativa -------- */
.frase-wrapper {
    overflow: hidden;
    width: 100%;
    background: var(--azul);
    padding: 6px 0;
  }

  .frase-rotativa {
    display: flex;
    width: fit-content;
    animation: frase-scroll 30s linear infinite;
  }

  .frase-track {
    display: flex;
  }

  .frase-track p {
    margin: 0 120px;
    color: white;
    font-size: 16px;
    white-space: nowrap;
  }

  @keyframes frase-scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }


/* -------- SECTION COMUNS -------- */
.section-title-red {
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 38px;
  color: var(--vermelho);
  margin-bottom: 0.6rem;
}

.section-title-dark {
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 38px;
  color: var(--azul);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 700px;
  margin: 0 auto;
}

/* -------- PRODUTOS -------- */
.section-produtos {
  background: var(--azul-medio);
  padding: 5rem 0;
}

.produto-card {
  background: var(--azul-card);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: transform 0.28s, box-shadow 0.28s;
  border: 1px solid rgba(255,255,255,0.05);
}

.produto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.produto-img {
  height: 69px;
}

.produto-card h5 {
  font-family: var(--font-titulo);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.produto-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  margin: 0;
}

/* -------- PRENSAGEM -------- */
.section-prensagem {
  background: var(--cinza-claro);
  padding: 5.5rem 0;
}

.prensagem-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.prensagem-img-wrap img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.prensagem-desc {
  color: var(--azul);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.prensagem-steps {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 8px;
  padding: 0.9rem 1.3rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  font-weight: 500;
  font-size: 0.97rem;
  color: #1a1a1a;
  transition: box-shadow 0.25s;
}
.step-item:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

.step-num {
  background: var(--azul);
  color: #fff;
  font-family: var(--font-titulo);
  font-weight: 800;
  font-size: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* -------- SOBRE NÓS -------- */
.section-sobre {
  background: #fff;
  padding: 5.5rem 0;
}

.section-sobre p {
  color: var(--azul);
  font-size: 1rem;
  line-height: 1.8;
}

.sobre-kicker {
  display: block;
  color: var(--vermelho);
  margin-bottom: 14px;
  font-weight: 600;
}

.sobre-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.sobre-img-wrap img {
  width: 100%;
  height: 785px;
  object-fit: cover;
}

/* -------- VANTAGENS -------- */
.section-vantagens {
  background: var(--cinza-claro);
  padding: 5rem 0;
}

.vantagem-card {
  background: #fff;
  border-radius: 12px;
  padding: 3rem 1.5rem;
  height: 100%;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  transition: transform 0.28s, box-shadow 0.28s;
}
.vantagem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.vantagem-icon {
  font-size: 2.6rem;
  color: var(--vermelho);
  display: block;
}

.vantagem-card h5 {
  font-family: var(--font-titulo);
  font-weight: 700;
  color: var(--azul);
  font-size: 1.05rem;
  margin: 20px 10px;
}

.vantagem-card p {
  color: var(--azul);
  font-size: 0.9rem;
  margin: 0;
}

/* -------- FOOTER -------- */
.site-footer {
  background: var(--azul);
  color: #fff;
  padding: 2rem 0 0.5rem;
}

.footer-logo {
  height: 80px;
  object-fit: contain;
}

.footer-desc {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
}

.footer-list li i {
  font-size: 1.1rem;
  color: var(--vermelho);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-list a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-list a:hover {
  color: #fff;
}

.footer-address {
  color: rgba(255,255,255,0.75);
  font-size: 0.93rem;
  line-height: 1.6;
}

.footer-address i {
  color: var(--vermelho);
}

.map-wrap {
  border-radius: 10px;
  overflow: hidden;
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom a{
  text-decoration: none;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a:hover {
  color: #ffffff88;

}

.footer-bottom p {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s;
}
.social-icons a:hover {
  background: var(--vermelho);
  transform: scale(1.12);
}

/* -------- WHATSAPP FLOAT -------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #25D366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

/* -------- CAROUSEL CLS FIX -------- */
#ads .carousel-item img {
  display: block;
  height: auto;
}

/* -------- RESPONSIVO -------- */
@media (max-width: 991px) {
  .hero-content { padding: 4rem 1rem 3rem; }
  .hero-title { font-size: 2rem; }
  .prensagem-img-wrap img { height: 300px; }
  .sobre-img-wrap img { height: 280px; }

  #navbarNav {
    text-align: right;
  }

  #navbarNav .navbar-nav {
    align-items: flex-end;
  }

  #navbarNav .btn-fale-nav {
    display: inline-block;
    margin-left: auto;
  }
}

@media (max-width: 576px) {
  .hero-section { min-height: 400px; }
  .hero-content { padding: 3rem 1rem 2.5rem; }

  .site-footer {
    text-align: center;
  }

  .footer-logo {
    display: block;
    margin: 0 auto 1rem;
  }

  .footer-desc,
  .footer-address {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-list li {
    justify-content: center;
    text-align: left;
  }

  .social-icons {
    justify-content: center;
  }

  .map-wrap {
    max-width: 360px;
    margin: 0 auto;
  }
}
