:root {
  --orange: #FF6B2B;
  --blue: #4A9FE0;
  --teal: #2EE8A5;
  --dark: #0D0D0D;
  --dark2: #161616;
  --dark3: #1E1E1E;
  --card: #1A1A1A;
  --text: #F0F0F0;
  --muted: #888;
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Nunito', sans-serif; background: var(--dark); color: var(--text); overflow-x: hidden; }
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 72px;
  background: rgba(13,13,13,0.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo img { height: 52px; display: block; object-fit: contain; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-cart {
  position: relative; text-decoration: none; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--dark3); border: 1px solid var(--border);
  color: #ffffff; transition: border-color .2s, background .2s, color .2s;
}
.nav-cart:hover { color: var(--orange); }
.nav-cart:hover { border-color: var(--orange); background: rgba(255,107,43,0.08); color: var(--orange); }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--orange); color: #fff; font-size: 0.7rem; font-weight: 800;
  min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center; display: none;
}
.nav-cta {
  background: var(--orange); color: #fff; padding: 10px 20px; border-radius: 8px;
  font-weight: 800; font-size: 0.85rem; text-decoration: none; white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,43,0.4); }
.nav-user-info { display: flex; align-items: center; gap: 8px; }
.nav-logout-btn {
  background: none; border: 1px solid var(--border); color: var(--muted);
  padding: 8px 14px; border-radius: 8px; font-family: 'Nunito', sans-serif;
  font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: color .2s, border-color .2s;
}
.nav-logout-btn:hover { color: #e74c3c; border-color: #e74c3c; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; display: block; }

/* Mobile nav */
@media (max-width: 900px) {
  nav { padding: 0 16px; flex-wrap: wrap; height: auto; min-height: 64px; align-items: center; }
  .nav-logo { margin-right: auto; }
  .nav-actions { order: 1; gap: 8px; }
  .nav-cta { padding: 8px 14px; font-size: 0.8rem; }
  .nav-logout-btn { padding: 7px 10px; font-size: 0.76rem; }
  .hamburger { display: flex; order: 2; margin-left: 10px; }
  .nav-links { display: none; width: 100%; flex-direction: column; gap: 0; padding: 8px 0; order: 3; border-top: 1px solid var(--border); }
  nav.mobile-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
}

/* ── SCROLL ANIMATIONS ── */
.anim { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }
.anim-delay-4 { transition-delay: .4s; }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 40px 60px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
/* Aurora: container com blur pesado — técnica Vercel/Linear */
.hero-aurora {
  position: absolute; inset: -140px;
  filter: blur(130px) saturate(1.3);
  transform: translateZ(0);
}
.hero-blob {
  position: absolute; border-radius: 50%; will-change: transform; pointer-events: none;
}
/* Blobs nas bordas — longe do centro onde fica o texto */
.hero-blob-1 {
  width: 58%; height: 58%; top: 0%; right: -18%;
  background: rgba(74,159,224,0.38);
  animation: aurora-1 10s ease-in-out infinite;
}
.hero-blob-2 {
  width: 55%; height: 65%; bottom: -22%; left: -18%;
  background: rgba(255,107,43,0.36);
  animation: aurora-2 13s ease-in-out infinite;
}
.hero-blob-3 {
  width: 40%; height: 40%; top: -12%; left: 12%;
  background: rgba(46,232,165,0.2);
  animation: aurora-3 8s ease-in-out infinite;
}
/* Véu escuro central — protege a legibilidade do texto */
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(13,13,13,0.72) 0%, transparent 75%);
}
@keyframes aurora-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-10%, 9%) scale(1.18); }
}
@keyframes aurora-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(10%, -11%) scale(0.86); }
}
@keyframes aurora-3 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33%       { transform: translate(7%, 6%) scale(1.15) rotate(22deg); }
  66%       { transform: translate(-6%, -4%) scale(0.88) rotate(-16deg); }
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; max-width: 860px; display: flex; flex-direction: column; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46,232,165,0.1); border: 1px solid rgba(46,232,165,0.25);
  padding: 6px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 700;
  color: var(--teal); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 28px;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1 } 50% { opacity: 0.3 } }
