/* ============================================================
   NSD DISTRIBUIDORA — Landing page (vanilla CSS)
   Paleta: azul #223a7f / vermelho #e00817 / amarelo #fabc17
   Tipografia: Barlow Condensed (títulos) + Inter (texto)
   ============================================================ */

:root{
  --blue:#223a7f;
  --blue-dark:#182b61;
  --blue-tint:#eaeefa;
  --red:#e00817;
  --red-dark:#b90512;
  --yellow:#fabc17;
  --yellow-dark:#e0a30a;
  --green:#25D366;
  --green-dark:#1DA851;
  --ink:#15181f;
  --muted:#565b66;
  --line:#e3e5eb;
  --offwhite:#f6f7fa;
  --white:#ffffff;

  --font-head:'Barlow Condensed', 'Inter', sans-serif;
  --font-body:'Inter', -apple-system, Segoe UI, sans-serif;

  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:24px;

  --shadow-sm:0 2px 10px rgba(21,24,31,.06);
  --shadow-md:0 10px 30px rgba(21,24,31,.10);
  --shadow-lg:0 24px 60px rgba(21,24,31,.18);

  --container:1240px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  overflow-x:hidden;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--ink);
  line-height:1.08;
  margin:0 0 16px;
  font-weight:700;
  letter-spacing:.01em;
}
h1{ font-size:clamp(34px,5.2vw,60px); font-weight:700; }
h2{ font-size:clamp(28px,3.6vw,42px); }
h3{ font-size:22px; font-weight:700; }
p{ margin:0 0 16px; color:var(--ink); }

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}
.section{ padding:88px 0; }
.section--tight{ padding:56px 0; }
.section--offwhite{ background:var(--offwhite); }
.section--blue{ background:var(--blue); color:var(--white); }
.section--blue h2, .section--blue h3, .section--blue p, .section--blue li{ color:var(--white); }
.section--dark{ background:var(--ink); color:var(--white); }
.section--dark h2, .section--dark h3, .section--dark p, .section--dark li{ color:var(--white); }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-body);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--red);
  margin:0 0 14px;
}
.section--blue .eyebrow, .section--dark .eyebrow{ color:var(--yellow); }
.eyebrow::before{
  content:"";
  width:22px; height:3px;
  background:var(--red);
  display:inline-block;
  border-radius:2px;
}
.section--blue .eyebrow::before, .section--dark .eyebrow::before{ background:var(--yellow); }

.lede{
  font-size:18px;
  color:var(--muted);
  max-width:620px;
  line-height:1.65;
}
.section--blue .lede{ color:rgba(255,255,255,.85); }
.section--dark .lede{ color:rgba(255,255,255,.75); }

.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 30px;
  border-radius:999px;
  font-size:16px;
  font-weight:700;
  border:1.5px solid transparent;
  transition:transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--green); color:var(--white); box-shadow:0 10px 24px rgba(37,211,102,.32); }
.btn-primary:hover{ background:var(--green-dark); }
.btn-outline{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.55); }
.btn-outline:hover{ background:rgba(255,255,255,.14); }
.btn-outline-dark{ background:transparent; color:var(--blue); border-color:var(--blue); }
.btn-outline-dark:hover{ background:var(--blue); color:var(--white); }
.btn-block{ width:100%; }
.btn svg{ flex:none; }

.cta-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:8px; align-items:center; }

.micro-note{
  font-size:13.5px;
  color:var(--muted);
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:6px;
}
.section--blue .micro-note, .section--dark .micro-note{ color:rgba(255,255,255,.65); }

