/* =========================================
   ZUMAN — Eletrodomésticos
   Design System & Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy:        #1c2040;
  --navy-light:  #252b52;
  --navy-dark:   #131628;
  --gold:        #c8922a;
  --gold-light:  #e0a830;
  --white:       #ffffff;
  --off-white:   #f7f8fb;
  --gray-100:    #f0f2f6;
  --gray-200:    #e2e5ed;
  --gray-400:    #9aa3b8;
  --gray-600:    #5a6275;
  --text:        #1c2040;

  --radius-sm:   4px;
  --radius-md:   10px;
  --radius-lg:   18px;
  --radius-xl:   28px;

  --shadow-sm:   0 1px 4px rgba(28,32,64,.07);
  --shadow-md:   0 4px 18px rgba(28,32,64,.11);
  --shadow-lg:   0 10px 36px rgba(28,32,64,.16);
  --shadow-xl:   0 22px 64px rgba(28,32,64,.22);

  --t:           .25s ease;
  --t-slow:      .4s ease;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* ── Layout ─────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Typography ─────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1rem, 2vw, 1.35rem); }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: all var(--t);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-white  { background: var(--white);       color: var(--navy); }
.btn-white:hover { background: var(--gray-100); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy   { background: var(--navy);        color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }
.btn-gold   { background: var(--gold);        color: var(--white); }
.btn-gold:hover { background: var(--gold-light); }

/* ── Header ─────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo-img {
  height: 34px;
  filter: brightness(0) invert(1);
  transition: opacity var(--t);
}
.logo-img:hover { opacity: .85; }
.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color var(--t);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--t);
}
.nav-mobile {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 199;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--t);
}
.nav-mobile a:hover { color: white; }

/* ── Hero ───────────────────────────────── */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 75% 40%, rgba(200,146,42,.10) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(255,255,255,.04) 0%, transparent 45%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 7rem 0 6rem;
  position: relative;
  z-index: 1;
}
.hero-title { color: var(--white); margin-bottom: 1.25rem; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-desc {
  color: rgba(255,255,255,.68);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(200,146,42,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
  animation: float 7s ease-in-out infinite;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .9s ease;
}
.hero-slide.active { opacity: 1; }
.hero-product {
  max-height: 460px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 56px rgba(0,0,0,.55));
}
.hero-dots {
  display: flex;
  gap: .5rem;
  z-index: 1;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}
.hero-dot.active {
  background: var(--gold);
  width: 26px;
  border-radius: 4px;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-top: .25rem;
  letter-spacing: .05em;
}

/* ── Section Shell ──────────────────────── */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-gray { background: var(--off-white); }
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-title { color: var(--navy); margin-bottom: .75rem; }
.section-dark .section-title { color: var(--white); }
.section-desc {
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.75;
}
.section-dark .section-desc { color: rgba(255,255,255,.6); }

/* ── Categories ─────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  transition: all var(--t);
  display: block;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform var(--t);
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy);
}
.cat-card:hover::after { transform: scaleX(1); }
.cat-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  transition: border-color var(--t);
}
.cat-card:hover .cat-icon { border-color: var(--navy); }
.cat-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.cat-name {
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: .3rem;
}
.cat-count {
  font-size: .76rem;
  color: var(--gray-400);
}

/* ── Product Cards ──────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.prod-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-200);
  transition: all var(--t);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.prod-img-wrap {
  aspect-ratio: 1;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}
.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--t-slow);
}
.prod-card:hover .prod-img-wrap img { transform: scale(1.06); }
.prod-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.prod-tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem;
}
.prod-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .2rem;
  line-height: 1.3;
}
.prod-model {
  font-size: .72rem;
  color: var(--gray-400);
  font-family: 'Courier New', monospace;
  letter-spacing: .06em;
}
.prod-link {
  margin-top: auto;
  padding-top: 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--t);
}
.prod-link::after { content: '→'; }
.prod-card:hover .prod-link { gap: .6rem; }

/* ── Values Section ─────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.value-item {
  padding: 3rem 2.5rem;
  background: rgba(255,255,255,.04);
  text-align: center;
  transition: background var(--t);
}
.value-item:hover { background: rgba(255,255,255,.08); }
.value-icon {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  display: block;
}
.value-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
}
.value-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

/* ── CTA Banner ─────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200,146,42,.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p  { color: rgba(255,255,255,.65); margin-bottom: 2rem; font-size: 1.05rem; }

/* ── Footer ─────────────────────────────── */
.footer {
  background: #0e1122;
  color: rgba(255,255,255,.5);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-img { height: 30px; margin-bottom: 1.25rem; }
.footer-brand p { font-size: .88rem; line-height: 1.75; max-width: 250px; }
.footer-col h4 {
  color: var(--white);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--white); }
.footer-contact p {
  font-size: .88rem;
  line-height: 1.8;
  color: rgba(255,255,255,.5);
}
.footer-contact strong { color: rgba(255,255,255,.85); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: color var(--t); }
.footer-bottom a:hover { color: white; }

/* ── Page Hero (produtos.html) ──────────── */
.page-hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 80% 50%, rgba(200,146,42,.08) 0%, transparent 50%);
  padding: 4rem 0 3.5rem;
  color: var(--white);
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.55); font-size: 1.05rem; }

