/* NEO FLUXO · /comercio · styles.css — autocontido */

/* ── Variáveis e base (espelha o styles.css raiz) ── */
:root {
  --bg: #060c18;
  --bg-soft: #0f1b33;
  --surface: #111f3d;
  --surface-2: #172b53;
  --text: #e9edf6;
  --muted: #adbbd3;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #f3c521;
  --brand-2: #ef9e0f;
  --ok: #4fd1a9;
  --radius: 20px;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 10% -10%, rgba(239,158,15,.16), transparent 35%),
    radial-gradient(circle at 85% 12%, rgba(79,209,169,.14), transparent 30%),
    linear-gradient(180deg, #060c18 0%, #081428 35%, #050a14 100%);
}

img { display: block; max-width: 100%; }

.container {
  width: min(1160px, calc(100% - 2.4rem));
  margin-inline: auto;
}

/* Ambient blobs */
.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: .45;
  pointer-events: none;
}
.ambient-a {
  width: 320px; height: 320px;
  top: 6%; right: 12%;
  background: rgba(243,197,33,.24);
  animation: drift 12s ease-in-out infinite alternate;
}
.ambient-b {
  width: 400px; height: 400px;
  bottom: 4%; left: 8%;
  background: rgba(79,209,169,.2);
  animation: drift 14s ease-in-out infinite alternate-reverse;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(6,12,24,.72);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  min-height: 110px;
  padding-block: .7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand img { width: 220px; height: auto; object-fit: contain; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .8rem 1.3rem;
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  text-decoration: none;
  transition: .24s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary {
  color: #0d1427;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 30px rgba(243,197,33,.24);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.04);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.3); }

/* Typography */
h1, h2, h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.08;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 4vw, 3.45rem); }
h1 span, h2 span { color: var(--brand); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

.lead {
  margin: 1rem 0 0;
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.65;
}
.chip {
  width: fit-content;
  font-size: .88rem;
  font-weight: 700;
  padding: .45rem .85rem;
  border-radius: 999px;
  color: #111f3d;
  background: linear-gradient(120deg, #f6d14e, #f4b62f);
}
.eyebrow {
  margin: 0;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Section */
.section { padding: 4.3rem 0 .5rem; }
.section-head { display: grid; gap: .55rem; max-width: 700px; }
.alt { background: rgba(255,255,255,.015); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .13s; }
.delay-2 { transition-delay: .22s; }

/* Footer */
.footer-brand-block { padding-top: .5rem; }
.footer-brand { display: block; width: 210px; height: auto; }
.legal-strip {
  margin-top: 1rem;
  background: rgba(1,6,16,.92);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1rem 0 1.15rem;
}
.legal-strip-line {
  margin: 0;
  color: #fff;
  font-size: .92rem;
  line-height: 1.6;
  text-align: center;
}
.legal-strip-line a { color: #fff; text-decoration: none; }

/* Animations */
@keyframes drift {
  from { transform: translateY(0) translateX(0) scale(1); }
  to   { transform: translateY(-20px) translateX(20px) scale(1.08); }
}

/* ── Cta actions helper ── */
.cta-actions { margin-top: 1.1rem; display: flex; gap: .7rem; flex-wrap: wrap; }

/* ── Nav extra ── */
.top-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

/* ═══════════════════════════
   HERO
═══════════════════════════ */
.hero-eco {
  position: relative;
  padding-bottom: 0;
  overflow: hidden;
}
.hero-eco-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(243,197,33,.18), transparent 40%),
    radial-gradient(circle at 10% 70%, rgba(79,209,169,.13), transparent 42%);
  pointer-events: none;
}
.hero-eco-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}
.hero-eco-copy h1 {
  margin: 0.7rem 0 0;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  max-width: 15ch;
}
.hero-eco-copy .lead {
  margin-top: 1rem;
  max-width: 46ch;
}
.hero-eco-stats {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.hstat strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  color: var(--brand);
  line-height: 1.1;
}
.hstat span {
  font-size: 0.78rem;
  color: var(--muted);
}
.hero-eco-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-eco-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero-eco-img-wrap {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, #f8f4e8, #ffffff);
  box-shadow:
    0 32px 64px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.12);
  animation: heroFloat 5s ease-in-out infinite;
}
.hero-prod-img {
  max-width: 420px;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
  animation: none;
}
.hero-eco-glow {
  display: none;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* Floating cards */
.hero-float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(6,12,24,.82);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  white-space: nowrap;
}
.hero-float-card > span { font-size: 1.3rem; }
.hero-float-card strong { display: block; font-weight: 700; font-size: 0.88rem; }
.hero-float-card small  { color: var(--muted); font-size: 0.74rem; }
.hfc-a { bottom: 14%; left: -8%; animation: hfcA 6s ease-in-out infinite; }
.hfc-b { top: 14%; right: -6%; animation: hfcB 7s ease-in-out infinite; }
@keyframes hfcA {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}
@keyframes hfcB {
  0%,100% { transform: translateY(0) rotate(1deg); }
  50%      { transform: translateY(8px) rotate(-1deg); }
}

/* Brand strip */
.hero-eco-brand-strip {
  margin-top: 0;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  position: relative;
  z-index: 1;
}
.hero-eco-brand-strip p {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.brand-tags span {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
}

/* ═══════════════════════════
   CATEGORY SECTIONS
═══════════════════════════ */
.cat-section {
  padding: 4rem 0 1rem;
}
.cat-section-alt {
  background: rgba(255,255,255,.015);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4rem 0 1rem;
}
.cat-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}
.cat-section-head h2 {
  margin: 0.4rem 0 0;
}
.cat-section-head .lead {
  margin: 0.5rem 0 0;
  max-width: 54ch;
}

/* Category pill */
.cat-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
.pill-river   { background: linear-gradient(120deg,var(--brand),var(--brand-2)); color:#0d1427; }
.pill-delta   { background: linear-gradient(120deg,#4fd1a9,#3ab891); color:#0d1427; }
.pill-solar   { background: linear-gradient(120deg,#4fd1a9,#3ab891); color:#0d1427; }
.pill-especial { background: rgba(255,255,255,.12); color:var(--text); border:1px solid var(--line); }

/* Carousel nav */
.cat-nav {
  display: flex;
  gap: 0.45rem;
  flex-shrink: 0;
}
.cat-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-btn:hover {
  border-color: var(--brand);
  background: rgba(243,197,33,.08);
  transform: scale(1.08);
}

/* ═══════════════════════════
   CAROUSEL
═══════════════════════════ */
.carousel-wrap {
  position: relative;
  margin: 0 -0.5rem;
}
.carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 0.5rem 0.5rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel { user-select: none; }

/* ═══════════════════════════
   PRODUCT CARD
═══════════════════════════ */
.pcard {
  flex: 0 0 270px;
  min-width: 270px;
  max-width: 270px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.pcard:hover {
  transform: translateY(-5px);
  border-color: rgba(243,197,33,.32);
  box-shadow: 0 20px 48px rgba(0,0,0,.32);
}
.pcard-highlight {
  border-color: rgba(243,197,33,.22);
}
.pcard-featured {
  border-color: rgba(79,209,169,.25);
  background: linear-gradient(160deg, rgba(79,209,169,.06), rgba(255,255,255,.02));
}
.pcard-out { opacity: .72; }

/* Card image area */
.pcard-img-link { display: block; text-decoration: none; }
.pcard-img {
  position: relative;
  height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pcard-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 0.8rem;
  transition: transform .3s ease;
}
.pcard:hover .pcard-img img { transform: scale(1.05); }

/* Card image backgrounds — light so mix-blend-mode:multiply removes white bg */
.pcard-img img { mix-blend-mode: multiply; }

.pcard-img-river   { background: linear-gradient(160deg, #fdf8e8, #f5edcc); }
.pcard-img-delta   { background: linear-gradient(160deg, #e4f8f3, #d6f0ea); }
.pcard-img-solar   { background: linear-gradient(160deg, #e4f8f3, #d6f0ea); }
.pcard-img-especial { background: linear-gradient(160deg, #eef0f5, #e4e8f0); }

/* No-image fallback */
.pcard-no-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}
.pcard-no-img span { font-size: 2.8rem; }
.pcard-no-img small { font-size: 0.8rem; font-weight: 700; letter-spacing: .04em; }

/* Badges */
.pcard-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pcard-badge          { background: linear-gradient(120deg,var(--brand),var(--brand-2)); color:#0d1427; }
.pcard-badge-delta    { background: linear-gradient(120deg,#4fd1a9,#3ab891); color:#0d1427; }
.pcard-badge-solar    { background: linear-gradient(120deg,#4fd1a9,#3ab891); color:#0d1427; }
.pcard-badge-especial { background: rgba(255,255,255,.14); color:var(--text); border:1px solid var(--line); }

.pcard-corner-badge {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.22rem 0.52rem;
  border-radius: 6px;
  letter-spacing: .03em;
  text-transform: uppercase;
  background: rgba(255,255,255,.1);
  color: var(--muted);
  border: 1px solid var(--line);
}
.pcard-hot     { background: rgba(243,197,33,.22); color:var(--brand); border-color:rgba(243,197,33,.35); }
.pcard-top     { background: linear-gradient(120deg,var(--brand),var(--brand-2)); color:#0d1427; border:none; }
.pcard-esgotado { background: rgba(255,80,80,.18); color:#ff8080; border-color:rgba(255,80,80,.3); }

/* Card body */
.pcard-body {
  padding: 1rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.pcard-body h3 {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.2;
}
.pcard-specs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.pcard-specs span {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  white-space: nowrap;
}
.pcard-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  flex: 1;
}
.pcard-list li {
  font-size: 0.82rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.pcard-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
  font-size: 0.76rem;
}

/* Card footer */
.pcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}
.pcard-price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.pcard-price small {
  font-size: 0.72rem;
  color: var(--muted);
}
.pcard-price strong {
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  color: var(--text);
}
.price-out-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  border-radius: 5px;
  background: rgba(255,80,80,.15);
  color: #ff8080;
  margin-top: 0.2rem;
  align-self: flex-start;
}

.btn-sm {
  padding: 0.52rem 0.9rem !important;
  font-size: 0.84rem !important;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ═══════════════════════════
   WHY ECOFLOW
═══════════════════════════ */
.why-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.why-card {
  padding: 1.3rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  transition: border-color .22s, transform .22s;
}
.why-card:hover {
  border-color: rgba(243,197,33,.25);
  transform: translateY(-3px);
}
.why-icon { font-size: 1.85rem; margin-bottom: 0.6rem; display: block; }
.why-card h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.why-card p  { margin: 0; font-size: 0.86rem; color: var(--muted); line-height: 1.65; }

/* ═══════════════════════════
   CTA FINAL
═══════════════════════════ */
.cta-eco {
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 12%, rgba(243,197,33,.18), transparent 45%),
    rgba(15,27,51,.88);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 4rem;
}
.cta-eco-copy .lead { margin: 0.7rem 0 0; }
.cta-eco-img {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.cta-img-wrap {
  background: linear-gradient(160deg, #f8f4e8, #ffffff);
  border-radius: 20px;
  overflow: hidden;
  padding: .5rem;
}
.cta-img-wrap img {
  max-width: 260px;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */
@media (max-width: 1050px) {
  .hero-eco-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2.5rem;
  }
  .hero-eco-copy h1 { max-width: none; }
  .hero-eco-copy .lead { max-width: none; }
  .hero-eco-stats { justify-content: center; }
  .hero-eco-actions { justify-content: center; }
  .hero-eco-visual { min-height: 260px; }
  .hfc-a, .hfc-b { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-eco { grid-template-columns: 1fr; }
  .cta-eco-img { justify-content: center; }
  .cat-section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .top-nav .nav-link { display: none; }
  .hero-eco-visual { display: none; }
  .hero-eco-inner { padding-top: 2rem; padding-bottom: 1.5rem; }
  .hero-eco-stats { gap: 1rem; }
  .pcard { flex: 0 0 240px; min-width: 240px; max-width: 240px; }
  .pcard-img { height: 165px; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-eco { padding: 1.4rem; }
  .cta-eco-img { display: none; }
  .brand-tags span { font-size: 0.74rem; }
}