/* ---------------- Header ---------------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:8px 24px;
}
.brand-logo{ height:72px; width:auto; }
.nav-links{
  display:flex; align-items:center; gap:28px;
  font-size:14.5px; font-weight:600; color:var(--ink);
}
.nav-links a:hover{ color:var(--red); }
.nav-cta .btn{ padding:11px 22px; font-size:14px; }

/* ---------------- Hero ---------------- */
.hero{
  position:relative;
  padding:96px 0 80px;
  background:linear-gradient(115deg,#0a1330 0%,var(--blue-dark) 38%,var(--blue) 68%,#3a55a8 100%);
  color:var(--white);
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  background-image:url('../assets/img/hero/estoque-bg.jpg');
  background-size:cover;
  background-position:center;
  mix-blend-mode:luminosity;
  opacity:.24;
  filter:blur(1.5px);
  -webkit-mask-image:linear-gradient(to right, transparent 0%, transparent 18%, black 58%, black 100%);
  mask-image:linear-gradient(to right, transparent 0%, transparent 18%, black 58%, black 100%);
  pointer-events:none;
}
.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center;
}
.hero-content{ max-width:640px; }
.hero h1{ color:var(--white); }
.hero .lede{ color:rgba(255,255,255,.86); max-width:560px; }
.hero-badges{
  display:flex; flex-wrap:wrap; gap:12px;
  margin:28px 0 36px;
}
.hero-badge{
  display:flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.18);
  padding:10px 16px;
  border-radius:999px;
  font-size:13.5px;
  font-weight:600;
}
.hero-badge svg{ flex:none; color:var(--yellow); }
.hero .micro-note{ color:rgba(255,255,255,.8); }

.catalog-mockup{
  position:relative;
  width:100%;
  max-width:440px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--radius-lg);
  padding:20px 20px 32px;
  backdrop-filter:blur(6px);
  box-sizing:border-box;
}
.catalog-mockup-bar{
  display:flex; align-items:center; gap:6px;
  margin-bottom:14px; padding:0 4px;
}
.catalog-mockup-bar span{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.3); }
.catalog-carousel{
  position:relative;
  aspect-ratio:4/3;
  border-radius:var(--radius-md);
  overflow:hidden;
  background:var(--offwhite);
}
.carousel-slide{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .6s ease;
}
.carousel-slide.is-active{ opacity:1; }
.carousel-dots{
  display:flex; justify-content:center; gap:8px;
  margin-top:16px;
}
.carousel-dots .dot{
  width:8px; height:8px; border-radius:50%;
  background:rgba(255,255,255,.3);
  border:none; padding:0; cursor:pointer;
  transition:background .2s ease, transform .2s ease;
}
.carousel-dots .dot.is-active{ background:var(--yellow); transform:scale(1.2); }
.catalog-mockup-tag{
  position:absolute; bottom:12px; left:20px;
  background:var(--yellow); color:var(--ink);
  font-family:var(--font-head); font-weight:700; font-size:14px;
  padding:8px 18px; border-radius:999px;
  box-shadow:var(--shadow-md);
  white-space:nowrap;
  z-index:2;
}

/* ---------------- Qualificação ---------------- */
.qualify-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;
}
.qualify-list{ display:flex; flex-direction:column; gap:14px; }
.qualify-item{
  display:flex; gap:14px; align-items:flex-start;
  padding:16px 18px;
  background:var(--offwhite);
  border-radius:var(--radius-md);
  border:1px solid var(--line);
}
.qualify-item svg{ flex:none; color:var(--red); margin-top:2px; }
.qualify-item.is-yes{ background:var(--blue-tint); border-color:#cfd9f2; }
.qualify-item.is-yes svg{ color:var(--blue); }
.qualify-flip{
  font-family:var(--font-head); font-size:22px; font-weight:700;
  color:var(--blue); margin:26px 0 16px;
}

/* ---------------- Diferenciais ---------------- */
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
  margin-top:8px;
}
.stat-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:26px 22px;
  box-shadow:var(--shadow-sm);
  transition:transform .18s ease, box-shadow .18s ease;
}
.stat-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.stat-icon{
  width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  border-radius:var(--radius-sm);
  background:var(--blue-tint);
  color:var(--blue);
  margin-bottom:16px;
}
.stat-card .num{
  font-family:var(--font-head); font-size:40px; font-weight:700;
  color:var(--red); line-height:1;
  margin-bottom:8px;
}
.stat-card p{ margin:0; color:var(--muted); font-size:14.5px; }

