/* ==========================================================================
   ELEVE SOLUÇÕES EM LIMPEZA — DESIGN SYSTEM & ESTILOS PREMIUM
   Construído com padrões de CSS Moderno (Glassmorphism, Micro-interações,
   Tipografia Suíça, Hierarquia Visual e Otimização para Alta Conversão)
   ========================================================================== */

/* --- VARIÁVEIS DE DESIGN SYSTEM (DESIGN TOKENS) --- */
:root {
  /* Paleta Primária - Azul Real & Ciano Luminoso */
  --primary: #0066ff;
  --primary-hover: #0052cc;
  --primary-light: #eff6ff;
  --primary-glow: rgba(0, 102, 255, 0.28);
  
  --accent: #00d2ff;
  --accent-gradient: linear-gradient(135deg, #0066ff 0%, #00c6ff 100%);
  --accent-glow: rgba(0, 210, 255, 0.35);

  /* Superfícies & Cores Neutras Sofisticadas */
  --dark: #0a192f;
  --dark-surface: #0f2744;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-subtle: #f1f5f9;
  --white: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.92);

  /* Sucesso / Status */
  --success: #10b981;
  --success-dark: #059669;
  --success-light: #ecfdf5;

  /* Bordas & Divisores */
  --border: #e2e8f0;
  --border-focus: #93c5fd;
  --border-glass: rgba(255, 255, 255, 0.6);

  /* Sombras Elegantes Multicamadas */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 102, 255, 0.18);
  --shadow-hover: 0 22px 35px -10px rgba(0, 102, 255, 0.16);

  /* Raios de Arredondamento */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Easing & Transições */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.28s var(--ease-smooth);
}

/* --- RESET & OTIMIZAÇÕES GLOBAIS --- */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #f6faff;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-image: 
    radial-gradient(ellipse 90% 60% at 85% -10%, rgba(0, 210, 255, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 10% 25%, rgba(0, 102, 255, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 70%, rgba(0, 210, 255, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 95%, rgba(0, 102, 255, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fe 40%, #eef5fc 100%);
  background-attachment: fixed;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: "Outfit", "Poppins", sans-serif;
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  touch-action: manipulation;
}

button, input, select, textarea {
  font-family: inherit;
  touch-action: manipulation;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.view {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ==========================================================================
   CABEÇALHO GLASSMORPHIC (STICKY HEADER)
   ========================================================================== */
.header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  padding: 4px 0;
  transition: transform 0.25s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  max-width: 145px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.04));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  background: rgba(241, 245, 249, 0.7);
  padding: 5px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

/* --- BOTÕES GERAIS COM RESPOSTA TÁTIL --- */
.btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
}

/* ==========================================================================
   HERO SECTION LUMINOSA
   ========================================================================== */
.hero {
  padding: 60px 0 35px;
  position: relative;
}

.hero-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-text {
  max-width: 720px;
  width: 100%;
  perspective: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Eyebrow Pill com ponto pulsante */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 102, 255, 0.18);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* --- ANIMAÇÃO 3D ELEGANTE DA FRASE HERO --- */
.hero-title-3d {
  font-family: "Outfit", "Poppins", sans-serif;
  font-size: 27px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.35;
  margin-bottom: 22px;
  display: inline-block;
  transform-style: preserve-3d;
  will-change: transform, filter;
  animation: heroTitle3DFloat 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
  
  /* Gradiente moderno luminoso com profundidade */
  background: linear-gradient(135deg, #0a2540 0%, #0052cc 35%, #00a2ff 75%, #00e5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  
  /* Sombra 3D suave com volume */
  filter: drop-shadow(0 4px 6px rgba(0, 102, 255, 0.25))
          drop-shadow(0 10px 18px rgba(10, 37, 64, 0.18));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-title-3d:hover {
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateZ(30px) scale(1.03);
  filter: drop-shadow(0 8px 16px rgba(0, 102, 255, 0.38))
          drop-shadow(0 16px 28px rgba(0, 210, 255, 0.28));
}

@keyframes heroTitle3DFloat {
  0% {
    transform: perspective(1200px) rotateX(8deg) rotateY(-7deg) translateZ(0px);
    filter: drop-shadow(-3px 5px 8px rgba(0, 80, 200, 0.22))
            drop-shadow(0 10px 18px rgba(10, 37, 64, 0.15));
  }
  50% {
    transform: perspective(1200px) rotateX(-5deg) rotateY(6deg) translateZ(24px);
    filter: drop-shadow(3px 8px 14px rgba(0, 160, 255, 0.35))
            drop-shadow(0 16px 28px rgba(0, 102, 255, 0.22));
  }
  100% {
    transform: perspective(1200px) rotateX(7deg) rotateY(7deg) translateZ(10px);
    filter: drop-shadow(2px 6px 10px rgba(0, 100, 240, 0.26))
            drop-shadow(0 12px 22px rgba(10, 37, 64, 0.18));
  }
}

/* Subtítulo Hero refinado */
.hero-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 580px;
}

/* Botões da Hero */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   BANNER DE PERFORMANCE & CABEÇALHO DA VITRINE
   ========================================================================== */
.performance-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 246, 255, 0.95) 100%);
  color: var(--dark);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 102, 255, 0.12);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.performance-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.badge-tag {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 102, 255, 0.15);
  box-shadow: var(--shadow-xs);
}

