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

:root {
  --verde: #28514D;
  --verde-soft: rgba(40, 81, 77, 0.08);
  --creme: #E0DBC6;
  --bg: #f6f2e5;
  --bg-warm: #efe9d8;
  --text: #2a2a28;
  --text-light: #6b6860;
  --serif: 'Crimson Pro', Georgia, serif;
  --reader: 'Newsreader', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
}

html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  overflow-x: hidden;
}

/* MAIN LAYOUT */
.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 32px;
}

/* HEADER */
.masthead {
  padding: 100px 0 0;
  margin-bottom: 72px;
}

.masthead-tag {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 40px;
}

.masthead-title {
  font-family: var(--reader);
  font-weight: 300;
  font-size: clamp(2.8rem, 9vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 12px;
}

.masthead-sub {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 48px;
}

.masthead-hr {
  width: 100%;
  height: 0.5px;
  background: var(--verde);
  margin-bottom: 32px;
}

.masthead-intro {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.9;
}

.toc {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 0.5px solid rgba(40, 81, 77, 0.2);
}

.toc-item {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 0.5px solid rgba(40, 81, 77, 0.08);
  text-decoration: none;
  transition: color 0.3s;
}

.toc-item:hover { color: var(--verde); }
.toc-item span:last-child { color: var(--verde); font-weight: 500; }

/* SECTIONS */
.chapter {
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.chapter.visible {
  opacity: 1;
  transform: translateY(0);
}

.chapter-number {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 8px;
}

h2 {
  font-family: var(--reader);
  font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 28px;
}

/* PROSE */
.prose {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 20px;
}

.prose strong {
  font-weight: 500;
}

.prose-impact {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 20px;
}

/* COLOR-CODED WORDS */
.word-verde {
  color: var(--verde);
  font-weight: 500;
  cursor: default;
  position: relative;
}

.word-verde::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--verde);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.word-verde:hover::after {
  transform: scaleX(1);
}

/* ASIDE QUOTES */
.aside-quote {
  margin: 36px 0;
  padding: 24px 0 24px 24px;
  border-left: 2px solid var(--verde);
  font-family: var(--reader);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--verde);
}

/* PILLARS */
.pillar-list {
  margin: 32px 0;
}

.pillar-entry {
  padding: 28px 0;
  border-bottom: 0.5px solid rgba(40, 81, 77, 0.15);
}

.pillar-entry:first-child {
  border-top: 0.5px solid rgba(40, 81, 77, 0.15);
}

.pillar-entry h3 {
  font-family: var(--reader);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--verde);
  margin-bottom: 8px;
}

.pillar-entry p {
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-light);
}

/* SPACER DIVIDER */
.spacer {
  width: 40px;
  height: 0.5px;
  background: var(--verde);
  margin: 56px 0;
}

/* HOW IT WORKS */
.method-item {
  margin-bottom: 28px;
  padding-left: 20px;
  position: relative;
}

.method-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--verde);
}

.method-item h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.method-item p {
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-light);
}

/* AUDIENCE CARD */
.audience-card {
  background: var(--bg-warm);
  padding: 40px 36px;
  margin: 20px 0;
  border-radius: 2px;
}

.audience-card .prose {
  color: var(--text);
}

.audience-note {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 0.5px solid rgba(40, 81, 77, 0.15);
}

/* PROBLEMS */
.problem-list {
  margin: 28px 0;
  counter-reset: prob;
}

.problem-entry {
  counter-increment: prob;
  padding: 16px 0 16px 40px;
  position: relative;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  border-bottom: 0.5px solid rgba(40, 81, 77, 0.08);
}

.problem-entry::before {
  content: counter(prob, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--verde);
}

/* === CASES: EDITORIAL NARRATIVE === */
.case-narrative {
  margin-bottom: 24px;
  padding: 28px 28px 24px;
  border-bottom: none;
  border-left: 2px solid var(--verde);
  background: var(--bg-warm);
  transition: border-color 0.3s, background 0.3s;
}

.case-narrative:hover {
  background: #ece5d2;
}

.case-narrative:last-of-type {
  border-bottom: none;
}

.case-name {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.case-result {
  font-family: var(--reader);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--verde);
  margin-bottom: 10px;
  line-height: 1.3;
}

.case-story {
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-light);
}

.cases-others {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 0.5px solid rgba(40, 81, 77, 0.15);
}

.cases-others-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.case-line {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-light);
  padding: 6px 0;
}

.case-line strong {
  font-weight: 400;
  color: var(--text);
}

/* === LOGO CAROUSEL === */
.logos-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 0.5px solid rgba(40, 81, 77, 0.12);
  overflow: hidden;
}

.logos-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}

.logos-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-bottom: 8px;
  animation: logo-scroll 20s linear infinite;
}

.logos-track:hover {
  animation-play-state: paused;
}

.logo-circle {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(40, 81, 77, 0.1);
  background: #fff;
}

.logo-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}

.logo-item:hover .logo-circle img {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-name {
  font-family: var(--sans);
  font-size: 0.45rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-light);
  text-align: center;
  white-space: nowrap;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* INFINITE SCROLL ANIMATION */
@keyframes logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CTA */
.cta-section {
  margin-top: 20px;
}

.cta-intro {
  margin-bottom: 36px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.pricing-card {
  padding: 28px 24px;
  border: 1px solid rgba(40, 81, 77, 0.2);
  background: transparent;
  text-align: center;
  transition: border-color 0.3s;
}

.pricing-card:hover {
  border-color: var(--verde);
}

.pricing-label {
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}

.pricing-value {
  font-family: var(--reader);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 6px;
}

.pricing-detail {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-perweek {
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 400;
  color: var(--verde);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 0.5px solid rgba(40, 81, 77, 0.12);
  letter-spacing: 0.04em;
  text-align: center;
}

.cta-btn {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background: var(--verde);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.cta-btn:hover {
  opacity: 0.85;
}

.pricing-choose {
  display: block;
  margin-top: 16px;
  padding: 12px 20px;
  background: var(--verde);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.pricing-choose:hover {
  opacity: 0.85;
}

.cta-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 14px 24px;
  border: 1px solid rgba(40, 81, 77, 0.2);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}

.cta-whatsapp:hover {
  border-color: var(--verde);
  color: var(--verde);
}

/* FOOTER */
.colophon {
  padding: 48px 0 80px;
  margin-top: 60px;
  border-top: 0.5px solid rgba(40, 81, 77, 0.15);
}

.colophon p {
  font-family: var(--sans);
  font-size: 0.6rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  line-height: 2;
}

/* INLINE STEPS */
.inline-step {
  margin-top: 4px;
}

.inline-tag {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 8px;
}

.inline-title {
  font-family: var(--reader);
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 28px;
}

/* FORM */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(40, 81, 77, 0.2);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}

.form-group input::placeholder {
  color: var(--text-light);
  opacity: 0.5;
}

.form-group input:focus {
  border-color: var(--verde);
}

.form-group input.invalid {
  border-color: #a94442;
}

.form-error {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  color: #a94442;
  margin-top: 4px;
  min-height: 16px;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 16px 24px;
  margin-top: 8px;
  background: var(--verde);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  -webkit-appearance: none;
}

.form-submit:hover {
  opacity: 0.85;
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* MOBILE */
@media (max-width: 600px) {
  html { font-size: 16px; }
  .page { padding: 0 24px; }
  .masthead { padding-top: 60px; }
  .audience-card { padding: 28px 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-btn { padding: 16px 20px; }
  .inline-title { font-size: 1.2rem; }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(40, 81, 77, 0.3); }
