/* VARIÁVEIS MODERNAS */
:root {
  --blue-dark: #0a1f33;
  --blue-main: #144b75;
  --blue-light: #44779e;
  --yellow-main: #f5b700;
  --yellow-hover: #e0a700;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html {
  scroll-behavior: smooth;
  touch-action: manipulation;
}
body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  touch-action: manipulation;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
} /* Remove sublinhado global */
.bg-light {
  background-color: var(--bg-white);
}

/* BOTÕES (Cores Sólidas, sem gradiente/sombra no texto) */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  text-decoration: none !important;
}
.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}
.btn-yellow {
  background-color: var(--yellow-main);
  color: var(--blue-dark);
}
.btn-yellow:hover {
  background-color: var(--yellow-hover);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
}
.btn-whatsapp:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
}
.w-100 {
  width: 100%;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  background: var(--blue-dark);
  border-bottom: none;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.logo {
  flex-shrink: 0;
}
.logo img {
  max-height: 40px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.btn-cart-header .btn-cart-label {
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}
.header.scrolled .nav-toggle,
.bg-light .header .nav-toggle {
  background: #eff6ff;
  color: var(--blue-dark);
}
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.nav-menu {
  display: flex;
  align-items: center;
}
.nav-menu a {
  color: #fff;
  margin: 0 15px;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s;
  opacity: 0.8;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--yellow-main);
  opacity: 1;
}
.nav-close {
  display: none;
}
body.nav-open,
body.modal-open {
  overflow: hidden;
}
.bg-light .header .nav-menu a {
  color: var(--text-dark);
}
.bg-light .header .nav-menu a:hover,
.bg-light .header .nav-menu a.active {
  color: var(--blue-main);
}

/* HERO SECTION (Esquerda Texto, Direita Foto Inclinada) */
.hero {
  background: var(--blue-dark);
  color: #fff;
  padding: 160px 0 100px;
}
.hero-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-text {
  flex: 1;
  text-align: left;
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.hero-tag {
  display: inline-block;
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--yellow-main);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}
.text-yellow {
  color: var(--yellow-main);
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero-benefits {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}
.benefit-item i {
  color: var(--yellow-main);
}

/* A MÁGICA DA IMAGEM INCLINADA */
.image-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 4px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 550px;
  transform: rotate(-3deg); /* A inclinação que você gostou */
  transition: transform 0.5s ease;
}
.image-wrapper:hover {
  transform: rotate(0deg) scale(1.02); /* Retorna ao eixo zero ao passar o mouse */
}
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ESTATÍSTICAS */
.stats-bar {
  background: var(--bg-white);
  padding: 40px 0;
  border-bottom: 1px solid #e2e8f0;
}
.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
  gap: 20px;
}
.stat-box {
  flex: 1 1 140px;
  min-width: 120px;
}
.stat-box h3,
.stat-number {
  font-size: 2.5rem;
  color: var(--blue-main);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  min-height: 1.2em;
}
.stat-box p {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* TÍTULOS GERAIS */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-title {
  color: var(--blue-dark);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 15px;
}

/* CATEGORIAS E PRODUTOS */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--bg-white);
  border: 1px solid #e2e8f0;
  padding: 10px 20px;
  border-radius: 50px;
  color: var(--text-light);
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--blue-dark);
  color: #fff;
  border-color: var(--blue-dark);
}

.produtos {
  padding: 80px 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}
