/* =========================================================
   QueRico — Landing page
   CSS puro, sem dependências externas (fontes/ícones/libs)
   para manter o carregamento o mais rápido possível.
   ========================================================= */

:root{
  --green: #2f7a4d;
  --green-dark: #1f5c38;
  --green-light: #eaf4ec;
  --orange: #f5821f;
  --orange-dark: #d96c0f;
  --cream: #fdf6ec;
  --cream-2: #fbeee0;
  --text: #22301f;
  --text-light: #5b6b56;
  --white: #ffffff;
  --border: #e7e0d2;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(34,48,31,.06);
  --shadow-md: 0 8px 24px rgba(34,48,31,.10);
  --shadow-lg: 0 20px 48px rgba(34,48,31,.16);

  --container: 1160px;

  font-size: 16px;
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ list-style: none; margin: 0; padding: 0; }
button{ font: inherit; cursor: pointer; }
h1, h2, h3, p{ margin: 0; }

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

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  padding: 14px 28px;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn--primary{ background: var(--green); color: var(--white); }
.btn--primary:hover{ background: var(--green-dark); }

.btn--accent{ background: var(--orange); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--accent:hover{ background: var(--orange-dark); }

.btn--outline{ background: var(--white); color: var(--green); border: 2px solid var(--green); }
.btn--outline:hover{ background: var(--green-light); }

.btn--sm{ padding: 10px 20px; font-size: .9rem; }
.btn--lg{ padding: 17px 36px; font-size: 1.05rem; }
.btn--full{ width: 100%; }

.microcopy{ margin-top: 12px; font-size: .85rem; color: var(--text-light); }
.microcopy--light{ color: rgba(255,255,255,.85); }

/* ---------- Section helpers ---------- */
.eyebrow{
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  margin: 0 0 6px;
}
.section-title{
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.2;
  margin: 0 0 14px;
}
.section-title--center{ text-align: center; }
.tm{ font-size: .5em; vertical-align: super; }
.section-lead{ color: var(--text-light); font-size: 1.05rem; max-width: 640px; }
.section-lead--center{ margin: 0 auto 40px; text-align: center; }

.text-accent{ color: var(--orange); }
.hero-title__accent{ display: block; text-align: center; }

.check-list li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  color: var(--text);
  font-weight: 600;
}
.check-list svg{ flex: none; margin-top: 2px; }

/* ---------- Header ---------- */
.site-header{
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__text{
  display: flex;
  flex-direction: column;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.1;
}
.logo__text small{
  font-size: .62rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .02em;
}
.logo--footer .logo__text{ color: var(--white); font-size: 1.1rem; }
.logo--footer .logo__text small{ display: none; }

/* ---------- Hero ---------- */
.hero{ background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); padding: 40px 0 64px; }

/* Grid con áreas nombradas: en mobile queda todo en una columna
   (badge, headline, subtitle, video, features, cta); en desktop
   el video pasa a una columna al lado del texto. Así el video
   puede moverse sin duplicar contenido en el HTML. */
.hero-stack{
  display: grid;
  gap: 20px;
  text-align: center;
  justify-items: center;
  grid-template-columns: 1fr;
  grid-template-areas:
    "badge"
    "headline"
    "subtitle"
    "video"
    "features"
    "cta";
}
.hero-area--badge{ grid-area: badge; }
.hero-area--headline{ grid-area: headline; }
.hero-area--subtitle{ grid-area: subtitle; }
.hero-area--video{ grid-area: video; }
.hero-area--features{ grid-area: features; }
.hero-area--cta{ grid-area: cta; }

