/* ==========================================================================
   naHora Embalagens — Landing Page (redesign)
   ========================================================================== */

:root {
  --brand: #ff4b22;
  --brand-dark: #e23c15;
  --brand-light: #ff7a52;
  --brand-50: #fff1ec;
  --green: #25d366;
  --green-dark: #1eab52;
  --ink: #16181d;
  --ink-soft: #4b4f58;
  --muted: #7a7f8a;
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --line: #ececef;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(22, 24, 29, 0.06);
  --shadow-md: 0 12px 30px rgba(22, 24, 29, 0.09);
  --shadow-lg: 0 24px 60px rgba(22, 24, 29, 0.14);
  --container: 1180px;
  --ff-heading: "Poppins", sans-serif;
  --ff-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff-heading); line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
}
.skip-link:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 999; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--whatsapp {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,211,102,.4); }
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn--ghost:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
}
.header__logo img { height: 34px; width: auto; }
.nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 0.94rem;
}
.nav a { color: var(--ink-soft); transition: color .15s ease; position: relative; }
.nav a:hover { color: var(--brand); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 600; color: var(--green-dark);
  background: #e8fbf0; padding: 7px 12px; border-radius: 999px;
  white-space: nowrap;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(37,211,102,.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 7px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border: none; background: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 22px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 60px;
  background: linear-gradient(180deg, #fff7f4 0%, #ffffff 65%);
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  top: -180px; right: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(circle at 30% 30%, rgba(255,75,34,.18), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--brand-50);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.text-gradient {
  background: linear-gradient(90deg, var(--brand) 0%, #ff8a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { font-size: 1.08rem; max-width: 520px; margin-bottom: 30px; }
.hero__lead strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 18px;
  list-style: none; font-size: .88rem; font-weight: 600; color: var(--ink-soft);
}
.hero__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Stats ---------- */
.stats { padding: 30px 0; background: var(--ink); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat strong {
  display: block; font-family: var(--ff-heading); font-size: 1.9rem; font-weight: 800;
  color: #fff;
}
.stat span { color: #b7bac2; font-size: .85rem; font-weight: 500; }

/* ---------- Sections generic ---------- */
.section { padding: 88px 0; }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__tag {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-50);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section__head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 12px; }
.section__head h2 a { color: var(--brand); }
.section__desc { font-size: 1.02rem; }

/* ---------- Products ---------- */
.products { background: var(--bg-soft); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card__media { aspect-ratio: 16/10; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-card__body h3 { font-size: 1.14rem; font-weight: 700; }
.product-card__body h3 span { font-weight: 500; color: var(--muted); font-size: .95rem; }
.product-card__specs { list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: .87rem; color: var(--ink-soft); }
.product-card__specs li { padding-left: 18px; position: relative; }
.product-card__specs li::before { content: "•"; color: var(--brand); position: absolute; left: 4px; }
.product-card__size { font-size: .88rem; margin-top: auto; }
.product-card__size small { display: block; color: var(--muted); font-weight: 400; }

/* ---------- Diferenciais ---------- */
.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.diferencial {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.diferencial:hover { border-color: var(--brand); transform: translateY(-4px); }
.diferencial__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: var(--brand-50);
  border-radius: 14px;
  margin-bottom: 16px;
}
.diferencial h3 { font-size: 1.08rem; margin-bottom: 8px; }
.diferencial p { font-size: .93rem; }

/* ---------- Segmentos ---------- */
.segmentos { background: var(--bg-soft); }
.segmentos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.segmento-card {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius-md);
  color: #fff;
  overflow: hidden;
  min-height: 150px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.segmento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.segmento-card__icon { font-size: 1.7rem; }
.segmento-card h3 { font-size: 1.02rem; font-weight: 700; }
.segmento-card p { color: rgba(255,255,255,.88); font-size: .82rem; line-height: 1.5; }

.seg--1  { background: linear-gradient(135deg,#ff9966,#ff5e62); }
.seg--2  { background: linear-gradient(135deg,#a18cd1,#fbc2eb); }
.seg--3  { background: linear-gradient(135deg,#ff512f,#f09819); }
.seg--4  { background: linear-gradient(135deg,#43cea2,#185a9d); }
.seg--5  { background: linear-gradient(135deg,#f7971e,#ffd200); }
.seg--6  { background: linear-gradient(135deg,#56ccf2,#2f80ed); }
.seg--7  { background: linear-gradient(135deg,#3a1c71,#d76d77); }
.seg--8  { background: linear-gradient(135deg,#0f2027,#2c5364); }
.seg--9  { background: linear-gradient(135deg,#ff6a88,#ff9a9e); }
.seg--10 { background: linear-gradient(135deg,#11998e,#38ef7d); }

/* ---------- Instagram ---------- */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.insta-post {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-50), #ffe4d6);
  box-shadow: var(--shadow-sm);
}
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.insta-post:hover img { transform: scale(1.06); }
.insta-post__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55));
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 12px;
  opacity: 0; transition: opacity .2s ease;
}
.insta-post:hover .insta-post__overlay { opacity: 1; }
.insta-post__overlay span { color: #fff; font-size: .82rem; font-weight: 600; }
.insta-post__badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 4px 9px; border-radius: 999px;
}
.instagram__updated { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.instagram__cta { text-align: center; margin-top: 34px; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 84px 0;
}
.cta-final__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-final h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.cta-final p { color: rgba(255,255,255,.9); margin-bottom: 28px; font-size: 1.05rem; }
.cta-final .btn--whatsapp { background: #fff; color: var(--green-dark); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.cta-final .btn--whatsapp:hover { background: #f4f4f4; }

/* ---------- Footer ---------- */
.footer { background: #101216; color: #cfd2d8; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 64px 24px 40px;
}
.footer__brand img { height: 32px; margin-bottom: 14px; }
.footer__brand p { color: #9a9ea7; font-size: .9rem; max-width: 280px; }
.footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.footer__col a { color: #b8bbc2; transition: color .15s ease; }
.footer__col a:hover { color: var(--brand-light); }
.footer__bottom { border-top: 1px solid #23262c; padding: 20px 0; }
.footer__bottom p { color: #767a83; font-size: .82rem; text-align: center; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.45);
  z-index: 600;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Scroll reveal (progressive enhancement: hidden state only applied via JS) ---------- */
[data-animate].reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-animate="fade"].reveal { transform: none; }
[data-animate].reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais__grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .header__actions .status-pill { display: none; }
  .nav-toggle { display: flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .diferenciais__grid { grid-template-columns: 1fr; }
  .segmentos__grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }

  .header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .segmentos__grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { text-align: center; }
}
