:root {
  --header-h: 80px;
  --nav-h: 32px;
  --nav-gap: 16px;
}

/* #region 01 Header */
header {
  background: var(--Gradiente-light);
  color: var(--light);
  padding: 0 4%;
  padding-top: 0.2rem;
  position: fixed;
  width: 100%;
  min-height: var(--header-h);
  top: 0;
  z-index: 100;
  box-shadow: none;
  animation: fadeInDown 0.8s ease-out;
  transition: opacity 200ms ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1920px;
  margin: 0 auto;
  gap: 16px;
}

header.header--scrolled {
  opacity: 0.6;
}
/* Tamanho do título central no header */
.header-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}
/* #endregion */

/* #region  quem somos */

.about-hero-text {
  flex: 1 1 480px;
}
.about-hero-text h1 {
  margin: 0 0 8px 0;
  color: var(--primary);
  font-size: 2rem;
}
.about-hero-text .lead {
  color: var(--secondary);
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.about-hero-text {
  text-align: center;
}
.about-hero-text h1 {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.about-hero-text .lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
  max-width: 760px;
  text-align: center;
}
.about-hero-media {
  flex: 0 0 420px;
  text-align: right;
}
.about-hero-media img {
  width: 100%;
  max-width: 420px;
  border-radius: 2px;
  box-shadow: 0 8px 16px rgba(12, 18, 28, 0.06);
}

.about-hero-image {
  text-align: center;
  margin-top: 18px;
}
.about-hero-image img {
  width: 100%;
  max-width: 900px;
  border-radius: 2px;
  box-shadow: 0 8px 16px rgba(12, 18, 28, 0.06);
}

.about-values .container {
  max-width: 1200px;
  margin: 32px auto;
}
.section-title {
  text-align: center;
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.value-card {
  background: var(--light);
  padding: 18px;
  border-radius: 2px;
  box-shadow: var(--shadow) var(--accent);
}
.value-card h3 {
  margin: 0 0 8px 0;
  color: var(--primary);
}
.value-card p {
  margin: 0;
  color: var(--secondary);
  line-height: 1.5;
}

.about-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  text-align: center;
  margin-top: 12px;
}
.about-stats .stat {
  background: var(--light);
  padding: 18px;
  border-radius: 2px;
  box-shadow: none;
}
.about-stats .stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--primary);
}
.about-stats .stat span {
  color: var(--secondary);
}

.about-team .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.team-member {
  background: var(--light);
  padding: 12px;
  border-radius: 2px;
  text-align: center;
  box-shadow: var(--shadow) var(--accent);
}
.team-member img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 8px;
}
.team-member h4 {
  margin: 6px 0 4px 0;
  color: var(--primary);
}
.team-member p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.95rem;
}

.about-team .container {
  max-width: 1200px;
  margin: 16px auto 0 auto;
  padding: 0 5%;
}
.about-team .lead {
  text-align: center;
  margin: 0 auto 18px auto;
  max-width: 760px;
}
.about-team .team-grid {
  gap: 20px;
  margin-top: 20px;
}
.team-member {
  padding: 16px;
  margin-bottom: 32px;
}

.about-cta {
  background: var(--Gradiente-light);
  color: var(--light);
  padding: 28px;
  border-radius: 2px;
  margin-top: 28px;
  text-align: center;
}
.about-cta .lead {
  color: var(--light);
  margin-bottom: 12px;
}
.about-cta .button {
  margin: 6px;
}
/* #endregion */

/* #region Contact Page Styles (contato.php) */
.contact-page {
  padding: 32px 5%;
  max-width: 1200px;
  margin: 0 auto 48px auto;
}
.contact-hero {
  background: linear-gradient(
    120deg,
    rgba(24, 124, 242, 0.08),
    rgba(37, 211, 102, 0.06)
  );
  border-radius: 2px;
  padding: 36px 20px;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px rgba(16, 24, 40, 0.04);
}
.contact-hero-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.contact-hero h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--primary);
}
.contact-hero .lead {
  margin: 6px 0 0 0;
  color: var(--secondary);
  max-width: 640px;
}
.contact-hero-cta {
  margin-top: 12px;
}