.performance-card h2 {
  font-size: 26px;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.performance-card p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 580px;
  margin: 0 auto;
}



/* ==========================================================================
   SEÇÃO DO FUNDADOR / SOBRE A ELEVE
   ========================================================================== */
.founder-section {
  padding: 30px 0 45px;
}

.founder-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 255, 0.92) 100%);
  border: 1px solid rgba(0, 102, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px -10px rgba(0, 51, 153, 0.11), 0 2px 6px rgba(0, 0, 0, 0.02);
  padding: 28px 32px;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.founder-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.founder-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px -10px rgba(0, 102, 255, 0.16);
  border-color: rgba(0, 102, 255, 0.25);
}

.founder-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 210px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 
    0 12px 24px -6px rgba(0, 102, 255, 0.2),
    0 0 0 3px #ffffff,
    0 0 0 4px rgba(0, 102, 255, 0.16);
  background: #ffffff;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.4s ease;
}

.founder-card:hover .founder-photo {
  transform: scale(1.04);
}

.founder-photo-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(10, 37, 64, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.founder-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-content .founder-quote-box {
  margin-bottom: 0;
}

.founder-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.founder-content .founder-quote-text {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.7;
}

.founder-title {
  font-size: 23px;
  color: var(--dark);
  margin: 4px 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.brand-gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 900;
}

.founder-quote-box {
  background: rgba(255, 255, 255, 0.82);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 13px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}

.founder-quote-text {
  color: #334155;
  font-size: 13.5px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 8px;
}

.founder-signature {
  display: flex;
  flex-direction: column;
}

.founder-signature strong {
  color: var(--dark);
  font-size: 12.5px;
  font-weight: 700;
}

.founder-signature span {
  color: var(--text-muted);
  font-size: 11px;
}

.founder-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.founder-pillar-item {
  background: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 102, 255, 0.1);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-icon {
  font-size: 20px;
}

.pillar-text strong {
  display: block;
  font-size: 12px;
  color: var(--dark);
  line-height: 1.2;
}

.pillar-text small {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   BARRA DE PESQUISA MODERNA COM FEEDBACK
   ========================================================================== */
.search-section {
  max-width: 620px;
  margin: 0 auto 34px;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 8px 24px var(--primary-glow);
  transform: translateY(-1px);
}

.search-icon {
  color: var(--text-light);
  flex-shrink: 0;
  margin-right: 12px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.search-box:focus-within .search-icon {
  transform: scale(1.1);
  color: var(--primary);
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: var(--text-main);
  font-family: inherit;
  padding: 9px 0;
}

.search-input::placeholder {
  color: var(--text-light);
  font-size: 14px;
}

.search-clear-btn {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-left: 8px;
  flex-shrink: 0;
  transition: var(--transition);
}

.search-clear-btn:hover {
  background: #e2e8f0;
  color: var(--dark);
  transform: scale(1.08);
}

.search-feedback {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

.search-feedback strong {
  color: var(--primary);
}

/* Estado de busca vazia */
.busca-vazia {
  grid-column: 1 / -1;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px dashed #cbd5e1;
  animation: fadeIn 0.35s ease;
}

.busca-vazia-icone {
  font-size: 42px;
  margin-bottom: 14px;
  display: block;
}

.busca-vazia h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 6px;
}

.busca-vazia p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 22px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   GRID DE PRODUTOS & CARDS EM GLASS-CARD DESIGN
   ========================================================================== */
.products {
  padding: 20px 0 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 34px;
}

.section-header h2 {
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 15px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 255, 0.22);
}

.product-img {
  width: 100%;
  height: 255px;
  background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(241, 245, 249, 0.9);
}

.product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s var(--ease-smooth);
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  background: var(--white);
}

.product-category {
  font-size: 11px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.38;
  word-break: break-word;
  letter-spacing: -0.01em;
}

.product-price {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  font-family: "Outfit", sans-serif;
  margin-top: auto;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.product-card .btn {
  width: 100%;
  padding: 11px;
  font-size: 13px;
  min-height: 44px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   ESTILOS BASE DO BOTÃO ADICIONAR (ANIMAÇÕES SÃO MANTIDAS NO BLOCO SEGUINTE)
   ========================================================================== */
.add-to-cart-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 600;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--white);
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.add-to-cart-btn .btn-icon {
  transition: transform 0.25s ease;
}

.add-to-cart-btn:hover {
  background: var(--accent-gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.add-to-cart-btn:hover .btn-icon {
  transform: rotate(90deg) scale(1.1);
}

.add-to-cart-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
}




/* --- BRILHO DE LUZ SUTIL (SHIMMER) NO BOTÃO ADICIONAR --- */
.add-to-cart-btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: btnShimmer 4.5s infinite ease-in-out;
}

@keyframes btnShimmer {
  0%, 75% {
    left: -70%;
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    left: 140%;
    opacity: 0;
  }
}

/* Feedback dopaminérgico imediato de item adicionado */
.btn-adicionado {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35) !important;
  transform: scale(1.02);
  animation: addedPop 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-adicionado .btn-icon {
  animation: checkmarkPop 0.25s ease-out;
}

@keyframes addedPop {
  0% { transform: scale(0.92); }
  55% { transform: scale(1.06); }
  100% { transform: scale(1.02); }
}

@keyframes checkmarkPop {
  0% { transform: scale(0.6) rotate(-20deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Animação minimalista de pulso no carrinho do cabeçalho */
.cart-bump {
  animation: cartBump 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartBump {
  0% { transform: scale(1); }
  45% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Efeito Ripple de Onda no ponto exato do toque/clique */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: rippleSpread 0.6s linear;
  pointer-events: none;
}

@keyframes rippleSpread {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Indicador Flutuante "+1" no momento do clique */
.floating-plus-one {
  position: absolute;
  bottom: 50px;
  right: 18px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.45);
  pointer-events: none;
  z-index: 20;
  animation: floatPlusOne 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes floatPlusOne {
  0% { opacity: 0; transform: translateY(10px) scale(0.6); }
  30% { opacity: 1; transform: translateY(-5px) scale(1.2); }
  75% { opacity: 1; transform: translateY(-18px) scale(1); }
  100% { opacity: 0; transform: translateY(-28px) scale(0.8); }
}

/* Toast Glassmórfico de Confirmação na base da tela */
.toast-notificacao {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: rgba(10, 25, 47, 0.92);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.16);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 90vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-notificacao.toast-visivel {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-notificacao .toast-icone {
  background: #10b981;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}


/* =========================================================
   ANIMAÇÃO PREMIUM DO BOTÃO ADICIONAR
   Fase 1: carrinho entra -> caixa cai -> carrinho sai
   Fase 2: check desenhado + brilho + confete + "+1" voando
   ========================================================= */

/* --- FASE 1: carrinho atravessando o botão e pintando de verde --- */
.add-to-cart-btn.btn-animando {
  --atc-drive: 1.1s;
  --atc-ease: cubic-bezier(0.55, 0.05, 0.35, 1);
  background: var(--white) !important;
  color: var(--primary-blue) !important;
  border-color: #10b981 !important;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.28) !important;
  transform: translateY(0) scale(1) !important;
  cursor: progress;
}

.add-to-cart-btn.btn-animando::after {
  display: none; /* pausa o shimmer durante a animação */
}

/* Rótulos empilhados ocupando o botão inteiro */
.atc-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
  white-space: nowrap;
}

.atc-label-old {
  z-index: 1;
}

/* Tinta verde que segue o carrinho */
.atc-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  z-index: 2;
  background: linear-gradient(90deg, #059669 0%, #10b981 100%);
  animation: atcFill var(--atc-drive) var(--atc-ease) forwards;
}

/* Reflexo de vidro na parte de cima da tinta */
.atc-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0) 55%
  );
}

@keyframes atcFill {
  to {
    width: 100%;
  }
}

/* "Adicionado!" revelado exatamente onde a tinta passou */
.atc-label-new {
  z-index: 3;
  color: #ffffff;
  font-weight: 700;
  clip-path: inset(0 100% 0 0);
  animation: atcReveal var(--atc-drive) var(--atc-ease) forwards;
}

@keyframes atcReveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* Carrinho (anda junto com a borda da tinta e depois sai pela direita) */
.atc-runner {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 4;
  width: 34px;
  height: 28px;
  color: #ffffff;
  isolation: isolate;
  transform: translate(-100%, -50%);
  animation: atcRunnerDrive var(--atc-drive) var(--atc-ease) forwards,
    atcRunnerExit 0.3s cubic-bezier(0.5, 0, 0.9, 0.5) var(--atc-drive) forwards;
}

/* Halo verde atrás do carrinho (esconde o texto que passa por baixo) */
.atc-runner::before {
  content: "";
  position: absolute;
  inset: -6px -4px;
  z-index: -1;
  background: radial-gradient(
    closest-side,
    #10b981 65%,
    rgba(16, 185, 129, 0) 100%
  );
}

@keyframes atcRunnerDrive {
  to {
    left: 100%;
  }
}

@keyframes atcRunnerExit {
  to {
    transform: translate(20%, -50%);
  }
}

.atc-cart-svg {
  position: absolute;
  right: 2px;
  top: 50%;
  width: 26px;
  height: 24px;
  overflow: visible;
  transform: translateY(-50%);
  filter: drop-shadow(0 2px 3px rgba(4, 120, 87, 0.55));
  animation: atcBob 0.18s ease-in-out infinite alternate;
}

/* Carrinho "quicando" na pista */
@keyframes atcBob {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-58%) rotate(-2deg);
  }
}

/* Rodas girando */
.atc-roda {
  transform-box: fill-box;
  transform-origin: center;
  animation: atcSpin 0.32s linear infinite;
}

@keyframes atcSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Pacote dourado balançando dentro do carrinho */
.atc-pacote {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: atcPacote 0.36s ease-in-out infinite alternate;
}

@keyframes atcPacote {
  from {
    transform: rotate(-7deg) translateY(0);
  }
  to {
    transform: rotate(6deg) translateY(-1px);
  }
}

/* Linhas de velocidade atrás do carrinho */
.atc-speed {
  position: absolute;
  right: 26px;
  top: 50%;
  width: 14px;
  height: 11px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.atc-speed i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  animation: atcSpeed 0.3s linear infinite;
}

.atc-speed i:nth-child(1) {
  width: 12px;
}

.atc-speed i:nth-child(2) {
  width: 8px;
  animation-delay: 0.1s;
}

.atc-speed i:nth-child(3) {
  width: 10px;
  animation-delay: 0.2s;
}

@keyframes atcSpeed {
  0% {
    transform: translateX(4px);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateX(-9px);
    opacity: 0;
  }
}

/* Na fase 2 o texto já está visível, então não repete a entrada */
.atc-done-text.atc-sem-entrada {
  animation: none;
}

/* --- SELO "X NO CARRINHO" NO CARD DO PRODUTO --- */
.card-qty-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4),
    0 0 0 2px rgba(255, 255, 255, 0.9);
  pointer-events: none;
  animation: badgeIn 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-qty-badge.badge-pop {
  animation: badgePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.6);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes badgePop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

/* --- CONTADOR DO CABEÇALHO --- */
.count-pop {
  display: inline-block;
  animation: countPop 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes countPop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.7);
    color: #10b981;
  }
  100% {
    transform: scale(1);
  }
}

