/* New Life | Terceirização industrial de suplementos */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --forest: #0A3D1C;      /* verde-escuro da logo */
  --forest-deep: #062B13;
  --leaf: #7DB51A;        /* verde-folha da logo */
  --leaf-soft: #B5D96A;
  --paper: #F3F6EF;       /* neutro claro esverdeado */
  --sage: #E4EBDD;        /* fundo das vitrines */
  --white: #FFFFFF;
  --ink: #12211A;
  --muted: #4B5B51;
  --line: #CDD8C5;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 22px;
  --r-md: 14px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--forest); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 0.98rem/1.2 var(--font); font-stretch: 112%;
  letter-spacing: 0.01em; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--primary { background: var(--forest); color: var(--white); }
.btn--primary:hover { background: var(--forest-deep); }
.btn--outline { border-color: var(--forest); color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--white); }
.btn--light { background: var(--leaf-soft); color: var(--forest-deep); }
.btn--light:hover { background: var(--white); }
.btn:active { transform: translateY(1px); }

/* Topo */
.topbar { background: var(--paper); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.topbar__logo { width: 118px; }
.topbar__brand { flex: none; }
.topbar__nav { margin-left: auto; }
.topbar__alt { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 10px 4px; }
.topbar__alt:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.topbar__alt .short { display: none; }
.topbar__cta {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border-radius: 999px; border: 1.5px solid var(--forest); background: var(--forest);
  font-weight: 700; font-size: 0.92rem; text-decoration: none; color: var(--white);
}
.topbar__cta:hover { background: var(--forest-deep); }
.topbar__cta svg { width: 20px; height: 20px; }

/* 1. HERO */
.hero { padding: clamp(16px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__kicker { font-weight: 600; color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  line-height: 0.98;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero__sub { margin: 24px 0 32px; max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); }
.proofs { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.proofs li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--forest); }
.proofs svg { width: 20px; height: 20px; color: var(--leaf); flex: none; }

/* Mockups "Sua marca aqui" (imagem já traz o card e a faixa) */
.line { margin: 0; }
.line__img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 18px 40px -24px rgba(10, 61, 28, .35); }

@media (prefers-reduced-motion: no-preference) {
  .line__img { animation: rise .9s cubic-bezier(.2,.7,.2,1) .1s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
}


/* Faixa de credenciais */
.facts {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--forest); border-radius: var(--r-lg); overflow: hidden;
}
.facts li { padding: 24px clamp(18px, 2vw, 28px); color: #CFE0C9; font-size: 0.92rem; line-height: 1.4; }
.facts li + li { border-left: 1px solid rgba(181, 217, 106, .2); }
.facts strong { display: block; color: var(--white); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 800; font-stretch: 115%; letter-spacing: -0.01em; margin-bottom: 4px; }

/* Para quem */
.audience { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.audience li { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px; font-size: 0.9rem; font-weight: 600; color: var(--forest); }
.audience__t { margin-top: 28px; font-weight: 700; color: var(--forest); font-size: 0.98rem; }

@media (max-width: 960px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(181, 217, 106, .2); }
}
@media (max-width: 400px) {
  .facts li { padding: 18px 14px; font-size: 0.86rem; }
}

/* Títulos de seção */
.why h2, .cat h2, .how h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.04; font-weight: 800; font-stretch: 114%; letter-spacing: -0.02em;
  text-wrap: balance;
}

/* 2. POR QUE */
.why { background: var(--white); padding: clamp(64px, 8vw, 112px) 0; }
.why__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.why__head .why__lead { margin: 20px 0 0; color: var(--muted); max-width: 30em; }
.why__head .audience { margin-bottom: 30px; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 44px); }
.why__list li { border-top: 2px solid var(--forest); padding: 22px 0 34px; }
.why__list svg { width: 30px; height: 30px; color: var(--leaf); margin-bottom: 14px; }
.why__list h3 { font-size: 1.2rem; font-weight: 750; font-stretch: 108%; line-height: 1.2; margin-bottom: 8px; }
.why__list p { color: var(--muted); font-size: 1rem; }

/* 3. PORTFÓLIO */
.cat { padding: clamp(64px, 8vw, 112px) 0; }
.cat__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.cat__head p { color: var(--muted); }
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--sage); border-radius: var(--r-md); padding: 22px 18px 18px; display: flex; flex-direction: column; }
.tile img { height: 220px; width: 100%; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 16px; }
.tile p { font-size: 0.95rem; color: var(--muted); line-height: 1.35; }
.tile strong { display: block; color: var(--forest); font-size: 1.05rem; font-stretch: 110%; }
.tile--wide { grid-column: span 2; }
.cat__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 28px; }
.note { font-size: 0.88rem; color: var(--muted); max-width: 46em; }

