/* ====================================================================
   APP NUTRYBOM — Landing Page
   +800 receitas saudáveis do café da manhã à ceia
   Display: Fraunces  ·  Corpo: Plus Jakarta Sans
   ==================================================================== */

/* -------------------------------------------------- 1. TOKENS */
:root {
  --verde-escuro:  #2D5016;
  --verde-medio:   #3B6E1A;
  --verde-claro:   #A8C63D;
  --laranja:       #E07A3A;
  --laranja-escuro:#C4621E;
  --laranja-marca: #F5871E; /* laranja vivo da logo e da caixa do produto */
  --amarelo:       #F2C94C;
  --creme:         #F7F4ED;
  --creme-escuro:  #EDE9DF;
  --verde-noite:   #14260F;
  --fundo-escuro:  #0D1F0A;

  --display: "Fraunces", Georgia, serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 22px;
  --radius-sm: 14px;

  --sh-sm: 0 4px 14px rgba(0,0,0,.12);
  --sh-md: 0 18px 40px -16px rgba(0,0,0,.45);
  --sh-lg: 0 40px 80px -28px rgba(0,0,0,.6);
  --sh-cta: 0 8px 24px rgba(224,122,58,.4);
}

/* -------------------------------------------------- 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--verde-noite);
  background: var(--fundo-escuro);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--verde-claro); color: var(--verde-escuro); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px,5vw,48px); }
.container-narrow { max-width: 780px; }
.leaf { position: absolute; width: 220px; color: var(--verde-claro); opacity: .1; pointer-events: none; }

/* -------------------------------------------------- 3. TIPOGRAFIA */
.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--amarelo); }
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--verde-escuro);
  max-width: 20ch;
}
.title-light { color: #fff; }
.section-sub { font-size: 1.1rem; color: rgba(255,255,255,.72); margin-top: 1rem; max-width: 48ch; }
.section-sub-yellow { color: var(--amarelo); }

/* -------------------------------------------------- 4. BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--body);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.btn span { transition: transform .25s; }
.btn:hover span { transform: translateX(4px); }
.btn-cta {
  color: #fff;
  border-radius: 50px;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--laranja), var(--laranja-escuro));
  background-size: 160% 160%;
  box-shadow: var(--sh-cta);
  animation: ctaShift 6s ease infinite;
}
.btn-cta:hover { transform: scale(1.03); box-shadow: 0 12px 30px rgba(224,122,58,.55); }
@keyframes ctaShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-lg { font-size: clamp(1rem, .9rem + .4vw, 1.15rem); }
.btn-block { width: 100%; justify-content: center; }
.section-cta { text-align: center; margin-top: 3rem; }

/* pulse contínuo no CTA principal da oferta */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224,122,58,.5); }
  70%  { box-shadow: 0 0 0 12px rgba(224,122,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,122,58,0); }
}
.offer-card-body .btn-cta { animation: ctaShift 6s ease infinite, pulse 2s infinite; }

/* -------------------------------------------------- 5. HERO */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(52px, 9vh, 96px) 0 clamp(60px, 9vh, 110px);
  background:
    linear-gradient(rgba(9,20,7,.78), rgba(9,20,7,.82)),
    url("images/bg/bg-hero-geral.png") center center / cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.leaf-tl { top: -20px; left: -40px; transform: rotate(8deg); }
.leaf-br { bottom: -40px; right: -30px; transform: rotate(190deg); }

