/* CARBOCANA — vitrine dos 3 e-books. O restante do site permanece intacto. */
.cc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #092818;
  color: #fff;
}
.cc-hero * { box-sizing: border-box; }
.cc-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 76% 52%, rgba(190, 146, 57, .11), transparent 52%),
    linear-gradient(100deg, rgba(5, 31, 17, .95), rgba(11, 51, 30, .85)),
    url('/assets/harvest-CiCvrPMU.jpeg') center / cover;
}
.cc-shell { max-width: 1220px; margin: 0 auto; padding: 42px 24px 35px; }
.cc-kicker { color: #e5b747; letter-spacing: .23em; font-size: 11px; font-weight: 800; }
.cc-intro { margin-bottom: 19px; }
.cc-intro-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cc-intro h2 {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(20px, 2.5vw, 31px);
  font-weight: 800;
  margin: 12px 0 8px;
  line-height: 1.2;
}
.cc-intro p { font-size: 14px; color: #e0e9de; margin: 0; }
.cc-intro strong { color: #ebbf56; }
.cc-all { white-space: nowrap; color: #f1c45a !important; text-decoration: none !important; font-weight: 700; font-size: 13px; }
.cc-all:hover { text-decoration: underline !important; text-underline-offset: 4px; }

.cc-carousel {
  border: 1px solid rgba(233, 190, 85, .34);
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(5, 24, 13, .58), rgba(24, 61, 37, .55));
  box-shadow: 0 23px 60px rgba(0, 0, 0, .24);
  overflow: hidden;
}

/* Slides ocupam a mesma célula de grid: altura e fundo não pulam na troca. */
.cc-slides { display: grid; position: relative; }
.cc-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 490px;
  align-items: center;
  gap: 36px;
  padding: 35px 48px 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(13px, 0, 0);
  transition: opacity .52s ease, transform .58s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .58s;
}
.cc-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity .52s ease, transform .58s cubic-bezier(.22, 1, .36, 1), visibility 0s;
}
.cc-copy {
  min-width: 0;
  transform: translateY(8px);
  transition: transform .62s cubic-bezier(.22, 1, .36, 1);
}
.cc-slide.is-active .cc-copy { transform: translateY(0); }
.cc-label {
  display: inline-flex;
  align-items: center;
  background: rgba(225, 173, 55, .16);
  border: 1px solid rgba(225, 173, 55, .5);
  border-radius: 30px;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #f4c257;
}
.cc-copy h1 {
  font-family: Inter, Arial, sans-serif;
  font-weight: 850;
  font-size: clamp(31px, 3.8vw, 51px);
  line-height: 1.13;
  letter-spacing: -.045em;
  margin: 23px 0 16px;
  color: #fff;
}
.cc-copy h1 em { font-style: normal; color: #ecc052; }
.cc-description { color: #e0e9dc; font-size: clamp(14px, 1.35vw, 17px); line-height: 1.68; max-width: 560px; }
.cc-features { display: flex; flex-wrap: wrap; gap: 9px 17px; margin: 19px 0 23px; font-size: 12px; color: #dce9d9; }
.cc-features span::first-letter { color: #e7b541; }
.cc-order { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 23px; }
.cc-price { font-size: clamp(18px, 2vw, 25px); font-weight: 800; color: #f5c45a; }
.cc-main-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 25px;
  border-radius: 100px;
  background: #e7b53e;
  color: #10301b !important;
  text-decoration: none !important;
  font-weight: 800;
  box-shadow: 0 9px 20px #0003;
  transition: filter .22s ease, transform .22s ease, box-shadow .22s ease;
}
.cc-main-buy:hover { filter: brightness(1.09); transform: translateY(-2px); box-shadow: 0 12px 24px #0004; }
.cc-main-buy:focus-visible, .cc-arrow:focus-visible, .cc-dot:focus-visible, .cc-all:focus-visible, .cc-more:focus-visible { outline: 2px solid #ffdd82; outline-offset: 3px; }
.cc-more { display: inline-block; color: #e9d9af !important; text-decoration: underline; text-underline-offset: 4px; margin-top: 22px; font-size: 13px; }
.cc-more:hover { color: #ffe49b !important; }

.cc-visual { min-width: 0; display: flex; justify-content: center; align-items: center; position: relative; height: 440px; }
.cc-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(90%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 174, 84, .14), transparent 68%);
  pointer-events: none;
}
.cc-visual img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .27));
  transform: translateY(12px) scale(.982);
  transition: transform .72s cubic-bezier(.22, 1, .36, 1);
}
.cc-slide.is-active .cc-visual img { transform: translateY(0) scale(1); }
.cc-cover-tag {
  position: absolute;
  right: 0;
  bottom: 2px;
  background: #fff;
  color: #164427;
  padding: 8px 13px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 15px #0003;
}

.cc-controls { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 9px 25px 20px; }
.cc-arrow {
  display: grid;
  place-items: center;
  border: 1px solid #cba45380;
  border-radius: 50%;
  width: 39px;
  height: 39px;
  color: #ffe0a0;
  background: #31513880;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.cc-arrow:hover { background: #486b4a; border-color: #e6bd68; transform: translateY(-1px); }
.cc-dots { display: flex; align-items: center; gap: 10px; }
.cc-dot {
  width: 10px;
  height: 10px;
  background: #ddd8bd66;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  transition: width .32s ease, background .32s ease, box-shadow .32s ease;
}
.cc-dot.is-active { width: 32px; background: #edbc4e; box-shadow: 0 0 12px rgba(237, 188, 78, .23); }
.cc-counter { font-size: 12px; letter-spacing: .11em; color: #ede3bf; margin-left: 8px; font-variant-numeric: tabular-nums; }

@media (max-width: 780px) {
  .cc-shell { padding: 25px 15px; }
  .cc-intro-line { display: block; }
  .cc-intro h2 { font-size: 22px; }
  .cc-all { display: inline-block; margin: 9px 0; }
  .cc-slide { grid-template-columns: 1fr; gap: 14px; padding: 25px 20px 8px; min-height: 0; }
  .cc-copy h1 { font-size: clamp(29px, 7vw, 40px); margin: 16px 0 10px; }
  .cc-description { font-size: 14px; line-height: 1.5; }
  .cc-visual { height: 290px; grid-row: 1; }
  .cc-features { margin: 14px 0; }
  .cc-order { gap: 9px; }
  .cc-main-buy { padding: 13px 18px; font-size: 13px; }
  .cc-cover-tag { right: 4%; bottom: 0; }
  .cc-controls { padding: 12px 15px 19px; }
  .cc-intro p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-slide, .cc-copy, .cc-visual img, .cc-arrow, .cc-dot, .cc-main-buy { transition: none !important; transform: none !important; }
}
