/* ==========================================================================
   CRISTAL-LUB - ESTILOS PRINCIPAIS (ALTA FIDELIDADE)
   ========================================================================== */

/* ---------- RESET & BASE ---------- */
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: var(--font-size, 14px);
  color: var(--text, rgb(74, 74, 74));
  background-color: var(--bg, #ffffff);
  line-height: 1.8;
  overflow-x: hidden;
}

.clr::after {
  content: "";
  display: table;
  clear: both;
}

.container {
  width: min(92%, var(--container, 1200px));
  margin-inline: auto;
}

/* Full-width stretch for sections inside #content-wrap */
.full-width-stretch {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ---------- HEADER & TOPO (SECTION 0) ---------- */
header#site-header.custom-header {
  background-color: rgb(51, 55, 146) !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  z-index: 100;
}

.header-top {
  height: 137px;
  box-sizing: border-box;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-logo img {
  width: 195px;
  height: 85px;
  object-fit: contain;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #ffffff;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.header-contacts .contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.header-contacts svg {
  color: var(--accent);
  stroke: var(--accent);
  flex-shrink: 0;
}

.header-contacts a {
  color: #ffffff;
}

.header-contacts a:hover {
  color: var(--accent);
}

/* ---------- NAVEGAÇÃO PRINCIPAL ---------- */
.nav-bar {
  background-color: var(--accent, #08aae8);
  width: 100%;
  height: 54px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-desktop {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav-desktop > li {
  position: relative;
}

.nav-desktop > li > a {
  display: block;
  font-family: var(--font-nav, "Oswald", sans-serif);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff;
  padding: 0 18px;
  line-height: 54px;
  transition: background-color 0.2s ease;
}

.nav-desktop > li > a:hover,
.nav-desktop > li:focus-within > a {
  background-color: var(--primary, #333792);
  color: #ffffff;
}

/* Dropdown Submenu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--accent, #08aae8);
  border-top: 3px solid var(--primary, #333792);
  min-width: 260px;
  list-style: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.nav-desktop > li:hover .dropdown-menu,
.nav-desktop > li:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  font-family: var(--font-nav, "Oswald", sans-serif);
  font-size: 13px;
  text-transform: uppercase;
  color: #ffffff;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

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

.dropdown-menu li a:hover {
  background-color: var(--primary, #333792);
  padding-left: 22px;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  padding: 12px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background-color: var(--accent, #08aae8);
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li a {
  display: block;
  font-family: var(--font-nav, "Oswald", sans-serif);
  font-size: 15px;
  text-transform: uppercase;
  color: #ffffff;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .mobile-sub-menu {
  padding-left: 15px;
  background-color: rgba(0, 0, 0, 0.1);
}

.mobile-nav .mobile-sub-menu a {
  font-size: 13px;
  padding: 8px 20px;
}

/* ---------- PAGE HEADER (SECTION 1 ON INTERNAL PAGES) ---------- */
header.page-header {
  background-color: rgb(245, 245, 245) !important;
  color: rgb(74, 74, 74) !important;
  padding-top: 34px !important;
  padding-bottom: 34px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid #e9e9e9;
  width: 100%;
  position: relative;
}

.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.page-header-title {
  font-family: var(--font-heading, "Open Sans", sans-serif);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  color: #333333;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
}

.site-breadcrumbs {
  font-size: 13px;
  color: #888888;
}

.site-breadcrumbs a {
  color: #888888;
}

.site-breadcrumbs a:hover {
  color: var(--accent, #08aae8);
  text-decoration: underline;
}

/* ---------- MAIN CONTENT AREA (SECTION 1 HOME, SECTION 2 INTERNAL) ---------- */
.site-main {
  width: 100%;
  margin: 0;
  padding: 0;
}

#content-wrap {
  width: 1200px;
  max-width: 90%;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0) !important;
}

#content-wrap.home-wrap {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

#content-wrap.internal-wrap {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

/* ---------- BANNER HERO SLIDER ---------- */
.hero-slider {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background-color: #000;
  margin-bottom: 40px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  min-height: 450px;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-content h1 {
  font-family: var(--font-heading, "Open Sans", sans-serif);
  font-size: 45px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
  font-family: var(--font-heading, "Open Sans", sans-serif);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 10px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s;
}

.slider-btn:hover {
  background: var(--accent);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

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

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.slider-dot.active {
  background: var(--accent);
}

/* ---------- BOTÕES PADRÃO (.button) ---------- */
.button, .btn-primary {
  display: inline-block;
  font-family: var(--font);
  background-color: var(--accent, #08aae8);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  padding: 12px 24px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  line-height: 1;
  transition: background-color 0.25s ease;
  text-decoration: none !important;
}

.button:hover, .btn-primary:hover {
  background-color: var(--primary, #333792);
  color: #ffffff !important;
}

/* ---------- SEÇÃO QUEM SOMOS (HOME) ---------- */
.section-quem-somos {
  padding: 70px 0;
}

.quem-somos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.quem-somos-img img {
  width: 100%;
  border-radius: 0;
}

.quem-somos-text h1, .quem-somos-text h2 {
  font-family: var(--font-heading, "Open Sans", sans-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--primary, #333792);
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.quem-somos-text p {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.quem-somos-btn-wrap {
  text-align: center;
  margin-top: 28px;
}

/* ---------- DESTAQUE PRODUTOS (HOME 2 CARDS) ---------- */
.section-featured-products {
  padding: 50px 0 60px;
  background-color: #e5f5ff;
}

.featured-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.product-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-card-img {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 20px;
}

.product-card-img img {
  width: 100%;
  max-height: 393px;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 0;
  text-align: center;
}

.product-card-body h3 {
  font-family: var(--font-heading, "Open Sans", sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.product-card-body p {
  font-size: 14px;
  line-height: 1.8;
  color: #4a4a4a;
  text-align: center;
  margin-bottom: 20px;
}

/* ---------- SEÇÃO PARCEIROS ---------- */
.section-parceiros {
  padding: 50px 0;
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  font-family: var(--font-heading, "Open Sans", sans-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary, #333792);
  margin: 0 0 36px;
}

.parceiros-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.parceiro-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 4px;
  border: 1px solid #eaeaea;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.parceiro-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.parceiro-item img {
  max-width: 170px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

.parceiros-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.parceiro-card {
  border: 1px solid #f2f2f2;
  background-color: #ffffff;
  padding: 20px 10px 0px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

/* ---------- SEÇÃO 3 CARDS INFORMATIVOS (HOME) ---------- */
.section-info-cards {
  padding: 60px 0 70px;
  background-image: url('/assets/img/bg-cristal-lub.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.info-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
}

.info-card-img {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 20px;
}

.info-card-img img {
  width: 100%;
  max-height: 393px;
  object-fit: cover;
  display: block;
}

.info-card-body {
  padding: 0;
}

.info-card-body h3 {
  font-family: var(--font-heading, "Open Sans", sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 16px;
  text-transform: uppercase;
}

/* ---------- PÁGINA QUEM SOMOS DETALHADA ---------- */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.pilar-card {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 0;
  border: 1px solid #e6e6e6;
  box-shadow: none;
}

.pilar-card h2 {
  font-family: var(--font-heading, "Open Sans", sans-serif);
  font-size: 22px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
  text-align: center;
  text-transform: none;
}

/* ---------- PÁGINA CATÁLOGO DE PRODUTOS ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.catalog-card {
  background-color: #f2f2f2;
  border: 1px solid #d8d8d8;
  padding: 20px 20px 0px 20px;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transition: all 0.2s ease;
}

.catalog-card:hover {
  background-color: #e8e8e8;
  border-color: #c0c0c0;
}

.catalog-card h2 {
  font-family: var(--font-heading, "Open Sans", sans-serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.3;
  text-align: center;
}

.catalog-card h2 a {
  display: block;
}

.catalog-card .title-primary {
  color: var(--primary, #333792);
}

.catalog-card .title-accent {
  color: var(--accent, #08aae8);
}

/* ---------- DETALHE DO PRODUTO (WORDPRESS FLOW) ---------- */
.entry {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.entry p {
  margin: 0 0 1.5em;
}

.alignleft {
  float: left;
  margin: 0 20px 20px 0;
  max-width: 100%;
  height: auto;
}

.alignright {
  float: right;
  margin: 0 0 20px 20px;
  max-width: 100%;
  height: auto;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.btn-voltar {
  margin-top: 20px;
}

/* ---------- PÁGINA CONTATO & FORMULÁRIO ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-form-wrap form p {
  margin-bottom: 16px;
}

.contact-form-wrap label {
  display: block;
  color: var(--primary, #333792);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--primary, #333792);
  border-radius: 3px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--primary, #333792);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  border-color: var(--accent, #08aae8);
  box-shadow: 0 0 0 3px rgba(8, 170, 232, 0.2);
}

.contact-map iframe {
  width: 100%;
  min-height: 600px;
  border: 0;
  border-radius: 4px;
}

.form-feedback {
  margin-top: 15px;
  padding: 12px;
  border-radius: 4px;
  font-weight: 600;
  display: none;
}
.form-feedback.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-feedback.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.hp {
  display: none !important;
}

/* ---------- FOOTER (SECTION 2 HOME / SECTION 3 INTERNAL) ---------- */
footer#footer.site-footer {
  margin: 0 !important;
  padding: 0 !important;
  background-color: rgb(51, 55, 146) !important;
  width: 100%;
  position: relative;
}

#footer-widgets, .footer-widgets {
  background-color: rgb(51, 55, 146) !important;
  color: #ffffff;
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-widget h3.widget-title {
  font-family: var(--font-nav, "Oswald", sans-serif);
  font-size: 16px;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-widget .vbar {
  color: var(--accent, #08aae8);
  font-weight: 700;
  margin-right: 6px;
}

.footer-widget p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-widget a {
  color: #ffffff;
}

.footer-widget a:hover {
  color: var(--accent, #08aae8);
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  max-width: 174px;
  height: auto;
}

#footer-bottom {
  background-color: rgb(255, 255, 255) !important;
  color: rgb(0, 0, 0) !important;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid #eeeeee;
}

#footer-bottom a {
  color: var(--primary, #333792);
  font-weight: 600;
}

#footer-bottom a:hover {
  text-decoration: underline;
}

#scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background-color: #4a525d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  z-index: 999;
  cursor: pointer;
  transition: all 0.25s ease;
}

#scroll-top:hover {
  background-color: var(--accent, #08aae8);
  color: #ffffff;
}

/* ---------- RESPONSIVIDADE (MOBILE / TABLET) ---------- */
@media (max-width: 992px) {
  .quem-somos-grid,
  .featured-products-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-cards-grid,
  .pilares-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content h2 {
    font-size: 24px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    text-align: center;
    height: auto;
    min-height: 252px;
    padding: 20px 0 10px;
    box-sizing: border-box;
    justify-content: center;
    gap: 15px;
  }

  .header-contacts {
    align-items: center;
  }

  .nav-bar {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    margin: 0 auto;
  }

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

  .page-header-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-slider {
    min-height: 380px;
  }
  .hero-slide.active {
    min-height: 380px;
  }

  .hero-content h1 {
    font-size: 26px;
  }
  .hero-content h2 {
    font-size: 20px;
  }

  #footer-widgets, .footer-widgets {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .footer-grid {
    gap: 36px;
  }
}
