@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  /* Paleta Oficial Aço-Fer */
  --yellow-cta: #ffcc29;
  --blue-primary: #0f4e81;
  --blue-secondary: #08558c;
  --blue-darker: #0a3556; /* Para footers e backgrounds profundos */
  --gray-light: #f3f4f6;
  --gray-medium: #989898;
  --white: #ffffff;
  --text-dark: #1f2937;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

html {
  font-size: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--blue-primary);
}

/* NAVBAR TIPO STITCH */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-stitch {
  background-color: var(--blue-primary);
  display: flex;
  height: 86px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.navbar-stitch.scrolled {
  height: 76px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.15);
}

.nav-slanted-bg {
  width: 35%;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  display: flex;
  align-items: center;
  padding-left: 5%;
  position: relative;
}

/* Sombra na área branca (Hack CSS para clip-path) */
.nav-slanted-bg::before {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 10px;
  background: linear-gradient(to left, rgba(0,0,0,0.1), transparent);
  z-index: -1;
}

.nav-content {
  width: 65%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3rem;
  padding-right: 5%;
}

.nav-links-stitch {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger-menu {
  display: none;
}

.nav-links-stitch a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem; /* Aumentado */
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding-bottom: 6px;
  transition: all 0.2s;
  font-family: 'Montserrat', sans-serif;
}

.nav-links-stitch a:hover,
.nav-links-stitch a.active {
  color: var(--yellow-cta);
  border-bottom: 2px solid var(--yellow-cta);
}