.hero-title {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.92; letter-spacing: 0.01em; margin-bottom: 24px;
}
.hero-title .hl-orange { color: var(--orange); }
.hero-title .hl-blue { color: var(--blue); }
.hero-sub { font-size: 1.1rem; color: var(--muted); line-height: 1.7; margin-bottom: 40px; max-width: 640px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; justify-content: center; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--orange); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Hero bottom printers ─────────────────────────────── */
.hero-printers {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 72px; display: flex; align-items: flex-end;
  justify-content: space-around; overflow: hidden;
  pointer-events: none; z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}
.printer-3d {
  color: rgba(255,255,255,0.17);
  animation: p-bob 4s ease-in-out infinite;
  flex-shrink: 0;
}
/* ciclos de 6 — cobrem qualquer número de impressoras */
.printer-3d:nth-child(6n+2) { animation-duration: 3.6s; animation-delay: -1.4s; }
.printer-3d:nth-child(6n+3) { animation-duration: 4.4s; animation-delay: -2.2s; }
.printer-3d:nth-child(6n+4) { animation-duration: 3.8s; animation-delay: -0.7s; }
.printer-3d:nth-child(6n+5) { animation-duration: 4.2s; animation-delay: -3.0s; }
.printer-3d:nth-child(6n)   { animation-duration: 3.4s; animation-delay: -1.8s; }
.printer-3d .p-head { animation: p-print 2.4s ease-in-out infinite; }
.printer-3d:nth-child(6n+2) .p-head { animation-duration: 2.0s; animation-delay: -0.6s; }
.printer-3d:nth-child(6n+3) .p-head { animation-duration: 2.8s; animation-delay: -1.3s; }
.printer-3d:nth-child(6n+4) .p-head { animation-duration: 2.2s; animation-delay: -0.4s; }
.printer-3d:nth-child(6n+5) .p-head { animation-duration: 2.6s; animation-delay: -2.0s; }
.printer-3d:nth-child(6n)   .p-head { animation-duration: 1.9s; animation-delay: -1.1s; }
.printer-3d .p-layer {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: p-grow 3.6s ease-in-out infinite;
}
.printer-3d:nth-child(6n+2) .p-layer { animation-duration: 4.0s; animation-delay: -1.8s; }
.printer-3d:nth-child(6n+3) .p-layer { animation-duration: 3.2s; animation-delay: -0.5s; }
.printer-3d:nth-child(6n+4) .p-layer { animation-duration: 4.4s; animation-delay: -2.5s; }
.printer-3d:nth-child(6n+5) .p-layer { animation-duration: 3.8s; animation-delay: -0.9s; }
.printer-3d:nth-child(6n)   .p-layer { animation-duration: 4.2s; animation-delay: -3.2s; }
@keyframes p-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes p-print {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(10px); }
}
@keyframes p-grow {
  0%   { transform: scaleY(0.1); }
  60%  { transform: scaleY(1); }
  100% { transform: scaleY(0.1); }
}
@media (prefers-reduced-motion: reduce) { .hero-printers { display: none !important; } }
@media (max-width: 700px) { .hero-printers { display: none; } }

/* ── COMMON SECTION ── */
section { padding: 96px 40px; position: relative; }
.section-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; display: block; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 500px; line-height: 1.65; }
.section-header { margin-bottom: 56px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--orange); color: #fff; padding: 14px 32px; border-radius: 10px;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 20px rgba(255,107,43,0.3);
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,107,43,0.5); }
.btn-ghost {
  background: transparent; color: var(--text); padding: 14px 32px; border-radius: 10px;
  font-weight: 800; font-size: 1rem; text-decoration: none; border: 1.5px solid var(--border);
  transition: border-color .2s, color .2s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ── MARQUEE ── */
.marquee-wrap { background: var(--orange); padding: 14px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 0; white-space: nowrap; animation: marquee 28s linear infinite; will-change: transform; }
.marquee-item {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.35rem; letter-spacing: 0.08em;
  padding: 0 28px; color: rgba(255,255,255,0.9); display: flex; align-items: center; gap: 14px;
}
.marquee-item::after { content: '✦'; color: rgba(255,255,255,0.5); }
@keyframes marquee { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) } }