/* --- TOAST COM INCENTIVO + BOTÃO "VER CARRINHO" --- */
.toast-notificacao.toast-visivel {
  pointer-events: auto;
}

.toast-notificacao .toast-texto {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-notificacao .toast-texto strong {
  color: #6ee7b7;
  margin-right: 2px;
}

.toast-notificacao .toast-acao {
  flex-shrink: 0;
  margin-left: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.toast-notificacao .toast-acao:hover {
  background: #10b981;
  border-color: #10b981;
}

.toast-notificacao .toast-acao:active {
  transform: scale(0.94);
}


/* --- FASE 2: confirmação --- */
.add-to-cart-btn.btn-adicionado {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  animation: addedPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    atcGlowRing 0.9s ease-out;
}

/* Brilho que atravessa o botão uma vez ao confirmar */
.add-to-cart-btn.btn-adicionado::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  animation: atcShine 0.75s ease-out 0.15s 1 both;
}

@keyframes atcShine {
  from {
    left: -70%;
    opacity: 1;
  }
  to {
    left: 140%;
    opacity: 1;
  }
}

/* Anel de luz expandindo ao redor do botão */
@keyframes atcGlowRing {
  0% {
    outline: 2px solid rgba(16, 185, 129, 0.7);
    outline-offset: 0;
  }
  100% {
    outline: 2px solid rgba(16, 185, 129, 0);
    outline-offset: 10px;
  }
}

/* Check sendo "desenhado" */
.atc-check polyline {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: atcCheckDraw 0.45s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards;
}

.atc-check {
  animation: checkmarkPop 0.3s ease-out;
}

@keyframes atcCheckDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Texto subindo com fade */
.atc-done-text {
  display: inline-block;
  animation: atcTextUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s both;
}

@keyframes atcTextUp {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* --- Confete --- */
.confete {
  position: fixed;
  width: 7px;
  height: 4px;
  border-radius: 1px;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  animation: confeteBurst 0.95s cubic-bezier(0.15, 0.7, 0.4, 1) forwards;
}

.confete.confete-redondo {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

@keyframes confeteBurst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1) rotate(0deg);
  }
  65% {
    opacity: 1;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)))
      scale(1) rotate(var(--r));
  }
  100% {
    opacity: 0;
    transform: translate(
        calc(-50% + var(--x) * 1.1),
        calc(-50% + var(--y) + 35px)
      )
      scale(0.6) rotate(calc(var(--r) * 1.4)); /* gravidade */
  }
}