.btn-stitch {
  background: var(--yellow-cta);
  color: var(--blue-darker);
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.logo-mobile, .mobile-only {
  display: none;
}
.logo-desktop {
  transition: height 0.3s ease;
}
.navbar-stitch.scrolled .logo-desktop {
  height: 44px;
}
.btn-stitch:hover { background: #facc15; transform: scale(1.02); }

/* DROPDOWN STYLES NA NAVBAR */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  background-color: var(--white);
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1001;
  top: 100%;
  left: 0;
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  list-style: none;
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu li a {
  color: var(--text-dark);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-light);
  font-weight: 500;
  border-radius: 0;
}

.nav-dropdown-menu li:last-child a {
  border-bottom: none;
}

.nav-dropdown-menu li a:hover {
  background-color: var(--gray-light);
  color: var(--blue-primary);
  border-bottom: 1px solid var(--gray-medium);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

/* BOTOES E CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  border: none;
  cursor: pointer;
}

/* O botão de Orçamento principal no navbar (Estilo Escuro com Seta) */
.btn-dark {
  background-color: var(--blue-primary);
  color: var(--yellow-cta);
}
.btn-dark:hover {
  background-color: var(--blue-darker);
}

.btn-yellow {
  background-color: var(--yellow-cta);
  color: var(--blue-darker);
  box-shadow: var(--shadow-sm);
}
.btn-yellow:hover {
  background-color: #facc15;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* HERO SECTION (Banner Gigante de Fundo) */
.hero {
  position: relative;
  min-height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.acofer-front-page .hero {
  min-height: calc(80vh + 86px);
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--blue-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 8rem 5%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 10, 20, 0.98) 0%,
    rgba(4, 16, 30, 0.95) 18%,
    rgba(8, 36, 60, 0.86) 36%,
    rgba(10, 53, 86, 0.58) 60%,
    rgba(15, 78, 129, 0.28) 82%,
    rgba(15, 78, 129, 0.12) 100%
  );
  z-index: 1;
}

.hero-slide--canteiro { background-position: 64% 56%; }
.hero-slide--estoque { background-position: 62% 42%; }
.hero-slide--entrega { background-position: 68% 58%; }
.hero-slide--telhas { background-position: 70% 48%; }
.hero-slide--vigas { background-position: 65% 48%; }
.hero-slide--civil { background-position: 64% 56%; }
.hero-slide--serralheria { background-position: 66% 50%; }
.hero-slide--empresa { background-position: 66% 48%; }
.hero-slide--empresa::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: inherit;
  filter: saturate(1.18) contrast(1.08);
}

/* Slide do Munck: sem foto de fundo — fundo desenhado (azul da marca + faixa amarela)
   e o recorte do caminhão entra como <img class="hero-cutout"> por cima. */
.hero-slide--munck {
  background-color: #0a3556;
  background-image:
    linear-gradient(180deg, rgba(2, 10, 20, 0) 74%, rgba(2, 10, 20, 0.5) 100%),
    radial-gradient(ellipse 46% 60% at 74% 58%, rgba(255, 204, 41, 0.28) 0%, rgba(255, 204, 41, 0) 100%),
    linear-gradient(108deg, transparent 0 61%, #ffcc29 61% 69.5%, transparent 69.5%),
    linear-gradient(135deg, #0a3556 0%, #0f4e81 52%, #08558c 100%);
  background-size: auto;
  background-position: center;
}

.hero-slide--munck::after {
  background: linear-gradient(
    90deg,
    rgba(2, 10, 20, 0.78) 0%,
    rgba(4, 16, 30, 0.5) 26%,
    rgba(8, 36, 60, 0.12) 46%,
    rgba(8, 36, 60, 0) 58%
  );
}

.hero-cutout {
  position: absolute;
  right: 3%;
  bottom: 11%;
  width: min(52vw, 880px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 34px 38px rgba(2, 10, 20, 0.6));
  opacity: 0;
  transform: translateX(56px);
  transition: opacity 1.1s ease-out 0.35s, transform 1.1s ease-out 0.35s;
}

.hero-slide.active .hero-cutout {
  opacity: 1;
  transform: translateX(0);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin-left: max(0px, calc((100% - 1280px) * 0.15));
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.8s ease-out 0.3s;
}

.hero-slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-dot.active {
  background: var(--yellow-cta);
}

.hero .hero-title, .hero h1 {
  color: var(--yellow-cta);
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero p {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* FEATURES (Serviços - Stitch Layout 4 Cols Clean) */
.features-section {
  padding: 4rem 5%;
  background: var(--white);
  text-align: center;
}

.features-title {
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--blue-primary);
}

.features-grid-stitch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--max-content);
  margin: 0 auto;
}

.feature-box-stitch {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #eaeaea;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  background-color: var(--white);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.feature-box-stitch:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.feature-icon-stitch {
  font-size: 44px !important;
  color: var(--blue-primary);
  margin-bottom: 1.2rem;
}

.feature-box-stitch h3 {
  font-size: 19px !important;
  color: var(--blue-primary);
  margin-bottom: 12px;
  line-height: 1.3;
  font-weight: 800;
}

.feature-box-stitch p {
  font-size: 13px !important;
  color: #333; /* Melhora contraste */
  line-height: 1.6;
}

/* CAROUSEL DOTS */
.carousel-dots {
  display: none; /* Escondido no desktop */
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gray-medium);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background-color: var(--blue-primary);
  width: 25px;
  border-radius: 10px;
}

/* FAIXA AMARELA DE CTA */
.yellow-band {
  background-color: var(--yellow-cta);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 5%;
}
.yellow-band h3 {
  color: var(--blue-darker);
  font-size: 1.8rem;
  margin: 0;
}

/* PRODUTOS E SERVIÇOS (Design dos Prints) */
.products-section {
  background: var(--gray-light);
  padding: 5rem 5%;
}

.products-wrapper {
  max-width: var(--max-content);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--blue-primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
}

/* Os Cartões Metade/Metade */
.product-card {
  display: flex;
  background-color: var(--blue-darker);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.product-card-text {
  flex: 1;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.product-card-text h3 {
  color: var(--yellow-cta);
  font-size: 1.4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin: 0;
}

.product-card-img {
  flex: 1;
  background-color: #ddd; /* Skeleton genérico */
  background-size: cover;
  background-position: center;
}

/* Simulação das imagens baseado no Print */
.img-vergalhao { background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?q=80&w=600&auto=format&fit=crop'); }
.img-malha { background-image: url('https://images.unsplash.com/photo-1616423641404-b977755b3eb2?q=80&w=600&auto=format&fit=crop'); }
.img-pregos { background-image: url('https://images.unsplash.com/photo-1542602161-0ae79685a3a7?q=80&w=600&auto=format&fit=crop'); }

/* FOOTER TIPO REFERÊNCIA UDIAÇO/AÇO-FER */
.footer {
  background-color: var(--blue-primary); /* Aço-Fer profundo */
  padding: 4rem 5% 1rem;
  color: var(--white);
  border-top: 5px solid var(--yellow-cta);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.8); /* Linha branca marcante do seu print */
  padding-bottom: 2rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  color: rgba(255,255,255,0.9);
}

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

.footer-col ul li {
  margin-bottom: 0.6rem;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  padding-top: 1rem;
}

@media(max-width: 900px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===============================
   PÁGINA DE CATEGORIA / PRODUTOS
   =============================== */
.category-filter-wrapper {
  background: var(--white);
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  scrollbar-width: thin;
}

.category-filter {
  display: flex;
  gap: 2rem;
  padding: 1rem 5%;
  list-style: none;
  white-space: nowrap;
}

.category-filter li {
  color: var(--gray-medium);
  font-weight: 500;
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.category-filter li:hover,
.category-filter li.active {
  color: var(--text-dark);
  border-bottom: 2px solid var(--yellow-cta);
}

.produtos-page-section {
  padding: 4rem 5%;
  background: var(--gray-light);
}

.produtos-all-shortcut {
  max-width: var(--max-content);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(90deg, var(--blue-darker), var(--blue-primary));
  border-top: 4px solid var(--yellow-cta);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(10, 53, 86, 0.16);
}

.produtos-all-shortcut__label {
  margin: 0 0 0.3rem;
  color: var(--yellow-cta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.produtos-all-shortcut h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.2;
}

.produtos-all-shortcut p:last-child {
  max-width: 680px;
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  line-height: 1.55;
}

.produtos-all-shortcut__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.2rem;
  background: var(--yellow-cta);
  border-radius: 8px;
  color: var(--blue-darker);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.produtos-all-shortcut__button:hover {
  background: #facc15;
  color: var(--blue-darker);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.produtos-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-content);
  margin: 0 auto;
}

.product-card-small {
  display: flex;
  background-color: var(--blue-primary);
  border-radius: 6px;
  overflow: hidden;
  height: 180px;
  transition: transform 0.3s ease;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.product-card-small:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background-color: var(--blue-darker);
}

.product-card-small .product-card-text {
  flex: 0 0 45%;
  padding: 1.2rem;
  display: flex;
  align-items: center;
}

.product-card-small .product-card-text h3 {
  color: var(--yellow-cta);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.product-card-small .product-card-img {
  flex: 0 0 55%;
  background-size: cover;
  background-position: center;
}

/* BANNER AÇO LAJES */
.banner-lajes-container {
  padding: 4rem 5%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-lajes-wrapper {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.banner-lajes-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.1);
  object-fit: contain;
}
@media(max-width: 500px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

@media(max-width: 1024px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 5%; }
  .hero .hero-title, .hero h1 { font-size: 2.8rem; }
  .yellow-band { flex-direction: column; text-align: center; }
  .footer-top { flex-direction: column; gap: 2rem; }
  
  /* Mobile Navbar Fixes */
  .navbar-stitch { height: auto; flex-direction: column; padding: 0.8rem 5%; gap: 0; justify-content: center; }
  .navbar-stitch.scrolled { height: auto; padding: 0.6rem 5%; }
  .logo-desktop, .desktop-only { display: none; }
  .logo-mobile { display: block; max-width: 155px; height: auto; object-fit: contain; margin: 0; transition: max-width 0.3s ease; }
  .navbar-stitch.scrolled .logo-mobile { max-width: 135px; }
  .mobile-only { display: block; }

  .nav-slanted-bg { width: 100%; clip-path: none; justify-content: flex-start; padding: 0; background: transparent; }
  .nav-slanted-bg::before { display: none; }
  .nav-content { width: 100%; flex-direction: column; padding: 0; gap: 0; align-items: flex-start; }
  
  .header-actions { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 12px; }
  .navbar-stitch.scrolled .header-actions { top: 50%; }
  
  .hamburger-menu { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: transparent; 
    color: var(--white); 
    width: 32px; 
    height: 32px; 
    cursor: pointer; 
  }
  
  .whatsapp-mobile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-cta);
    width: 32px;
    height: 32px;
    text-decoration: none;
  }
  
  .btn-stitch { 
    display: none;
  }
  
  .nav-links-stitch { 
    flex-direction: column; 
    text-align: left; 
    gap: 1rem; 
    width: 100%; 
    display: none; 
    margin-top: 1.5rem;
  }
  .nav-links-stitch.mobile-open {
    display: flex;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .features-title { font-size: 1.6rem; padding: 0 5%; margin-bottom: 2rem; }
  
  /* Feature Section Fix - Scroll Snap Carousel */
  .features-grid-stitch { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    padding: 0 7.5% 1rem 7.5%; 
    gap: 1.5rem; 
    scrollbar-width: none; 
  }
  .features-grid-stitch::after {
    display: none; /* remove extra padding */
  }
  .carousel-dots { display: flex; }
  
  .feature-box-stitch { 
    scroll-snap-align: center; 
    flex: 0 0 85%; 
    padding: 2.5rem 1.8rem;
  }
  
  /* Equilíbrio de seções mobile */
  .yellow-band { padding: 3rem 5%; }
  .yellow-band h3 { font-size: 1.6rem; margin-bottom: 1.5rem; }
  .yellow-band .btn { width: auto; justify-content: center; padding: 0.8rem 2rem; }

  .hero-content { max-width: 100%; margin-left: 0; }
  .hero .hero-title, .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.3rem);
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .products-section h2 { font-size: 2rem; }
  .produtos-page-grid { grid-template-columns: 1fr; padding: 0 5%; gap: 1rem; }
  .produtos-all-shortcut {
    grid-template-columns: 1fr;
    margin-bottom: 1.5rem;
  }
  .produtos-all-shortcut__button {
    width: 100%;
  }
  .product-card-small { height: 160px; }
}

/* Header/Footer Fase 3 */
.acofer-inner-page {
  padding-top: 76px;
}

.admin-bar .navbar-stitch {
  top: 32px;
}

.navbar-stitch {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 86px;
  padding: 0 5%;
  overflow: visible;
  background: rgba(15, 78, 129, 0.98);
  box-shadow: 0 10px 30px rgba(10, 53, 86, 0.18);
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease, height 0.25s ease, backdrop-filter 0.25s ease;
}

.acofer-front-page .navbar-stitch.navbar-transparent:not(.scrolled) {
  background: linear-gradient(180deg, rgba(10, 53, 86, 0.68), rgba(10, 53, 86, 0));
  box-shadow: none;
}

.acofer-front-page .navbar-stitch.navbar-transparent:not(.scrolled) .logo-desktop {
  display: none;
}

.acofer-front-page .navbar-stitch.navbar-transparent:not(.scrolled) .logo-mobile {
  display: block;
  height: 48px;
}

.navbar-stitch.scrolled,
.navbar-stitch.navbar-solid {
  height: 76px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(10, 53, 86, 0.14);
  backdrop-filter: blur(14px);
}

.navbar-stitch.navbar-product {
  background: rgba(10, 53, 86, 0.98);
  box-shadow: 0 12px 30px rgba(10, 53, 86, 0.22);
}

.navbar-stitch.navbar-product .nav-links-stitch > li > a,
.navbar-stitch.scrolled.navbar-product .nav-links-stitch > li > a,
.navbar-stitch.navbar-solid.navbar-product .nav-links-stitch > li > a {
  color: var(--white);
}

.navbar-stitch.navbar-product .nav-links-stitch > li > a:hover,
.navbar-stitch.navbar-product .nav-links-stitch > li > a.active,
.navbar-stitch.scrolled.navbar-product .nav-links-stitch > li > a:hover,
.navbar-stitch.scrolled.navbar-product .nav-links-stitch > li > a.active {
  color: var(--yellow-cta);
}

.navbar-stitch.navbar-product .logo-desktop {
  display: none;
}

.navbar-stitch.navbar-product .logo-mobile {
  display: block;
  height: 44px;
}

.nav-shell {
  width: min(100%, 1280px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.nav-slanted-bg {
  display: contents;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo-desktop,
.logo-mobile {
  width: auto;
  object-fit: contain;
  transition: height 0.25s ease, opacity 0.25s ease;
}

.navbar-stitch .logo-desktop {
  display: block;
  height: 48px;
}

.navbar-stitch.scrolled .logo-desktop,
.navbar-stitch.navbar-solid .logo-desktop {
  height: 44px;
}

.navbar-stitch .logo-mobile {
  display: none;
}

.nav-content {
  width: auto;
  height: 100%;
  flex: 0 0 auto;
  margin-left: 0;
  justify-content: flex-end;
  padding: 0;
  gap: 0;
}

.nav-links-stitch {
  height: 100%;
  align-items: center;
  gap: 1.35rem;
}

.nav-links-stitch a {
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.45rem 0;
}

.navbar-stitch.scrolled .nav-links-stitch a,
.navbar-stitch.navbar-solid .nav-links-stitch a {
  color: var(--blue-darker);
}

.nav-links-stitch a:hover,
.nav-links-stitch a.active {
  color: var(--yellow-cta);
  border-bottom-color: var(--yellow-cta);
}

.navbar-stitch.scrolled .nav-links-stitch a:hover,
.navbar-stitch.scrolled .nav-links-stitch a.active,
.navbar-stitch.navbar-solid .nav-links-stitch a:hover,
.navbar-stitch.navbar-solid .nav-links-stitch a.active {
  color: var(--blue-primary);
  border-bottom-color: var(--yellow-cta);
}

.navbar-stitch.scrolled.navbar-product .nav-links-stitch > li > a:hover,
.navbar-stitch.scrolled.navbar-product .nav-links-stitch > li > a.active,
.navbar-stitch.navbar-solid.navbar-product .nav-links-stitch > li > a:hover,
.navbar-stitch.navbar-solid.navbar-product .nav-links-stitch > li > a.active {
  color: var(--yellow-cta);
  border-bottom-color: var(--yellow-cta);
}

.nav-dropdown-menu {
  display: none;
}

.nav-dropdown--mega {
  position: static;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  height: 100%;
  gap: 6px;
}

.nav-chevron {
  display: block;
  transition: transform 0.3s ease;
}

.nav-dropdown--mega:hover .nav-chevron,
.nav-dropdown--mega:focus-within .nav-chevron {
  transform: rotateZ(180deg);
}

.nav-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1002;
  width: 100%;
  padding: 22px 0 28px;
  background: #f4f6f8;
  border-bottom: 1px solid rgba(8, 85, 140, 0.18);
  box-shadow: 0 18px 40px rgba(10, 53, 86, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-dropdown--mega:hover .nav-mega,
.nav-dropdown--mega:focus-within .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mega-inner {
  width: min(100% - 10%, 1280px);
  margin: 0 auto;
}

.nav-mega-title {
  display: block;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(8, 85, 140, 0.16);
  color: #0a3556;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.navbar-stitch.scrolled .nav-mega-title,
.navbar-stitch.navbar-solid .nav-mega-title,
.nav-mega-title:hover {
  color: #0f4e81;
  border-bottom-color: rgba(8, 85, 140, 0.16);
}

.nav-mega-cats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.nav-mega-cats a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: #1f2937;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  border-bottom: none;
}

.navbar-stitch.scrolled .nav-mega-cats a,
.navbar-stitch.navbar-solid .nav-mega-cats a {
  color: #1f2937;
}

.nav-mega-cats a:hover,
.navbar-stitch.scrolled .nav-mega-cats a:hover,
.navbar-stitch.navbar-solid .nav-mega-cats a:hover {
  color: #0f4e81;
  border-bottom-color: transparent;
}

.nav-mega-cats img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(15, 78, 129, 0.08);
  border-radius: 8px;
}

.navbar-stitch .nav-mega-title,
.navbar-stitch .nav-mega-title:hover {
  border-bottom: 1px solid rgba(8, 85, 140, 0.16);
}

.navbar-stitch .nav-mega-cats a,
.navbar-stitch .nav-mega-cats a:hover {
  border-bottom: none;
}

@media (max-width: 1280px) and (min-width: 1025px) {
  .nav-mega-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-mega-cats img {
    height: 104px;
  }
}

.header-actions {
  flex: 0 0 auto;
}

.btn-stitch {
  border-radius: 8px;
  padding: 0.8rem 1.35rem;
  white-space: nowrap;
}

.btn-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hamburger-menu {
  border: 0;
  background: transparent;
  color: var(--white);
}

.footer {
  background: #0b3f68;
  border-top: 0;
  padding: 3.25rem 5% 0.85rem;
}

.footer-columns {
  grid-template-columns: 1.2fr 0.8fr 1fr 1.55fr;
  gap: 2.5rem;
  max-width: 1280px;
  margin: 0 auto 1rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-logo {
  width: 210px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  text-transform: none;
  margin-bottom: 1.25rem;
}

.footer-col p,
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-col p strong {
  color: var(--white);
}

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

.footer-unit {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.footer-unit strong {
  color: var(--white);
  font-size: 0.98rem;
}

.footer-unit a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 400;
  text-decoration: none;
}

.footer-unit a:hover {
  color: var(--yellow-cta);
}

.footer-phone-icon {
  color: var(--yellow-cta);
  font-size: 1.08rem;
  line-height: 1;
}

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--yellow-cta);
  color: var(--blue-darker);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  background: var(--white);
}

.footer-socials svg {
  width: 19px;
  height: 19px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.76);
}

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

.footer-credit {
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.78rem;
}

.footer-credit img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-credit:hover {
  color: var(--yellow-cta);
}

@media(max-width: 1024px) {
  .acofer-inner-page {
    padding-top: 76px;
  }

  .acofer-front-page .hero {
    min-height: calc(80vh + 76px);
  }

  .admin-bar .navbar-stitch {
    top: 0;
  }

  .navbar-stitch,
  .navbar-stitch.scrolled,
  .navbar-stitch.navbar-solid,
  .acofer-front-page .navbar-stitch.navbar-transparent:not(.scrolled) {
    height: auto;
    min-height: 76px;
    flex-direction: row;
    padding: 0.75rem 5%;
    background: rgba(15, 78, 129, 0.98);
    box-shadow: 0 10px 30px rgba(10, 53, 86, 0.18);
  }

  .nav-shell {
    flex-wrap: wrap;
    gap: 0;
    height: auto;
  }

  .navbar-stitch .logo-desktop {
    display: none;
  }

  .navbar-stitch .logo-mobile {
    display: block;
    height: 44px;
    max-width: 168px;
  }

  .nav-content {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    margin-left: 0;
  }

  .header-actions {
    position: static;
    transform: none;
    margin-left: auto;
    gap: 0.65rem;
  }

  .btn-stitch {
    display: inline-flex;
    padding: 0.65rem 0.8rem;
    border-radius: 8px;
    font-size: 0.86rem;
    gap: 0.45rem;
  }

  .hamburger-menu {
    display: inline-flex;
    color: var(--white);
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    cursor: pointer;
  }

  .nav-links-stitch {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
    height: auto;
    display: none;
    margin-top: 0.8rem;
    padding: 1rem 0 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .nav-links-stitch.mobile-open {
    display: flex;
  }

  .nav-links-stitch a,
  .navbar-stitch.scrolled .nav-links-stitch a,
  .navbar-stitch.navbar-solid .nav-links-stitch a {
    color: var(--white);
    display: block;
    width: 100%;
    padding: 0.55rem 0;
  }

  .nav-dropdown--mega,
  .nav-mega {
    display: block;
    width: 100%;
    position: static;
    height: auto;
    align-self: stretch;
  }

  .nav-dropdown-trigger {
    height: auto;
  }

  .nav-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin: 0.35rem 0 0.7rem;
    padding: 0.75rem 0.7rem 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    border: 0;
    border-radius: 8px;
    box-shadow: none;
  }

  .nav-mega-inner {
    width: 100%;
  }

  .nav-links-stitch .nav-mega-title,
  .navbar-stitch.scrolled .nav-links-stitch .nav-mega-title,
  .navbar-stitch.navbar-solid .nav-links-stitch .nav-mega-title {
    display: none;
  }

  .nav-mega-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nav-mega-cats a,
  .navbar-stitch.scrolled .nav-mega-cats a,
  .navbar-stitch.navbar-solid .nav-mega-cats a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
  }

  .nav-mega-cats img {
    height: 72px;
  }

  .hero-slide--munck {
    background-size: auto;
    background-position: center;
  }
  .hero-slide--munck .hero-content {
    padding-bottom: 30vw;
  }
  /* texto em cima, caminhão embaixo: o escurecimento vira de cima pra baixo */
  .hero-slide--munck::after {
    background: linear-gradient(
      180deg,
      rgba(2, 10, 20, 0.72) 0%,
      rgba(2, 10, 20, 0.5) 48%,
      rgba(2, 10, 20, 0) 70%
    );
  }
  .hero-cutout {
    right: 4%;
    bottom: 4%;
    width: 84vw;
    filter: drop-shadow(0 22px 26px rgba(2, 10, 20, 0.55));
  }
  .hero-slide--canteiro {
    background-size: 155% auto;
    background-position: 72% 48%;
  }
  .hero-slide--estoque { background-position: 78% 38%; }
  .hero-slide--telhas { background-position: 82% 50%; }
  .hero-slide--vigas { background-position: 72% 50%; }
  .hero-slide--civil { background-position: 72% 48%; }
  .hero-slide--serralheria { background-position: 75% 50%; }
  .hero-slide--empresa { background-position: 38% 50%; }

  .hero-slide::after {
    background: linear-gradient(
      90deg,
      rgba(2, 10, 20, 0.97) 0%,
      rgba(4, 16, 30, 0.94) 28%,
      rgba(8, 36, 60, 0.85) 55%,
      rgba(10, 53, 86, 0.64) 78%,
      rgba(15, 78, 129, 0.42) 100%
    );
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-bottom-spacer {
    display: none;
  }

  .footer-credit {
    justify-self: center;
  }
}

@media(max-width: 640px) {
  .footer {
    padding-top: 3.5rem;
  }

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

  .footer-logo {
    width: 185px;
  }

  .yellow-band {
    gap: 1rem;
  }
}

/* Header/Footer visual corrections */
.btn-stitch {
  line-height: 1;
  align-items: center;
}

.btn-stitch > span:not(.btn-whatsapp-icon) {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.btn-stitch .btn-whatsapp-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.btn-stitch .btn-whatsapp-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.footer {
  font-size: 0.92rem;
}

.footer-logo {
  width: auto;
  height: 130px;
  max-width: 286px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  max-width: 360px;
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 400;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.footer-col ul li {
  margin-bottom: 0.58rem;
}

.footer-col ul li a,
.footer-col p {
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 400;
}

.footer-unit {
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.footer-unit strong {
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 600;
}

.footer-unit a {
  gap: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 400;
}

.footer-contact .footer-unit a {
  font-size: 0.82rem;
  font-weight: 400 !important;
}

.footer-phone-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.footer-phone-icon::before {
  content: "";
  width: 17px;
  height: 17px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.25 1.01l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.25 1.01l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-socials {
  gap: 0.85rem;
}

.footer-socials a {
  width: 42px;
  height: 42px;
}

.footer-copyright {
  font-size: 0.84rem;
  line-height: 1.45;
  font-weight: 400;
}

.footer-credit {
  width: 138px;
  gap: 0.35rem;
  line-height: 1;
  justify-content: center;
}

.footer-credit span {
  display: block;
  width: 100%;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
}

.footer-credit img {
  width: 100%;
  height: auto;
  max-height: 29px;
  object-fit: contain;
}

@media(max-width: 1024px) {
  .acofer-front-page .navbar-stitch.navbar-transparent:not(.scrolled) {
    background: linear-gradient(180deg, rgba(10, 53, 86, 0.68), rgba(10, 53, 86, 0));
    box-shadow: none;
  }

  .acofer-front-page .navbar-stitch.navbar-transparent:not(.scrolled) .logo-mobile {
    display: block;
  }

  .navbar-stitch.scrolled .logo-mobile,
  .navbar-stitch.navbar-solid .logo-mobile {
    display: block;
    height: 44px;
    max-width: 168px;
  }

  .navbar-stitch.scrolled .logo-desktop,
  .navbar-stitch.navbar-solid .logo-desktop {
    display: none;
  }

  .navbar-stitch.scrolled .hamburger-menu,
  .navbar-stitch.navbar-solid .hamburger-menu {
    color: var(--white);
    background: transparent;
  }

  .hamburger-menu {
    background: transparent;
    color: var(--white);
  }

  .navbar-stitch.menu-open,
  .acofer-front-page .navbar-stitch.navbar-transparent.menu-open {
    background: rgba(15, 78, 129, 0.98);
    box-shadow: 0 10px 30px rgba(10, 53, 86, 0.18);
  }

  .navbar-stitch.scrolled .nav-links-stitch.mobile-open,
  .navbar-stitch.navbar-solid .nav-links-stitch.mobile-open {
    border-top-color: rgba(10, 53, 86, 0.16);
  }

  .navbar-stitch.scrolled .nav-links-stitch.mobile-open a,
  .navbar-stitch.navbar-solid .nav-links-stitch.mobile-open a {
    color: var(--blue-darker);
  }

  .navbar-stitch.menu-open .nav-links-stitch.mobile-open a,
  .acofer-front-page .navbar-stitch.navbar-transparent.menu-open .nav-links-stitch.mobile-open a {
    color: var(--white);
  }
}

@media(max-width: 640px) {
  .hero-slide--munck .hero-content {
    padding-bottom: 38vw;
  }
  .hero-cutout {
    right: 2%;
    bottom: 5%;
    width: 96vw;
  }

  .footer {
    padding-top: 2.75rem;
    padding-bottom: 0.75rem;
  }

  .footer-logo {
    height: 114px;
    width: auto;
  }

  .footer-credit {
    width: 126px;
  }

  .footer-credit img {
    width: 100%;
    height: auto;
    max-height: 26px;
  }
}

/* Cabecalho 2026-08-24: busca + Ligar (desktop); Ligar + FAB WhatsApp (mobile) */
.header-search-item--mobile {
  display: none;
}

.header-search-item--desktop {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.header-search-item--desktop .header-search {
  width: 300px;
  max-width: 100%;
  flex: 0 0 auto;
}

.header-search {
  position: relative;
  width: 100%;
}

.header-search__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-search__field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 42px;
  padding: 0 0.85rem 0 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.header-search__field .material-symbols-outlined {
  font-size: 20px;
  color: var(--yellow-cta);
}

.header-search__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.86rem;
  outline: none;
}

.header-search__field input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.header-search__field:focus-within {
  background: rgba(255, 255, 255, 0.24);
  border-color: var(--yellow-cta);
}

.navbar-stitch.scrolled .header-search__field,
.navbar-stitch.navbar-solid .header-search__field {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: var(--blue-darker);
}

.navbar-stitch.scrolled .header-search__field input::placeholder,
.navbar-stitch.navbar-solid .header-search__field input::placeholder {
  color: #6b7280;
}

.navbar-stitch.scrolled .header-search__field .material-symbols-outlined,
.navbar-stitch.navbar-solid .header-search__field .material-symbols-outlined {
  color: var(--blue-primary);
}

.navbar-stitch.navbar-product .header-search__field {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.navbar-stitch.navbar-product .header-search__field input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.navbar-stitch.navbar-product .header-search__field .material-symbols-outlined {
  color: var(--yellow-cta);
}

.header-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, 88vw);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(10, 53, 86, 0.2);
  border: 1px solid rgba(15, 78, 129, 0.12);
  z-index: 1100;
  overflow: hidden;
  padding: 0.35rem 0;
}

.header-search-suggestions[hidden] {
  display: none;
}

.header-search-suggestion {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  color: var(--blue-darker);
}

.header-search-suggestion img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  background: #eef2f6;
  flex: 0 0 36px;
}

.header-search-suggestion__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.header-search-suggestion__body strong {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}

.header-search-suggestion__body span {
  font-size: 0.72rem;
  color: #6b7280;
}

.header-search-suggestion.is-active,
.header-search-suggestion:hover {
  background: #f4f7fa;
}

.header-search-suggestions__empty {
  margin: 0;
  padding: 0.75rem 0.9rem;
  font-size: 0.84rem;
  color: #4b5563;
}

.header-search-suggestions [data-header-suggestions-all] {
  display: block;
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-primary);
  text-decoration: none;
  border-top: 1px solid #eef2f6;
}

.header-search-suggestions [data-header-suggestions-all][hidden] {
  display: none;
}

.btn-ligar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.72rem 1.1rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  line-height: 1;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-ligar .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
}

.btn-ligar:hover {
  background: var(--yellow-cta);
  border-color: var(--yellow-cta);
  color: var(--blue-darker);
  transform: scale(1.02);
}

.navbar-stitch.scrolled .btn-ligar,
.navbar-stitch.navbar-solid .btn-ligar {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.navbar-stitch.scrolled .btn-ligar:hover,
.navbar-stitch.navbar-solid .btn-ligar:hover {
  background: var(--blue-primary);
  color: var(--white);
}

.navbar-stitch.navbar-product .btn-ligar {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.navbar-stitch.navbar-product .btn-ligar:hover {
  background: var(--yellow-cta);
  border-color: var(--yellow-cta);
  color: var(--blue-darker);
}

.whatsapp-fab {
  display: none;
}

@media (max-width: 1240px) and (min-width: 1025px) {
  .nav-links-stitch {
    gap: 1.15rem;
  }

  .header-search-item--desktop .header-search {
    width: min(300px, 100%);
  }

  .btn-ligar,
  .btn-stitch {
    padding: 0.68rem 0.95rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 1024px) {
  .header-search-item--desktop {
    display: none;
  }

  .header-search-item--mobile {
    display: block;
    width: 100%;
    padding-bottom: 0.65rem;
  }

  .header-search__field {
    height: 44px;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--white);
  }

  .header-search__field input::placeholder {
    color: rgba(255, 255, 255, 0.72);
  }

  .header-search-suggestions {
    position: static;
    width: 100%;
    margin-top: 0.45rem;
    padding: 0.65rem 0.85rem;
    box-sizing: border-box;
  }

  .nav-links-stitch .header-search-suggestion,
  .navbar-stitch.scrolled .nav-links-stitch .header-search-suggestion,
  .navbar-stitch.navbar-solid .nav-links-stitch .header-search-suggestion,
  .navbar-stitch.menu-open .nav-links-stitch.mobile-open .header-search-suggestion,
  .acofer-front-page .navbar-stitch.navbar-transparent.menu-open .nav-links-stitch.mobile-open .header-search-suggestion {
    padding: 0.5rem 0.2rem;
    color: var(--blue-darker);
    width: auto;
    border-bottom: 0;
  }

  .nav-links-stitch .header-search-suggestions [data-header-suggestions-all],
  .navbar-stitch.menu-open .nav-links-stitch.mobile-open [data-header-suggestions-all],
  .acofer-front-page .navbar-stitch.navbar-transparent.menu-open .nav-links-stitch.mobile-open [data-header-suggestions-all] {
    padding: 0.7rem 0.2rem 0.35rem;
    color: var(--blue-primary);
    border-bottom: 0;
  }

  .header-actions .btn-orcamento {
    display: none;
  }

  .header-actions .btn-ligar {
    display: inline-flex;
    padding: 0.5rem 0.7rem;
    font-size: 0.82rem;
    gap: 0.28rem;
    background: var(--yellow-cta);
    border-color: var(--yellow-cta);
    color: var(--blue-darker);
  }

  .header-actions .btn-ligar:hover {
    background: #facc15;
    color: var(--blue-darker);
  }

  .navbar-stitch.scrolled .header-actions .btn-ligar,
  .navbar-stitch.navbar-solid .header-actions .btn-ligar,
  .navbar-stitch.navbar-product .header-actions .btn-ligar {
    background: var(--yellow-cta);
    border-color: var(--yellow-cta);
    color: var(--blue-darker);
  }

  .whatsapp-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.38);
    text-decoration: none;
  }

  .whatsapp-fab .btn-whatsapp-icon,
  .whatsapp-fab .btn-whatsapp-icon svg {
    width: 26px;
    height: 26px;
  }

  .whatsapp-fab:hover {
    transform: scale(1.04);
  }
}