/* ── PRODUCTS GRID ── */
#produtos { background: var(--dark2); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; cursor: pointer;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); border-color: rgba(255,107,43,0.3); }
.card-img {
  width: 100%; aspect-ratio: 4/3; background: var(--dark3);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
}
.card-img-bg { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(255,107,43,0.07), transparent 70%); }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,107,43,0.14), rgba(74,159,224,0.14)); opacity: 0; transition: opacity .3s; }
.product-card:hover .card-overlay { opacity: 1; }
.card-body { padding: 20px 22px 22px; }
.card-category { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal); margin-bottom: 8px; }
.card-name { font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; line-height: 1.3; }
.card-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.card-price { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; color: var(--orange); margin-bottom: 16px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-cta {
  background: var(--orange); color: #fff; padding: 9px 18px; border-radius: 8px;
  font-weight: 800; font-size: 0.82rem; text-decoration: none; border: none;
  cursor: pointer; transition: background .2s; font-family: 'Nunito', sans-serif;
}
.card-cta:hover { background: #e05a20; }
.card-badge { background: rgba(46,232,165,0.1); color: var(--teal); border: 1px solid rgba(46,232,165,0.2); padding: 4px 12px; border-radius: 100px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }

/* ── HOW IT WORKS ── */
#como-funciona { background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(74,159,224,0.05), transparent 70%), var(--dark); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.step {
  text-align: center; padding: 36px 22px; background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; position: relative; transition: border-color .3s, transform .3s;
}
.step:hover { border-color: var(--blue); transform: translateY(-4px); }
.step-num { font-family: 'Bebas Neue', sans-serif; font-size: 4rem; color: rgba(255,107,43,0.14); line-height: 1; position: absolute; top: 14px; right: 18px; }
.step-icon { font-size: 2.4rem; margin-bottom: 14px; }
.step-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 10px; }
.step-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ── ABOUT ── */
#sobre { background: var(--dark2); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; border-radius: 20px; overflow: hidden; }
.about-img-wrap img { width: 100%; display: block; }
.about-frame {
  position: absolute; inset: -2px; border: 2px solid transparent;
  background: linear-gradient(135deg, var(--orange), var(--blue)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out; mask-composite: exclude; border-radius: 20px;
}
.about-text .section-sub { max-width: 100%; margin-bottom: 28px; }
.about-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pill { background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 7px 16px; border-radius: 100px; font-size: 0.82rem; font-weight: 700; }
.pill.orange { border-color: rgba(255,107,43,0.4); color: var(--orange); background: rgba(255,107,43,0.07); }
.pill.blue { border-color: rgba(74,159,224,0.4); color: var(--blue); background: rgba(74,159,224,0.07); }
.pill.teal { border-color: rgba(46,232,165,0.4); color: var(--teal); background: rgba(46,232,165,0.07); }

/* ── CONTACT ── */
#contato { background: var(--dark); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-channels { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.channel {
  display: flex; align-items: center; gap: 14px; background: var(--card);
  border: 1px solid var(--border); padding: 18px 22px; border-radius: 14px;
  text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s;
}
.channel:hover { border-color: var(--orange); transform: translateX(6px); }
.channel-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.channel-icon.wpp { background: rgba(37,211,102,0.15); color: #25D366; }
.channel-icon.ig { background: rgba(225,48,108,0.15); color: #e1306c; }
.channel-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.channel-val { font-weight: 800; font-size: 0.95rem; }

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.77rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--card); border: 1.5px solid var(--border); color: var(--text);
  font-family: 'Nunito', sans-serif; font-size: 1rem; padding: 12px 16px;
  border-radius: 10px; outline: none; transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--dark2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%; background: var(--orange); color: #fff; padding: 15px; border: none;
  border-radius: 10px; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1rem;
  cursor: pointer; letter-spacing: 0.05em; transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-submit:hover { background: #e05a20; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,43,0.4); }
.form-error { color: #e74c3c; font-size: 0.82rem; margin-top: 5px; display: block; }

/* ── FOOTER ── */
footer { background: var(--dark2); border-top: 1px solid var(--border); padding: 36px 40px 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-brand img { height: 50px; margin-bottom: 18px; object-fit: contain; display: block; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-weight: 800; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { color: var(--muted); text-decoration: none; font-size: 0.88rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 24px; font-size: 0.78rem; color: var(--muted); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border-radius: 10px; background: var(--dark3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1rem;
  transition: background .2s, border-color .2s, transform .2s;
}
.social-link:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45); text-decoration: none; font-size: 1.6rem; color: #fff;
  animation: wa-bounce 3s ease-in-out infinite; transition: transform .2s; will-change: transform;
}
.wa-float:hover { transform: scale(1.12) !important; animation: none; }
.wa-float::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.35); animation: wa-ring 3s ease-in-out infinite;
}
@keyframes wa-bounce { 0%,100% { transform: scale(1) } 50% { transform: scale(1.06) } }
@keyframes wa-ring { 0%,100% { transform: scale(1); opacity: 1 } 50% { transform: scale(1.25); opacity: 0 } }

/* ── AUTH PAGES (login, cadastro) ── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px 20px 40px; }
.auth-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 40px 44px; width: 100%; max-width: 480px; }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img { height: 48px; object-fit: contain; }
.auth-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; text-align: center; margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: 0.9rem; text-align: center; margin-bottom: 32px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--muted); }
.auth-footer a { color: var(--orange); text-decoration: none; font-weight: 700; }
.auth-footer a:hover { text-decoration: underline; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { color: var(--muted); font-size: 0.8rem; }
.social-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; }
.social-divider::before, .social-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.social-divider span { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.social-auth-btns { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.btn-social {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 360px; padding: 12px 20px; border-radius: 10px;
  font-family: 'Nunito', sans-serif; font-size: 0.95rem; font-weight: 700;
  border: none; cursor: pointer; transition: opacity .2s, transform .1s;
}
.btn-social:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-social:active { transform: translateY(0); }
.btn-facebook { background: #1877F2; color: #fff; }

/* ── LOJA PAGE ── */
.loja-header { padding-top: 96px; background: var(--dark2); }
.loja-hero { padding: 60px 40px 40px; position: relative; overflow: hidden; }
.loja-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255,107,43,0.08), transparent 60%); }
.loja-filters { padding: 28px 40px; background: var(--dark2); border-bottom: 1px solid var(--border); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.filter-search { flex: 1; min-width: 200px; background: var(--card); border: 1.5px solid var(--border); color: var(--text); font-family: 'Nunito', sans-serif; font-size: 1rem; padding: 10px 16px; border-radius: 10px; outline: none; transition: border-color .2s; }
.filter-search:focus { border-color: var(--orange); }
.filter-btn { background: var(--card); border: 1.5px solid var(--border); color: var(--muted); padding: 10px 18px; min-height: 44px; border-radius: 100px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.82rem; cursor: pointer; transition: all .2s; white-space: nowrap; }
.filter-btn:hover, .filter-btn.active { background: rgba(255,107,43,0.1); border-color: var(--orange); color: var(--orange); }
.loja-section { padding: 48px 40px 80px; background: var(--dark); }
.loja-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 8px; }