/* ── Filters ────────────────────────────── */
.filters-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 68px;
  z-index: 100;
  padding: 1.25rem 0;
}
.filter-tabs {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.filter-tab {
  padding: .55rem 1.5rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  transition: all var(--t);
}
.filter-tab:hover { border-color: var(--navy); color: var(--navy); }
.filter-tab.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ── Catalog Grid ───────────────────────── */
.catalog-section { padding: 3rem 0 5rem; background: var(--off-white); }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.catalog-grid .prod-card { opacity: 1; transition: opacity var(--t), transform var(--t), box-shadow var(--t); }
.catalog-grid .prod-card.hidden { display: none; }

/* ── Modal ──────────────────────────────── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,12,30,.75);
  z-index: 500;
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.96) translateY(10px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(0,0,0,.55);
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}
.modal-close:hover { background: rgba(0,0,0,.8); }
.modal-gallery {
  background: var(--gray-100);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}
.modal-main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: white;
  padding: 1rem;
}
.modal-thumbs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.modal-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: white;
  padding: 3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--t);
}
.modal-thumb:hover,
.modal-thumb.active { border-color: var(--navy); }
.modal-details {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.modal-category {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.modal-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
  line-height: 1.2;
}
.modal-model {
  font-size: .8rem;
  color: var(--gray-400);
  font-family: 'Courier New', monospace;
  margin-bottom: 1.25rem;
  letter-spacing: .06em;
}
.modal-desc {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.modal-specs {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.75rem;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.spec-label { color: var(--gray-600); font-weight: 500; }
.spec-value { color: var(--navy); font-weight: 600; }
.modal-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: auto; }

/* ── Divider ─────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1rem auto 0;
}
.section-header .divider { margin: 1rem auto 0; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid   { grid-template-columns: repeat(3, 1fr); }
  .catalog-grid    { grid-template-columns: repeat(3, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 0 3.5rem;
    gap: 0;
  }
  .hero-visual {
    order: -1;
    margin-left: -2rem;
    margin-right: -2rem;
    padding-bottom: 1.25rem;
  }
  .hero-visual::before { display: none; }
  .hero-slider { height: 320px; animation: none; background: var(--white); }
  .hero-product {
    max-height: 300px;
    filter: none;
  }
  .hero-text { padding-top: 2.5rem; }
  .hero-desc    { max-width: 560px; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats   { justify-content: center; gap: 2rem; }
  .values-grid  { grid-template-columns: 1fr; }
  .modal {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .modal-gallery {
    max-height: none;
    overflow: visible;
  }
  .modal-details { overflow: visible; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid   { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .products-grid   { grid-template-columns: 1fr; }
  .catalog-grid    { grid-template-columns: 1fr; }
  .hero-inner { padding: 0 0 2.5rem; }
  .hero-visual {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
  }
  .hero-slider { height: 260px; }
  .hero-product { max-height: 240px; filter: none; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-stats { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
  .modal-backdrop { padding: .75rem; }
}