/* --- "+1" voando até o carrinho do cabeçalho --- */
.fly-to-cart {
  position: fixed;
  width: 0;
  height: 0;
  z-index: 10001;
  pointer-events: none;
  will-change: transform;
}

.fly-to-cart-dot {
  position: absolute;
  left: -15px;
  top: -15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95),
    0 8px 20px rgba(16, 185, 129, 0.5);
  will-change: transform, opacity;
}

/* =========================================================
   COMPATIBILIDADE PC + MOBILE DA ANIMAÇÃO
   ========================================================= */

/* Botão: sem atraso de toque, sem zoom por toque duplo, sem seleção de texto */
.add-to-cart-btn {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate; /* garante que as camadas da animação fiquem dentro do botão (inclusive no Safari/iPhone) */
}

/* Aceleração por GPU = animação lisa em celulares mais simples */
.atc-runner,
.atc-cart-svg,
.atc-fill,
.confete,
.fly-to-cart-dot {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Em telas de toque o :hover "gruda" depois do toque: neutraliza */
@media (hover: none) {
  .add-to-cart-btn:hover {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: none;
    box-shadow: none;
  }
  .add-to-cart-btn:hover .btn-icon {
    transform: none;
  }
  /* Feedback de toque no lugar do hover */
  .add-to-cart-btn:active {
    transform: scale(0.96);
    background: var(--light-blue);
  }
}

/* Celulares: toast respeita a barra do iPhone/Android e quebra melhor */
@media (max-width: 768px) {
  .toast-notificacao {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 24px);
    max-width: 420px;
    justify-content: flex-start;
    padding: 10px 10px 10px 14px;
    font-size: 12.5px;
  }
  .toast-notificacao .toast-texto {
    flex: 1;
  }
  .toast-notificacao .toast-acao {
    padding: 7px 12px; /* área de toque maior */
  }
  .card-qty-badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 10.5px;
  }
}

