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

:root {
  --sage:       #B8C9B8;
  --sage-dark:  #7A8A7A;
  --sage-deep:  #5C6C5C;
  --bege:       #F0EDD8;
  --bege-dark:  #E4E0CA;
  --rosa:       #E8DDD8;
  --azul:       #B0C4D0;
  --white:      #FFFFFF;
  --ink:        #1A1A1A;
  --muted:      #848478;
  --line:       #D8D4C4;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bege);
  color: var(--ink);
  font-family: 'Lexend Peta', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 4rem;
  background: rgba(240,237,216,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  display: flex; flex-direction: column; line-height: 1;
  text-decoration: none;
}
.logo-at { font-size: 0.6rem; letter-spacing: 0.4em; color: var(--muted); font-weight: 200; }
.logo-rule { width: 100%; height: 1px; background: var(--ink); margin: 3px 0; }
.logo-kk { font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }

.nav-links { display: flex; gap: 3rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.85rem; letter-spacing: 0.14em;
  color: var(--muted); text-decoration: none;
  transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-buy {
  font-size: 0.85rem; letter-spacing: 0.14em;
  background: var(--ink); color: var(--bege);
  padding: 0.8rem 1.9rem; text-decoration: none;
  transition: background 0.25s;
}
.nav-buy:hover { background: var(--sage-dark); }
.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 28px; height: 28px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span { width: 100%; height: 1.5px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-login {
  font-size: 0.85rem; letter-spacing: 0.14em;
  color: var(--ink); text-decoration: none;
  border: 1px solid var(--ink);
  padding: 0.8rem 1.9rem;
  transition: background 0.25s, color 0.25s;
}
.nav-login:hover { background: var(--ink); color: var(--bege); }

.nav-icon-btn {
  position: relative;
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--ink);
  text-decoration: none; cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.nav-icon-btn:hover { background: var(--bege-dark); border-color: var(--sage-dark); }
.nav-icon-btn svg { width: 18px; height: 18px; }
.nav-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 17px; height: 17px; padding: 0 3px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bege);
  font-size: 0.6rem; font-weight: 400; border-radius: 999px;
  line-height: 1;
}

.nav-user { display: flex; align-items: center; gap: 0.7rem; }
.nav-user-name {
  font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted);
  max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-logout-form { display: contents; }

/* ─── HERO ─────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 52% 48%;
  padding-top: 60px;
}

/* LEFT — bege — copy */
.hero-left {
  background: var(--bege);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 4.5rem 5rem 4rem;
  position: relative;
}

.h-tag {
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 2.5rem;
  opacity: 0; animation: up 0.8s 0.3s forwards;
}
.h-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sage-dark); flex-shrink: 0; }
.h-tag-text { font-size: 0.7rem; letter-spacing: 0.38em; color: var(--sage-dark); font-weight: 200; }

.h-title {
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 200; line-height: 1.1;
  letter-spacing: -0.01em; color: var(--ink);
  opacity: 0; animation: up 0.8s 0.5s forwards;
}
.h-title .accent { color: var(--sage-dark); }

.h-desc {
  margin-top: 2rem; max-width: 380px;
  font-size: 1.02rem; line-height: 2; color: var(--muted); font-weight: 200;
  opacity: 0; animation: up 0.8s 0.7s forwards;
}

.h-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 2rem;
  opacity: 0; animation: up 0.8s 0.9s forwards;
}
.chip {
  font-size: 0.64rem; letter-spacing: 0.14em;
  color: var(--sage-deep); border: 1px solid var(--sage);
  padding: 0.48rem 1.05rem; background: transparent;
}

.h-ctas {
  display: flex; align-items: center; gap: 1.8rem;
  margin-top: 3rem;
  opacity: 0; animation: up 0.8s 1.1s forwards;
}
.cta-fill {
  display: inline-block; border: none; font-family: inherit; cursor: pointer;
  font-size: 0.85rem; letter-spacing: 0.15em;
  background: var(--ink); color: var(--bege);
  padding: 1.05rem 2.4rem; text-decoration: none;
  transition: background 0.25s;
}
.cta-fill:hover { background: var(--sage-dark); }
.cta-ghost {
  font-size: 0.85rem; letter-spacing: 0.13em;
  color: var(--muted); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 0.15rem;
  transition: color 0.25s;
}
.cta-ghost:hover { color: var(--sage-dark); }