.product-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 15px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #e2e8f0;
}
.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  background: #f1f5f9;
}
.product-cat {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.product-name {
  font-size: 16px;
  margin-bottom: 8px;
  flex-grow: 1;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.4;
}
.product-variants-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.4;
}
.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 15px;
}
.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-dark);
}
.price-consulta {
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.02em;
  text-transform: none;
}
.product-price .price-consulta {
  font-size: 12px;
}
.product-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.btn-add-primary {
  background: var(--blue-main);
  color: #fff;
}
.btn-add-primary:hover {
  background: var(--blue-dark);
  color: #fff;
}
.catalog-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
  color: #64748b;
}
.cart-empty {
  text-align: center;
  padding: 40px 0;
  color: #cbd5e1;
}
.cart-empty i {
  font-size: 40px;
  margin-bottom: 10px;
}
.cart-item-info small,
.cart-item-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.45;
}
.cart-item-info h4 {
  line-height: 1.35;
  word-break: break-word;
}
.frete-info {
  color: var(--blue-light);
  font-weight: normal;
  font-size: 11px;
  display: block;
}
.frete-opcoes {
  margin: 12px 0 4px;
}
.frete-opcoes-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
}
.frete-opcoes-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
}
.frete-opcoes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 2px;
}
.frete-opcao {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.frete-opcao:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.frete-opcao.active {
  border-color: var(--blue-main);
  background: #eff6ff;
  box-shadow: 0 0 0 1px rgba(30, 77, 140, 0.15);
}
.frete-opcao-check {
  color: #cbd5e1;
  font-size: 18px;
  flex-shrink: 0;
}
.frete-opcao.active .frete-opcao-check {
  color: var(--blue-main);
}
.frete-opcao-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.frete-opcao-nome {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}
.frete-opcao-prazo {
  font-size: 11px;
  color: var(--text-light);
}
.frete-opcao-preco-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.frete-opcao-preco {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
}
.frete-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 4px;
}
.btn-add {
  background: var(--bg-light);
  color: var(--blue-main);
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 600;
  font-size: 13px;
}
.btn-add:hover {
  background: var(--blue-main);
  color: #fff;
}

/* DIFERENCIAIS */
.diferenciais {
  padding: 80px 0;
}
.grid-diferenciais {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.dif-card {
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: 0.3s;
}
.dif-card:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.dif-card i {
  font-size: 2.5rem;
  color: var(--yellow-main);
  margin-bottom: 20px;
}
.dif-card h4 {
  color: var(--blue-dark);
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}
.dif-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* DEPOIMENTOS */
.depoimentos {
  padding: 80px 0;
  background: var(--blue-dark);
  color: #fff;
}
.depoimentos .section-title {
  color: #fff;
}
.grid-depoimentos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.depoimento-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 16px;
}
.stars {
  color: var(--yellow-main);
  margin-bottom: 15px;
  font-size: 14px;
}
.depoimento-card p {
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
}
.depoimento-card strong {
  display: block;
  color: var(--yellow-main);
  font-size: 16px;
}
.depoimento-card span {
  font-size: 12px;
  opacity: 0.7;
}

/* PÁGINA TRABALHE CONOSCO */
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
}
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.file-upload-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 16px;
  border-radius: 10px;
}
.cv-upload-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 12px;
}
.cv-upload-label .required-mark {
  color: #dc2626;
}
.cv-upload-zone {
  position: relative;
  border: 2px dashed #94a3b8;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.cv-upload-zone.is-dragover {
  border-color: var(--primary);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(30, 77, 140, 0.12);
}
.cv-upload-zone.has-file {
  border-style: solid;
  border-color: #16a34a;
  background: #f0fdf4;
}
.cv-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cv-upload-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 16px;
  cursor: pointer;
  text-align: center;
  margin: 0;
}
.cv-upload-icon {
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
}
.cv-upload-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.cv-upload-hint {
  font-size: 12px;
  color: var(--text-light);
}
.cv-upload-selected {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}
.cv-upload-selected[hidden] {
  display: none !important;
}
.cv-file-icon {
  font-size: 2.2rem;
  color: #16a34a;
  flex-shrink: 0;
}
.cv-file-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cv-file-meta strong {
  font-size: 14px;
  color: var(--text-dark);
  word-break: break-all;
}
.cv-file-meta span {
  font-size: 12px;
  color: #15803d;
  font-weight: 600;
}
.cv-remove-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #fee2e2;
  color: #b91c1c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}
.cv-remove-btn:hover {
  background: #fecaca;
}