/* Telas bem pequenas: carrinho e textos um pouco menores */
@media (max-width: 370px) {
  .atc-runner {
    width: 30px;
    height: 24px;
  }
  .atc-cart-svg {
    width: 22px;
    height: 20px;
  }
  .atc-speed {
    right: 22px;
  }
  .atc-label {
    gap: 4px;
    font-size: 12px;
  }
  .toast-notificacao .toast-texto strong {
    display: none; /* mantém só o nome do produto */
  }
}



/* ==========================================================================
   CARRINHO DEDICADO & FORMULÁRIO DE CHECKOUT PREMIUM
   ========================================================================== */
.cart-section {
  padding: 60px 0;
  background-color: transparent;
  min-height: 70vh;
  min-height: 70dvh;
}

.cart-box {
  max-width: 660px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
}

.cart-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--accent-gradient);
}

.cart-items-list {
  list-style: none;
  margin-bottom: 24px;
  max-height: 340px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  padding-right: 4px;
}

.cart-items-list::-webkit-scrollbar {
  width: 6px;
}
.cart-items-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}
.cart-items-list::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 255, 0.25);
  border-radius: 10px;
}

.item-carrinho-linha {
  background-color: #f8fafc;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  gap: 14px;
  transition: var(--transition);
}

.item-carrinho-linha:hover {
  background-color: var(--white);
  border-color: rgba(0, 102, 255, 0.2);
  box-shadow: var(--shadow-xs);
}