.contact-content .contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.contact-grid {
  display: contents;
}
.contact-card,
.contact-form-card {
  background: var(--light);
  border-radius: 2px;
  padding: 20px;
  box-shadow: var(--shadow) var(--accent);
}
.contact-card h3 {
  margin-top: 0;
  color: var(--primary);
}
.contact-card p {
  color: var(--secondary);
  margin: 8px 0;
}
.contact-socials {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 2px;
  background: var(--Gradiente-light);
  color: var(--light);
  text-decoration: none;
}

.contact-form-card .alert {
  padding: 10px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
  font-weight: 700;
}
.contact-form-card .alert.success {
  background: #e6ffef;
  color: #046634;
}
.contact-form-card .alert.error {
  background: #ffecec;
  color: #9b1a1a;
}

.contact-intro {
  margin: 8px 0 18px 0;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.contact-intro h3 {
  margin: 0 0 8px 0;
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 700;
}
.contact-intro-sub {
  margin: 0;
  color: var(--secondary);
  line-height: 1.6;
  font-size: 1.05rem;
}

.contact-form-card {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid var(--primary);
  font-size: 0.95rem;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(12, 18, 28, 0.02);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.08);
}

.contact-form .form-row input,
.contact-form .form-row textarea {
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.contact-form .form-row input:hover,
.contact-form .form-row textarea:hover {
  border-color: var(--accent);
}
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
}
.button.primary {
  background: var(--Gradiente-light);
  color: var(--light);
}
.button.outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.button:hover {
  transform: translateY(-3px);
}

/* Vídeos section */
.videos-section {
  padding: 32px 5%;
}
.videos-container {
  max-width: 1200px;
  margin: 0 auto;
}
.videos-section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 16px;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(
    3,
    minmax(240px, 1fr)
  ); /* 3 colunas no desktop */
  gap: 1rem 2rem; /* row-gap 1rem, column-gap 2rem */
  justify-items: center;
  align-items: start;
}
.video-card {
  background: var(--light);
  width: 100%;
  max-width: 340px;
  height: 220px; /* card compacto: vídeo + título */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 6px 18px rgba(12, 18, 28, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  margin-bottom: 8px;
}

/* Vídeo destaque da semana (maior: ~2x) */
.video-card.featured {
  max-width: 720px !important;
  height: 460px !important;
}

@media (max-width: 992px) {
  .video-card.featured {
    max-width: 100% !important;
    height: 360px !important;
  }
}

@media (max-width: 600px) {
  .video-card.featured {
    height: 260px !important;
  }
}
.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 24px rgba(12, 18, 28, 0.08);
}
.video-card video {
  flex: 1 1 auto; /* ocupa o espaço restante do card */
  width: 100%;
  min-height: 0; /* permite que o flexbox respeite o espaço do título */
  object-fit: cover; /* preenche sem distorcer */
  display: block;
  background: #000;
  height: auto; /* evita que o vídeo ocupe toda a altura do card e esconda o título */
}
.video-title {
  flex: 0 0 36px; /* altura fixa para o título */
  height: 36px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px; /* tamanho pequeno conforme solicitado */
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: rgba(255, 255, 255, 0.95);
  z-index: 5;
}

/* Responsividade: manter cards compactos em telas menores */
@media (max-width: 1024px) {
  .video-card:not(.featured) {
    height: 220px;
  }
}
@media (max-width: 600px) {
  .video-card:not(.featured) {
    height: 220px;
  }
  /* vídeo usa flex:1 então ocupa todo espaço restante automaticamente */
}

/* Tablet: 2 columns */
@media (max-width: 992px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-title {
    height: 36px;
    font-size: 12px;
  }
}

/* Mobile: 1 column and consistent title size */
@media (max-width: 600px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .video-title {
    height: 36px;
    font-size: 12px;
  }
  .videos-section {
    padding: 20px 4%;
  }
}

.contact-map {
  margin-top: 18px;
}
.contact-map h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.contact-map {
  margin-top: 18px;
  display: block;
}
.contact-map .map-card {
  background: var(--light);
  border-radius: 0px;
  padding: 12px;
  box-shadow: 0 8px 16px rgba(12, 18, 28, 0.06);
  overflow: hidden;
}
.contact-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 0px;
  display: block;
  box-shadow: 0 8px 20px rgba(12, 18, 28, 0.06);
}
.contact-map .map-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.contact-map .map-actions .btn {
  padding: 8px 12px;
  border-radius: 2px;
  background: var(--Gradiente-light);
  color: var(--light);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow) var(--accent);
}
/* #endregion */

