/* ===== Reset básico ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: #EAEAEA;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(255,120,0,.12), transparent 50%),
    radial-gradient(1000px 600px at 90% 10%, rgba(255,204,51,.08), transparent 60%),
    linear-gradient(180deg, #0C0C0F 0%, #0A0A0D 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Helpers ===== */
.container { width: min(1200px, 92%); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: #FF7A00;
  color: #0b0b0d;
  box-shadow: 0 10px 30px rgba(255,122,0,.25);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(255,122,0,.35); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.18);
  color: #EAEAEA;
}
.btn-ghost:hover { background: rgba(255,255,255,.06); }

.btn-whatsapp {
  background: #25D366;
  color: #0b0b0d;
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 10px 30px rgba(37,211,102,.25);
}
.btn-whatsapp:hover { box-shadow: 0 12px 40px rgba(37,211,102,.35); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(10,10,13,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 50;
}
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-logo {
  width: 58px; height: 58px; object-fit: cover; border-radius: 12px;
  box-shadow: 0 4px 18px rgba(255,122,0,.35);
}
.brand-text { display: grid; gap: 4px; min-width: 0; }
.brand-name { font-size: clamp(1rem, 2.2vw, 1.4rem); letter-spacing: .5px; }
.brand-slogan {
  font-weight: 700;
  font-size: clamp(.85rem, 2.4vw, 1rem);
  color: #FFCC33;
  text-shadow: 0 0 10px rgba(255,204,51,.6);
  animation: glow 2.2s infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes glow {
  from { text-shadow: 0 0 5px #ff6600; }
  to   { text-shadow: 0 0 16px #ffcc33; }
}
.actions { display: flex; gap: .6rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(42px, 8vw, 90px) 0;
}
.hero-content { text-align: center; }
.hero-title {
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: .2px;
}
.hero-subtitle {
  margin-top: 10px;
  color: #CFCFCF;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}
.hero-cta { margin-top: 20px; display: inline-flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(480px 160px at 50% 0%, rgba(255,122,0,.18), transparent 40%);
}

/* ===== Products Section ===== */
.section-products { padding: clamp(22px, 6vw, 60px) 0; }
.section-title { font-size: clamp(1.2rem, 3.2vw, 1.8rem); margin-bottom: 16px; }

.grid-products {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 580px) {
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 14px 50px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.card-media { background: linear-gradient(180deg, rgba(255,255,255,.04), transparent); }
.card-media img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  display: block;
  padding: 14px;
  background: radial-gradient(320px 100px at 50% 0, rgba(255,122,0,.08), transparent 60%);
}

.card-body { padding: 14px; display: grid; gap: 10px; }
.card-title {
  font-size: 1rem;
  font-weight: 700;
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pricebox {
  background: #0D0D10;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  gap: 2px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255,120,0,.15);
}
.price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FF7A00;
  text-shadow: 0 0 10px rgba(255,122,0,.3);
}
.installments {
  font-size: .85rem;
  color: #E0E0E0;
  opacity: .9;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(10,10,13,.6);
  margin-top: 24px;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: .95rem;
}
.footer-whats { color: #25D366; text-decoration: none; font-weight: 700; }
.footer-whats:hover { text-decoration: underline; }

/* ===== Small devices polish ===== */
@media (max-width: 520px) {
  .actions { display: none; } /* esconde botões no header no celular para ganhar espaço */
  .brand-logo { width: 50px; height: 50px; }
  .card-media img { height: 240px; }
}



/* ===== Tipografia aprimorada ===== */
:root{
  --bg: #0A0A0D;
  --text: #EAEAEA;
  --muted: #B9B9C3;
  --primary: #FF6B00;
  --primary-600: #FF7A1A;
  --accent: #FFCC33;
  --card: #121218;
  --stroke: rgba(255,255,255,.08);
  --shadow: 0 10px 24px rgba(0,0,0,.35);
  --radius: 18px;
}
body { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; }
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', Inter, system-ui; letter-spacing: .3px; }

/* ===== Botões ===== */
.btn { border-radius: 999px; padding: 12px 18px; font-weight: 700; }
.btn-primary { background: linear-gradient(180deg, var(--primary) 0%, var(--primary-600) 100%); color: #111; border: none; box-shadow: 0 6px 18px rgba(255,107,0,.35); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--stroke); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-whatsapp { background: #25D366; color: #0b3017; border: none; font-weight: 800; }
.btn-whatsapp.small { padding: 8px 12px; font-size: .9rem; border-radius: 12px; }

/* ===== Trust bar ===== */
.trustbar { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); background: rgba(255,255,255,.02); }
.trustbar-wrap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; padding: 18px 0; font-weight: 600; color: var(--muted); }
.trust-item { display: flex; gap: 10px; align-items: center; justify-content: center; }
.ti { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,.06); box-shadow: inset 0 -2px 6px rgba(0,0,0,.35); }
.ti::before { content: ' '; }
.ti-shield::after { content: '🛡️'; }
.ti-truck::after { content: '🚚'; }
.ti-whatsapp::after { content: '💬'; }
.ti-star::after { content: '⭐'; }

/* ===== Cards de produto ===== */
.card { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,.45); }
.card-media img { object-fit: contain; mix-blend-mode: normal; }
.card-body { padding-bottom: 20px; }
.card-title { font-weight: 800; }

/* Avaliação */
.rating { display: flex; align-items: center; gap: 8px; margin: 6px 0 2px; color: var(--accent); font-weight: 700; }
.rating .star { font-size: 16px; line-height: 1; }
.rating .star.half { opacity: .55; }
.rating-text { color: var(--muted); font-weight: 600; font-size: .9rem; }

/* ===== Newsletter ===== */
.newsletter { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); padding: 28px 0; margin: 24px 0; }
.newsletter h4 { margin-bottom: 12px; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-form input[type="email"] { flex: 1 1 260px; background: #0f0f15; color: var(--text); border: 1px solid var(--stroke); border-radius: 12px; padding: 12px 14px; outline: none; }
.newsletter-form input[type="email"]::placeholder { color: #8f90a6; }

/* ===== Chat widget ===== */
.chat-widget { position: fixed; right: 16px; bottom: 16px; z-index: 60; }
.chat-button { background: linear-gradient(180deg, #25D366, #1db955); border: none; color: #08270f; font-weight: 900; padding: 12px 16px; border-radius: 999px; box-shadow: 0 10px 22px rgba(0,0,0,.4); cursor: pointer; }
.chat-window { position: fixed; right: 16px; bottom: 72px; width: 320px; max-width: 92vw; background: var(--card); border: 1px solid var(--stroke); border-radius: 16px; box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--stroke); }
.chat-body { padding: 12px; color: var(--muted); min-height: 90px; }
.chat-input { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px; border-top: 1px solid var(--stroke); }
.chat-input input { background: #0f0f15; border: 1px solid var(--stroke); color: var(--text); padding: 10px 12px; border-radius: 10px; }

/* ===== Responsividade ===== */
@media (max-width: 840px) {
  .trustbar-wrap { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.chat-header button.chat-minimize { background:none; border:none; color:var(--muted); font-size:18px; cursor:pointer; }
.chat-header button.chat-minimize:hover { color:var(--text); }

/* Chat Animations */
.chat-window {
  display:none;
  position:fixed;
  bottom:90px;
  right:20px;
  width:300px;
  background:#111;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,0.3);
  transition:all 0.3s ease-in-out;
  opacity:0;
  transform:translateY(20px);
}
.chat-window.open {
  display:grid;
  opacity:1;
  transform:translateY(0);
}
.chat-header {
  background:#222;
  color:#fff;
  padding:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.chat-input {
  display:flex;
  gap:8px;
  padding:10px;
}
.chat-input input {
  flex:1;
  padding:8px;
  border-radius:6px;
  border:1px solid #333;
  background:#000;
  color:#fff;
}
.whatsapp-btn {
  background:#25D366;
  border:none;
  padding:8px 10px;
  color:#fff;
  border-radius:6px;
  cursor:pointer;
  font-size:12px;
  white-space:nowrap;
}
.chat-minimize {
  background:none;
  border:none;
  color:#fff;
  font-size:18px;
  cursor:pointer;
}
.chat-minimize:hover {
  color:#25D366;
}
/* Rating Section */
.rating-section {
  text-align:center;
  margin:30px 0;
}
.stars span {
  font-size:28px;
  cursor:pointer;
  color:#ccc;
  transition:color 0.3s;
}
.stars span:hover {
  color:#FFD700;
}

.stars span.selected {
  color:#FFD700 !important;
}
.stars span:hover {
  transform:scale(1.2);
}

/* Animações para chat */
.chat-box {
  animation: fadeIn 0.5s ease-in-out;
}

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

.minimize-btn {
  cursor: pointer;
  transition: transform 0.2s;
}

.minimize-btn:active {
  transform: scale(0.9);
}

.minimize-btn.bounce {
  animation: bounce 0.4s;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}


@keyframes star-glow {
    0% { text-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700; }
    50% { text-shadow: 0 0 15px #FFD700, 0 0 30px #FFD700; }
    100% { text-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700; }
}

.rating .star {
    color: #FFD700; /* dourado */
    font-size: 1.2em;
    margin-right: 2px;
    animation: star-glow 2s infinite alternate;
}
.rating-text {
    margin-left: 8px;
    color: #444;
    font-weight: 500;
}


.card-media img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Preenche sem deixar borda preta */
    padding: 0; /* Remove espaçamento interno */
    background: none; /* Remove gradiente escuro */
    border-radius: 8px; /* Deixa cantos arredondados, opcional */
    display: block;
}
