/* ================================================
   EGLENCE.COM.BR — Global Stylesheet
   ================================================ */

/* ---------- Google Fonts ---------- */
/* Space Grotesk + Bebas Neue carregados via <link> no HTML */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #ffdc15;      /* amarelo Eat Off Limits (era azul) */
  --blue-dark: #e6c400;
  --red:       #000000;      /* preto para badges de promoção */
  --green:     #5BA238;
  --text:      #000000;
  --muted:     #555555;
  --border:    #000000;
  --bg:        #fffcf8;      /* creme Eat Off Limits */
  --white:     #fffcf8;      /* creme como "branco" */
  --black:     #000000;

  --font:     'Space Grotesk', Arial, sans-serif;
  --font-alt: 'Bebas Neue', Arial, sans-serif;

  --radius:   0px;
  --radius-md: 0px;
  --shadow:   4px 4px 0 rgba(0,0,0,0.8);
  --shadow-md: 6px 6px 0 rgba(0,0,0,0.85);
  --transition: .18s ease;
  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
  width: min(var(--container), 100%);
  padding-inline: 20px;
  margin-inline: auto;
}

/* ================================================
   ANNOUNCEMENT BAR
   ================================================ */
.announcement-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-alt);
  letter-spacing: .3px;
  line-height: 1.4;
}

/* ================================================
   HEADER
   ================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow .2s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
}
.site-logo img {
  height: 64px;
  width: auto;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  transition: color var(--transition);
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--black);
  border-bottom-color: var(--blue);
}

/* Header icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-icon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.header-icon:hover { color: var(--black); }
.header-icon i { font-size: 18px; }

.cart-count {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-black {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}
.btn-black:hover {
  background: var(--white);
  color: var(--black);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

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

/* ================================================
   PRODUCT CARD
   ================================================ */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card__img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg);
}
.product-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }

.product-card__sale-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--blue);    /* amarelo */
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 0;
  border: 1.5px solid #000;
  text-transform: uppercase;
}

.product-card__body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card__name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  flex: 1;
}
.product-card__name a:hover { color: var(--blue); }

.product-card__price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.price-current {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
}
.price-old {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}
.price-sale {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
}

.product-card__footer {
  padding: 0 12px 12px;
}
.product-card__footer .btn {
  width: 100%;
}

/* ================================================
   SECTION HEADERS
   ================================================ */
.section-header {
  text-align: center;
  margin-bottom: 32px;
}
.section-header h2 {
  font-family: var(--font-alt);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text);
}
.section-header p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--black);
  color: #aaa;
  padding: 48px 0 24px;
  margin-top: 64px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-align: center;
}

.footer-benefit h4 {
  font-family: var(--font-alt);
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-benefit p { font-size: 12px; }

.footer-mid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-logo img { height: 56px; margin-bottom: 12px; }
.footer-logo p { font-size: 12px; line-height: 1.7; max-width: 240px; }

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-size: 15px;
  color: #aaa;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--blue); color: var(--black); }

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
}
.footer-bottom a { color: var(--blue); text-decoration: underline; }
.footer-bottom a:hover { text-decoration: underline; }

/* ================================================
   TRUST BADGES (inline strip)
   ================================================ */
.trust-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-item img { width: 36px; height: 36px; }
.trust-item div strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
}
.trust-item div span {
  font-size: 11px;
  color: var(--muted);
}

/* ================================================
   TOAST
   ================================================ */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--black);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  border-left: 4px solid var(--blue);  /* amarelo */
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 9999;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ================================================
   RESPONSIVE — SHARED
   ================================================ */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    gap: 0;
    z-index: 199;
  }
  .main-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
  .nav-toggle { display: flex; }
  .trust-strip__inner { gap: 24px; }
}

@media (max-width: 600px) {
  .header-inner { height: 64px; }
  .site-logo img { height: 48px; }
  .main-nav.open { top: 64px; }
}