.hero-inner { max-width: 1000px; margin-inline: auto; padding-inline: clamp(20px,5vw,48px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo { width: clamp(160px, 42vw, 200px); height: auto; margin-bottom: 1.8rem; filter: drop-shadow(0 8px 22px rgba(0,0,0,.5)); }
.hero-headline {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.95rem, 1.1rem + 4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: #fff;
  max-width: 20ch;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.hero-headline .hl { font-style: italic; color: var(--laranja-marca); }
.hero-sub { font-size: clamp(1.05rem, .95rem + .5vw, 1.28rem); color: rgba(255,255,255,.82); max-width: 46ch; margin: 0 auto 2.8rem; }

/* composição de mockups — imagem pronta */
.hero-mockups { width: 100%; margin-bottom: 2.6rem; display: flex; justify-content: center; }
.hero-composicao { width: 100%; max-width: 800px; height: auto; filter: drop-shadow(0 24px 48px rgba(0,0,0,.6)); }

/* -------------------------------------------------- 6. TICKER */
.ticker { background: var(--verde-escuro); padding: 16px 0; overflow: hidden; white-space: nowrap; border-block: 2px solid rgba(168,198,61,.4); }
.ticker-track { display: inline-flex; animation: tickerScroll 40s linear infinite; }
.ticker-item { font-family: var(--body); font-weight: 700; font-size: clamp(1.05rem, 1rem + .5vw, 1.4rem); color: #fff; padding-right: .5rem; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* -------------------------------------------------- 7. DOR */
.pain { background: var(--creme); padding: clamp(70px,11vh,130px) 0; }
.pain-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 2.8rem; align-items: start; }
.pain-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--creme-escuro);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.pain-card.pain-card-feature { background: var(--verde-escuro); border-color: var(--verde-escuro); }
.pain-card.pain-card-feature h3 { color: #fff; }
.pain-card.pain-card-feature p { color: rgba(255,255,255,.9); }
.pain-card.pain-card-feature .pain-num { color: var(--amarelo); }
.pain-num { font-family: var(--display); font-weight: 600; font-size: 2.4rem; color: var(--verde-claro); display: block; margin-bottom: .5rem; }
.pain-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--verde-escuro); margin-bottom: .6rem; }
.pain-card p { color: #4a4a45; }
.pain-transition { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem,1rem + 2.4vw,2.7rem); line-height: 1.18; text-align: center; color: var(--verde-escuro); max-width: 22ch; margin: clamp(3rem,6vh,5rem) auto 0; }
.pain-transition em { font-style: italic; color: var(--laranja-escuro); font-weight: 600; }

/* -------------------------------------------------- 8. CATEGORIAS */
.cats {
  position: relative;
  padding: clamp(70px,11vh,130px) 0;
  background:
    linear-gradient(rgba(13,31,10,.90), rgba(13,31,10,.93)),
    url("images/bg/bg-ingredientes-cafe.png") center center / cover no-repeat;
}
.cats-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 3rem; }
.cat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(168,198,61,.28);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.3rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, background .35s;
}
.cat-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); border-color: var(--verde-claro); }
.cat-ico { flex-shrink: 0; font-size: 1.7rem; line-height: 1; width: 2.2em; height: 2.2em; display: grid; place-items: center; background: rgba(168,198,61,.16); border-radius: 12px; }
.cat-card h3 { font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.3; color: #fff; }
.cat-card h3 strong { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--verde-claro); margin-right: .12em; }

/* -------------------------------------------------- 9. CARDÁPIO */
.menu { background: var(--verde-noite); padding: clamp(70px,11vh,130px) 0; }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 2.8rem; }
.menu-card {
  display: flex;
  flex-direction: column;
  background: #1B3312;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1px solid rgba(168,198,61,.12);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.menu-card:hover { transform: scale(1.03); box-shadow: 0 24px 50px -18px rgba(168,198,61,.45); }
.menu-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.menu-card:hover .menu-photo img { transform: scale(1.06); }
.menu-info { display: flex; flex-direction: column; flex: 1; padding: .9rem 1rem 1.1rem; }
.menu-info h3 { font-family: var(--display); font-weight: 600; font-size: clamp(.95rem, .85rem + .35vw, 1.1rem); color: #fff; line-height: 1.2; margin-bottom: .7rem; }
.menu-info h3 span { display: block; font-size: .8em; font-style: italic; color: var(--amarelo); font-weight: 400; }
/* pills sempre coladas na base — alinha as linhas do grid mesmo com títulos de alturas diferentes */
.menu-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.mm-pill { display: inline-flex; align-items: center; gap: .3em; font-size: .72rem; font-weight: 700; padding: .38em .7em; border-radius: 100px; white-space: nowrap; }
.mm-cat  { background: var(--verde-escuro); color: var(--verde-claro); }
.mm-kcal { background: var(--laranja); color: #fff; }

/* -------------------------------------------------- 10. TUDO DENTRO DO APP */
.app { background: var(--fundo-escuro); padding: clamp(70px,11vh,130px) 0; }
.app-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px,6vw,70px); align-items: center; }
.app-mockups { display: flex; justify-content: center; }
.am-celular-float {
  width: clamp(220px, 62vw, 330px);
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.65));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}
.app-sub { color: rgba(255,255,255,.78); font-size: 1.08rem; margin-top: 1.4rem; margin-bottom: 1.8rem; max-width: 52ch; }
.app-features { display: grid; gap: 12px; }
.app-features li { display: flex; align-items: flex-start; gap: .8rem; color: rgba(255,255,255,.9); font-weight: 500; }

.check { flex-shrink: 0; width: 1.5em; height: 1.5em; display: grid; place-items: center; background: var(--verde-claro); color: var(--verde-escuro); border-radius: 50%; font-size: .8rem; font-weight: 800; }