/* ---------------- Marcas ---------------- */
.brands-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:22px;
  max-width:760px; margin:32px auto 0;
}
.brand-card{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:18px;
  padding:40px 28px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
}
.brand-card-logo{ height:72px; display:flex; align-items:center; justify-content:center; }
.brand-card-logo img{ height:100%; width:auto; }
.brand-card p{ margin:0; color:var(--muted); font-size:14.5px; }
.wega-word{
  font-family:var(--font-head); font-weight:700; font-size:28px;
  color:var(--blue); letter-spacing:.03em;
}
.wega-word span{ color:var(--red); }

/* ---------------- Produtos ---------------- */
.products-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px;
  margin-top:8px;
}
.product-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column;
}
.product-card .thumb{
  height:200px;
  display:flex; align-items:center; justify-content:center;
  background:var(--offwhite);
  padding:18px;
}
.product-card .thumb img{ max-height:100%; object-fit:contain; }
.product-card .thumb img.cover{ width:100%; height:100%; max-height:none; object-fit:cover; }
.product-card .thumb.is-color{
  background:linear-gradient(135deg,var(--blue),#3454b4);
}
.product-card .thumb.is-color.red{ background:linear-gradient(135deg,var(--red),#ff3b48); }
.product-card .thumb.is-color.yellow{ background:linear-gradient(135deg,var(--yellow-dark),var(--yellow)); }
.product-card .body{ padding:22px 22px 26px; flex:1; display:flex; flex-direction:column; }
.product-card h3{ margin-bottom:8px; }
.product-card p{ color:var(--muted); font-size:14.5px; flex:1; }
.product-card .tag{
  align-self:flex-start;
  font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--blue); background:var(--blue-tint);
  padding:5px 12px; border-radius:999px; margin-bottom:12px;
}

/* ---------------- Junte e Troque ---------------- */
.jt-wrap{
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
}
.jt-prizes{
  display:flex; flex-wrap:wrap; gap:10px; margin:20px 0 24px;
}
.jt-prize{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);
  padding:9px 16px; border-radius:999px;
  font-size:13.5px; font-weight:600;
}
.jt-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:36px;
  text-align:center;
  box-shadow:var(--shadow-lg);
}
.jt-card img{ max-width:220px; margin:0 auto 20px; }
.jt-card p{ color:var(--muted); font-size:15px; }