/* ── CART PAGE ── */
.cart-page { padding: 96px 40px 60px; min-height: 100vh; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-items-list { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: flex; gap: 20px; align-items: center; background: var(--card);
  border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; transition: border-color .2s;
}
.cart-item:hover { border-color: rgba(255,107,43,0.25); }
.cart-item-img { width: 72px; height: 72px; border-radius: 10px; background: var(--dark3); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.cart-item-cat { font-size: 0.76rem; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cart-item-price { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; color: var(--orange); margin-top: 6px; }
.qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border); background: var(--dark3); color: var(--text); font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s, background .2s; }
.qty-btn:hover { border-color: var(--orange); background: rgba(255,107,43,0.1); }
.qty-val { font-weight: 800; font-size: 1rem; min-width: 24px; text-align: center; }
.cart-item-remove { background: none; border: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; padding: 4px; transition: color .2s; }
.cart-item-remove:hover { color: #e74c3c; }
.cart-summary { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; position: sticky; top: 90px; }
.cart-summary-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.92rem; }
.summary-row.total { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); font-weight: 800; font-size: 1.1rem; }
.summary-total-value { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--orange); }
.cart-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.cart-empty { text-align: center; padding: 80px 20px; }

/* ── CHECKOUT ── */
.checkout-page { padding: 96px 40px 60px; min-height: 100vh; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.checkout-section { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin-bottom: 20px; }
.checkout-section-title { font-weight: 800; font-size: 1rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option { display: flex; align-items: center; gap: 14px; background: var(--dark2); border: 1.5px solid var(--border); padding: 14px 18px; border-radius: 10px; cursor: pointer; transition: border-color .2s; }
.payment-option:has(input:checked) { border-color: var(--orange); background: rgba(255,107,43,0.06); }
.payment-option input { accent-color: var(--orange); }
.delivery-options { display: flex; flex-direction: column; gap: 10px; }
.delivery-option { display: flex; align-items: center; justify-content: space-between; background: var(--dark2); border: 1.5px solid var(--border); padding: 14px 18px; border-radius: 10px; cursor: pointer; transition: border-color .2s; }
.delivery-option:has(input:checked) { border-color: var(--teal); background: rgba(46,232,165,0.05); }
.order-items-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.order-item { display: flex; align-items: center; gap: 12px; }
.order-item-img { width: 48px; height: 48px; border-radius: 8px; background: var(--dark3); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; overflow: hidden; }
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-name { flex: 1; font-size: 0.88rem; font-weight: 700; }
.order-item-qty { font-size: 0.78rem; color: var(--muted); }
.order-item-price { font-weight: 800; font-size: 0.95rem; }

/* ── ACCOUNT PAGE ── */
.account-page { padding: 96px 40px 60px; min-height: 100vh; }
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.account-sidebar { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; position: sticky; top: 90px; }
.account-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 14px; }
.account-name { font-weight: 800; font-size: 1rem; text-align: center; margin-bottom: 4px; }
.account-email { font-size: 0.82rem; color: var(--muted); text-align: center; margin-bottom: 20px; }
.account-nav { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 0.88rem; transition: background .2s, color .2s; }
.account-nav a:hover, .account-nav a.active { background: rgba(255,107,43,0.1); color: var(--orange); }
.account-section { display: none; }
.account-section.active { display: block; }
.orders-table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { background: var(--dark2); padding: 12px 16px; text-align: left; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--border); }
.orders-table td { padding: 13px 16px; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: rgba(255,255,255,0.015); }

