/* ===========================================================
   Nhami Mami — Landing Page
   =========================================================== */

@import url('https://fonts.cdnfonts.com/css/kg-miss-kindergarten');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #E3273A;
  --red-dark: #C81E30;
  --pink: #FF4D6D;
  --yellow: #FFD23F;
  --yellow-deep: #FFB800;
  --green: #4CAF50;
  --green-deep: #2E8B3D;
  --purple: #7B5EA7;
  --blue: #3E9BD6;
  --orange: #F7941D;
  --cream: #FCF3E4;
  --cream-dark: #F5E6C8;
  --ink: #3A2E2A;
  --ink-soft: #6b5d55;
  --white: #ffffff;
  --shadow-sm: 0 6px 16px rgba(58,46,42,.08);
  --shadow-md: 0 14px 34px rgba(58,46,42,.12);
  --shadow-lg: 0 24px 60px rgba(58,46,42,.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

html { scroll-behavior: smooth; font-size: 112.5%; overflow-x: hidden; width: 100%; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.5;
}

h1, h2, h3, .display {
  font-family: 'KG Miss Kindergarten', 'Baloo 2', cursive;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

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

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

a { text-decoration: none; color: inherit; }

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-family: 'KG Miss Kindergarten', 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-icon { width: 20px; height: 20px; transition: transform .25s ease; }
.btn:hover .btn-icon { transform: translateX(5px); }

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(227,39,58,.35);
}
.btn-primary:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 34px rgba(227,39,58,.45); }

.btn-white {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.btn-white:hover { transform: translateY(-4px) scale(1.03); }

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2.5px solid var(--red);
  padding: 13px 26px;
}
.btn-outline:hover { background: var(--red); color: var(--white); transform: translateY(-3px); }

.btn-sm { padding: 10px 22px; font-size: 1rem; }
.btn-lg { padding: 19px 38px; font-size: 1.3rem; }

.pulse { animation: pulseGlow 2.6s ease-in-out infinite; }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 24px rgba(227,39,58,.35); }
  50% { box-shadow: 0 10px 34px rgba(227,39,58,.6), 0 0 0 8px rgba(227,39,58,.08); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}
.site-header.scrolled .logo-img { height: 60px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  height: 86px;
  width: auto;
  transition: transform .25s ease, height .3s ease;
}
.logo:hover .logo-img { transform: scale(1.05) rotate(-2deg); }
.logo-img-footer { height: 80px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-family: 'KG Miss Kindergarten', 'Baloo 2', cursive;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: -3px;
  width: 0; height: 3px;
  background: var(--red);
  border-radius: 3px;
  transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
  z-index: 200;
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Decorative floaters ---------- */
.deco {
  position: absolute;
  font-size: 2rem;
  opacity: .5;
  animation: floatY 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.deco-heart { color: var(--pink); }
.deco-star { color: var(--yellow-deep); }
.d1 { top: 14%; left: 6%; animation-delay: 0s; font-size: 2.4rem; }
.d2 { bottom: 18%; left: 12%; animation-delay: 1.2s; font-size: 1.6rem; }
.d3 { top: 10%; right: 8%; animation-delay: .6s; font-size: 1.8rem; }
.d4 { bottom: 12%; right: 4%; animation-delay: 1.8s; font-size: 2.2rem; }

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(12deg); }
}

.float-slow { animation: floatY 6s ease-in-out infinite; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 90px;
  background: radial-gradient(circle at 20% 20%, #FFFDF8 0%, var(--cream) 55%, var(--cream-dark) 100%);
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .35;
  z-index: 0;
}
.hero-blob-1 { width: 420px; height: 420px; background: var(--yellow); top: -160px; right: -120px; }
.hero-blob-2 { width: 260px; height: 260px; background: var(--green); bottom: -100px; left: -80px; opacity: .25; }
.hero-blob-3 { width: 180px; height: 180px; background: var(--purple); top: 40%; right: 10%; opacity: .15; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.8rem);
  margin-bottom: 20px;
}
.text-pop { color: var(--red); }
.text-underline {
  color: var(--green-deep);
  position: relative;
  white-space: nowrap;
}
.text-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 8px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 4px;
  opacity: .7;
}

.hero-text { font-size: 1.12rem; color: var(--ink-soft); max-width: 480px; margin-bottom: 32px; }

