/* ============================================
   HOME — estilos específicos
   ============================================ */

/* ====== HERO ====== */
.home-hero {
  position: relative;
  min-height: clamp(640px, 92vh, 880px);
  display: grid;
  align-items: end;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.home-hero .hero-bg {
  position: absolute;
  inset: -10% 0 -10% 0;
  z-index: -2;
}

.home-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 42, 30, 0.65) 0%, rgba(14, 42, 30, 0.15) 35%, rgba(14, 42, 30, 0.85) 100%),
    radial-gradient(circle at 15% 50%, rgba(14, 42, 30, 0.6), transparent 55%);
}

.home-hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: end;
  padding-block: clamp(80px, 12vw, 140px) clamp(40px, 6vw, 80px);
}

.home-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--banana);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.home-hero .hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--banana);
}

.home-hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  max-width: 11ch;
  color: var(--paper);
}

.home-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--banana);
}

.home-hero .hero-quote {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.4;
  color: rgba(255, 247, 232, 0.92);
  max-width: 28ch;
}

.home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.home-hero .trust-strip {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
  color: rgba(255, 247, 232, 0.78);
  font-size: 0.86rem;
}

.home-hero .trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-hero .trust-strip span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--banana);
}

/* Hero sidecard: showcase de produtos */
.hero-sidecard {
  position: relative;
  padding: 28px;
  background: rgba(255, 247, 232, 0.96);
  color: var(--ink);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px);
}

.hero-sidecard h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  font-family: var(--font-display);
}

.hero-sidecard .hsc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-sidecard .hsc-cell {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--milk);
  border-radius: var(--r-md);
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  transition: transform 200ms ease;
}

.hero-sidecard .hsc-cell:hover { transform: translateY(-3px); }

.hero-sidecard .hsc-cell img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-sidecard .hsc-cell strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.2;
}

.hero-sidecard .hsc-cell span {
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-sidecard .seal {
  position: absolute;
  top: -22px;
  right: -10px;
}

/* ====== MARQUEE Diferenciais ====== */
.marquee {
  background: var(--leaf-deep);
  color: var(--banana);
  padding: 18px 0;
  overflow: hidden;
  border-block: 1px solid rgba(255, 247, 232, 0.1);
}

.marquee-track {
  display: inline-flex;
  gap: 56px;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
}

.marquee-track span::after {
  content: "✦";
  color: rgba(242, 201, 76, 0.6);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====== LINHAS — três pilares ====== */
.lines-section {
  background: var(--paper);
}

.lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 0;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

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

.line-card .lc-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--banana-soft), var(--milk));
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.line-card .lc-image img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}

.line-card:hover .lc-image img {
  transform: scale(1.08) rotate(-2deg);
}

.line-card .lc-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.line-card .lc-tag {
  color: var(--copper);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.line-card .lc-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.line-card .lc-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.line-card .lc-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--copper);
  font-weight: 700;
  font-size: 0.92rem;
  padding-top: 12px;
}

.line-card .lc-cta::after {
  content: "→";
  transition: transform 200ms ease;
}

.line-card:hover .lc-cta::after { transform: translateX(5px); }

/* Card "destaque" (sem açúcar) */
.line-card.featured {
  background: var(--leaf);
  color: var(--paper);
  border-color: var(--leaf);
}

.line-card.featured .lc-image {
  background: linear-gradient(135deg, #1f5039, #0e2a1e);
}

.line-card.featured .lc-image img { mix-blend-mode: normal; }
.line-card.featured .lc-title { color: var(--paper); }
.line-card.featured .lc-desc { color: rgba(255, 247, 232, 0.74); }
.line-card.featured .lc-tag { color: var(--banana); }
.line-card.featured .lc-cta { color: var(--banana); }

.line-card.featured .seal {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* ====== DESTAQUES carrossel ====== */
.featured-section {
  background: var(--leaf);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.featured-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(242, 201, 76, 0.18), transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(143, 71, 36, 0.22), transparent 55%);
  pointer-events: none;
}

.featured-section .container { position: relative; }

.featured-section .section-head h2 { color: var(--paper); }
.featured-section .section-head .lead { color: rgba(255, 247, 232, 0.78); }

.carousel {
  position: relative;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 28vw, 340px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}

.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-track { background: rgba(255, 247, 232, 0.08); border-radius: 4px; }
.carousel-track::-webkit-scrollbar-thumb { background: rgba(242, 201, 76, 0.5); border-radius: 4px; }

.carousel-item {
  scroll-snap-align: start;
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease;
  position: relative;
}

.carousel-item:hover { transform: translateY(-4px); }

.carousel-item .ci-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--banana-soft), var(--milk));
  padding: 18px;
  display: grid;
  place-items: center;
}