/* ── PIX MODAL ── */
.pix-box { background: var(--dark3); border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; margin: 16px 0; }
.pix-key { font-family: monospace; font-size: 1.1rem; font-weight: 700; color: var(--teal); word-break: break-all; }

/* ── RESPONSIVE ── */

/* 900px — tablet */
@media (max-width: 900px) {
  section { padding: 64px 20px; }
  .section-header { margin-bottom: 36px; }
  #hero { padding: 90px 20px 52px; }
  #sobre { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .loja-header { padding-top: 64px; }
  .loja-hero { padding: 40px 20px 24px; }
  .loja-filters { padding: 16px 20px; }
  .loja-section { padding: 28px 20px 56px; }
  .cart-page, .checkout-page, .account-page { padding: 82px 20px 48px; }
  .form-row { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 22px; }
  .hero-stats { gap: 24px; }
}

/* 600px — large phone */
@media (max-width: 600px) {
  section { padding: 52px 16px; }
  #hero { padding: 82px 16px 44px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-primary, .hero-btns .btn-ghost { text-align: center; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 2rem; }
  .products-grid, .loja-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-info { min-width: 0; }
  /* fix: scroll horizontal na tabela de pedidos */
  .orders-table-wrap { overflow-x: auto; }
}

/* 480px — small phone */
@media (max-width: 480px) {
  nav { padding: 0 12px; }
  section { padding: 44px 12px; }
  #hero { padding: 76px 12px 36px; }
  .hero-badge { font-size: 0.72rem; padding: 5px 12px; }
  .cart-page, .checkout-page, .account-page { padding: 76px 12px 36px; }
  .loja-hero { padding: 32px 12px 18px; }
  .loja-filters { padding: 12px; gap: 8px; }
  .loja-section { padding: 20px 12px 44px; }
  .footer-brand img { height: 40px; }
  footer { padding: 28px 16px 16px; }
  .channel { padding: 14px 16px; }
  .auth-card { padding: 22px 16px; }
  .nav-cta { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* fix: filtros da loja em telas muito pequenas */
  .filter-btn { font-size: 0.76rem; padding: 8px 12px; }
}

/* landscape mobile — evita layout travado com pouca altura */
@media (max-height: 500px) and (orientation: landscape) {
  html { scroll-padding-top: 56px; }
  nav { height: 56px; }
  #hero { min-height: unset; padding-top: 72px; padding-bottom: 32px; }
  .hero-title { font-size: clamp(2.4rem, 6vw, 4rem); }
}

/* ── SPIN ANIMATION (shared) ── */
@keyframes spin { to { transform: rotate(360deg); } }

/* ── PASSWORD TOGGLE ── */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 46px !important; }
.pw-toggle {
  position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; background: none; border: none;
  cursor: pointer; color: var(--muted); font-size: .88rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; transition: color .2s;
}
.pw-toggle:hover { color: var(--text); }