.item-carrinho-linha strong {
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
}

.item-carrinho-linha small {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.item-carrinho-linha button {
  background-color: var(--white);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  min-width: 34px;
  min-height: 34px;
  padding: 4px 8px;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--dark);
}

.item-carrinho-linha button:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.item-carrinho-linha button:active {
  background-color: var(--primary-light);
  transform: scale(0.92);
}

.empty-cart-msg {
  text-align: center;
  color: var(--text-muted);
  padding: 36px 0;
  font-size: 15px;
}

.cart-footer {
  border-top: 1.5px dashed #cbd5e1;
  padding-top: 20px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
}

.cart-total strong {
  font-size: 24px;
  color: var(--primary);
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.02em;
}

/* Formulário de Entrega */
.checkout-form {
  background-color: #f8fafc;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.9);
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-form h4 {
  font-size: 16px;
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 16px;
  color: var(--text-main);
  background-color: var(--white);
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.checkout-form select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
}

.checkout-form input:focus,
.checkout-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

#checkout-btn {
  min-height: 52px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  margin-top: 18px;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* ==========================================================================
   RODAPÉ (FOOTER) PROFISSIONAL COM CONTRASTE ELEGANTE
   ========================================================================== */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.footer-about p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
  max-width: 380px;
}

.footer-links h4 {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

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

.footer-links li {
  color: #94a3b8;
  font-size: 14px;
  padding: 6px 0;
  word-break: break-word;
}

.footer-links li:has(a) {
  padding: 0;
}

.footer-links a {
  color: #94a3b8;
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* ==========================================================================
   MODAL DE DETALHES DO PRODUTO (GLASSMORPHIC DIALOG)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.modal-ativo {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.modal-ativo .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
  transform: rotate(90deg) scale(1.08);
}

.modal-body {
  display: flex;
  flex-direction: column;
}

.modal-img-wrapper {
  width: 100%;
  height: 280px;
  background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.modal-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.modal-info {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.modal-categoria {
  font-size: 11px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.modal-titulo {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.modal-preco {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.modal-descricao {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
  background: #f8fafc;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.9);
  margin-bottom: 24px;
}

.modal-acoes .btn {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
  gap: 8px;
}

@media (max-width: 580px) {
  .modal-img-wrapper {
    height: 200px;
    padding: 16px;
  }
  .modal-info {
    padding: 20px 18px;
  }
  .modal-titulo {
    font-size: 20px;
  }
  .modal-preco {
    font-size: 22px;
  }
  .modal-descricao {
    font-size: 13.5px;
    padding: 14px;
  }
}

/* ==========================================================================
   RESPONSIVIDADE MOBILE REFINADA (SMARTPHONES / ANDROID / IOS)
   ========================================================================== */
@media (max-width: 768px) {
  .navbar {
    height: auto;
    min-height: 64px;
    padding: 10px 0;
  }

  .nav-menu {
    display: none;
  }

  .logo img {
    max-width: 120px;
    max-height: 44px;
  }

  #abrir-carrinho-btn {
    padding: 8px 14px;
    font-size: 13px;
    min-height: 40px;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 30px 0 20px;
  }

  .hero-eyebrow {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  .hero-text h1,
  .hero-title-3d {
    font-size: 21px;
    line-height: 1.35;
    letter-spacing: 2px;
    margin-bottom: 14px;
    animation: heroTitle3DFloatMobile 5s ease-in-out infinite alternate;
  }

  @keyframes heroTitle3DFloatMobile {
    0% {
      transform: perspective(600px) rotateX(5deg) rotateY(-5deg) translateZ(0px);
      filter: drop-shadow(-2px 4px 6px rgba(0, 80, 200, 0.2));
    }
    100% {
      transform: perspective(600px) rotateX(-4deg) rotateY(5deg) translateZ(14px);
      filter: drop-shadow(2px 6px 10px rgba(0, 160, 255, 0.28));
    }
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: row;
    width: 100%;
    gap: 10px;
  }

  .hero-buttons .btn {
    flex: 1;
    padding: 11px 12px;
    font-size: 13px;
    min-height: 44px;
    white-space: nowrap;
  }

  .performance-card {
    padding: 20px 16px;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
  }

  .founder-section {
    padding: 25px 0 35px;
  }

  .founder-card {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 18px;
    text-align: center;
  }

  .founder-photo-wrapper {
    margin: 0 auto;
    max-width: 150px;
  }

  .founder-content {
    align-items: center;
  }

  .founder-title {
    font-size: 20px;
    margin: 4px 0 10px;
  }

  .founder-quote-box {
    border-left: none;
    border-top: 3px solid var(--primary);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    text-align: left;
    padding: 12px 14px;
    margin-bottom: 14px;
  }

  .founder-quote-text {
    font-size: 13px;
  }

  .founder-pillars {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }

  .founder-pillar-item {
    justify-content: flex-start;
    text-align: left;
    padding: 8px 12px;
  }



  .performance-card h2 {
    font-size: 20px;
  }

  .performance-card p {
    font-size: 13px;
  }

  .search-section {
    margin-bottom: 22px;
  }

  .search-box {
    padding: 4px 14px;
  }

  .search-input {
    font-size: 16px;
  }

  /* 2 Colunas Limpas e Alinhadas de Produtos */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-img {
    height: 175px;
    padding: 8px;
  }

  .product-info {
    padding: 12px;
  }

  .product-category {
    font-size: 9.5px;
    margin-bottom: 4px;
  }

  .product-title {
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
  }

  .product-price {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .product-card .btn {
    padding: 9px 8px;
    font-size: 13px;
    min-height: 42px;
    border-radius: var(--radius-sm);
  }

  .cart-section {
    padding: 30px 0 40px;
  }

  .cart-box {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .item-carrinho-linha {
    padding: 10px 12px;
    gap: 8px;
  }

  .item-carrinho-linha strong {
    font-size: 14px;
  }

  .checkout-form {
    padding: 16px;
  }

  #checkout-btn {
    min-height: 50px;
    font-size: 15px;
  }

  .footer {
    padding: 40px 0 calc(20px + env(safe-area-inset-bottom, 0px));
  }

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

/* Telas Compactas (320px - 370px) */
@media (max-width: 370px) {
  .container {
    padding: 0 10px;
  }

  .logo img {
    max-width: 95px;
    max-height: 36px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .founder-card {
    padding: 18px 14px;
  }

  .founder-photo-wrapper {
    max-width: 140px;
  }

  .founder-title {
    font-size: 19px;
  }

  .founder-quote-text {
    font-size: 12.5px;
  }

  .products-grid {
    gap: 8px;
  }

  .product-img {
    height: 150px;
  }

  .product-info {
    padding: 8px;
  }

  .product-title {
    font-size: 12px;
  }

  .product-price {
    font-size: 14px;
  }
}
