/* ============================================================
   JP 3D IMPRESS — Design System
   Carvão Profundo #1B1B1E · Vermelho #D11627 · Off-White #F6F4F1
   ============================================================ */

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

:root{
  --red: #D11627;
  --red-soft: #FBEAEA;
  --red-deep: #A3111F;
  --red-glow: rgba(209,22,38,0.35);
  --off-white: #F6F4F0;
  --charcoal: #1B1B1E;
  --charcoal-soft: #26262A;
  --charcoal-line: #313136;
  --accent: #D11627;
  --accent-light: #E85A63;
  --white: #ffffff;
  --line: rgba(27,27,30,0.08);
  --shadow-soft: 0 20px 60px rgba(27,27,30,0.08);
  --shadow-lift: 0 30px 80px rgba(27,27,30,0.18);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --font-display: 'Poppins', sans-serif;
  --font-mono: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:auto; }
body{
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--charcoal);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  position:relative;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
button{ font-family:inherit; border:none; background:none; cursor:pointer; }
input, select, textarea{ font-family:inherit; }

::selection{ background: var(--red); color:#fff; }

.container{
  width:100%;
  max-width:1320px;
  margin:0 auto;
  padding:0 32px;
}

h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; letter-spacing:-0.02em; }

.eyebrow{
  font-family:var(--font-body);
  font-size:12.5px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color: var(--red);
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:'';
  width:26px; height:1px;
  background:var(--red);
}