/* MODAL CARRINHO */
.cart-modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;
  justify-content: flex-end;
  transition:
    right 0s 0.4s,
    opacity 0.4s ease;
  opacity: 0;
}
.cart-modal-overlay.active {
  right: 0;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.cart-sidebar {
  width: 100%;
  max-width: 400px;
  background: var(--bg-white);
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.cart-modal-overlay.active .cart-sidebar {
  transform: translateX(0);
}
.cart-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

/* MODAL PRODUTO (Detalhes) */
.product-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2100;
  padding: 20px;
}
.product-modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-modal {
  width: min(920px, 100%);
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  touch-action: manipulation;
}
.product-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
.product-modal-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-dark);
  margin: 0;
}
.product-modal-body {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  padding: 18px;
}
.product-modal-media {
  position: relative;
}
.product-modal-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.product-img-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.product-img-zoom:hover {
  background: rgba(15, 23, 42, 0.9);
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 15, 30, 0.94);
}
.image-lightbox.active {
  display: flex;
}
.image-lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.image-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.image-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}
.image-lightbox-prev {
  left: 18px;
}
.image-lightbox-next {
  right: 18px;
}
.image-lightbox-nav.hidden {
  display: none;
}
.gallery-thumb {
  flex: 0 0 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #f1f5f9;
  touch-action: manipulation;
}
.gallery-thumb.active {
  border-color: var(--blue-main);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.product-modal-desc {
  font-size: 13px;
  color: var(--text-light);
  margin: 0 0 14px;
  line-height: 1.5;
}
.variant-section {
  margin-bottom: 16px;
}
.variant-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
  margin-bottom: 10px;
}
.variant-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
  min-width: 88px;
}
.variant-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.variant-chip.active {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}
.variant-chip-mm {
  font-size: 14px;
  font-weight: 700;
}
.variant-chip-pacote {
  font-size: 11px;
  opacity: 0.85;
}
.variant-single {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}
.product-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #eff6ff;
  color: var(--blue-dark);
  border: 1px solid #dbeafe;
}
.pill-outline {
  background: #fff;
  color: var(--text-light);
  border: 1px solid #e2e8f0;
}
.product-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.kv {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  border-radius: 12px;
}
.kv small {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}
.kv strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
}
.product-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.btn-outline {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--blue-dark);
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
/* MODAL QUANTIDADE */
.qty-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qty-modal-overlay.active {
  display: flex;
}
.qty-modal {
  width: min(360px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.qty-modal-wide {
  width: min(480px, 100%);
}
.qty-modal-hint {
  font-size: 12px;
  color: var(--text-light);
  margin: 0 0 14px;
}
.qty-variant-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 50vh;
  overflow-y: auto;
  margin-bottom: 16px;
}
.qty-variant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: var(--bg-light);
}
.qty-variant-info strong {
  display: block;
  font-size: 14px;
  color: var(--blue-dark);
}
.qty-variant-info small {
  font-size: 11px;
  color: var(--text-light);
}
.qty-variant-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.qty-variant-input {
  width: 48px;
  text-align: center;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px;
  font-size: 15px;
}
.qty-total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #eff6ff;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--blue-dark);
}
.qty-total-box strong {
  font-size: 22px;
}
.qty-modal h4 {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: 18px;
}
.qty-modal p {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}
.qty-input-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.qty-input-row input {
  width: 72px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
}
.qty-step {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: var(--bg-light);
  font-size: 20px;
  cursor: pointer;
  font-weight: 700;
  color: var(--blue-dark);
}
.qty-modal-actions {
  display: flex;
  gap: 10px;
}
.qty-modal-actions .btn {
  flex: 1;
  justify-content: center;
}
@media (max-width: 900px) {
  .product-modal-overlay {
    padding: 0;
    align-items: stretch;
  }
  .product-modal-overlay.active {
    align-items: stretch;
  }
  .product-modal {
    width: 100%;
    max-width: none;
    min-height: 100%;
    max-height: 100dvh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .product-modal-header {
    flex-shrink: 0;
    padding: 14px 16px;
  }
  .product-modal-header h3 {
    font-size: 15px;
    padding-right: 8px;
    line-height: 1.35;
  }
  .product-modal-body {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 16px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0;
  }
  .product-modal-media img {
    height: auto;
    max-height: 42vh;
    min-height: 180px;
  }
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
  .variant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .variant-chip {
    min-width: 0;
    width: 100%;
  }
  .product-modal-actions {
    position: sticky;
    bottom: 0;
    margin: 0 -16px -20px;
    padding: 12px 16px 16px;
    background: linear-gradient(180deg, transparent, #fff 24%);
    z-index: 2;
  }
  .product-modal-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
.cart-header {
  padding: 20px;
  background: var(--bg-white);
  color: var(--blue-dark);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}
.close-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 20px;
  cursor: pointer;
}
.cart-items {
  flex: 0 0 auto;
  overflow: visible;
  padding: 16px 20px;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-info h4 {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.cart-item-info .price-consulta {
  color: var(--blue-main);
  font-weight: 700;
  font-size: 14px;
  margin: 6px 0 0;
}
.cart-controls {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border-radius: 6px;
  padding: 4px;
  border: 1px solid #e2e8f0;
}
.cart-controls button {
  width: 24px;
  height: 24px;
  border: none;
  background: #fff;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  color: var(--text-dark);
}
.cart-controls span {
  margin: 0 12px;
  font-size: 13px;
  font-weight: 600;
}
.remove-btn {
  color: #ef4444 !important;
  background: none !important;
  margin-left: 10px;
  font-size: 14px;
}
.cart-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid #e2e8f0;
  background: var(--bg-light);
  flex-shrink: 0;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text-light);
}
.text-blue {
  color: var(--blue-dark);
  font-size: 22px;
  font-weight: 700;
}
.input-group {
  position: relative;
  margin-bottom: 10px;
}
.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 14px;
}
.input-group input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  background: #fff;
}
.input-group input:focus {
  border-color: var(--blue-main);
}