/* 4. COMO FUNCIONA */
.how { background: var(--white); padding: clamp(64px, 8vw, 112px) 0; }
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 2px; background: var(--leaf); }
.steps__n { display: block; font-size: 3.4rem; line-height: 1; font-weight: 800; font-stretch: 125%; color: var(--forest); margin-bottom: 18px; letter-spacing: -0.03em; }
.steps h3 { font-size: 1.15rem; font-weight: 750; font-stretch: 108%; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 1rem; }

/* 5. CTA FINAL */
.final { background: var(--forest); color: var(--white); padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.final::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px;
  border-radius: 0 60% 0 60%; background: var(--forest-deep); transform: rotate(-18deg); pointer-events: none;
}
.final__in { position: relative; z-index: 1; max-width: 860px; }
.final h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; font-weight: 800; font-stretch: 118%; letter-spacing: -0.025em; text-wrap: balance; }
.final p { margin: 22px 0 34px; color: #CFE0C9; font-size: 1.15rem; max-width: 36em; }
.final .final__num { margin: 18px 0 0; font-size: 0.95rem; color: var(--leaf-soft); }

/* Rodapé */

/* WhatsApp flutuante + barra mobile */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1FA855; color: var(--white);
  box-shadow: 0 8px 24px rgba(6, 43, 19, .28);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { background: #178C46; }
.mbar { display: none; }

/* Tablet */
@media (max-width: 960px) {
  .hero__grid, .why__grid, .cat__head { grid-template-columns: 1fr; }
  .line { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .topbar__alt .long { display: none; }
  .topbar__alt .short { display: inline; }
}

/* Celular */
@media (max-width: 640px) {
  body { padding-bottom: 84px; font-size: 1rem; }
  .topbar__in { gap: 10px; }
  .topbar__logo { width: 88px; }
  .topbar__alt { font-size: 0.82rem; }
  .topbar__cta span { display: none; }
  .topbar__cta { width: 44px; justify-content: center; padding: 0; }
  .hero .btn, .cat__foot .btn, .final .btn, .why__head .btn { width: 100%; }
  .proofs { flex-direction: column; }
  .btn { padding: 14px 18px; font-size: 0.95rem; }
  .why__list { grid-template-columns: 1fr; }
  .why__list li { padding-bottom: 24px; }

  .shelf {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
    scrollbar-width: thin;
  }
  .tile { flex: 0 0 66%; scroll-snap-align: start; }
  .tile--wide { flex-basis: 88%; }
  .tile img { height: 190px; }

  .steps { grid-template-columns: 1fr; }
  .steps__n { font-size: 2.6rem; margin-bottom: 10px; }

  .wa-float { display: none; }
  .mbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(243, 246, 239, .96); border-top: 1px solid var(--line);
    transition: transform .25s ease;
  }
  .mbar .btn { width: 100%; min-height: 52px; }
  .mbar.is-hidden { transform: translateY(110%); }
}


/* Entrada com movimento (ativada pelo main.js; sem JS ou com movimento reduzido tudo aparece normal) */
html.motion .rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms);
}
html.motion .rv.rv--in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Rodapé: 3 colunas alinhadas no desktop, 2 no tablet, 1 no celular */
.foot { background: var(--paper); padding: clamp(40px, 5vw, 64px) 0 0; font-size: 0.92rem; color: var(--muted); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr) minmax(0, 0.75fr); gap: 36px clamp(32px, 5vw, 72px); align-items: start; }
.foot__logo { width: 112px; height: auto; margin-bottom: 18px; }
.foot strong { color: var(--forest); }
.foot__brand p + p, .foot__brand address { margin-top: 8px; }
.foot__brand address { font-style: normal; }
.foot__brand a { color: var(--forest); font-weight: 600; }
.foot__h { font-size: 0.8rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); margin: 4px 0 14px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot__col a { color: var(--ink); text-decoration: none; line-height: 1.4; }
.foot__col a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.foot__col a[aria-current] { color: var(--forest); font-weight: 700; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: clamp(32px, 4vw, 48px); padding: 18px 0 24px; border-top: 1px solid var(--line); font-size: 0.82rem; }
@media (max-width: 960px) {
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .foot__bottom { flex-direction: column; padding-bottom: 96px; }
}