.section{ padding:140px 0; position:relative; }
.section-head{ max-width:640px; margin-bottom:64px; }
.section-head h2{ font-size:clamp(32px,4.5vw,52px); margin-top:18px; line-height:1.08; }
.section-head p{ margin-top:20px; font-size:17px; line-height:1.7; color:rgba(27,27,30,0.62); max-width:520px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center p{ margin-left:auto; margin-right:auto; }
.section-head.center .eyebrow::before{ display:none; }

.section.dark{ background:var(--charcoal); color:var(--off-white); }
.section.dark .section-head p{ color:rgba(246,244,240,0.6); }
.section.grey-bg{ background: linear-gradient(180deg, rgba(239,235,229,0.93), rgba(246,244,240,0.93)); }

/* ============ FROSTED LOGO BACKGROUND LOOP ============ */
.bg-logo-loop{
  position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none;
}
.bg-logo-item{
  position:absolute;
  left:var(--x, 50%);
  bottom:var(--start, -420px);
  width:var(--size, 312px);
  height:var(--size, 312px);
  opacity:var(--op, 0.45);
  filter: blur(7px);
  animation-name: logoRiseIndividual;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--dur, 50s);
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
.bg-logo-item img{ width:100%; height:100%; object-fit:contain; display:block; }
.loading-note{ grid-column:1/-1; text-align:center; padding:40px 0; color:rgba(27,27,30,0.4); font-size:14px; }
@keyframes logoRiseIndividual{
  0%{ transform: translateY(0) translateX(-50%) rotate(0deg); }
  50%{ transform: translateY(-70vh) translateX(calc(-50% + var(--drift, 0px))) rotate(var(--rot, 0deg)); }
  100%{ transform: translateY(-145vh) translateX(-50%) rotate(0deg); }
}
body:not(.admin-body)::before{
  content:'';
  position:fixed; inset:0; z-index:0;
  background: var(--off-white);
  pointer-events:none;
}
.section, .hero, .footer, .nav, .marquee-bar{ position:relative; z-index:2; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:17px 34px;
  border-radius:100px;
  font-size:14.5px; font-weight:600; letter-spacing:0.01em;
  transition: all .45s var(--ease);
  white-space:nowrap;
  cursor:pointer;
  position:relative;
  overflow:hidden;
}
.btn-primary{
  background: var(--red);
  color:#fff;
}
.btn-primary:hover{ background: var(--charcoal); transform:translateY(-3px); box-shadow: var(--shadow-lift); }
.btn-ghost{
  background: rgba(255,255,255,0.08);
  color:#fff;
  border:1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover{ background:rgba(255,255,255,0.18); transform:translateY(-3px); }
.btn-dark-ghost{
  background: transparent;
  color: var(--charcoal);
  border:1px solid rgba(27,27,30,0.2);
}
.btn-dark-ghost:hover{ background:var(--charcoal); color:#fff; transform:translateY(-3px); }
.btn-accent{
  background: var(--red);
  color:#fff;
}
.btn-accent:hover{ background:var(--charcoal); transform:translateY(-3px); box-shadow:var(--shadow-lift); }
.btn-sm{ padding:11px 22px; font-size:13px; }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:0.45; cursor:not-allowed; pointer-events:none; }

/* ============ MARQUEE ============ */
.marquee-bar{
  background: var(--charcoal);
  color: var(--off-white);
  overflow:hidden;
  white-space:nowrap;
  position:relative;
  z-index:60;
}
.marquee-track{
  display:inline-flex;
  animation: marquee 30s linear infinite;
  padding:11px 0;
}
.marquee-track span{
  padding:0 28px;
  font-size:12.5px;
  letter-spacing:0.08em;
  font-weight:500;
  color: var(--accent-light);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
@keyframes marquee{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

/* ============ NAV ============ */
.nav{
  position:fixed; top:38px; left:0; right:0; z-index:55;
  transition: all .5s var(--ease);
  padding:14px 0;
  color:#fff;
}
.nav.scrolled{
  top:0;
  color:var(--charcoal);
  background:rgba(246,244,240,0.72);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:0 8px 30px rgba(27,27,30,0.06);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
}
.nav-logo{ display:flex; align-items:center; gap:12px; }
.nav-logo img{ height:44px; width:44px; object-fit:contain; }
.nav-logo span{ font-family:var(--font-display); font-weight:700; font-size:18px; letter-spacing:-0.01em; color:inherit; line-height:1.15; }
.nav-logo span small{ display:block; font-size:10px; font-weight:500; letter-spacing:0.12em; text-transform:uppercase; opacity:0.6; }
.nav-links{ display:flex; align-items:center; gap:32px; }
.nav-links a{
  font-size:13.5px; font-weight:500; letter-spacing:0.01em;
  position:relative; padding:4px 0; color:inherit;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:1.5px;
  background:var(--red); transition:width .35s var(--ease);
}
.nav-links a:hover::after{ width:100%; }
.nav-actions{ display:flex; align-items:center; gap:18px; }
.icon-btn{
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.12);
  color:inherit;
  position:relative;
  transition: all .35s var(--ease);
}
.nav.scrolled .icon-btn{ background:rgba(27,27,30,0.05); }
.icon-btn:hover{ background:var(--red); color:#fff; transform:translateY(-2px); }
#navOrcamentoBtn{ border-color:rgba(255,255,255,0.4); color:#fff; }
.nav.scrolled #navOrcamentoBtn{ border-color:rgba(27,27,30,0.2); color:var(--charcoal); }
.nav.scrolled #navOrcamentoBtn:hover{ background:var(--charcoal); color:#fff; }
.cart-count{
  position:absolute; top:-4px; right:-4px;
  background:var(--red); color:#fff;
  font-size:10.5px; font-weight:700;
  width:19px; height:19px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:2px solid var(--off-white);
}
.nav-burger{ display:none; }
@media (max-width: 900px){ #navOrcamentoBtn{ display:none; } }

/* ============ HERO ============ */
.hero{
  position:relative;
  min-height:100vh;
  display:flex; align-items:center;
  overflow:hidden;
  background:var(--charcoal);
  padding-top:110px;
}
.hero-bg{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  transform:scale(1.12);
  will-change: transform;
  opacity:0.5;
}
.hero-bg::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(27,27,30,0.65) 0%, rgba(27,27,30,0.55) 40%, rgba(27,27,30,0.96) 100%);
}
.hero-glow{
  position:absolute; width:640px; height:640px; border-radius:50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  filter:blur(40px);
  top:-10%; right:-10%;
  pointer-events:none;
  animation: floaty 9s ease-in-out infinite;
}
@keyframes floaty{
  0%,100%{ transform:translate(0,0); }
  50%{ transform:translate(-30px,40px); }
}
.hero-content{
  position:relative; z-index:5;
  max-width:1320px; margin:0 auto; padding:0 32px;
  width:100%;
  color:#fff;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  padding:9px 18px; border-radius:100px;
  background:rgba(255,255,255,0.1); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.2);
  font-size:12px; letter-spacing:0.14em; text-transform:uppercase; font-weight:600;
  color: var(--accent-light);
}
.hero h1{
  font-size:clamp(44px, 7.4vw, 92px);
  line-height:0.98;
  margin-top:26px;
  font-weight:600;
  letter-spacing:-0.03em;
  max-width:920px;
}
.hero h1 em{
  font-style:normal;
  color:var(--accent-light);
  font-weight:300;
  display:block;
}
.hero p{
  margin-top:26px;
  font-size:18px; line-height:1.7;
  color:rgba(255,255,255,0.72);
  max-width:460px;
}
.hero-actions{ display:flex; gap:16px; margin-top:44px; flex-wrap:wrap; }

.hero-cards{
  position:absolute; right:6%; top:50%;
  transform:translateY(-50%);
  display:flex; flex-direction:column; gap:20px;
  z-index:4;
}
.glass-card{
  width:230px;
  padding:20px;
  border-radius:22px;
  background:rgba(255,255,255,0.09);
  backdrop-filter: blur(20px) saturate(150%);
  border:1px solid rgba(255,255,255,0.22);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  color:#fff;
  transition: transform .1s linear;
}
.glass-card .gc-img-wrap{ border-radius:14px; height:140px; width:100%; margin-bottom:12px; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.glass-card img{ height:100%; width:100%; object-fit:contain; padding:8px; }
.glass-card h4{ font-size:14px; font-weight:600; }
.glass-card span{ font-size:12px; color:rgba(255,255,255,0.6); }
.glass-card .price{ color:var(--accent-light); font-weight:700; margin-top:6px; display:block; font-size:15px; }
.glass-card.float-1{ animation: floaty 7s ease-in-out infinite; margin-right:40px; }
.glass-card.float-2{ animation: floaty 8s ease-in-out infinite 1s; }

.hero-scroll{
  position:absolute; bottom:38px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  z-index:5; color:rgba(255,255,255,0.55); font-size:11px; letter-spacing:0.1em; text-transform:uppercase;
}
.scroll-line{ width:1px; height:40px; background:linear-gradient(180deg, rgba(255,255,255,0.6), transparent); overflow:hidden; position:relative; }
.scroll-line::after{
  content:''; position:absolute; top:-40px; left:0; width:100%; height:40%;
  background:var(--accent-light);
  animation: scrollmove 2s ease-in-out infinite;
}
@keyframes scrollmove{
  0%{ top:-40%; } 100%{ top:100%; }
}

/* ============ ABOUT ============ */
.about{ display:grid; grid-template-columns: 0.85fr 1.15fr; gap:90px; align-items:center; }
.about-visual{ position:relative; }
.about-frame{
  border-radius: var(--radius-lg);
  overflow:hidden;
  position:relative;
  aspect-ratio: 4/5;
  background: var(--off-white);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lift);
  border:1px solid rgba(27,27,30,0.06);
}
.about-frame .about-photo{
  width:62%; height:62%; object-fit:contain;
  position:relative;
  filter: drop-shadow(0 16px 30px rgba(27,27,30,0.18));
}
.about-frame .grain{
  position:absolute; inset:0;
  background: radial-gradient(circle at 30% 20%, rgba(209,22,38,0.10), transparent 55%);
}
.about-badge{
  position:absolute; bottom:-26px; left:-26px;
  background:#fff; border-radius:20px; padding:20px 24px;
  box-shadow: var(--shadow-soft);
  display:flex; flex-direction:column; gap:2px;
}
.about-badge b{ font-family:var(--font-display); font-size:28px; color:var(--red); }
.about-badge span{ font-size:12px; color:rgba(27,27,30,0.55); letter-spacing:0.03em; }
.about-text p{ font-size:17px; line-height:1.85; color:rgba(27,27,30,0.68); margin-top:22px; }
.about-stats{ display:flex; gap:40px; margin-top:44px; flex-wrap:wrap; }
.about-stats div b{ font-family:var(--font-display); font-size:30px; display:block; }
.about-stats div span{ font-size:13px; color:rgba(27,27,30,0.55); }

/* ============ GALLERY 3D ============ */
.gallery-section{ background:var(--charcoal); color:#fff; overflow:hidden; }
.gallery-3d{
  position:relative;
  height:460px;
  perspective: 1400px;
  margin-top:70px;
  -webkit-user-select:none; -moz-user-select:none; user-select:none;
  touch-action: pan-y;
}
.gallery-track{
  position:absolute; left:50%; top:50%;
  width:100%; height:100%;
  transform-style:preserve-3d;
  transform: translate(-50%,-50%);
}
.gallery-item{
  position:absolute; left:50%; top:50%;
  width:230px; height:290px;
  margin:-145px 0 0 -115px;
  border-radius:20px;
  overflow:hidden;
  background:linear-gradient(160deg,#fff,var(--off-white));
  box-shadow:0 40px 80px rgba(0,0,0,0.5);
  transition: filter .5s var(--ease), opacity .5s var(--ease);
  display:flex; align-items:center; justify-content:center;
}
.gallery-item img{
  width:80%; height:80%; object-fit:contain;
  -webkit-user-drag:none; user-select:none; pointer-events:none;
}
.gallery-controls{
  display:flex; justify-content:center; gap:16px; margin-top:50px;
}
.gallery-controls button{
  width:52px; height:52px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.25);
  color:#fff; display:flex; align-items:center; justify-content:center;
  transition: all .35s var(--ease);
}
.gallery-controls button:hover{ background:var(--red); color:#fff; border-color:var(--red); }

/* ============ GALLERY LIGHTBOX ============ */
.lightbox-overlay{
  position:fixed; inset:0; z-index:200;
  background:rgba(0,0,0,0.75);
  opacity:0; visibility:hidden;
  transition: opacity .35s var(--ease);
  display:flex; align-items:center; justify-content:center;
  padding:30px;
}
.lightbox-overlay.active{ opacity:1; visibility:visible; }
.lightbox-box{
  width:100%; max-width:940px; max-height:88vh;
  background:#fff; border-radius:24px; overflow:hidden;
  display:grid; grid-template-columns: 1fr 1fr;
  box-shadow:0 60px 120px rgba(0,0,0,0.45);
  transform:scale(0.94) translateY(16px);
  transition: transform .4s var(--ease);
}
.lightbox-overlay.active .lightbox-box{ transform:scale(1) translateY(0); }
.lightbox-photo{
  background:linear-gradient(160deg,#fff,var(--off-white));
  display:flex; align-items:center; justify-content:center;
  position:relative; min-height:340px;
}
.lightbox-photo img{
  width:78%; height:78%; object-fit:contain; display:block;
}
.lightbox-tag{
  position:absolute; top:22px; left:22px;
  background:var(--red); color:#fff; font-size:12px; font-weight:700;
  letter-spacing:0.04em; padding:7px 14px; border-radius:100px;
}
.lightbox-info{
  padding:46px 44px; display:flex; flex-direction:column; overflow-y:auto;
}
.lightbox-info .eyebrow{ margin-bottom:14px; }
.lightbox-info h3{
  font-family:var(--font-display); font-size:30px; line-height:1.15; margin-bottom:16px;
}
.lightbox-info .lightbox-desc{ font-size:16px; line-height:1.75; color:rgba(27,27,30,0.72); margin-bottom:10px; }
.lightbox-info .lightbox-pitch{ font-size:16px; line-height:1.75; color:rgba(27,27,30,0.72); margin-bottom:26px; }
.lightbox-stats{ display:flex; gap:28px; margin-bottom:30px; }
.lightbox-stats div{ display:flex; flex-direction:column; gap:4px; }
.lightbox-stats b{ font-family:var(--font-display); font-size:22px; }
.lightbox-stats span{ font-size:12px; color:rgba(27,27,30,0.55); letter-spacing:0.03em; }
.lightbox-price{
  font-family:var(--font-display); font-size:34px; color:var(--red); margin-bottom:24px;
}
.lightbox-price small{ font-size:14px; color:rgba(27,27,30,0.5); font-family:var(--font-body); }
.lightbox-close{
  position:absolute; top:22px; right:22px; z-index:5;
  width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,0.15); backdrop-filter:blur(6px);
  color:#fff; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,0.3);
  transition: all .3s var(--ease);
}
.lightbox-close:hover{ background:var(--red); border-color:var(--red); }
@media (max-width:760px){
  .lightbox-box{ grid-template-columns:1fr; max-height:92vh; overflow-y:auto; }
  .lightbox-photo{ min-height:260px; }
  .lightbox-info{ padding:32px 26px; }
}

/* ============ FILTER CHIPS ============ */
.filters-row{ display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:36px; flex-wrap:wrap; gap:20px; }
.chip-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:50px; }
.chip{
  padding:10px 20px; border-radius:100px; font-size:13px; font-weight:600;
  border:1px solid var(--line); background:#fff; color:rgba(27,27,30,0.65);
  transition: all .3s var(--ease); cursor:pointer;
}
.chip:hover{ border-color:var(--red); color:var(--red); }
.chip.active{ background:var(--charcoal); border-color:var(--charcoal); color:#fff; }

/* ============ PRODUCT GRID ============ */
.product-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:26px;
}
.product-card{
  background:#fff;
  border-radius: var(--radius-md);
  overflow:hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  position:relative;
  display:flex; flex-direction:column;
}
.product-card:hover{ transform:translateY(-8px); box-shadow: var(--shadow-lift); }
.product-card.out-of-stock{ opacity:0.6; }
.product-media{
  position:relative; overflow:hidden; aspect-ratio: 1/1;
  background: linear-gradient(150deg, #fff 0%, var(--off-white) 100%);
  display:flex; align-items:center; justify-content:center;
}
.product-media img{
  width:82%; height:82%; object-fit:contain;
  transition: transform .8s var(--ease);
}
.product-card:hover .product-media img{ transform:scale(1.14); }
.product-tag{
  position:absolute; top:14px; left:14px;
  background:var(--red); color:#fff;
  padding:6px 13px; border-radius:100px;
  font-size:10.5px; font-weight:700; letter-spacing:0.04em;
  z-index:2;
}
.product-brand{
  position:absolute; top:14px; right:14px;
  background:rgba(27,27,30,0.85); backdrop-filter:blur(6px); color:#fff;
  padding:6px 12px; border-radius:100px;
  font-size:10px; font-weight:600; letter-spacing:0.05em; text-transform:uppercase;
  z-index:2;
}
.stock-badge{
  position:absolute; bottom:14px; left:14px;
  background:rgba(255,255,255,0.94); backdrop-filter:blur(6px);
  padding:5px 12px; border-radius:100px;
  font-size:10.5px; font-weight:600; color:rgba(27,27,30,0.65);
  z-index:2;
}
.stock-badge.low{ color:var(--red); }
.stock-badge.out{ background:var(--charcoal); color:#fff; }
.product-fab{
  position:absolute; bottom:16px; right:16px;
  width:50px; height:50px; border-radius:50%;
  background:var(--charcoal); color:#fff;
  display:flex; align-items:center; justify-content:center;
  transform: translateY(80px);
  transition: transform .5s var(--ease), background .35s;
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  z-index:2;
}
.product-card:hover .product-fab{ transform:translateY(0); }
.product-fab:hover{ background:var(--red); }
.product-fab[disabled]{ background:rgba(27,27,30,0.3); pointer-events:none; }
.product-body{ padding:20px 20px 22px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-body h3{ font-size:16.5px; font-weight:600; }
.product-meta{ display:flex; align-items:center; gap:10px; font-size:12px; color:rgba(27,27,30,0.5); }
.product-footer{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto; padding-top:10px; border-top:1px solid var(--line); }
.price-info-badge{
  position:relative; width:19px; height:19px; border-radius:50%;
  background:var(--red-soft); color:var(--red); border:1px solid var(--red);
  font-size:11px; font-weight:700; line-height:1; display:inline-flex;
  align-items:center; justify-content:center; cursor:help; flex-shrink:0;
}
.price-tooltip{
  position:absolute; bottom:135%; left:50%; transform:translateX(-50%) translateY(4px);
  background:var(--charcoal); color:#fff; font-size:11.5px; font-weight:400;
  padding:7px 12px; border-radius:8px; white-space:nowrap;
  opacity:0; visibility:hidden; pointer-events:none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index:3;
}
.price-info-badge:hover .price-tooltip,
.price-info-badge.show .price-tooltip{
  opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);
}
.price{ font-family:var(--font-display); font-weight:700; font-size:18px; color:var(--charcoal); }
.price small{ font-size:11px; font-weight:500; color:rgba(27,27,30,0.4); }

/* ============ SERVIÇOS ============ */
.serv-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.serv-card{
  background:#fff; border-radius:var(--radius-md); overflow:hidden;
  box-shadow: var(--shadow-soft); transition: transform .5s var(--ease);
  padding:34px 26px; text-align:left;
}
.serv-card:hover{ transform:translateY(-8px); }
.serv-icon{
  width:56px; height:56px; border-radius:16px;
  background:var(--red-soft); color:var(--red);
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
}
.serv-icon svg{ width:26px; height:26px; }
.serv-card h4{ font-size:17px; font-weight:600; margin-bottom:10px; }
.serv-card p{ font-size:13.5px; color:rgba(27,27,30,0.58); line-height:1.65; }

/* ============ FAQ ============ */
.faq-list{ max-width:820px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  display:flex; align-items:center; justify-content:space-between;
  padding:28px 4px; cursor:pointer;
  font-family:var(--font-display); font-weight:600; font-size:17px;
}
.faq-q .plus{
  width:32px; height:32px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-left:20px;
  transition: transform .4s var(--ease), background .3s;
  position:relative;
}
.faq-q .plus::before, .faq-q .plus::after{
  content:''; position:absolute; background:var(--charcoal); transition: transform .3s;
}
.faq-q .plus::before{ width:12px; height:1.5px; }
.faq-q .plus::after{ width:1.5px; height:12px; }
.faq-item.open .faq-q .plus{ background:var(--red); transform:rotate(180deg); }
.faq-item.open .faq-q .plus::before, .faq-item.open .faq-q .plus::after{ background:#fff; }
.faq-item.open .faq-q .plus::after{ transform:scaleY(0); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .5s var(--ease); }
.faq-a p{ padding:0 4px 28px; font-size:15px; line-height:1.75; color:rgba(27,27,30,0.62); max-width:640px; }

/* ============ CONTACT ============ */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:start; }
.contact-list{ display:flex; flex-direction:column; gap:26px; margin-top:34px; }
.contact-row{ display:flex; align-items:flex-start; gap:18px; }
.contact-row .ic{
  width:48px; height:48px; border-radius:14px; background:var(--red-soft);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--red);
}
.contact-row h5{ font-size:14.5px; font-weight:600; margin-bottom:3px; }
.contact-row p, .contact-row a{ font-size:14px; color:rgba(27,27,30,0.6); }
.map-frame{
  border-radius: var(--radius-md); overflow:hidden; box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3.4; border:0;
}
.map-frame iframe{ width:100%; height:100%; border:0; filter: grayscale(0.4) contrast(1.05); }

/* ============ FOOTER ============ */
.footer{ background:var(--charcoal); color:var(--off-white); padding:90px 0 30px; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:60px; padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.footer-brand img{ height:40px; width:40px; object-fit:contain; }
.footer-brand span{ font-family:var(--font-display); font-weight:700; font-size:19px; }
.footer p.tag{ font-size:14px; color:rgba(246,244,240,0.55); max-width:280px; line-height:1.7; }
.footer h6{ font-size:12.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--accent-light); margin-bottom:20px; }
.footer ul li{ margin-bottom:12px; }
.footer ul a{ font-size:14px; color:rgba(246,244,240,0.65); transition:color .3s; }
.footer ul a:hover{ color:var(--accent-light); }
.footer-social{ display:flex; gap:12px; margin-top:20px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,0.2);
  display:flex; align-items:center; justify-content:center; transition: all .3s;
}
.footer-social a:hover{ background:var(--red); border-color:var(--red); color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:28px; font-size:12.5px; color:rgba(246,244,240,0.4); flex-wrap:wrap; gap:10px; }

/* ============ CART DRAWER ============ */
.overlay{
  position:fixed; inset:0; background:rgba(27,27,30,0.5); backdrop-filter:blur(4px);
  opacity:0; pointer-events:none; transition: opacity .45s var(--ease); z-index:90;
}
.overlay.active{ opacity:1; pointer-events:auto; }
.cart-drawer{
  position:fixed; top:0; right:0; height:100%; width:440px; max-width:92vw;
  background:rgba(255,255,255,0.96); backdrop-filter:blur(24px) saturate(160%); z-index:95;
  transform:translateX(100%); transition: transform .55s var(--ease);
  display:flex; flex-direction:column;
  box-shadow: -30px 0 80px rgba(0,0,0,0.2);
}
.cart-drawer.active{ transform:translateX(0); }
.cart-head{ display:flex; align-items:center; justify-content:space-between; padding:28px 28px 22px; border-bottom:1px solid var(--line); }
.cart-head h3{ font-size:20px; }
.cart-close{ width:38px; height:38px; border-radius:50%; background:var(--red-soft); display:flex; align-items:center; justify-content:center; }
.cart-items{ flex:1; overflow-y:auto; padding:20px 28px; display:flex; flex-direction:column; gap:20px; }
.cart-empty{ text-align:center; padding:60px 20px; color:rgba(27,27,30,0.4); font-size:14px; }
.cart-line{ display:flex; gap:14px; }
.cart-line .cart-img-wrap{ width:74px; height:74px; border-radius:12px; background:var(--off-white); flex-shrink:0; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.cart-line img{ width:80%; height:80%; object-fit:contain; }
.cart-line-info{ flex:1; }
.cart-line-info h5{ font-size:14.5px; font-weight:600; }
.cart-line-info .marca-tag{ font-size:12px; color:rgba(27,27,30,0.5); margin-top:3px; }
.cart-line-bottom{ display:flex; align-items:center; justify-content:space-between; margin-top:10px; }
.qty-ctrl{ display:flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:100px; padding:4px 10px; }
.qty-ctrl button{ width:18px; height:18px; display:flex; align-items:center; justify-content:center; font-size:14px; }
.cart-line .remove{ font-size:11.5px; color:var(--red); margin-top:8px; display:inline-block; }

.cart-payment{ padding:20px 28px 0; border-top:1px solid var(--line); }
.cart-payment h5{ font-size:13px; font-weight:600; margin-bottom:12px; color:rgba(27,27,30,0.7); }
.payment-badges{ display:flex; flex-wrap:wrap; gap:9px; }
.payment-badge{
  padding:9px 15px; border-radius:100px; font-size:12.5px; font-weight:600;
  border:1.5px solid var(--line); color:rgba(27,27,30,0.65); transition: all .25s var(--ease); cursor:pointer;
}
.payment-badge:hover{ border-color:var(--red); color:var(--red); }
.payment-badge.selected{ background:var(--charcoal); border-color:var(--charcoal); color:#fff; }

.cart-foot{ padding:20px 28px 32px; border-top:1px solid var(--line); }
.cart-sub{ display:flex; justify-content:space-between; font-size:14px; margin-bottom:8px; color:rgba(27,27,30,0.6); }
.cart-total{ display:flex; justify-content:space-between; font-family:var(--font-display); font-weight:700; font-size:20px; margin-bottom:20px; }
.cart-hint{ font-size:11.5px; color:rgba(27,27,30,0.45); margin-bottom:14px; text-align:center; }

/* ============ WHATSAPP FLOAT ============ */
.wa-float{
  position:fixed; bottom:28px; right:28px; z-index:80;
  width:62px; height:62px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 14px 34px rgba(37,211,102,0.45);
  animation: pulse-wa 2.4s infinite;
}
.wa-float:hover{ transform: scale(1.08); }
@keyframes pulse-wa{
  0%{ box-shadow:0 0 0 0 rgba(37,211,102,0.55), 0 14px 34px rgba(37,211,102,0.4); }
  70%{ box-shadow:0 0 0 16px rgba(37,211,102,0), 0 14px 34px rgba(37,211,102,0.4); }
  100%{ box-shadow:0 0 0 0 rgba(37,211,102,0), 0 14px 34px rgba(37,211,102,0.4); }
}

.toast{
  position:fixed; top:34px; left:50%; transform:translateX(-50%) translateY(-40px);
  background:var(--charcoal); color:#fff; padding:16px 26px; border-radius:100px;
  font-size:13.5px; font-weight:500; z-index:120; display:flex; align-items:center; gap:10px;
  opacity:0; transition: all .5s var(--ease); box-shadow: var(--shadow-lift);
  pointer-events:none;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
.toast .ck{ color:#4ADE80; }

/* Reveal on scroll */
.reveal{ opacity:0; transform:translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px){
  .product-grid{ grid-template-columns:repeat(3,1fr); }
  .serv-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 1080px){
  .about{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .hero-cards{ display:none; }
  .footer-top{ grid-template-columns:1fr 1fr; row-gap:40px; }
}
@media (max-width: 760px){
  .container{ padding:0 20px; }
  .section{ padding:90px 0; }
  .nav{ top:32px; }
  .nav-links{ position:fixed; top:0; right:0; height:100vh; width:78vw; background:var(--off-white);
    flex-direction:column; justify-content:center; align-items:flex-start; padding:0 40px;
    transform:translateX(100%); transition:transform .5s var(--ease); z-index:70; gap:28px; color:var(--charcoal); }
  .nav-links.open{ transform:translateX(0); box-shadow:-20px 0 60px rgba(0,0,0,0.15); }
  .nav-links a{ font-size:22px; }
  .nav-burger{ display:flex; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,0.12); align-items:center; justify-content:center; flex-direction:column; gap:5px; z-index:75; }
  .nav.scrolled .nav-burger{ background:rgba(27,27,30,0.05); }
  .nav-burger span{ width:18px; height:1.5px; background:#fff; transition:.3s; }
  .nav.scrolled .nav-burger span{ background:var(--charcoal); }
  .nav-links.open ~ .nav-actions .nav-burger span, .nav-burger.force-dark span{ background:var(--charcoal); }
  .product-grid{ grid-template-columns:repeat(2,1fr); gap:16px; }
  .serv-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .hero h1{ font-size:42px; }
  .gallery-item{ width:180px; height:230px; margin:-115px 0 0 -90px; }
  .cart-drawer{ width:100%; }
  .bg-logo-item{ width:calc(var(--size, 312px) * 0.55); height:calc(var(--size, 312px) * 0.55); }

  /* Badges do card de produto: empilhados (não lado a lado) para não colidirem em telas estreitas */
  .product-tag{
    top:10px; left:10px; right:auto;
    font-size:9.5px; padding:5px 10px;
    max-width:calc(100% - 20px);
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  .product-brand{
    top:44px; left:10px; right:auto;
    font-size:8.5px; padding:4px 9px;
    max-width:calc(100% - 20px);
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  .stock-badge{ bottom:10px; left:10px; font-size:9.5px; padding:4px 10px; }
}
@media (max-width: 480px){
  .product-grid{ grid-template-columns:1fr 1fr; gap:12px; }
  .product-body{ padding:14px 14px 16px; }
  .product-body h3{ font-size:14px; }
  .price{ font-size:15px; }
}