.carousel-item .ci-image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.carousel-item .ci-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.carousel-item .ci-cat {
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.carousel-item .ci-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 700;
}

.carousel-item .ci-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.carousel-item .ci-cta {
  margin-top: auto;
  display: inline-flex;
  gap: 8px;
  padding-top: 12px;
}

.carousel-item .ci-cta button {
  flex: 1;
  border: 0;
  height: 38px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.carousel-item .ci-cta .add {
  background: var(--leaf);
  color: var(--paper);
}

.carousel-item .ci-cta .view {
  background: var(--milk);
  color: var(--ink);
}

.carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.carousel-nav .ctrl-group {
  display: flex;
  gap: 8px;
}

.carousel-nav button {
  width: 46px;
  height: 46px;
  border: 1.5px solid rgba(255, 247, 232, 0.28);
  background: transparent;
  color: var(--paper);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 160ms ease, border-color 160ms ease;
}

.carousel-nav button:hover {
  background: var(--banana);
  border-color: var(--banana);
  color: var(--ink);
}

.carousel-nav button svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ====== STORY — Como é feito ====== */
.story-section {
  background: var(--paper);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.story-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}

.story-image:hover img { transform: scale(1.04); }

.story-image .seal {
  position: absolute;
  top: 24px;
  right: 24px;
}

.story-image .story-quote {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 80px;
  padding: 20px 22px;
  background: rgba(255, 247, 232, 0.95);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink);
}

.story-image .story-quote::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: italic;
  line-height: 0;
  position: absolute;
  top: 20px;
  left: 12px;
  color: var(--copper);
  opacity: 0.5;
}

.story-steps {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

.story-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}

.story-step .ss-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--copper-soft);
  border-radius: 50%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--copper);
  background: var(--white);
}

.story-step h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.story-step p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ====== ENERGY band com foto ====== */
.fruit-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: clamp(180px, 22vw, 320px);
  background: var(--leaf-deep);
}

.fruit-band > div {
  position: relative;
  overflow: hidden;
}

.fruit-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.fruit-band > div:hover img { transform: scale(1.08); }

.fruit-band .fb-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  color: var(--paper);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  letter-spacing: 0.02em;
}

/* ====== NEWSLETTER ====== */
.newsletter-section {
  background: var(--milk);
}

.newsletter-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  background: var(--leaf-deep);
  color: var(--paper);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(242, 201, 76, 0.16), transparent 50%);
  pointer-events: none;
}

.newsletter-card h2 {
  color: var(--paper);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.newsletter-card p {
  color: rgba(255, 247, 232, 0.78);
  margin-top: 8px;
}

.newsletter-card form {
  display: flex;
  gap: 8px;
  position: relative;
}

.newsletter-card input {
  min-width: 280px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 247, 232, 0.24);
  background: rgba(255, 247, 232, 0.08);
  color: var(--paper);
}

.newsletter-card input::placeholder { color: rgba(255, 247, 232, 0.5); }

.newsletter-card input:focus { border-color: var(--banana); outline: none; }

/* ====== RESPONSIVE ====== */
@media (max-width: 980px) {
  .home-hero .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-hero .hero-sidecard {
    max-width: 540px;
  }

  .lines-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-image { max-width: 520px; }

  .fruit-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .newsletter-card form { flex-direction: column; }
  .newsletter-card input { min-width: 0; width: 100%; }
}

@media (max-width: 640px) {
  .home-hero .hero-sidecard .hsc-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-hero .hero-sidecard .hsc-cell {
    padding: 8px;
  }

  .home-hero .hero-sidecard .hsc-cell strong { font-size: 0.78rem; }

  .marquee-track { font-size: 1.1rem; gap: 36px; }
  .marquee-track span { gap: 36px; }
}