/* Manifesto inline */
.h-manifesto {
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 380px;
  opacity: 0; animation: up 0.8s 1.3s forwards;
}
.manifesto-q {
  font-size: 0.95rem; line-height: 2; color: var(--muted);
  font-style: italic; font-weight: 200;
}
.manifesto-src {
  font-size: 0.62rem; letter-spacing: 0.24em; color: var(--sage-dark);
  margin-top: 0.6rem; font-weight: 200;
}

/* RIGHT — sage com produto cilíndrico real */
.hero-right {
  background: var(--sage);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

/* Grade sutil */
.hero-right::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* KK decorativo enorme */
.hero-kk-deco {
  position: absolute;
  font-size: 55vw; font-weight: 900;
  color: rgba(255,255,255,0.06);
  right: -20%; bottom: -10%;
  line-height: 0.8; user-select: none; pointer-events: none;
}

.corner-tag {
  position: absolute; font-size: 0.64rem;
  letter-spacing: 0.28em; color: rgba(255,255,255,0.35); font-weight: 200;
}
.corner-tag.tl { top: 5rem; left: 2.2rem; }
.corner-tag.br { bottom: 3.5rem; right: 2.2rem; writing-mode: vertical-rl; }

/* Produto — tubo cilíndrico fiel ao mockup */
.product-scene {
  position: relative; z-index: 2;
  opacity: 0;
  animation: appear 1.2s 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}
.p-wrap {
  display: flex; gap: 2.5rem; align-items: flex-end;
  animation: float 8s ease-in-out infinite;
}

/* tubo em pé */
.tube-upright {
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.tube-cap {
  width: 78px; height: 78px; border-radius: 50%;
  background: linear-gradient(145deg, #F8F6F0 0%, #E8E4D4 60%, #D8D4C0 100%);
  box-shadow: 0 -6px 20px rgba(90,108,90,0.2), inset 0 2px 6px rgba(255,255,255,0.6);
  position: relative; z-index: 2;
}
.tube-body {
  width: 78px; height: 200px;
  background: linear-gradient(160deg, #F8F6F2 0%, #EBE8DA 40%, #D8D4C0 100%);
  border-radius: 2px;
  position: relative; overflow: hidden;
  box-shadow: -10px 12px 40px rgba(60,80,60,0.2), 8px 8px 20px rgba(60,80,60,0.1), inset 3px 0 8px rgba(255,255,255,0.5);
  margin-top: -2px;
}
/* Elemento gráfico KK no tubo */
.tube-kk-graphic {
  position: absolute;
  bottom: -5px; right: -12px;
  width: 70px; height: 100px;
  overflow: hidden;
}
.tube-kk-graphic svg {
  width: 100%; height: 100%; opacity: 0.12;
}
.tube-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 10px 6px;
}
.tl-desc {
  font-size: 0.3rem; letter-spacing: 0.2em;
  color: var(--muted); line-height: 1.8; font-weight: 200;
  text-transform: uppercase;
}
.tl-brand { font-size: 0.4rem; letter-spacing: 0.4em; color: var(--muted); font-weight: 200; margin-top: 0.6rem; }
.tl-rule { width: 28px; height: 1px; background: var(--ink); margin: 0.5rem auto; }
.tl-kk { font-size: 1.4rem; font-weight: 700; color: var(--ink); line-height: 1; }
.tl-bottom { font-size: 0.28rem; letter-spacing: 0.2em; color: var(--muted); margin-top: 0.5rem; font-weight: 200; }

.tube-bottom {
  width: 78px; height: 20px;
  background: linear-gradient(to bottom, #D0CCBA, #C0BCAA);
  border-radius: 0 0 4px 4px;
  margin-top: -2px;
}
.tube-shadow {
  width: 68px; height: 12px;
  background: radial-gradient(ellipse, rgba(80,100,80,0.25) 0%, transparent 70%);
  margin: 0.8rem auto 0;
}

/* tubo caído/aberto */
.tube-open {
  transform: rotate(-18deg) translateY(20px);
  display: flex; flex-direction: column; align-items: center;
  opacity: 0.9;
}
.tube-open .tube-cap {
  width: 62px; height: 62px;
  transform: rotate(10deg) translateX(15px) translateY(-10px);
  position: relative; z-index: 3;
}
.tube-open .tube-body {
  width: 62px; height: 160px;
}
.tube-open .tl-kk { font-size: 1.1rem; }

/* ─── STRIP ATRIBUTOS ─────────────── */
.attrs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.attr {
  padding: 2.5rem 1.8rem;
  border-right: 1px solid var(--line);
  text-align: center;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s;
}
.attr:last-child { border-right: none; }
.attr.show { opacity: 1; transform: none; }
.attr-n { font-size: 0.58rem; letter-spacing: 0.28em; color: var(--sage-dark); display: block; margin-bottom: 0.6rem; }
.attr-t { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ink); display: block; margin-bottom: 0.4rem; font-weight: 400; }
.attr-d { font-size: 0.92rem; color: var(--muted); line-height: 1.7; font-weight: 200; }

/* ─── CAMPANHA HERO ───────────────── */
/* Replicar o visual do slide 41 — imagem + logo sobreposto */
.campaign {
  position: relative; overflow: hidden;
  height: 75vh; min-height: 520px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #D8E0D8 0%, #C8D4C4 50%, #B8C8B4 100%);
}
.campaign-bg-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(240,237,216,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 40%, rgba(184,200,180,0.4) 0%, transparent 50%);
}
/* silhueta de pessoas via CSS */
.campaign-people {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.campaign-figure {
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; align-items: flex-end; gap: 0;
}
.figure-adult {
  width: 200px; height: 420px;
  background: linear-gradient(to top, #C8C0B0 0%, #D8CFC0 60%, #E8DFD0 100%);
  border-radius: 40% 40% 0 0 / 20% 20% 0 0;
  position: relative;
}
.figure-child {
  width: 140px; height: 300px;
  background: linear-gradient(to top, #C8C0B0 0%, #D0C8B8 60%, #E0D8C8 100%);
  border-radius: 40% 40% 0 0 / 20% 20% 0 0;
  position: absolute; left: 60px; bottom: 0;
}

/* overlay logo grande */
.campaign-logo {
  position: relative; z-index: 2;
  text-align: left; padding: 0 6rem;
  width: 100%;
}
.campaign-logo-at {
  font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 200;
  color: rgba(240,237,216,0.85); line-height: 1;
  letter-spacing: 0.05em;
}
.campaign-logo-rule {
  height: 2px; width: clamp(200px, 35vw, 420px);
  background: rgba(240,237,216,0.7); margin: 0.5rem 0;
}
.campaign-logo-kk {
  font-size: clamp(4rem, 9vw, 9rem); font-weight: 900;
  color: rgba(240,237,216,0.85); line-height: 0.9;
  letter-spacing: -0.02em;
}
.campaign-tagline {
  font-size: 0.9rem; letter-spacing: 0.2em;
  color: rgba(240,237,216,0.6); font-style: italic; font-weight: 200;
  margin-top: 1.5rem;
}

/* ─── HISTÓRIA ────────────────────── */
.story {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.story-visual {
  background: var(--rosa);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.story-kk-bg {
  font-size: clamp(10rem, 20vw, 18rem); font-weight: 900;
  color: rgba(255,255,255,0.28); user-select: none;
  position: absolute; line-height: 1;
}
.story-icon { font-size: 3rem; position: relative; z-index: 2; }

.story-content {
  background: var(--bege);
  padding: 6rem 5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.s-num { font-size: 0.6rem; letter-spacing: 0.34em; color: var(--sage-dark); margin-bottom: 1.5rem; }
.s-title {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 200; line-height: 1.15; color: var(--ink); margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.s-text { font-size: 1rem; line-height: 2; color: var(--muted); max-width: 400px; margin-bottom: 1rem; font-weight: 200; }
.s-rule { width: 30px; height: 1.5px; background: var(--sage-dark); margin: 2rem 0; }
.s-name { font-size: 1rem; color: var(--ink); font-weight: 300; }
.s-role { font-size: 0.62rem; letter-spacing: 0.16em; color: var(--sage-dark); margin-top: 0.3rem; font-weight: 200; }

/* ─── PRODUTO DETALHE ─────────────── */
/* Replicar slide 36: produto + foto criança */
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.product-detail-visual {
  background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 4rem;
}
/* fundo do elemento gráfico */
.pd-kk-bg {
  position: absolute; bottom: -20px; right: -30px;
  font-size: 18rem; font-weight: 900;
  color: rgba(255,255,255,0.08); line-height: 0.8;
  user-select: none;
}
/* produtos side by side como no slide 36 */
.pd-products {
  display: flex; gap: 1.5rem; align-items: flex-end;
  position: relative; z-index: 2;
  animation: float 9s 1s ease-in-out infinite;
}
.pd-tube {
  display: flex; flex-direction: column; align-items: center;
}
.pd-tube-cap {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(140deg, #F5F2EC 0%, #E2DDD0 100%);
  box-shadow: 0 -4px 14px rgba(80,100,80,0.18), inset 0 2px 5px rgba(255,255,255,0.55);
}
.pd-tube-body {
  width: 64px; height: 170px;
  background: linear-gradient(160deg, #F5F2EC 0%, #E8E4D4 50%, #DAD6C4 100%);
  margin-top: -2px;
  position: relative; overflow: hidden;
  box-shadow: -8px 10px 30px rgba(60,80,60,0.2), inset 2px 0 6px rgba(255,255,255,0.5);
}
.pd-tube-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 0.12rem;
}
.pd-label-desc { font-size: 0.27rem; letter-spacing: 0.18em; color: var(--muted); font-weight: 200; line-height: 1.8; }
.pd-label-brand { font-size: 0.35rem; letter-spacing: 0.38em; color: var(--muted); font-weight: 200; margin-top: 0.4rem; }
.pd-label-rule { width: 22px; height: 1px; background: var(--ink); margin: 0.38rem auto; }
.pd-label-kk { font-size: 1.2rem; font-weight: 700; color: var(--ink); line-height: 1; }
.pd-label-nano { font-size: 0.25rem; letter-spacing: 0.18em; color: var(--muted); margin-top: 0.4rem; font-weight: 200; }
/* segundo tubo ligeiramente inclinado */
.pd-tube-tilt {
  transform: rotate(-8deg) translateY(10px);
}
.pd-tube-shadow { width: 55px; height: 10px; background: radial-gradient(ellipse, rgba(80,100,80,0.22) 0%, transparent 70%); margin: 0.6rem auto 0; }

.product-detail-copy {
  background: var(--bege-dark);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 4rem;
}
.pd-eyebrow { font-size: 0.62rem; letter-spacing: 0.32em; color: var(--sage-dark); margin-bottom: 1.5rem; font-weight: 200; }
.pd-title { font-size: clamp(1.6rem, 2.5vw, 2.5rem); font-weight: 200; color: var(--ink); line-height: 1.2; margin-bottom: 1.5rem; }
.pd-text { font-size: 0.97rem; line-height: 2; color: var(--muted); max-width: 380px; margin-bottom: 1.2rem; font-weight: 200; }
.pd-specs {
  margin-top: 1.5rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.pd-spec {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.82rem; color: var(--muted); font-weight: 200;
}
.pd-spec-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sage-dark); flex-shrink: 0; }
.pd-cta {
  display: inline-block; margin-top: 2.5rem;
  font-size: 0.85rem; letter-spacing: 0.15em;
  background: var(--ink); color: var(--bege);
  padding: 1.05rem 2.2rem; text-decoration: none;
  transition: background 0.25s; width: fit-content;
}
.pd-cta:hover { background: var(--sage-dark); }

/* ─── INGREDIENTES ────────────────── */
.ingr-section { background: var(--sage-dark); padding: 6rem 4rem; }
.ingr-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.5rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.ingr-left .ingr-label { font-size: 0.6rem; letter-spacing: 0.34em; color: rgba(255,255,255,0.4); margin-bottom: 0.7rem; }
.ingr-title { font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-weight: 200; color: var(--white); line-height: 1.2; }
.ingr-count { font-size: 5rem; font-weight: 900; color: rgba(255,255,255,0.1); line-height: 1; }

.ingr-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.1);
}
.ingr-card {
  background: var(--sage-dark); padding: 2.5rem 2.2rem;
  transition: background 0.3s; position: relative; overflow: hidden;
}
.ingr-card:hover { background: var(--sage-deep); }
.ingr-card::before {
  content: ''; position: absolute;
  left: 0; top: 0; width: 2px; bottom: 100%;
  background: var(--bege); transition: bottom 0.35s;
}
.ingr-card:hover::before { bottom: 0; }
.ingr-n { font-size: 0.58rem; letter-spacing: 0.26em; color: rgba(255,255,255,0.28); margin-bottom: 0.9rem; }
.ingr-name { font-size: 1.15rem; font-weight: 200; color: var(--white); margin-bottom: 0.6rem; }
.ingr-desc { font-size: 0.92rem; line-height: 1.85; color: rgba(255,255,255,0.42); font-weight: 200; }

/* ─── QR ──────────────────────────── */
.qr-section {
  background: var(--azul);
  padding: 5.5rem 4rem;
  display: flex; align-items: center; gap: 7rem; justify-content: center;
}
.qr-box {
  width: 96px; height: 96px; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 8px; position: relative;
}
.qr-box::before, .qr-box::after {
  content: ''; position: absolute;
  width: 12px; height: 12px; border-style: solid;
}
.qr-box::before { top: -3px; left: -3px; border-color: var(--white); border-width: 2px 0 0 2px; }
.qr-box::after  { bottom: -3px; right: -3px; border-color: var(--white); border-width: 0 2px 2px 0; }
.qr-cells { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; width: 100%; height: 100%; }
.qr-c { background: rgba(255,255,255,0.1); border-radius: 1px; }
.qr-c.on { background: rgba(255,255,255,0.78); }
.qr-c.hi { background: rgba(255,255,255,0.96); }

.qr-text { max-width: 360px; }
.qr-h { font-size: 1.7rem; font-weight: 200; color: var(--white); line-height: 1.2; margin-bottom: 1rem; }
.qr-h span { font-weight: 400; }
.qr-p { font-size: 0.95rem; line-height: 2; color: rgba(255,255,255,0.98); font-weight: 300; }

/* ─── BANDA FINAL ─────────────────── */
.final-band {
  background: var(--ink);
  padding: 4rem;
  display: flex; justify-content: space-between; align-items: center;
}
.final-quote {
  font-size: 0.62rem; line-height: 2;
  color: rgba(255,255,255,0.5); font-style: italic; font-weight: 200;
  max-width: 500px;
}
.final-logo { display: flex; flex-direction: column; align-items: flex-end; }
.fl-at { font-size: 0.42rem; letter-spacing: 0.4em; color: rgba(255,255,255,0.35); font-weight: 200; }
.fl-rule { width: 100%; height: 1px; background: rgba(255,255,255,0.35); margin: 3px 0; }
.fl-kk { font-size: 1.4rem; font-weight: 700; color: var(--white); }
.fl-slogan { font-size: 0.38rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.3); margin-top: 0.4rem; font-style: italic; }

/* ─── FOOTER ──────────────────────── */
footer {
  background: var(--bege);
  border-top: 1px solid var(--line);
  padding: 2rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
}
.foot-logo { display: flex; flex-direction: column; }
.fl2-at { font-size: 0.62rem; letter-spacing: 0.24em; color: var(--muted); font-weight: 200; }
.fl2-r { width: 36px; height: 1px; background: var(--ink); margin: 2px 0; }
.fl2-kk { font-size: 1rem; font-weight: 700; color: var(--ink); }
.foot-copy { font-size: 0.62rem; color: var(--muted); letter-spacing: 0.1em; font-weight: 200; }

/* ─── PÁGINAS INTERNAS (produtos, carrinho, login) ──── */
.page-shell { padding: 140px 4rem 6rem; min-height: 65vh; max-width: 1280px; margin: 0 auto; }
.page-shell-narrow { max-width: 460px; }
.page-shell-medium { max-width: 780px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-section-title {
  font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage-dark);
  margin: 2.2rem 0 1.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.form-section-title:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.page-kicker { font-size: 0.6rem; letter-spacing: 0.3em; color: var(--sage-dark); text-transform: uppercase; margin-bottom: 0.8rem; }
.page-heading { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 200; color: var(--ink); margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.page-lead { font-size: 0.95rem; color: var(--muted); max-width: 560px; line-height: 1.8; margin-bottom: 3rem; }
.page-crumb { font-size: 0.72rem; color: var(--muted); margin-bottom: 1.4rem; }
.page-crumb a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.page-crumb a:hover { color: var(--ink); }

/* Auth */
.auth-box { max-width: 400px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); padding: 3rem 2.5rem; }
.auth-box-title { font-size: 1.3rem; font-weight: 200; text-align: center; margin-bottom: 2rem; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.4rem; }
.field label { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); background: var(--bege);
  padding: 0.85rem 1rem; font-family: inherit; font-size: 0.9rem;
  color: var(--ink); transition: border-color 0.25s;
  border-radius: 0; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23848478' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage-dark); }
.form-check label { font-size: 0.82rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
input[type="checkbox"] { accent-color: var(--sage-dark); width: 18px; height: 18px; cursor: pointer; }
.field ul { list-style: none; margin-top: 0.4rem; }
.field ul li { font-size: 0.72rem; color: #A8503A; }

.cep-input-group { display: flex; gap: 0.6rem; }
.cep-input-group input { flex: 1; min-width: 0; }
.btn-cep-search {
  flex-shrink: 0; border: 1px solid var(--ink); background: transparent;
  color: var(--ink); font-family: inherit; font-size: 0.78rem; letter-spacing: 0.08em;
  padding: 0 1.3rem; cursor: pointer; transition: background 0.25s, color 0.25s;
}
.btn-cep-search:hover { background: var(--ink); color: var(--bege); }
.btn-cep-search:disabled { opacity: 0.6; cursor: wait; }
.cep-feedback { display: block; font-size: 0.72rem; color: var(--sage-dark); margin-top: 0.4rem; }
.cep-feedback.is-error { color: #A8503A; }
.auth-error-box, .flash-box-error {
  background: rgba(168,80,58,0.1); color: #A8503A;
  padding: 0.8rem 1rem; font-size: 0.78rem; margin-bottom: 1.4rem;
  border-left: 2px solid #A8503A;
}
.flash-box-success {
  background: rgba(122,138,122,0.12); color: var(--sage-deep);
  padding: 0.8rem 1rem; font-size: 0.78rem; margin-bottom: 1.4rem;
  border-left: 2px solid var(--sage-dark);
}
.btn-block { display: block; width: 100%; text-align: center; border: none; cursor: pointer; font-family: inherit; }
.auth-foot-link { display: block; text-align: center; margin-top: 1.6rem; font-size: 0.78rem; color: var(--muted); }
.auth-foot-link a { color: var(--sage-dark); }

/* Product listing */
.product-toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.product-filter {
  font-size: 0.72rem; letter-spacing: 0.08em; padding: 0.5rem 1.1rem;
  border: 1px solid var(--line); color: var(--muted); text-decoration: none; transition: 0.25s;
}
.product-filter:hover, .product-filter.active { background: var(--ink); color: var(--bege); border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2.5rem 2rem; }
.product-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.product-card-img {
  aspect-ratio: 1; background: var(--rosa); overflow: hidden; position: relative;
  margin-bottom: 1rem; display: flex; align-items: center; justify-content: center;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-img svg { width: 32px; height: 32px; color: var(--muted); opacity: 0.5; }
.product-card-badge {
  position: absolute; top: 0.8rem; left: 0.8rem; background: var(--ink); color: var(--bege);
  font-size: 0.55rem; letter-spacing: 0.12em; padding: 0.3rem 0.6rem; text-transform: uppercase;
}
.product-card-category { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 0.4rem; }
.product-card-name { font-size: 0.95rem; color: var(--ink); margin-bottom: 0.5rem; font-weight: 400; }
.product-card-price { display: flex; align-items: baseline; gap: 0.5rem; }
.product-card-price .old { font-size: 0.72rem; color: var(--muted); text-decoration: line-through; }
.product-card-price .now { font-size: 1rem; color: var(--ink); font-weight: 400; }
.page-empty { padding: 5rem 0; text-align: center; color: var(--muted); }

/* Product detail */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.product-gallery-main { aspect-ratio: 1; background: var(--rosa); overflow: hidden; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-main svg { width: 48px; height: 48px; color: var(--muted); opacity: 0.4; }
.product-gallery-thumbs { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.product-gallery-thumbs button { width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); background: var(--rosa); cursor: pointer; overflow: hidden; }
.product-gallery-thumbs button.active { border-color: var(--ink); border-width: 2px; }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-sections { grid-column: 1 / -1; margin-top: -1.5rem; }
.product-detail-sections section { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.product-detail-sections section:last-child { border-bottom: 1px solid var(--line); }
.product-detail-sections h2 { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 0.65rem; }
.product-detail-sections p { color: var(--muted); font-size: 0.78rem; line-height: 1.8; margin: 0; }
.product-info-category { font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 0.8rem; }
.product-info-name { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 200; color: var(--ink); margin-bottom: 1rem; }
.product-info-price { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1.6rem; }
.product-info-price .old { font-size: 0.9rem; color: var(--muted); text-decoration: line-through; }
.product-info-price .now { font-size: 1.6rem; color: var(--ink); }
.product-info-desc { font-size: 0.85rem; line-height: 2; color: var(--muted); margin-bottom: 2rem; max-width: 440px; }
.product-info-stock { font-size: 0.75rem; color: var(--sage-dark); margin-bottom: 1.6rem; }
.product-info-stock.out { color: #A8503A; }
.qty-input { display: flex; align-items: center; border: 1px solid var(--line); width: fit-content; margin-bottom: 1.4rem; }
.qty-input button { width: 38px; height: 38px; background: none; border: none; cursor: pointer; font-size: 1rem; color: var(--ink); }
.qty-input input { width: 50px; text-align: center; border: none; background: none; font-family: inherit; font-size: 0.9rem; color: var(--ink); }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.cart-item { display: flex; gap: 1.2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.cart-item-img { width: 76px; height: 76px; background: var(--rosa); flex-shrink: 0; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { min-width: 160px; }
.cart-item-name { font-size: 0.9rem; color: var(--ink); margin-bottom: 0.3rem; }
.cart-item-price { font-size: 0.75rem; color: var(--muted); }
.cart-item-actions { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; }
.cart-item-remove { font-size: 0.68rem; color: #A8503A; text-decoration: underline; background: none; border: none; cursor: pointer; font-family: inherit; }
.cart-summary { border: 1px solid var(--line); padding: 2rem; background: var(--white); position: sticky; top: 120px; }
.cart-summary-title { font-size: 0.95rem; color: var(--ink); margin-bottom: 1.4rem; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.8rem; }
.cart-summary-total { display: flex; justify-content: space-between; font-size: 1.1rem; color: var(--ink); padding-top: 1rem; border-top: 1px solid var(--line); margin-top: 0.6rem; margin-bottom: 1.6rem; }

/* Área do cliente */
.account-summary { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.account-summary-name { font-size: 1.1rem; color: var(--ink); font-weight: 300; }
.account-summary-email { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }

.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.account-card {
  display: block; padding: 2rem; border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: border-color 0.25s, background 0.25s;
}
.account-card:hover { border-color: var(--sage-dark); background: var(--white); }
.account-card-icon { width: 34px; height: 34px; margin-bottom: 1.2rem; color: var(--sage-dark); }
.account-card-icon svg { width: 100%; height: 100%; }
.account-card-title { font-size: 0.95rem; color: var(--ink); margin-bottom: 0.5rem; }
.account-card-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }

.order-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  padding: 1.2rem 0; border-bottom: 1px solid var(--line);
}
.order-row-id { font-size: 0.85rem; color: var(--ink); }
.order-row-date { font-size: 0.72rem; color: var(--muted); }
.order-row-total { font-size: 0.9rem; color: var(--ink); }
.order-row-status { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-dark); }

/* ─── ANIMAÇÕES ───────────────────── */
@keyframes up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes appear {
  from { opacity: 0; transform: translateY(34px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* ═══════════════════════════════════════════════
   MOBILE (≤ 900px) — não afeta desktop
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* NAV */
  nav { padding: 1rem 1.25rem; }
  .nav-toggle { display: flex; }
  .nav-buy { font-size: 0.46rem; padding: 0.55rem 1rem; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(240,237,216,0.99); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  nav.nav-open .nav-links { max-height: 320px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; width: 100%; padding: 1rem 1.5rem;
    border-top: 1px solid var(--line); font-size: 0.6rem;
  }
  .nav-right { gap: 0.6rem; }
  .nav-icon-btn { width: 32px; height: 32px; }
  .nav-icon-btn svg { width: 16px; height: 16px; }
  .nav-login { font-size: 0.6rem; letter-spacing: 0.1em; padding: 0.55rem 1rem; }
  .nav-user-name { display: none; }

  /* HERO */
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 4.6rem; }
  .hero-left { padding: 3rem 1.5rem 2.5rem; }
  .h-desc { max-width: 100%; }
  .h-manifesto { max-width: 100%; margin-top: 2.5rem; }
  .h-ctas { flex-wrap: wrap; gap: 1.2rem; row-gap: 1rem; }
  .hero-right { padding: 3rem 1.5rem; min-height: 60vh; }
  .corner-tag { display: none; }
  .hero-kk-deco { font-size: 70vw; }

  /* STRIP ATRIBUTOS */
  .attrs { grid-template-columns: repeat(2, 1fr); }
  .attr { padding: 1.6rem 1.2rem; border-right: 1px solid var(--line); }
  .attr:nth-child(2n) { border-right: none; }
  .attr:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  /* CAMPANHA */
  .campaign { height: auto !important; min-height: 60vh !important; padding: 3rem 0; }
  .campaign-logo { padding: 0 1.5rem; text-align: left; }
  .campaign-logo-rule { width: clamp(140px, 60vw, 280px); }

  /* HISTÓRIA */
  .story { grid-template-columns: 1fr; min-height: auto; }
  .story-visual { min-height: 220px; }
  .story-content { padding: 3rem 1.5rem; }
  .s-text { max-width: 100%; }

  /* GALERIA */
  .gallery-split { grid-template-columns: 1fr !important; }

  /* PRODUTO DETALHE */
  .product-detail { grid-template-columns: 1fr; min-height: auto; }
  .product-detail-visual { min-height: 300px; padding: 0 !important; }
  .product-detail-copy { padding: 3rem 1.5rem; }
  .pd-text { max-width: 100%; }

  /* INGREDIENTES */
  .ingr-section { padding: 3rem 1.5rem; }
  .ingr-header { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .ingr-grid { grid-template-columns: 1fr; }
  .ingr-card { padding: 2rem 1.5rem; }

  /* QR */
  .qr-section { flex-direction: column; gap: 2rem; padding: 3rem 1.5rem; text-align: center; }
  .qr-text { max-width: 100%; }

  /* BANDA FINAL */
  .final-band { min-height: 420px !important; }
  .final-content {
    flex-direction: column !important; align-items: flex-start !important;
    gap: 1.8rem; padding: 2.5rem 1.5rem !important;
  }
  .final-content > div { text-align: left !important; }

  /* FOOTER */
  footer { flex-direction: column; gap: 1rem; padding: 1.8rem 1.5rem; text-align: center; }
  .foot-logo { align-items: center; }
}

@media (max-width: 900px) {
  .page-shell { padding: 6.5rem 1.25rem 4rem; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 2rem; }
  .cart-layout { grid-template-columns: 1fr; gap: 2rem; }
  .cart-summary { position: static; }
  .cart-item-actions { margin-left: 0; width: 100%; justify-content: space-between; }
  .auth-box { padding: 2.2rem 1.5rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