/* #region 01b Navbar */
.main-nav {
  background: var(--light);
  box-shadow: var(--shadow) var(--accent);
  padding: 6px 4%;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 100;
  margin-top: 0;
  --nav-h: 32px;
  min-height: var(--nav-h);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  line-height: 32px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--accent);
}

.main-nav + .hero-slider {
  margin-top: calc(var(--header-h) + var(--nav-gap, 0px) + var(--nav-h));
}

/* spacer global: reserva espaço para header + main-nav para páginas sem hero-slider */
.site-top-spacer {
  height: calc(var(--header-h) + var(--nav-gap, 0px) + var(--nav-h));
  width: 100%;
  display: block;
}

.logo-image {
  height: 72px;
  margin: 0;
  padding-top: 4px;
  object-fit: contain;
  transition: height 0.2s ease;
}
.logo i {
  display: flex;
  align-items: center;
  margin: 0;
  flex: 0 0 auto;
  padding: 0;
}

.fas {
  color: var(--accent);
  text-shadow: var(--shadowtx) var(--primary);
}

.search-container {
  flex: 0 0 400px;
  max-width: 400px;
  margin: 0 0 0 20px;
}

.search-form {
  display: flex;
  position: relative;
  width: 100%;
}

.header-tagline {
  flex: 1 1 auto;
  text-align: center;
  color: var(--light);
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.search-input {
  width: 100%;
  padding: 8px 15px;
  padding-right: 40px;
  border: none;
  border-radius: 30px;
  font-size: 0.9rem;
  background-color: var(--light);
  box-shadow: 0 2px 10px var(--shadow);
}

.search-input:focus {
  outline: none;
  box-shadow: 0 2px 16px var(--shadow);
  background-color: var(--light);
}

.search-button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 40px;
  border: none;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  border-radius: 0 30px 30px 0;
}

.search-button:hover {
  color: var(--secondary);
  background-color: var(--primary);
}

/* #endregion */

/* #region 02 Hero Slider */

.hero-slider {
  margin-inline: 8px;
  height: calc(
    100vh - (var(--header-h) + var(--nav-gap, 0px) + var(--nav-h) + 16px)
  );
  max-height: 512px;
}
.slider-container {
  position: relative;
  height: 100%;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide {
  min-width: 100%;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Controles */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.slider-prev {
  left: 32px;
}

.slider-next {
  right: 32px;
}

.slider-prev:hover,
.slider-next:hover,
.fas:hover {
  background: var(--primary);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}
/* #endregion */

/* #region 02b Mini Cards Navegação */
.mini-cards {
  padding: 16px 5% 32px 5%;
}

.mini-cards-container {
  max-width: 1920px;
  margin: 0 auto;
}

/* Centraliza e aplica cor primária ao título dos mini-cards (seção Categorias) */
.mini-cards-container h2,
#section-title-atalhos {
  text-align: center;
  color: var(--primary);
  margin-bottom: 16px;
}

.mini-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.mini-card {
  position: relative;
  overflow: hidden;
  min-height: 120px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  box-shadow: var(--shadow) var(--accent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mini-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.18);
}

.mini-card-content {
  position: absolute;
  inset: auto 10px 10px 10px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
}

.mini-card-button {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  background: var(--Gradiente-light);
  color: var(--light);
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: normal;
  text-align: center;
}
.mini-card-button:hover {
  transform: translateY(-2px);
  background: var(--gradient-accent);
  color: var(--dark);
}
/* #endregion */

/* #region 03 Products Semanais */
.products {
  padding: 32px 5%;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
}
#section-title {
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  font-weight: 700;
  position: relative;
}
#section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.product-card {
  background: var(--light);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow) var(--accent);
  transition: all 0.3s ease;
  transform: translateY(20px);
  width: 100%;
  max-width: 360px;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px var(--accent);
}

.product-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--Gradiente-light);
  color: var(--light);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary);
  color: var(--light);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

.product-info {
  padding: 1.4rem;
}

.product-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.product-price {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.product-desc {
  color: var(--secondary);
  font-size: 0.92rem;
  line-height: 1.35;
  margin: 0 0 0.6rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: calc(1.35em * 3);
}

.current-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary);
}

