/* ===========================
   SUPERMIX CLONE - STYLE.CSS
   =========================== */

:root {
  --cor-primaria: #f72228;
  --cor-escura: #1a1a1a;
  --cor-dark: #292929;
  --cor-bg-dark: #1c1c1c;
  --cor-texto: #333;
  --fonte: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte);
  color: var(--cor-texto);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===========================
   BOTÕES
   =========================== */
.btn-primary-red {
  background-color: var(--cor-primaria);
  color: #fff;
  border: 2px solid var(--cor-primaria);
  padding: 12px 32px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  font-family: var(--fonte);
}

.btn-primary-red:hover {
  background-color: transparent;
  color: var(--cor-primaria);
}

.btn-outline-red {
  background-color: transparent;
  color: var(--cor-primaria);
  border: 2px solid var(--cor-primaria);
  padding: 10px 28px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  font-family: var(--fonte);
}

.btn-outline-red:hover {
  background-color: var(--cor-primaria);
  color: #fff;
}

.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 10px 28px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  font-family: var(--fonte);
}

.btn-outline-white:hover {
  background-color: #fff;
  color: var(--cor-escura);
}

/* ===========================
   NAVBAR / HEADER
   =========================== */
.navbar {
  background-color: #fff;
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

.navbar-logo img {
  height: 45px;
  width: auto;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.navbar-menu li {
  position: relative;
}

.navbar-menu li a,
.navbar-menu li button {
  display: block;
  padding: 18px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--fonte);
  transition: color 0.2s;
  white-space: nowrap;
}

.navbar-menu li a:hover,
.navbar-menu li button:hover {
  color: var(--cor-primaria);
}

.navbar-menu .dropdown-toggle::after {
  content: ' ▾';
  font-size: 0.7rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  border-top: 3px solid var(--cor-primaria);
  z-index: 9999;
  list-style: none;
  padding: 8px 0;
}

.dropdown-menu li a {
  padding: 10px 20px;
  font-size: 0.85rem;
  display: block;
  color: #333;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
  color: var(--cor-primaria);
}

.navbar-menu li:hover .dropdown-menu {
  display: block;
}

.navbar-menu .btn-entrar {
  background-color: var(--cor-primaria);
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 20px;
  margin-left: 8px;
  font-size: 0.85rem !important;
}

.navbar-menu .btn-entrar:hover {
  background-color: #c41a1f;
  color: #fff !important;
}

.navbar-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-icons a {
  color: #555;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.navbar-icons a:hover {
  color: var(--cor-primaria);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
  position: relative;
  height: 680px;
  background-image: url('../img/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 560px;
}

.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 35px;
  max-width: 480px;
  line-height: 1.6;
}

/* ===========================
   SEÇÃO POR QUE SUPERMIX
   =========================== */
.pq-supermix {
  display: flex;
  min-height: 500px;
  overflow: hidden;
}

.pq-supermix .col-img {
  flex: 0 0 50%;
  max-width: 50%;
}

.pq-supermix .col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pq-supermix .col-texto {
  flex: 0 0 50%;
  max-width: 50%;
  background-color: var(--cor-dark);
  display: flex;
  align-items: center;
  padding: 80px 60px;
}

.pq-supermix .col-texto .inner {
  max-width: 420px;
}

.pq-supermix .col-texto h2 {
  font-size: 2.2rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  padding-top: 30px;
}

.pq-supermix .col-texto h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 6px;
  background-color: var(--cor-primaria);
}

.pq-supermix .col-texto h2 strong {
  display: block;
  font-weight: 800;
}

.pq-supermix .col-texto p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

/* ===========================
   SEÇÃO NOSSOS PRODUTOS
   =========================== */
.nossos-produtos {
  display: flex;
  min-height: 600px;
  overflow: hidden;
}

.nossos-produtos .col-texto {
  flex: 0 0 50%;
  max-width: 50%;
  background-color: var(--cor-bg-dark);
  display: flex;
  align-items: center;
  padding: 80px 60px;
}