/* -------------------------------------------------- 11. O QUE ESTÁ INCLUSO */
.stack { padding: clamp(70px,11vh,130px) 0; background: linear-gradient(160deg, var(--verde-noite), var(--verde-escuro)); }
.stack-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 3rem; }
.stack-card {
  position: relative;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(242,201,76,.4);
  border-radius: 20px;
  padding: 2.4rem 1.8rem 2rem;
  text-align: center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.stack-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: var(--amarelo); }
.stack-tag { position: absolute; top: 16px; left: 16px; background: var(--amarelo); color: var(--verde-noite); font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: .4em .9em; border-radius: 100px; }
.stack-img img { width: 100%; max-width: 200px; margin: 0 auto 1.4rem; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); transition: transform .4s; }
.stack-card:hover .stack-img img { transform: translateY(-4px) scale(1.05); }
.stack-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: #fff; margin-bottom: .6rem; line-height: 1.2; }
.stack-card p { color: rgba(255,255,255,.78); font-size: .96rem; max-width: 34ch; margin: 0 auto .9rem; }
.stack-price { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: 1rem; }
.stack-price s { color: rgba(255,255,255,.45); }
.stack-price strong { display: block; color: var(--amarelo); font-weight: 700; margin-top: .2rem; }

/* -------------------------------------------------- 12. PARA QUEM É */
.fits {
  position: relative;
  padding: clamp(70px,11vh,130px) 0;
  background:
    linear-gradient(rgba(9,20,7,.86), rgba(9,20,7,.88)),
    url("images/bg/bg-passos-cafe.png") center center / cover no-repeat;
}
.fits .eyebrow, .fits .section-title { text-align: center; margin-inline: auto; }
.fits .section-title { max-width: 22ch; }
.fits-grid { display: grid; gap: 16px; margin-top: 3rem; max-width: 820px; margin-inline: auto; }
.fit {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 1.4rem clamp(1.2rem,3vw,1.8rem);
  transition: background .35s, transform .35s, border-color .35s;
}
.fit:hover { background: rgba(255,255,255,.1); border-color: var(--verde-claro); transform: translateX(6px); }
.fit-check { flex-shrink: 0; width: 2em; height: 2em; display: grid; place-items: center; border-radius: 50%; background: var(--verde-claro); color: var(--verde-escuro); font-weight: 800; font-size: .95rem; }
.fit p { color: rgba(255,255,255,.9); font-size: clamp(1rem,.95rem + .3vw,1.12rem); font-weight: 500; }