.original-price {
  font-size: 1rem;
  color: var(--secondary);
  text-decoration: line-through;
  margin-left: 10px;
}

.discount {
  background-color: var(--primary);
  color: var(--light);
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-left: 10px;
}

.product-rating {
  color: var(--accent);
  margin-bottom: 1rem;
}

.product-button {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  background: var(--Gradiente-light);
  color: var(--light);
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  pointer-events: auto !important;
  user-select: none !important;
}

.product-button:hover {
  background: var(--gradient-accent);
  transform: translateY(-2px);
  color: var(--dark);
}
/* #endregion */

/* #region 03b Social Section */
.social-section {
  padding: 24px 5% 8px 5%;
}

.social-container {
  max-width: 1200px;
  margin: 0 auto;
}

#section-title-social {
  color: var(--primary);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  position: relative;
}

#section-title-social::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.social-section .social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.social-section .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 1.35rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.social-section .social-icons a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  filter: brightness(1.05);
}

/* Cores por rede */
.social-section .social-icons a.social-facebook {
  background: #1877f2;
}
.social-section .social-icons a.social-instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}
.social-section .social-icons a.social-whatsapp {
  background: #25d366;
}
.social-section .social-icons a.social-youtube {
  background: #ff0000;
}
.social-section .social-icons a.social-tiktok {
  background: #000;
}

/* removed non-standard @media (max-width:480px) for social icons; consolidated into unified mobile query */
/* #endregion */

/* #region 03b Product Detail View */
.product-view {
  padding: 32px 5%;
}

.pv-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pv-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.pv-gallery {
  background: var(--light);
  border-radius: 8px;
  box-shadow: var(--shadow) var(--accent);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.pv-main {
  border-radius: 8px;
  overflow: hidden;
  height: 512px;
  flex: 0 0 auto;
}

.pv-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #fff;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.pv-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  gap: 8px;
  padding-bottom: 2px;
}

.pv-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.pv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-thumb.active {
  border-color: var(--accent);
}

.pv-info {
  background: var(--light);
  border-radius: 8px;
  box-shadow: var(--shadow) var(--accent);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.pv-flow {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
}

.pv-flow > * {
  margin: 0 !important;
}

.pv-title {
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: calc(1.25em * 2);
}

.pv-desc {
  color: var(--secondary);
  line-height: 1.5;
  margin: 0 0 1rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-rating {
  color: var(--accent);
  margin-bottom: 1rem;
}

.pv-price {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  justify-content: space-between;
}

.pv-specs-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--accent);
}