.nossos-produtos .col-texto .inner {
  max-width: 420px;
}

.nossos-produtos .col-texto h2 {
  font-size: 2.2rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  padding-top: 30px;
}

.nossos-produtos .col-texto h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 6px;
  background-color: var(--cor-primaria);
}

.nossos-produtos .col-texto h2 strong {
  font-weight: 800;
}

.nossos-produtos .col-texto p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

.nossos-produtos .col-slider {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  background-image: url('../img/bitoneiras.jpg');
  background-size: cover;
  background-position: center;
}

.nossos-produtos .col-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* Swiper produtos */
.swiper-produtos {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 40px 30px;
}

.swiper-produtos .swiper-slide {
  height: auto;
}

.produto-card {
  background: rgba(0,0,0,0.6);
  border-radius: 8px;
  padding: 35px 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.produto-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.produto-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  flex: 1;
}

.produto-card a.card-link {
  color: #fff;
  text-decoration: none;
}

.produto-card a.card-link:hover h3 {
  color: var(--cor-primaria);
}

/* Swiper navigation dots */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--cor-primaria);
  opacity: 1;
}

/* ===========================
   SEÇÃO CTA HOME
   =========================== */
.cta-home {
  position: relative;
  padding: 100px 20px;
  background-image: url('../img/bg-cta2.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
}

.cta-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.cta-home .inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-home h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 35px;
}

/* ===========================
   SEÇÃO OBRAS REALIZADAS
   =========================== */
.obras-realizadas {
  padding: 80px 0;
  background: #fff;
}

.obras-realizadas .titulo-secao {
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 60px;
  color: var(--cor-escura);
}

.obras-realizadas .titulo-secao strong {
  font-weight: 800;
}

.obras-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.obra-row {
  display: flex;
  align-items: stretch;
  min-height: 350px;
  margin-bottom: 0;
}

.obra-row .obra-img {
  flex: 0 0 50%;
  max-width: 50%;
  overflow: hidden;
}

.obra-row .obra-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.obra-row .obra-texto {
  flex: 0 0 50%;
  max-width: 50%;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  padding: 50px 60px;
}

.obra-row .obra-texto .inner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.obra-row .obra-texto .inner p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.btn-saiba-mais {
  border: 2px solid var(--cor-primaria);
  color: var(--cor-primaria);
  padding: 10px 28px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: inline-block;
  font-family: var(--fonte);
}

.btn-saiba-mais:hover {
  background: var(--cor-primaria);
  color: #fff;
}

.obras-ver-todas {
  text-align: center;
  padding: 50px 20px 20px;
}

/* ===========================
   SEÇÃO ONDE ESTAMOS
   =========================== */
.onde-estamos {
  background: var(--cor-escura);
  padding: 80px 20px;
}

.onde-estamos .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  background: var(--cor-primaria);
  border-radius: 8px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.onde-estamos .texto-col {
  flex: 0 0 45%;
}

.onde-estamos h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.onde-estamos h2 strong {
  font-weight: 800;
  display: block;
}

.onde-estamos p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.onde-estamos .img-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.onde-estamos .img-col img {
  max-height: 380px;
  object-fit: contain;
}

/* ===========================
   SEÇÃO CALL TO ACTION FINAL
   =========================== */
.cta-final {
  position: relative;
  padding: 100px 20px;
  background-image: url('../img/bg-cta.png');
  background-size: cover;
  background-position: center;
  background-color: var(--cor-escura);
}

.cta-final .inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cta-final h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  max-width: 550px;
  line-height: 1.4;
  margin-bottom: 35px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--cor-escura);
  color: rgba(255,255,255,0.75);
  padding: 60px 20px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col .footer-logo {
  margin-bottom: 25px;
}

.footer-col .footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
}

.footer-col p a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-col p a:hover {
  color: var(--cor-primaria);
}