/* TOAST (MENSAGENS FLUTUANTES) */
#toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--blue-dark);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  animation:
    slideInRight 0.3s forwards,
    fadeOut 0.3s ease 2.5s forwards;
  border-left: 4px solid var(--yellow-main);
}
.toast-error {
  border-left-color: #ef4444;
}
.form-cv-msg {
  text-align: center;
  font-size: 13px;
  color: var(--blue-main);
  margin-top: 12px;
  min-height: 1.2em;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* FOOTER */
.footer {
  background: var(--blue-dark);
  color: #cbd5e1;
  padding: 60px 0 20px;
  border-top: 5px solid var(--yellow-main);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  max-width: 150px;
  margin-bottom: 20px;
}
.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-col ul li i {
  color: var(--yellow-main);
  width: 16px;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

/* ANIMAÇÕES GERAIS E TRAVA DE SEGURANÇA */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Começa visível por padrão caso o JS falhe */
.scroll-animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-out;
}

/* O JS vai adicionar essa classe 'js-enabled' no body para ativar a ocultação inicial */
body.js-enabled .scroll-animate {
  opacity: 0;
}
body.js-enabled .slide-up {
  transform: translateY(30px);
}
body.js-enabled .fade-in {
  transform: scale(0.95);
}

/* Quando o elemento entra na tela, ele ganha is-visible */
body.js-enabled .scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* RESPONSIVO */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    text-align: center;
  }
  .hero-benefits {
    justify-content: center;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1002;
    flex-direction: column;
    align-items: stretch;
    width: min(300px, 88vw);
    height: 100dvh;
    margin: 0;
    padding: 72px 24px 28px;
    background: var(--blue-dark);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav-menu.is-open {
    transform: translateX(0);
  }
  .nav-menu a {
    margin: 0;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 1;
  }
  .nav-close {
    display: inline-flex;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }
  .bg-light .nav-menu {
    background: #fff;
    border-left: 1px solid #e2e8f0;
  }
  .bg-light .nav-menu a {
    color: var(--text-dark);
    border-bottom-color: #e2e8f0;
  }
  .bg-light .nav-close {
    background: #f1f5f9;
    color: var(--blue-dark);
  }
  .hero-image {
    justify-content: center;
    margin-top: 30px;
  }
  .btn-cart-header {
    padding: 10px 12px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .header {
    padding: 12px 0;
  }
  .logo img {
    max-height: 34px;
  }
  .btn-cart-header .btn-cart-label {
    display: none;
  }
  .btn-cart-header {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 10px;
  }
  .hero {
    padding-top: 120px;
  }
  .variant-grid {
    grid-template-columns: 1fr;
  }
  .cart-sidebar {
    width: 100%;
    max-width: 100%;
  }
  .qty-modal-wide {
    width: calc(100% - 24px);
    max-width: none;
    margin: 12px;
  }
  .cep-group {
    flex-direction: column;
    align-items: stretch;
  }
  .cep-group .btn-calc {
    width: 100%;
    padding: 12px;
  }
  .stats-container {
    gap: 28px 16px;
  }
  .stat-box h3,
  .stat-number {
    font-size: 2rem;
  }
  .cart-item {
    flex-direction: column;
    align-items: stretch;
  }
  .cart-controls {
    width: 100%;
    justify-content: center;
    padding: 8px;
  }
  .cart-controls span {
    flex: 1;
    text-align: center;
  }
  .cart-totals-box {
    padding: 14px;
  }
  .cart-total-row {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .cart-total-row.final-total .text-blue {
    font-size: 1.25rem;
  }
  .frete-opcoes {
    margin: 16px 0 8px;
  }
  .frete-opcoes-list {
    max-height: none;
    gap: 10px;
  }
  .frete-opcao {
    padding: 14px 12px;
  }
  .frete-opcao-nome {
    font-size: 14px;
  }
  .checkout-form .input-group input {
    font-size: 16px;
  }
}
/* ESTILOS DO FRETE NO CARRINHO */
.cart-totals-box {
  margin-bottom: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-light);
}
.cart-total-row.final-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px dashed #e2e8f0;
  margin-bottom: 0;
}
.cep-group {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 10px;
}
.cep-group .cep-field {
  position: relative;
  flex: 1;
  min-width: 0;
}
.cep-group .cep-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
  line-height: 1;
}
.cep-group .cep-field input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  margin-bottom: 0;
}
.cep-group > i {
  display: none;
}
.cep-group .btn-calc {
  align-self: stretch;
  min-height: 44px;
}
.btn-calc {
  background: var(--blue-dark);
  color: #fff;
  border: none;
  padding: 0 15px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  font-size: 12px;
  white-space: nowrap;
}
.btn-calc:hover {
  background: var(--yellow-main);
  color: var(--blue-dark);
}

/* Botão flutuante WhatsApp / Carrinho */
.fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 1900;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.fab:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.fab:active {
  transform: scale(0.96);
}
.fab-whatsapp {
  background: #25d366;
  color: #fff;
}
.fab-cart {
  background: var(--yellow-main);
  color: var(--blue-dark);
  box-shadow: 0 6px 28px rgba(245, 183, 0, 0.55);
}
.fab-cart.fab-attention {
  animation: fab-attention 1.1s ease-in-out infinite;
}
@keyframes fab-attention {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  15% {
    transform: rotate(-6deg) scale(1.08);
  }
  30% {
    transform: rotate(6deg) scale(1.1);
  }
  45% {
    transform: rotate(-4deg) scale(1.08);
  }
  60% {
    transform: rotate(4deg) scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fab-cart.fab-attention {
    animation: fab-pulse-soft 1.5s ease-in-out infinite;
  }
  @keyframes fab-pulse-soft {
    0%,
    100% {
      box-shadow: 0 6px 28px rgba(245, 183, 0, 0.55);
    }
    50% {
      box-shadow: 0 8px 36px rgba(245, 183, 0, 0.85);
    }
  }
}
.fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.fab-badge[hidden] {
  display: none !important;
}