.social-proof-badge{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: .72rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stars{ color: var(--orange); letter-spacing: 1px; font-size: .8rem; }

.hero-title{
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.15;
}
.hero-subtitle{
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 560px;
}

.feature-icons-row{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.feature-icons-row li{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  max-width: 74px;
  text-align: center;
}
.feature-icons-row__icon{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--orange);
}

.hero-cta{ display: flex; flex-direction: column; align-items: center; }

.hero-media{
  display: flex;
  align-items: center;
  justify-content: center;
}
.vsl{
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
/* Espacio reservado para el embed de VTurb (horizontal, 16:9). */
#vsl-container{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--green-light);
}
.vsl__quote{
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.vsl__quote blockquote{
  margin: 0 0 12px;
  font-size: .85rem;
  font-style: italic;
  color: var(--text);
}
.vsl__quote figcaption{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
}
.vsl__quote-avatar{
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-size: .76rem;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.vsl__quote-avatar + span{ display: flex; flex-direction: column; }
.vsl__quote-avatar + span small{ color: var(--text-light); font-size: .74rem; }

/* ---------- Phone frame (base reutilizable) ---------- */
.phone-frame{
  width: 100%;
  max-width: 190px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 26px;
  padding: 10px 8px;
  box-shadow: var(--shadow-md);
}
.phone-frame__notch{
  width: 44px; height: 5px; border-radius: 4px;
  background: rgba(255,255,255,.3);
  margin: 0 auto 8px;
}
.phone-frame__screen{
  background: var(--cream);
  border-radius: 16px;
  padding: 10px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  text-align: left;
}

/* ---------- Trust strip ---------- */
.trust-strip{ background: var(--white); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-strip__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.trust-strip__grid > div{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
}
.trust-strip__grid svg{ flex: none; color: var(--green); }

/* ---------- How it works ---------- */
.how-it-works{ padding: 72px 0; background: var(--white); }
.how-it-works__caption{
  text-align: center;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 48px 0 24px;
}
.steps{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.step{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step__number{
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
}
.step__title{ display: block; font-weight: 800; color: var(--green-dark); margin-bottom: 16px; }

.step-screen__pill{
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .6rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.step-screen__recipe{
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 10px;
  padding: 6px;
  margin-bottom: 6px;
}
.step-screen__recipe img{ width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex: none; }
.step-screen__recipe strong{ display: block; font-size: .56rem; color: var(--text); line-height: 1.2; }
.step-screen__recipe small{ font-size: .5rem; color: var(--text-light); }

.step-screen--detail{ display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-screen__hero-img{ width: 100%; height: 140px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.step-screen--detail strong{ font-size: .7rem; color: var(--text); }
.step-screen--detail small{ font-size: .58rem; color: var(--text-light); margin: 4px 0 10px; }
.step-screen__btn{
  background: var(--green);
  color: var(--white);
  font-size: .58rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-full);
}

.step-screen__day{
  background: var(--white);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
}
.step-screen__day span{ display: block; font-size: .58rem; font-weight: 800; color: var(--orange); }
.step-screen__day small{ font-size: .55rem; color: var(--text-light); }

.step-screen__check{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .62rem;
  color: var(--text);
  padding: 6px 2px;
}
.step-screen__check span{
  width: 14px; height: 14px;
  border-radius: 4px;
  border: 2px solid var(--green);
  flex: none;
}

/* ---------- Recipes ---------- */
.recipes{ padding: 72px 0; background: var(--cream); }
.recipes__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.recipe-card{
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--green-light);
}
.recipe-card img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recipe-card span{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: .9rem;
  text-align: center;
  padding: 8px 6px;
}

.tag-strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
}
.tag-strip span{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: .76rem;
  font-weight: 700;
  color: var(--green-dark);
}
.tag-strip svg{ color: var(--green); }

/* ---------- Pricing ---------- */
.pricing{ padding: 72px 0; background: var(--white); }
.pricing__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.plan-card{
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
.plan-card--featured{
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.plan-card__badge{
  position: absolute;
  top: -14px; left: 24px;
  background: var(--orange);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
.plan-card__name{ font-size: 1.3rem; font-weight: 800; color: var(--green-dark); margin-bottom: 6px; }
.plan-card__desc{ color: var(--text-light); font-size: .9rem; margin-bottom: 16px; }
.plan-card__price{ font-size: 3.6rem; font-weight: 800; color: var(--text); margin-bottom: 18px; text-align: center; }
.plan-card__currency{ font-size: 1.4rem; vertical-align: top; font-weight: 700; }
.plan-card__period{ font-size: 1.2rem; font-weight: 500; color: var(--text-light); }
.plan-card__list{ margin-top: 20px; }
.plan-card__list li{
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .88rem; padding: 6px 0;
  color: var(--text);
}
.plan-card__list svg{ flex: none; color: var(--green); margin-top: 2px; }

.plan-compare{
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}
.plan-compare__head, .plan-compare__row{
  display: grid;
  grid-template-columns: 1fr 54px 54px;
  align-items: center;
  gap: 6px;
}
.plan-compare__head{
  padding: 8px 0 10px;
  font-weight: 800;
  font-size: .78rem;
  color: var(--green-dark);
  text-align: center;
}
.plan-compare__head span:first-child{ text-align: left; }
.plan-compare__row{
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: .76rem;
  text-align: center;
}
.plan-compare__row span:first-child{ text-align: left; color: var(--text-light); }
.plan-compare__row svg{ color: var(--green); }
.plan-compare__row svg.icon-x{ color: #d64545; }

/* ---------- Guarantee ---------- */
.guarantee{
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--green-light);
  border: 1px solid #cfe6d5;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.guarantee svg{ flex: none; color: var(--green); }
.guarantee strong{ display: block; color: var(--green-dark); margin-bottom: 4px; }
.guarantee p{ font-size: .88rem; color: var(--text-light); }
.guarantee__stamp{
  margin-left: auto;
  flex: none;
  text-align: center;
  font-weight: 800;
  color: var(--green-dark);
  font-size: 1rem;
  border: 2px dashed var(--green);
  border-radius: 50%;
  width: 70px; height: 70px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.1;
}
.guarantee__stamp small{ font-weight: 600; font-size: .55rem; }

/* ---------- Testimonials ---------- */
.testimonials{ padding: 72px 0; background: var(--cream); }
.testimonials__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.testimonial-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card p{ margin: 10px 0 18px; color: var(--text); font-size: .92rem; }
.testimonial-card footer{ display: flex; align-items: center; gap: 10px; }
.avatar{
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.testimonial-card footer > span:last-child{ display: flex; flex-direction: column; font-size: .85rem; }
.testimonial-card footer small{ color: var(--text-light); }

/* ---------- FAQ ---------- */
.faq{ padding: 72px 0; background: var(--white); }
.accordion{ max-width: 720px; margin: 32px auto 0; }
.accordion-item{ border-bottom: 1px solid var(--border); }
.accordion-item__trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 4px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.accordion-item__trigger svg{ flex: none; transition: transform .2s ease; color: var(--green); }
.accordion-item__trigger[aria-expanded="true"] svg{ transform: rotate(180deg); }
.accordion-item__panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.accordion-item__panel p{ padding: 0 4px 18px; color: var(--text-light); font-size: .92rem; }

/* ---------- Final CTA ---------- */
.final-cta{
  background:
    linear-gradient(135deg, rgba(31,92,56,.92), rgba(47,122,77,.88)),
    url("assets/img/banner-final.jpg") center / cover no-repeat;
  padding: 56px 0;
}
.final-cta__inner{
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.final-cta h2{ color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; margin-bottom: 6px; }
.final-cta p{ color: rgba(255,255,255,.85); }
.final-cta__action{ text-align: left; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--text); padding: 24px 0; }
.site-footer__inner{
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.site-footer p{ color: rgba(255,255,255,.6); font-size: .8rem; }

/* ---------- Popup ---------- */
.popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(15,25,15,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.popup-overlay[hidden]{ display: none; }
.popup{
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px 26px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: popup-in .22s ease;
}
@keyframes popup-in{
  from{ opacity: 0; transform: translateY(12px) scale(.97); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}
.popup__close{
  position: absolute;
  top: 14px; right: 14px;
  background: var(--cream);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
}
.popup__eyebrow{ color: var(--orange); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.popup__title{ font-size: 1.3rem; font-weight: 800; color: var(--green-dark); margin-bottom: 10px; }
.popup__text{ color: var(--text-light); font-size: .92rem; margin-bottom: 18px; }
.popup__price{ display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 22px; }
.popup__price-old{ text-decoration: line-through; color: var(--text-light); font-size: 1.1rem; }
.popup__price-new{ color: var(--orange); font-size: 2.2rem; font-weight: 800; }
.popup__price-new small{ font-size: 1rem; font-weight: 600; }
.popup__decline{
  display: block;
  width: 100%;
  background: none;
  border: none;
  margin-top: 14px;
  color: var(--text-light);
  font-size: .85rem;
  text-decoration: underline;
}

/* =========================================================
   Responsive — desktop enhancements
   ========================================================= */
@media (min-width: 640px){
  .trust-strip__grid{ grid-template-columns: repeat(3, 1fr); }
  .recipes__grid{ grid-template-columns: repeat(4, 1fr); }
  .testimonials__grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px){
  .final-cta__inner{ flex-direction: row; align-items: center; justify-content: space-between; }
  .final-cta__action{ text-align: right; }
}

@media (min-width: 960px){
  .hero-stack{
    grid-template-columns: 1.05fr .95fr;
    column-gap: 48px;
    row-gap: 14px;
    grid-template-areas:
      "badge   video"
      "headline video"
      "subtitle video"
      "features video"
      "cta      video";
    align-items: start;
    text-align: left;
    justify-items: start;
  }
  .feature-icons-row{ justify-content: flex-start; }
  .hero-cta{ align-items: flex-start; }
  .hero-media{ align-self: stretch; min-height: 100%; }
  .vsl{ max-width: 440px; }

  .steps{ grid-template-columns: repeat(4, 1fr); }

  .pricing__grid{
    grid-template-columns: 300px 1fr 300px;
    gap: 20px;
  }
  /* En el HTML la tabla va primero (para que en mobile aparezca antes
     del Plan Esencial), pero en desktop la queremos en la columna del
     medio: Esencial | Comparativo | Premium. */
  .plan-card{ order: 1; }
  .plan-compare{
    order: 2;
    align-self: center;
    border: none;
    padding: 8px 12px;
  }
  .plan-card--featured{ order: 3; }
  .plan-compare__head, .plan-compare__row{ grid-template-columns: 1fr 90px 90px; gap: 8px; }
  .plan-compare__head{ padding: 14px 0 10px; font-size: 1rem; }
  .plan-compare__row{ padding: 10px 0; font-size: .85rem; }

  .recipes__grid{ grid-template-columns: repeat(4, 1fr); }
  .recipe-card{ aspect-ratio: 4 / 3; }

  .testimonials__grid{ grid-template-columns: repeat(4, 1fr); }
}