.footer-col h6 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--cor-primaria);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--cor-primaria);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  text-align: center;
  background: #111;
}

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

.footer-bottom .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.footer-bottom .footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-bottom .footer-links a:hover {
  color: var(--cor-primaria);
}

/* ===========================
   BOTÃO FLUTUANTE ORÇAMENTO
   =========================== */
.btn-orcamento-flutuante {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 9999;
}

.btn-orcamento-flutuante a {
  background: var(--cor-primaria);
  color: #fff;
  padding: 14px 22px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(247,34,40,0.4);
  transition: all 0.3s;
  font-family: var(--fonte);
}

.btn-orcamento-flutuante a:hover {
  background: #c41a1f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247,34,40,0.5);
}

/* ===========================
   BOTÕES LATERAIS
   =========================== */
.botao-lateral {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.botao-lateral a {
  background: var(--cor-primaria);
  color: #fff;
  padding: 8px 14px;
  font-size: 1.2rem;
  border-radius: 5px 0 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  box-shadow: -2px 2px 8px rgba(0,0,0,0.2);
}

.botao-lateral a:hover {
  background: var(--cor-dark);
}

/* ===========================
   CONTAINER GERAL
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   AJUSTES VISUAIS EXTRAS
   =========================== */

/* Linha vermelha decorativa nos títulos */
.line-red {
  display: block;
  width: 50px;
  height: 6px;
  background: var(--cor-primaria);
  margin-bottom: 25px;
}

/* Seção obras fundo alternado */
.obra-row:nth-child(even) .obra-texto {
  background: #222;
}

/* Botão Entrar no navbar */
.navbar-menu .btn-entrar {
  background-color: var(--cor-primaria) !important;
  color: #fff !important;
  border-radius: 20px;
  padding: 8px 20px !important;
  margin-left: 8px;
  font-size: 0.85rem !important;
}

.navbar-menu .btn-entrar:hover {
  background-color: #c41a1f !important;
}

/* Swiper produtos altura mínima */
.swiper-produtos {
  min-height: 350px;
  display: flex;
  align-items: center;
}

.swiper-produtos .swiper-slide {
  padding: 20px 0;
}

/* Onde estamos - ajuste de cor */
.onde-estamos {
  background: var(--cor-escura);
  padding: 60px 20px 80px;
}

/* CTA final ajuste */
.cta-final {
  min-height: 400px;
  display: flex;
  align-items: center;
}

/* ===========================
   RESPONSIVIDADE
   =========================== */
@media (max-width: 991px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 9999;
  }

  .navbar-menu.open {
    display: flex;
  }

  .navbar-menu li a,
  .navbar-menu li button {
    padding: 12px 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-section {
    height: 500px;
  }

  .pq-supermix,
  .nossos-produtos {
    flex-direction: column;
  }

  .pq-supermix .col-img,
  .pq-supermix .col-texto,
  .nossos-produtos .col-texto,
  .nossos-produtos .col-slider {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .pq-supermix .col-img {
    height: 300px;
  }

  .pq-supermix .col-texto {
    padding: 50px 30px;
  }

  .nossos-produtos .col-texto {
    padding: 50px 30px;
  }

  .nossos-produtos .col-slider {
    min-height: 400px;
  }

  .obra-row {
    flex-direction: column;
  }

  .obra-row.reverse {
    flex-direction: column-reverse;
  }

  .obra-row .obra-img,
  .obra-row .obra-texto {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .obra-row .obra-texto {
    padding: 40px 30px;
  }

  .onde-estamos .inner {
    flex-direction: column;
    padding: 40px 30px;
    gap: 30px;
  }

  .onde-estamos .img-col img {
    max-height: 250px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .cta-final h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-section {
    height: 420px;
  }

  .cta-home h2 {
    font-size: 1.3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .obras-realizadas .titulo-secao {
    font-size: 1.5rem;
  }

  .onde-estamos h2 {
    font-size: 2rem;
  }
}