.pv-current {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.pv-original {
  font-size: 1rem;
  color: var(--secondary);
  text-decoration: line-through;
}

.pv-discount {
  background-color: var(--primary);
  color: var(--light);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pv-actions {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.4rem !important; /* adiciona separação leve acima das ações (desktop/tablet) */
}

/* (móvel) Espaçamento entre ações (Comprar / Voltar) e especificações técnicas
   A regra foi movida para o bloco mobile para não afetar desktop/tablet */

.pv-buy,
.pv-back {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pv-buy {
  background: var(--Gradiente-light);
  color: var(--light);
}

.pv-back {
  background: rgba(0, 0, 0, 0.06);
  color: var(--dark);
}

.pv-buy:hover {
  transform: translateY(-2px);
  background: var(--gradient-accent);
  color: var(--dark);
}

.pv-back:hover {
  transform: translateY(-2px);
}

.pv-note {
  color: var(--secondary);
  font-size: 0.95rem;
}

/* Descrição técnica */
.pv-specs {
  background: var(--primary);
  color: var(--light);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin: 0 0 1rem 0;
  line-height: 1.45;
  /* Exibir exatamente 7 itens via CSS (sem cortar por altura) */
  max-height: none;
  overflow: visible;
  box-shadow: var(--shadow) var(--accent);
}

.pv-specs-list {
  list-style: decimal inside;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

@media (min-width: 1025px) {
  .pv-specs-list {
    display: grid;
    gap: 0.2rem;
  }
  .pv-specs-list li {
    break-inside: auto;
    -webkit-column-break-inside: auto;
    page-break-inside: auto;
  }
}

.pv-specs-list li {
  margin: 0;
  padding: 0;
}

.pv-specs-list li:nth-child(n + 10) {
  display: none;
}

.pv-empty {
  text-align: center;
  background: var(--light);
  border-radius: 8px;
  box-shadow: var(--shadow) var(--accent);
  padding: 2rem;
}

/* removed non-standard @media (max-width:768px) for pv-grid/pv-gallery — consolidated into unified queries */
/* #endregion */

/* #region 04 Features */
.features {
  background-color: var(--light);
  padding: 32px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

#section-title01 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
}

#section-title01::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--light);
  border-radius: 2px;
  padding: 2rem;
  box-shadow: var(--shadow) var(--accent);
  transition: all 0.3s ease;
  text-align: center;
  transform: translateY(20px);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px var(--accent);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.feature-icon .fas,
.feature-icon .fas:hover,
.feature-icon i,
.feature-icon i:hover {
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.feature-card p {
  color: var(--dark);
  line-height: 1.6;
}
/* #endregion */

/* #region 05 WhatsApp  */
.whatsapp-cta {
  background: var(--Gradiente-light);
  color: var(--light);
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-out;
  margin: 0 auto 32px;
  display: flex;
  min-height: 180px;
  height: auto;
  padding: 20px 5%;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  margin-top: 16px;
  background-image: url("../image/img01.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  --whatsapp-overlay: rgba(0, 0, 0, 0.45);
}

.whatsapp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--whatsapp-overlay);
  pointer-events: none;
  z-index: 1;
  transition: background-color 180ms ease, opacity 180ms ease;
}

.whatsapp-cta .whatsapp-container,
.whatsapp-cta .whatsapp-content {
  position: relative;
  z-index: 2;
}

.whatsapp-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.whatsapp-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.whatsapp-title {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--light);
  text-shadow: var(--shadowtx) var(--primary);
  animation: slideInDown 0.8s ease-out;
}

.whatsapp-text {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  animation: fadeIn 1s ease-out 0.3s both;
}

.whatsapp-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-out 0.6s both;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 245, 249, 0.2);
  border-radius: 2px;
  padding: 4px 10px;
  font-weight: bold;
  color: var(--light);
  text-shadow: var(--shadowtx) var(--primary);
  animation: pulse 2.4s infinite;
  font-size: 0.9rem;
  text-align: center;
}

.benefit-item:hover {
  background: var(--Gradiente-light);
  transform: translateY(-3px);
}

.benefit-item i {
  color: var(--accent);
  font-size: 1.2rem;
}

.whatsapp-button {
  display: block;
  padding: 8px 24px;
  font-size: 0.9rem;
  margin-top: 0;
  box-shadow: var(--shadow) var(--accent);
  animation: pulse 2s infinite 1s, fadeIn 1s ease-out 0.9s both;
  border: none;
  background: var(--Gradiente-light);
  color: var(--light);
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  line-height: inherit;
  width: 100%;
  max-width: 320px;
  min-width: 160px;
  margin: 0 auto;
}

.whatsapp-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow) var(--primary);
  background: var(--gradient-accent);
  color: var(--dark);
}

.whatsapp-button i {
  font-size: 1.5rem;
}

/* #endregion */

/* #region 06 Products Mensais*/
.products-mensais {
  padding: 32px 5%;
}

.products-mensais-container {
  max-width: 1200px;
  margin: 0 auto;
}

#section-title-mensais {
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  font-weight: bold;
  position: relative;
}

#section-title-mensais::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.products-mensais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 0.2rem;
  justify-items: center;
}

.product-mensal-card {
  background: var(--light);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  width: 100%;
  max-width: 210px;
  min-width: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 240px;
}

.product-mensal-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.product-mensal-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px var(--accent);
  z-index: 2;
}

.product-mensal-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary);
  color: var(--light);
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}

.product-mensal-info {
  padding: 0.5rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  height: 100%;
}

.product-mensal-title {
  font-size: 0.85rem;
  color: var(--dark);
  line-height: 1.2;
  font-weight: bold;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.4em;
}

.product-mensal-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  row-gap: 0.1rem;
}

.current-mensal-price {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
}

.original-mensal-price {
  font-size: 0.8rem;
  color: var(--secondary);
  text-decoration: line-through;
}

.mensal-discount {
  background-color: var(--primary);
  color: var(--light);
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
}