/* ── MODAL QTY SELECTOR ── */
.modal-qty-wrap {
  display: flex; align-items: center; gap: 14px;
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 16px;
}
.modal-qty-label { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.modal-qty-controls { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.modal-qty-val { font-weight: 800; font-size: 1.05rem; min-width: 28px; text-align: center; }

/* ── Acessibilidade: reduz movimento para usuários sensíveis ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Touch targets mínimos no mobile ── */
@media (max-width: 900px) {
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .account-nav a { min-height: 44px; }
  .btn-primary, .btn-ghost { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .card-cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .btn-submit { min-height: 44px; }
  .qty-btn { width: 44px; height: 44px; }
}

/* ── Product Detail Modal ─────────────────────────────── */
.prod-modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.78);
  z-index: 900; display: flex; align-items: center; justify-content: center;
  padding: 16px; backdrop-filter: blur(8px);
}
.prod-modal {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; max-width: 880px; width: 100%; max-height: 90vh;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.prod-modal-gallery {
  background: var(--bg); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.prod-modal-main {
  width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); font-size: 5rem;
}
.prod-modal-main img { width: 100%; height: 100%; object-fit: cover; }
.prod-modal-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.prod-modal-thumb {
  width: 64px; height: 64px; border-radius: 8px; overflow: hidden;
  cursor: pointer; border: 2px solid var(--border); background: var(--card);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  transition: border-color .2s, transform .15s; flex-shrink: 0;
}
.prod-modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-modal-thumb.active { border-color: var(--orange); }
.prod-modal-thumb:hover:not(.active) { border-color: rgba(255,107,43,.4); transform: scale(1.05); }
.prod-modal-info {
  padding: 28px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
}
.prod-modal-name {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text); letter-spacing: .04em; line-height: 1.1;
}
.prod-modal-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prod-modal-desc { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.prod-modal-price {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem;
  color: var(--orange); letter-spacing: .05em;
}
.prod-modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 8px; }
.prod-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  background: rgba(255,255,255,.08); border: 1px solid var(--border);
  color: var(--text); width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; display: flex; align-items: center;
  justify-content: center; transition: background .2s;
}
.prod-modal-close:hover { background: rgba(255,255,255,.18); }
.card-img-hint {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s; font-size: .82rem; font-weight: 700;
  color: #fff; letter-spacing: .04em; gap: 6px; cursor: pointer;
  border-radius: inherit;
}
.product-card:hover .card-img-hint { opacity: 1; }
.product-card { cursor: pointer; }
/* Zoom suave na imagem do card */
.card-img img { transition: transform .45s ease; }
.product-card:hover .card-img img { transform: scale(1.08); }

/* ── SKELETON LOADING ── */
.skeleton-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.skeleton-pulse {
  background: linear-gradient(90deg, var(--dark3) 25%, rgba(255,255,255,0.04) 50%, var(--dark3) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.sk-img { width: 100%; aspect-ratio: 4/3; }
.sk-body { padding: 20px 22px 22px; }
.sk-line { border-radius: 6px; margin-bottom: 10px; }
.sk-cat   { width: 45%; height: 10px; }
.sk-name  { width: 75%; height: 14px; }
.sk-d1    { width: 100%; height: 11px; }
.sk-d2    { width: 80%; height: 11px; margin-bottom: 16px; }
.sk-price { width: 38%; height: 22px; margin-bottom: 16px; }
.sk-btn   { width: 58%; height: 36px; border-radius: 8px; margin-bottom: 0; }

/* Badge pop quando item chega */
@keyframes badge-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.55); }
  100% { transform: scale(1); }
}
.badge-pop { animation: badge-pop .3s ease-out; }
@media (max-width: 640px) {
  .prod-modal { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; }
  .prod-modal-gallery { padding: 20px 20px 10px; }
  .prod-modal-main { aspect-ratio: 4/3; }
  .prod-modal-info { padding: 0 20px 24px; }
}