/* ---------------- Quem somos ---------------- */
.about-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
}
.about-facts{ display:flex; flex-direction:column; gap:16px; margin-top:22px; }
.about-fact{ display:flex; gap:12px; align-items:flex-start; }
.about-fact svg{ flex:none; color:var(--red); margin-top:3px; }
.about-visual{
  background:linear-gradient(115deg,#0a1330 0%,var(--blue-dark) 38%,var(--blue) 68%,#3a55a8 100%);
  border-radius:var(--radius-lg);
  padding:44px 36px;
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.about-visual .big-quote{
  font-family:var(--font-head); font-size:28px; font-weight:700; line-height:1.25;
  color:var(--white);
  position:relative; z-index:1;
}
.about-visual .slogan{
  margin-top:22px; color:var(--yellow); font-weight:700; letter-spacing:.03em;
  position:relative; z-index:1;
}

/* ---------------- Área de atendimento ---------------- */
.area-card{
  display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:36px;
  background:var(--offwhite);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:36px;
}
.area-info{ display:flex; gap:20px; align-items:flex-start; }
.area-card .pin{
  flex:none; width:64px; height:64px;
  background:var(--red); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--white);
}
.area-list{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
.area-tag{
  background:var(--white); border:1px solid var(--line);
  padding:7px 14px; border-radius:999px; font-size:13.5px; font-weight:600;
}
.area-map{
  width:100%; aspect-ratio:4/3;
  border-radius:var(--radius-md);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}
.area-map iframe{ width:100%; height:100%; border:0; display:block; }

/* ---------------- FAQ ---------------- */
.faq-list{ max-width:800px; margin:0 auto; }
.faq-item{
  border-bottom:1px solid var(--line);
}
.faq-q{
  width:100%;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:22px 4px;
  font-family:var(--font-head); font-size:19px; font-weight:700;
  text-align:left; color:var(--ink);
}
.faq-q svg{ flex:none; transition:transform .2s ease; color:var(--red); }
.faq-item.is-open .faq-q svg{ transform:rotate(45deg); }
.faq-a{
  max-height:0; overflow:hidden; transition:max-height .25s ease;
}
.faq-a p{ padding:0 4px 22px; color:var(--muted); max-width:680px; }
.faq-item.is-open .faq-a{ max-height:240px; }

/* ---------------- CTA final ---------------- */
.cta-final{
  text-align:center;
  padding:96px 0;
  background:linear-gradient(135deg,var(--red) 0%,var(--red-dark) 100%);
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.cta-final::before{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(circle at 80% 20%, rgba(250,188,23,.25), transparent 45%);
}
.cta-final h2{ color:var(--white); position:relative; z-index:1; }
.cta-final .lede{ color:rgba(255,255,255,.9); margin:0 auto 30px; position:relative; z-index:1; }
.cta-final .btn-primary{ background:var(--white); color:var(--green-dark); position:relative; z-index:1; }
.cta-final .btn-primary:hover{ background:var(--yellow); color:var(--ink); }
.cta-final .cta-row{ justify-content:center; position:relative; z-index:1; }
.cta-final .micro-note{ justify-content:center; color:rgba(255,255,255,.75); position:relative; z-index:1; }

/* ---------------- Footer ---------------- */
.site-footer{
  background:var(--ink); color:rgba(255,255,255,.75);
  padding:56px 0 28px; font-size:14.5px;
}
.footer-grid{
  display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:40px;
  padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-grid h4{ color:var(--white); font-size:15px; margin-bottom:14px; }
.footer-grid p, .footer-grid a{ color:rgba(255,255,255,.7); }
.footer-grid a:hover{ color:var(--yellow); }
.footer-logo{ height:50px; width:auto; margin-bottom:16px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:22px; flex-wrap:wrap; gap:12px;
  color:rgba(255,255,255,.5); font-size:13px;
}
.footer-bottom a{ color:rgba(255,255,255,.5); }
.footer-bottom a:hover{ color:var(--yellow); }

/* ---------------- WhatsApp flutuante ---------------- */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:60;
  width:60px; height:60px; border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(37,211,102,.45);
  transition:transform .2s ease;
}
.wa-float:hover{ transform:scale(1.08); }

/* ---------------- Nav mobile toggle ---------------- */
.nav-toggle{ display:none; flex-direction:column; gap:5px; padding:8px; }
.nav-toggle span{ width:24px; height:2px; background:var(--ink); border-radius:2px; }

/* ---------------- Responsivo ---------------- */
@media (max-width:960px){
  .hero-grid, .qualify-grid, .jt-wrap, .about-grid, .area-card{ grid-template-columns:1fr; }
  .catalog-mockup{ margin:0 auto; }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .products-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr; gap:28px; }
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
}
@media (max-width:640px){
  .section{ padding:64px 0; }
  .stats-grid{ grid-template-columns:1fr 1fr; }
  .products-grid{ grid-template-columns:1fr; }
  .brands-grid{ grid-template-columns:1fr; gap:16px; }
  .area-card{ padding:24px; }
  .nav-cta .btn span.full{ display:none; }
}