.product-mensal-rating {
  color: var(--accent);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-mensal-button {
  display: block;
  width: 100%;
  padding: 6px 0;
  border: none;
  background: var(--Gradiente-light);
  color: var(--light);
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  font-size: 0.85rem;
  margin-top: auto;
}

.product-mensal-button:hover {
  background: var(--gradient-accent);
  transform: translateY(-2px);
  color: var(--dark);
}

/* Botão pequeno "Ver" ao lado das estrelas */
.product-mensal-view {
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--Gradiente-light);
  color: var(--light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.7rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.product-mensal-view:hover {
  background: var(--gradient-accent);
  color: var(--dark);
  transform: translateY(-1px);
}
/* #endregion */

/* #region 07 Testimonials */
.testimonials {
  padding: 32px 5%;
  background: var(--Gradiente-light);
  color: var(--light);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

#section-title02 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--light);
  position: relative;
}

#section-title02::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--light);
  backdrop-filter: blur(10px);
  border-radius: 2px;
  padding: 2rem;
  transition: all 0.3s ease;
  transform: none;
  animation: testimonialFadeIn 0.8s ease;
}

.testimonial-card.animated {
  transform: translateY(0);
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-text {
  color: var(--dark);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--secondary);
}
/* #endregion */

/* #region 08 Final CTA */
.final-cta {
  text-align: center;
  background: var(--Gradiente-light);
  color: var(--light);
  margin: 64px auto;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background-image: url("../image/img02.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  --finalcta-overlay: rgba(0, 0, 0, 0.45);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--finalcta-overlay);
  pointer-events: none;
  z-index: 1;
  transition: background-color 180ms ease, opacity 180ms ease;
}

#pelicula-cta {
  padding: 32px 5%;
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  margin-bottom: 3rem;
  text-align: center;
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--light);
  position: relative;
}
.final-cta h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}
.final-cta p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

#cta-button {
  display: block;
  margin: 0 auto;
  padding: 10px;
  border: none;
  background: var(--Gradiente-light);
  color: var(--light);
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  pointer-events: auto !important;
  user-select: none !important;
  width: 100%;
  max-width: 320px;
  min-width: 160px;
}

#cta-button:hover {
  background: var(--gradient-accent);
  transform: translateY(-2px);
  color: var(--dark);
}
/* #endregion */

/* #region 08b Footer Avançado */
.footer-adv {
  background: var(--gradient-dark);
  color: var(--light);
  padding: 32px 5% 16px 5%;
}

.footer-adv-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  margin: 0 0 12px 0;
  font-size: 1.1rem;
  color: var(--light);
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links-list a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-adv-zap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-adv-zap:hover {
  filter: brightness(1.05);
}

.footer-adv-note {
  margin: 8px 0 0 0;
  font-size: 0.9rem;
  color: var(--secondary);
}

/* (removido) bloco social do footer-adv */

/* removed non-standard @media (max-width:768px) for footer-adv-grid; handled by unified mobile query */
/* #endregion */

/* #region 09 Footer */
footer {
  background: var(--dark);
  color: var(--light);
  padding: 0.8rem 5%;
  border-top: 1px solid var(--accent);
  text-align: center;
}

.copyright {
  color: var(--light);
  font-size: 0.9rem;
}

#copylink {
  color: var(--secondary);
  font-size: 0.9rem;
  text-decoration: none;
}

#copylink:hover {
  color: var(--accent);
}
/* #endregion */

/* #region Animations */
@keyframes pulseSoft {
  0% {
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
  }
  100% {
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.3));
  }
}
@keyframes testimonialFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0px 0px 1px var(--accent);
  }
  50% {
    box-shadow: 0px 0px 4px var(--accent);
  }
  100% {
    box-shadow: 0px 0px 1px var(--accent);
  }
}
/* #endregion */

/* #region Responsive  */