/* -------------------------------------------------- 13. POR QUE APP */
.why-app { background: #fff; padding: clamp(70px,11vh,130px) 0; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px,5vw,64px); align-items: center; }
.why-text { color: #4a4a45; font-size: 1.08rem; margin-top: 1.2rem; max-width: 56ch; }
.why-text:first-of-type { margin-top: 1.6rem; }
.why-list { display: grid; gap: 12px; }
.why-list li { display: flex; align-items: flex-start; gap: .8rem; background: var(--creme); border: 1px solid var(--creme-escuro); border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-weight: 600; color: var(--verde-escuro); transition: transform .3s, box-shadow .3s; }
.why-list li:hover { transform: translateX(6px); box-shadow: var(--sh-sm); }
.why-list .check { background: var(--verde-claro); color: #fff; }

/* -------------------------------------------------- 14. OFERTA */
.offer {
  position: relative;
  padding: clamp(70px,11vh,130px) 0;
  background:
    linear-gradient(rgba(9,20,7,.92), rgba(9,20,7,.94)),
    url("images/bg/bg-hero-geral.png") center center / cover no-repeat;
}
.offer .eyebrow, .offer .section-title { text-align: center; margin-inline: auto; }
.offer .section-title { max-width: 20ch; }
.offer-card {
  max-width: 680px;
  margin: 3rem auto 0;
  background: #fff;
  border: 2px solid var(--verde-claro);
  border-radius: 24px;
  box-shadow: 0 44px 90px -30px rgba(168,198,61,.35), var(--sh-lg);
  overflow: hidden;
}
.offer-card-visual {
  background: radial-gradient(120% 140% at 50% 0%, #1f3a12, var(--fundo-escuro));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
}
.offer-composicao { width: 100%; max-width: 500px; height: auto; filter: drop-shadow(0 24px 48px rgba(0,0,0,.6)); }
.offer-card-body { padding: clamp(1.8rem, 4vw, 2.8rem); }
.offer-card-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem,1.1rem + 1.3vw,1.9rem); color: var(--verde-escuro); text-align: center; margin-bottom: 1.6rem; }
.price-list { display: grid; gap: .7rem; margin-bottom: 1.4rem; }
.price-list li { display: flex; align-items: center; gap: .7rem; color: #3a3a35; font-weight: 500; }
.price-list li .check { width: 1.3em; height: 1.3em; font-size: .72rem; background: var(--verde-claro); color: #fff; }
.price-anchor { text-align: center; font-size: .92rem; color: #7d7a72; font-style: italic; padding: .8rem 1.2rem; background: var(--creme); border-radius: var(--radius-sm); margin-bottom: 1.4rem; }
.price-block { text-align: center; margin-bottom: 1.6rem; }
.price-old { display: block; font-size: 1rem; color: #8A8A85; }
.price-old s { color: #8A8A85; }
.price-now { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem,10vw,4.8rem); line-height: 1; color: var(--verde-escuro); display: block; }
.price-sub { font-size: .98rem; color: var(--laranja-escuro); font-weight: 700; }
.price-guarantee { text-align: center; margin-top: 1.4rem; font-size: .88rem; color: var(--verde-medio); font-weight: 600; }

/* -------------------------------------------------- 15. FAQ */
.faq { background: var(--creme); padding: clamp(70px,11vh,130px) 0; }
.faq .eyebrow, .faq .section-title { text-align: center; margin-inline: auto; }
.faq .section-title { max-width: none; }
.accordion { margin-top: 2.6rem; }
.acc-item { border-bottom: 1px solid var(--creme-escuro); border-radius: 8px; transition: background .3s; }
.acc-item:hover { background: rgba(168,198,61,.08); }
.acc-head { width: 100%; background: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.4rem .8rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem,1rem + .5vw,1.35rem); color: var(--verde-escuro); cursor: pointer; }
.acc-icon { flex-shrink: 0; position: relative; width: 22px; height: 22px; transition: transform .35s; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 2.5px; background: var(--laranja); border-radius: 2px; transform: translate(-50%,-50%); transition: transform .35s; }
.acc-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.acc-item.open .acc-icon { transform: rotate(180deg); }
.acc-item.open .acc-icon::after { transform: translate(-50%,-50%) rotate(0); }
.acc-panel { overflow: hidden; max-height: 0; transition: max-height .4s ease; }
.acc-panel p { padding: 0 .8rem 1.4rem; color: #4a4a45; max-width: 62ch; }

/* -------------------------------------------------- 16. RODAPÉ */
.site-footer { background: #091407; color: rgba(255,255,255,.7); padding: clamp(50px,8vh,80px) 0; text-align: center; }
.footer-logo { width: 140px; height: auto; margin: 0 auto 1.6rem; }
.footer-tagline { font-family: var(--display); font-style: italic; font-size: clamp(1.1rem,1rem + .8vw,1.5rem); color: #fff; max-width: 28ch; margin: 0 auto 1.8rem; line-height: 1.3; }
.footer-links { display: flex; gap: .8rem; justify-content: center; align-items: center; margin-bottom: 1.2rem; font-size: .92rem; }
.footer-links a { transition: color .25s; }
.footer-links a:hover { color: var(--verde-claro); }
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.45); }

/* -------------------------------------------------- 17. REVELAÇÃO */
.reveal-hero { opacity: 0; transform: translateY(26px); }
.reveal-hero.show { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal { opacity: 0; transform: translateY(30px); }
.reveal.show { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.pain-grid .reveal.show,
.cats-grid .reveal.show,
.menu-grid .reveal.show,
.stack-grid .reveal.show,
.fits-grid .reveal.show,
.why-list .reveal.show,
.app-features .reveal.show { transition-delay: calc(var(--i,0) * .08s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-hero { opacity: 1 !important; transform: none !important; }
}

/* -------------------------------------------------- 18. RESPONSIVO */
@media (max-width: 767px) {
  /* hero: composição ocupa 100% da largura */
  .hero-composicao { max-width: 100%; }

  /* cardápio: 2 colunas compactas */
  .menu-info { padding: .75rem .8rem .9rem; }
  .mm-pill { font-size: .68rem; padding: .32em .6em; }

  .hero, .cats, .fits, .offer { background-position: center center; }
}

@media (min-width: 768px) {
  .pain-grid { grid-template-columns: 1fr 1.15fr 1fr; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stack-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (min-width: 1024px) {
  .cats-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .menu-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .stack-grid { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .app-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1.05fr .95fr; }
}