.hero-actions { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.trust-row.center { justify-content: center; }
.trust-row span {
  font-family: 'KG Miss Kindergarten', 'Baloo 2', cursive;
  font-size: 1rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.hero-photo {
  min-width: 0;
}
.hero-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--red);
  overflow: hidden;
  padding: 14px 0;
  transform: rotate(-1deg);
  margin: -18px 0 40px;
  position: relative;
  z-index: 3;
  box-shadow: 0 6px 20px rgba(227,39,58,.25);
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
}
.ticker-track span {
  font-family: 'KG Miss Kindergarten', 'Baloo 2', cursive;
  font-weight: 700;
  color: var(--white);
  font-size: 1.15rem;
  white-space: nowrap;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section generic ---------- */
section { position: relative; padding: 90px 0; }
.section-eyebrow {
  display: inline-block;
  font-family: 'KG Miss Kindergarten', 'Baloo 2', cursive;
  font-weight: 700;
  color: var(--green-deep);
  background: #EAF6EA;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 1rem;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.section-head.center { text-align: center; max-width: 720px; margin: 0 auto 56px; }

/* ---------- Benefit icons (reused inside product cards) ---------- */
.dif-check {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.dif-check svg { width: 22px; height: 22px; }

.dif-c1 { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.dif-c2 { background: linear-gradient(135deg, var(--yellow), var(--yellow-deep)); color: var(--ink); }
.dif-c3 { background: linear-gradient(135deg, #C9A2E8, var(--purple)); }
.dif-c4 { background: linear-gradient(135deg, var(--blue), #2C7CB0); }
.dif-c5 { background: linear-gradient(135deg, var(--pink), var(--red)); }
.dif-c6 { background: linear-gradient(135deg, #FFB25E, var(--orange)); }
.dif-c7 { background: linear-gradient(135deg, #7FD8C4, #2E9E86); }
.dif-c8 { background: linear-gradient(135deg, #D9A066, #A9713C); }

/* ---------- Sabores / Produtos ---------- */
.produto-grupo { margin-bottom: 44px; }
.produto-grupo-title {
  font-size: 1.55rem;
  color: var(--red);
  margin-bottom: 6px;
}
.produto-card {
  background: var(--white);
  border: 1px solid #F0E6D6;
  border-radius: var(--radius-lg);
  padding: 34px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease;
}
.produto-card:hover { box-shadow: var(--shadow-md); }
.produto-head {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 26px;
}
.produto-badge { width: 130px; flex-shrink: 0; }
.produto-badge-round { width: 110px; border-radius: 50%; }
.produto-head h3 { font-size: 1.85rem; margin-bottom: 8px; }
.produto-head p { color: var(--ink-soft); margin-bottom: 14px; max-width: 560px; }

.pill {
  font-family: 'KG Miss Kindergarten', 'Baloo 2', cursive;
  font-weight: 600;
  font-size: .95rem;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--white);
}
.pill-purple { background: var(--purple); }
.pill-green { background: var(--green-deep); }
.pill-blue { background: var(--blue); }

.produto-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}
.produto-strip-3 { grid-template-columns: repeat(3, 1fr); }
.produto-strip-5 { grid-template-columns: repeat(5, 1fr); }
.produto-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.produto-item img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--white);
  padding: 10px;
  border: 1px solid #F0E6D6;
}
.produto-item:hover img { box-shadow: var(--shadow-md); z-index: 2; }
.produto-item .pill { text-align: center; }
.tilt-l:hover { transform: translateY(-8px) rotate(-3deg) scale(1.05); }
.tilt-r:hover { transform: translateY(-8px) rotate(3deg) scale(1.05); }

.produto-beneficios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  margin-bottom: 26px;
  border-top: 1px dashed #F0E6D6;
}
.produto-beneficio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  font-family: 'KG Miss Kindergarten', 'Baloo 2', cursive;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
}
.produto-beneficio .dif-check { width: 26px; height: 26px; }
.produto-beneficio .dif-check svg { width: 14px; height: 14px; }

/* ---------- Momento de compra ---------- */
.momento-compra {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #FFFDF8 0%, var(--cream) 55%, var(--cream-dark) 100%);
  overflow: hidden;
}
.momento-compra-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.momento-compra h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.momento-compra p { color: var(--ink-soft); font-size: 1.1rem; max-width: 520px; }
.momento-compra .trust-row { margin-top: 8px; }

/* ---------- Closing ---------- */
.closing {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  text-align: center;
  padding: 80px 0;
}
.closing-inner { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.closing-banner { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-width: 720px; }
.closing-text { color: rgba(255,255,255,.92); font-size: 1.12rem; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { background: #2B1F1B; color: #EADFD3; padding: 50px 0 30px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-family: 'KG Miss Kindergarten', 'Baloo 2', cursive; font-weight: 600; font-size: 1.05rem; opacity: .85; }
.footer-nav a:hover { opacity: 1; color: var(--yellow); }
.footer-copy { font-size: .82rem; opacity: .6; }

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed;
  bottom: 22px; right: 22px;
  background: var(--red);
  color: var(--white);
  font-family: 'KG Miss Kindergarten', 'Baloo 2', cursive;
  font-weight: 700;
  padding: 15px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(227,39,58,.4);
  z-index: 90;
  display: flex; align-items: center; gap: 8px;
  opacity: 0;
  transform: translateY(20px) scale(.9);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.floating-cta.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.floating-cta:hover { transform: translateY(-4px) scale(1.05); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .produto-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,1,.36,1);
    z-index: 150;
  }
  .nav.open { transform: translateX(0); }
  .nav-link { font-size: 1.1rem; }
  .hamburger { display: flex; }
  .nav-cta { margin-left: 0; margin-top: 10px; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 130px 0 60px; }
  .produto-head { flex-direction: column; text-align: center; align-items: center; }
  .produto-strip { grid-template-columns: repeat(2, 1fr); }
  .closing-banner { width: 100%; }
  .hero-actions { align-items: stretch; }
  .btn-lg { width: 100%; white-space: normal; line-height: 1.3; }
  .btn { white-space: normal; text-align: center; }
  .floating-cta span { display: none; }
  .floating-cta { padding: 15px; }
}