@media (min-width: 1025px) and (max-width: 1920px) {
  /* Header / logo */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.2rem 4%;
  }
  .header-container {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .logo-image {
    height: 72px;
    max-width: 140px;
  }
  /* header/nav height variables for layout calculations */
  :root {
    --header-h: 80px;
    --nav-h: 64px;
  }
  .header-tagline {
    display: block;
  }
  .search-container {
    flex: 0 0 400px;
    max-width: 400px;
  }

  /* Navbar */
  .main-nav {
    padding: 6px 4%;
    /* restaurar gap visual entre header e nav apenas no desktop */
    margin-top: var(--nav-gap, 16px);
  }
  .nav-list a {
    height: 32px;
    line-height: 32px;
    font-size: 1rem;
  }

  /* Hero */
  .hero-slider {
    height: calc(
      100vh - (var(--header-h) + var(--nav-gap, 4px) + var(--nav-h))
    );
    max-height: 512px;
  }
  /* Desktop: força 5 mini-cards por linha (5+5) (aplica apenas à seção de atalhos)
     - usa grid com 5 colunas igualitárias; keep responsive elsewhere */
  .mini-cards-container {
    max-width: 100%;
  }
  .mini-cards-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 12px;
  }
  .mini-card {
    min-height: 110px;
  }
  /* (restored) product grid uses base rules (grid auto-fit) to preserve original layout */
}

@media (min-width: 769px) and (max-width: 1024px) {
  header {
    position: fixed;
    padding: 6px 3%;
  }
  .header-container {
    max-width: 1100px;
    gap: 12px;
  }
  .logo-image {
    height: 48px;
    max-width: 160px;
  }
  :root {
    --header-h: 72px;
    --nav-h: 64px;
  }
  .header-tagline {
    display: none;
  }
  .search-container {
    flex: 0 0 320px;
    max-width: 320px;
  }

  .main-nav {
    padding: 5px 3%;
  }
  .nav-list {
    gap: 10px;
  }
  .nav-list a {
    font-size: 0.95rem;
    padding: 6px 12px;
  }

  .hero-slider {
    margin-top: calc(var(--header-h) + var(--nav-gap, 4px) + var(--nav-h));
    height: calc(
      100vh - (var(--header-h) + var(--nav-gap, 4px) + var(--nav-h))
    );
    max-height: 420px;
  }
  .pv-main {
    height: 420px;
  }
}

