/* ============================================================
   PPLeds — layout.css
   Header, footer, topbar, grid de página, containers.
   ============================================================ */

/* ---- LAYOUT ---- */
/* TOPBAR */
.topbar { background: var(--gold); color: var(--black); text-align: center; padding: 8px 20px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }

/* HEADER */
header { background: var(--dark); border-bottom: 1px solid #2a2a2a; position: sticky; top: 0; z-index: 1000; }

.header-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 30px;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo — esquerda */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 38px; height: 38px; background: var(--gold); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 22px; height: 22px; }
.logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--white); letter-spacing: 3px; }
.logo-text span { color: var(--gold); }

/* Direita: nav + ações agrupados */
.header-right { display: flex; align-items: center; gap: 32px; }

nav { display: flex; gap: 28px; }
nav a { color: var(--gray); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s; white-space: nowrap; }
nav a:hover, nav a.active { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 8px; }

/* Botões ícone (busca, conta) */
.icon-btn {
  background: none; border: 1px solid #333; color: var(--gray);
  width: 36px; height: 36px; border-radius: 6px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; text-decoration: none; flex-shrink: 0;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn--active { border-color: var(--gold); color: var(--gold); }

/* Search bar */
.search-bar {
  background: var(--dark2);
  border-top: 1px solid #2a2a2a;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.search-bar.open {
  max-height: 72px;
}
.search-bar-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 14px 30px;
  display: flex; align-items: center; gap: 12px;
  color: var(--gray);
}
.search-bar-inner input {
  flex: 1;
  background: none; border: none; outline: none;
  color: var(--white); font-family: 'DM Sans', sans-serif;
  font-size: 15px;
}
.search-bar-inner input::placeholder { color: #555; }
.search-bar-close {
  background: none; border: none; color: var(--gray);
  cursor: pointer; padding: 4px; display: flex; align-items: center;
  transition: color 0.2s;
}
.search-bar-close:hover { color: var(--white); }

/* Hamburguer */
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.ham-line { display: block; width: 18px; height: 2px; background: var(--gray); border-radius: 2px; transition: all 0.25s; }
.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger.open { border-color: var(--gold); color: var(--gold); }

/* Mobile menu dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--dark2);
  border-top: 1px solid #2a2a2a;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.mobile-menu.open {
  display: flex;
  max-height: 500px;
  padding: 20px 30px 24px;
  gap: 0;
}
.mobile-menu nav { flex-direction: column; gap: 0; }
.mobile-menu nav a {
  display: block; padding: 13px 0;
  border-bottom: 1px solid #2a2a2a;
  font-size: 14px; letter-spacing: 1.5px;
  color: var(--gray);
}
.mobile-menu nav a:last-child { border-bottom: none; }
.mobile-menu nav a:hover { color: var(--gold); }
.mobile-menu-footer { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #2a2a2a; }
.mobile-user-link { display: flex; align-items: center; gap: 10px; color: var(--gray); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; padding: 8px 0; transition: color 0.2s; }
.mobile-user-link:hover { color: var(--gold); }

/* SECTION */
.section { max-width: 1140px; margin: 0 auto; padding: 80px 30px; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: 1px; }
.section-link { color: var(--gold); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; transition: gap 0.2s; }
.section-link:hover { gap: 14px; }
.products-bg { background: var(--dark); }

/* TICKER */
.ticker { background: var(--dark2); border-top: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a; padding: 14px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-flex; gap: 60px; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); }
.ticker-item .dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* FOOTER */
footer { background: var(--dark); border-top: 1px solid #2a2a2a; padding: 60px 30px 30px; }
.footer-inner { max-width: 1140px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand p { color: var(--gray); font-size: 14px; line-height: 1.8; margin: 16px 0 24px; max-width: 280px; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 38px; height: 38px; background: var(--dark3); border: 1px solid #333; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; text-decoration: none; color: var(--gray); }
.social-link:hover { border-color: var(--gold); background: rgba(245,200,66,0.1); }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--gray); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid #2a2a2a; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: #555; font-size: 12px; }
.footer-bottom a { color: var(--gold); text-decoration: none; }
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; background: #25D366; color: white; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 8px 24px rgba(37,211,102,0.45); transition: transform 0.25s, box-shadow 0.25s; animation: float 3s ease-in-out infinite; }
.whatsapp-float:hover { animation: none; transform: scale(1.12); box-shadow: 0 12px 32px rgba(37,211,102,0.6); }
