/* ===== Base ===== */
:root { --cta: #16A34A; --cta-hover: #15803D; --creme: #FAF3E6; --verde: #344B32; --terracota: #A64530; }
html { scroll-behavior: smooth; }
body { line-height: 1.5; overflow-x: hidden; }
h1, h2, h3 { line-height: 1.15; }
img { max-width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Foco visível para teclado (acessibilidade) */
a:focus-visible, button:focus-visible { outline: 3px solid #D97706; outline-offset: 3px; border-radius: .5rem; }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, #FAF3E6 0%, #FFFFFF 100%); }

/* ===== Botão de CTA (sempre verde) ===== */
.cta-button {
  display: inline-block; max-width: 100%;
  background: var(--cta); color: #fff;
  font-family: Montserrat, system-ui, Arial, sans-serif;
  font-weight: 800; font-size: 1.05rem; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .02em; text-align: center;
  padding: 1rem 2rem; border-radius: 9999px;
  box-shadow: 0 10px 25px -10px rgba(22, 163, 74, .6);
  transition: background .2s ease, transform .2s ease;
  touch-action: manipulation;
}
.cta-button:hover { background: var(--cta-hover); transform: translateY(-1px); }
.cta-button--wide { display: block; width: 100%; }
.cta-micro { margin-top: .75rem; font-size: 1rem; font-style: italic; color: #4B5563; }
.bg-gray-900 .cta-micro, .from-gray-900 .cta-micro { color: #D1D5DB; }

/* ===== Placeholders de imagem (trocar pela foto indicada) ===== */
.img-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  width: 100%; height: 100%; padding: 1rem; text-align: center;
  background: repeating-linear-gradient(45deg, #FAF3E6, #FAF3E6 12px, #F3E7D0 12px, #F3E7D0 24px);
  border: 2px dashed #A64530; border-radius: .7rem; color: #344B32;
  font-family: Inter, system-ui, Arial, sans-serif; font-size: .85rem; font-weight: 600; line-height: 1.3;
}
.img-ph b { font-family: Montserrat, system-ui, Arial, sans-serif; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: #A64530; }
.carousel-track .img-ph { flex: 0 0 100%; border-radius: .75rem; }

/* ===== Marquee do hero ===== */
.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-card { flex: 0 0 auto; width: 200px; padding-right: 1rem; }
@media (min-width: 768px) { .marquee-card { width: 250px; } }
.marquee-card-inner {
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1rem;
  background: #fff; padding: .4rem; box-shadow: 0 10px 25px -12px rgba(0, 0, 0, .3);
}
.marquee-card-inner img { width: 100%; height: 100%; object-fit: cover; border-radius: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===== Carrossel (Blocos 4 e 9) ===== */
.carousel { position: relative; }
.carousel-frame { border-radius: 1rem; background: #fff; padding: .75rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); }
.carousel-viewport { overflow: hidden; border-radius: .75rem; }
.carousel-track { display: flex; height: 100%; transition: transform .5s ease; }
.carousel-track img { flex: 0 0 100%; width: 100%; height: 100%; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: 9999px; background: #fff; color: #111827;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); cursor: pointer;
}
.carousel-arrow--prev { left: -.9rem; }
.carousel-arrow--next { right: -.9rem; }
@media (max-width: 640px) { .carousel-arrow--prev { left: .4rem; } .carousel-arrow--next { right: .4rem; } }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.carousel-dots button { width: .6rem; height: .6rem; border-radius: 9999px; background: #D1D5DB; transition: all .2s; }
.carousel-dots button[aria-current="true"] { width: 1.5rem; background: #D97706; }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }

/* ===== Pilares (Bloco 7) ===== */
.pillar-card { background: #fff; border-radius: 1.25rem; padding: 1.5rem; border-top: 4px solid var(--pillar); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .3); }

/* ===== Capítulos e bônus (Bloco 10) ===== */
.chapter-card { background: #fff; border-radius: 1.25rem; padding: 1.5rem; border-top: 4px solid var(--chapter); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .3); }
.chapter-icon { display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: .85rem; background: var(--chapter); }
.chapter-list { margin-top: .9rem; display: grid; gap: .35rem; }
.chapter-list li { position: relative; padding-left: 1.3rem; color: #374151; }
.chapter-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem; border-radius: 9999px; background: var(--chapter); }
.bonus-card { background: #fff; border: 2px dashed #FCD34D; border-radius: 1.25rem; padding: 1.25rem; text-align: center; }

/* ===== Ancoragem (Bloco 11) ===== */
.value-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed #E5E7EB; }
.value-row dt { color: #374151; }
.value-row dd { font-weight: 700; white-space: nowrap; }
.value-row--last { border-bottom: 2px solid #111827; }

/* ===== FAQ (Bloco 15) ===== */
.faq-item { overflow: hidden; border: 1px solid #E5E7EB; border-radius: 1rem; background: #fff; }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; text-align: left; font-weight: 700; font-size: 1.05rem; color: #111827; cursor: pointer; }
.faq-chevron { flex-shrink: 0; transition: transform .2s; }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.25rem 1.1rem; color: #4B5563; }
.faq-q[aria-expanded="true"] + .faq-a { display: block; }

/* ===== Comentários (Bloco 16) ===== */
.fb-comments { background: #fff; border: 1px solid #E4E6EB; border-radius: .75rem; padding: 1rem; font-family: Inter, Helvetica, Arial, sans-serif; font-size: .95rem; }
.fb-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: .75rem; border-bottom: 1px solid #E4E6EB; }
.fb-head-title { display: flex; gap: .6rem; align-items: baseline; }
.fb-head-title span, .fb-sort { color: #65676B; font-size: .85rem; }
.fb-sort { font-weight: 600; }
.fb-thread { margin-top: 1rem; }
.fb-comment { display: flex; gap: .5rem; margin-top: .5rem; }
.fb-comment--reply { margin-left: 3rem; }
.fb-avatar { flex-shrink: 0; border-radius: 9999px; object-fit: cover; }
.fb-bubble { background: #F0F2F5; border-radius: 1.1rem; padding: .55rem .8rem; }
.fb-name { display: block; font-weight: 700; font-size: .85rem; color: #050505; }
.fb-text { color: #050505; line-height: 1.4; }
.fb-actions { display: flex; align-items: center; gap: .35rem; margin: .2rem 0 0 .8rem; font-size: .78rem; color: #65676B; }
.fb-actions b { font-weight: 700; }
.fb-actions i { font-style: normal; }

/* ===== Notificação flutuante (Bloco 18) ===== */
.purchase-note {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 50; max-width: 19rem;
  background: #fff; border-left: 4px solid var(--cta); border-radius: .9rem;
  padding: .75rem 1rem; box-shadow: 0 15px 35px -12px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(150%); transition: opacity .4s ease, transform .4s ease;
}
.purchase-note.is-visible { opacity: 1; transform: translateY(0); }
.purchase-note__l1 { font-weight: 700; color: #111827; font-size: .95rem; line-height: 1.3; }
.purchase-note__l2 { margin-top: .2rem; font-size: .85rem; color: #374151; }
.purchase-note__l2 strong { color: #DC2626; }