@media (min-width: 320px) and (max-width: 768px) {
  :root {
    /* aumentar para abarcar tagline + logo + search empilhados no mobile */
    --header-h: 56px;
    --nav-h: 32px;
    --nav-gap: 4px;
  }

  html,
  body {
    overflow-x: hidden;
  }

  header,
  .header-container {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    padding-inline: 2%;
  }

  .header-container > * {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Header */
  header {
    padding: 0;
    padding-top: 0.1rem;
    position: fixed;
    min-height: var(--header-h);
    width: 100%;
    top: 0;
    z-index: 100;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    margin: 0 auto;
    padding: 3px 2px;
    text-align: center;
  }

  .header-tagline {
    display: block;
    text-align: center;
    color: var(--light);
    font-size: 0.95rem;
    white-space: normal;
    width: 100%;
  }
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 40px;
    overflow: hidden;
  }

  .logo-image {
    display: block;
    flex: 0 0 auto; /* não permitir que o container cresça no flex parent */
    height: 100%;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
    padding: 0;
  }

  /* Override forte para qualquer imagem dentro do .logo: respeitar altura e manter proporção */
  .logo img,
  .logo > img,
  .logo .logo-image,
  .logo .logo-image img,
  .logo img[style] {
    width: auto !important;
    height: auto !important;
    max-height: 100% !important;
    max-width: 100% !important;
    display: inline-block !important;
    object-fit: contain !important;
  }

  /* reforço final: garantir que a imagem não seja forçada a 100% de largura */
  .logo img[width],
  .logo img[height] {
    width: auto !important;
    height: auto !important;
    max-height: 100% !important;
  }

  /* Regra específica final para garantir que a logomarca respeite a altura do .logo (40px) no mobile */
  header.header--scrolled ~ header, /* fallback, não remove */
  header {
    /* noop to keep selector specificity group */
  }
  header .header-container .logo > a > img.logo-image {
    max-height: 40px !important;
    height: auto !important;
    width: auto !important;
    max-width: none !important;
    display: inline-block !important;
    object-fit: contain !important;
    vertical-align: middle !important;
  }

  .search-container {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 92%;
    max-width: 256px;
    padding: 0;
    height: 28px;
    order: 99;
    align-self: center;
    display: flex;
    justify-content: center;
  }

  .search-form {
    width: 100%;
    max-width: 100%;
    height: 28px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
  }

  .search-form,
  .search-input,
  .search-button {
    box-sizing: border-box;
  }

  .search-input {
    font-size: 0.9rem;
    padding: 0 12px;
    width: calc(100% - 40px);
    height: 100%;
    border-radius: 20px;
  }

  .search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    border: none;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    border-radius: 0 20px 20px 0;
  }

  /* Navbar */
  .main-nav {
    display: flex;
    top: calc(var(--header-h) + 52px);
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    z-index: 110;
  }

  .nav-container {
    justify-content: center !important;
    align-items: center;
    padding: 0;
  }
  .nav-list {
    width: 100%;
    justify-content: center !important;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  .nav-list li {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .nav-list a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    font-size: 0.9rem;
    padding: 4px;
    line-height: normal;
    white-space: normal;
    text-align: center;
  }

  /* Hero */
  .hero-slider {
    position: relative;
    z-index: 1;
    margin-inline: 8px;
    height: calc(
      100vh - (var(--header-h) + var(--nav-h) + var(--nav-gap) + 16px)
    );
    max-height: 256px;
  }
  /* reset de espaçamentos e forçar alinhamento para mobile */
  .hero-slider,
  .slider-container,
  .slider-track,
  .slide {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Footer adv: two columns on tablet for better layout */
  .footer-adv-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .slider-track {
    align-items: stretch; /* garante que os slides preencham a altura */
  }
  .slide img {
    object-position: top center; /* alinha a imagem ao topo para evitar área branca acima */
  }
  /* remove gaps causados por linha em elementos inline dentro do container do slider */
  .slider-container {
    line-height: 0;
  }
  .slide {
    min-width: 100%;
    position: relative;
    height: 100%; /* garante que o slide ocupe toda a altura do container */
    overflow: hidden; /* evita espaços visíveis caso a imagem não preencha exatamente */
  }

  .slide img {
    display: block; /* remove gaps inline gerados por imagens como elementos inline */
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* Mobile: empilhar galeria acima das infos em ver.php (pv-grid) */
  .pv-grid,
  .product-view .pv-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  /* Mantemos o container da imagem com altura fixa e a imagem se ajusta via object-fit
     para evitar que imagens de tamanhos diferentes quebrem o layout ao trocar thumbs. */
  .pv-main {
    height: 320px !important;
    min-height: 240px !important;
  }
  .pv-main img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
  }
  /* Espaçamento móvel entre ações (Comprar / Voltar) e especificações técnicas */
  .pv-info .pv-actions {
    margin-top: 1.6rem !important;
  }
  /* Tornar botões um pouco menores no celular para evitar que ocupem muito espaço */
  .pv-buy,
  .pv-back {
    padding: 8px 12px;
    font-size: 0.95rem;
  }
  /* Ajustes móveis para seção Quem Somos e valores */
  .about-values .container .value-card {
    margin: 0 12px 24px 12px !important; /* separa cards de Missão/Visão/Valores no mobile e afasta das bordas */
    display: block !important;
  }
  .about-values .container {
    padding-bottom: 12px; /* garante espaçamento inferior do container no mobile */
    padding-top: 12px !important;
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
  .about-hero .about-hero-image img,
  .about-hero-image img {
    display: block;
    /* margem vertical existente + margem lateral específica para mobile */
    margin: 24px 12px !important; /* top/bottom 24px, left/right 12px */
    width: calc(
      100% - 24px
    ) !important; /* respeita as margens laterais no mobile */
    height: auto !important;
    box-sizing: border-box !important;
  }
  .about-team .team-grid .team-member {
    margin-bottom: 32px !important; /* reforça margem inferior entre cards no mobile */
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    box-sizing: border-box !important;
  }
  /* garantir espaçamento superior geral da página about no mobile */
  .about-page {
    padding-top: 8px !important;
  }
  .slider-prev,
  .slider-next {
    width: 32px;
    height: 32px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .products-grid,
  .products-mensais-grid,
  .features-grid,
  .testimonials-grid,
  .footer-adv-grid {
    grid-template-columns: 1fr;
  }

  /* Forçar 2 colunas nas categorias (mini-cards) no mobile para melhor leitura */
  .mini-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .product-mensal-card {
    min-height: 220px;
  }

  /* override do spacer para mobile (incluir deslocamento extra usado no cálculo mobile) */
  .site-top-spacer {
    height: calc(
      var(--header-h) + 52px + var(--nav-h) + var(--nav-gap) + 16px
    ) !important;
  }
}

/* #endregion */
