/* =========================================================
   Lucas | Nutricionista — Landing premium de direcionamento
   ========================================================= */

:root {
  --green: #02753E;
  --green-dark: #015C31;
  --green-deep: #013D21;
  --green-tint: #E8F3EC;
  --green-tint-soft: #F3F8F5;
  --sand: #F3EFE6;
  --stone: #EDF0EC;
  --graphite: #3B443E;
  --bg: #FFFFFF;
  --off-white: #FBFAF7;
  --text: #1E241F;
  --text-muted: #6C756E;
  --border: rgba(2, 117, 62, 0.16);
  --border-soft: rgba(30, 36, 31, 0.08);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 10px rgba(30, 36, 31, 0.05);
  --shadow-md: 0 14px 34px rgba(2, 117, 62, 0.10);
  --shadow-lg: 0 24px 60px rgba(2, 117, 62, 0.14);
  --shadow-focus: 0 0 0 3px rgba(2, 117, 62, 0.28);

  --font-head: "Montserrat", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--off-white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.icon { width: 1em; height: 1em; }

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

/* reveal-on-scroll (progressive enhancement) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   STEPS
   ========================================================= */
.step { padding-bottom: 88px; }
.step[hidden] { display: none !important; }
.step--catalog { padding-top: 44px; animation: fadeIn .5s var(--ease); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step__inner { max-width: 900px; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

#catalog-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
}

#catalog-title:focus { outline: none; }

.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 34px;
  max-width: 48ch;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 52px;
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__blob {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(2, 117, 62, 0.14), rgba(2, 117, 62, 0));
  filter: blur(2px);
}

.mock-stack {
  position: absolute;
  top: 18px;
  right: 6%;
  width: 120px;
  height: 140px;
  display: none;
}

.mock-stack__card {
  position: absolute;
  width: 78px;
  height: 108px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.mock-stack__card--1 { top: 0; left: 30px; transform: rotate(6deg); background: var(--green-tint); }
.mock-stack__card--2 { top: 10px; left: 12px; transform: rotate(-4deg); background: var(--sand); }
.mock-stack__card--3 { top: 22px; left: 0; transform: rotate(1deg); }

@media (min-width: 860px) {
  .mock-stack { display: block; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero__monogram {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--green), var(--green-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 900;
  max-width: 16ch;
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: 1.12rem;
  max-width: 46ch;
  margin: 0;
}

/* =========================================================
   OPTION CARDS
   ========================================================= */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  font-family: inherit;
}

.option-card:hover,
.option-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.option-card:active { transform: translateY(-1px); }

.option-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--stone);
  color: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-card__icon svg { width: 24px; height: 24px; }

.option-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--text);
  line-height: 1.3;
}

.option-card__desc {
  color: var(--text-muted);
  font-size: .93rem;
}

.option-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--green);
  font-weight: 700;
  font-size: .93rem;
}

.option-card__arrow { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.option-card:hover .option-card__arrow { transform: translateX(3px); }

/* Featured card (materiais) */
.option-card--featured {
  background: linear-gradient(165deg, #FFFFFF 45%, var(--green-tint-soft) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 32px 28px 30px;
}

.option-card--featured:hover {
  box-shadow: var(--shadow-lg);
}

.option-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 6px 13px;
  border-radius: 999px;
}

.option-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.option-card__icon--featured {
  width: 58px;
  height: 58px;
  background: var(--green-tint);
  color: var(--green);
}

.option-card__icon--featured svg { width: 28px; height: 28px; }

.option-card__mini-mocks {
  display: none;
  align-items: flex-end;
  gap: 5px;
  margin-left: auto;
}

.option-card__mini-mocks span {
  display: block;
  width: 16px;
  border-radius: 4px;
  background: var(--green);
  opacity: .55;
}
.option-card__mini-mocks span:nth-child(1) { height: 20px; }
.option-card__mini-mocks span:nth-child(2) { height: 30px; opacity: .8; }
.option-card__mini-mocks span:nth-child(3) { height: 24px; opacity: .4; }

@media (min-width: 500px) {
  .option-card__mini-mocks { display: flex; }
}

.option-card--featured .option-card__title {
  font-size: 1.2rem;
}

.option-card--featured .option-card__desc {
  font-size: .98rem;
}

.option-card__cta--solid {
  margin-top: 14px;
  background: var(--green);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: background .25s var(--ease), transform .15s var(--ease);
}

.option-card--featured:hover .option-card__cta--solid {
  background: var(--green-dark);
}

.option-card--secondary {
  background: var(--bg);
}

@media (min-width: 860px) {
  .options-grid {
    grid-template-columns: 1.15fr 1fr;
    grid-auto-rows: 1fr;
    gap: 22px;
  }
  .option-card--featured {
    grid-column: 1;
    grid-row: 1 / 3;
    justify-content: center;
  }
  .option-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .option-card:nth-child(3) { grid-column: 2; grid-row: 2; }
}

/* =========================================================
   CATALOG / PRODUCTS
   ========================================================= */
.back-btn {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  padding: 8px 4px;
  margin-bottom: 22px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color .2s var(--ease);
}

.back-btn svg { width: 18px; height: 18px; }
.back-btn:hover { color: var(--green); }

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 6px 13px;
  border-radius: 999px;
  z-index: 2;
}

.product-card__media {
  background: linear-gradient(165deg, var(--sand) 0%, var(--green-tint-soft) 100%);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform .4s var(--ease);
}

.product-card:hover .product-card__media img { transform: scale(1.035); }

.product-card__media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
}

.product-card__media-placeholder svg { width: 34px; height: 34px; opacity: .55; }

.product-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0 0 6px;
}

.product-card__desc {
  color: var(--text-muted);
  font-size: .92rem;
  margin: 0 0 18px;
  flex: 1;
}

.product-card__prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.product-card__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--green);
}

.product-card__price-old {
  font-size: .9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background .25s var(--ease), transform .15s var(--ease);
}

.product-card__btn:hover { background: var(--green-dark); }
.product-card__btn:active { transform: scale(.98); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 20px 0;
}

.footer__inner {
  text-align: center;
}

.footer__inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: .8rem;
}
