/* ==========================================================================
   Angels Digital Marketing — /teste/ redesign
   Editorial, American, premium. No dark-navy/purple-gradient/glassmorphism.
   ========================================================================== */

:root {
  --ivory: #F5F1E8;
  --white: #FCFAF6;
  --espresso: #334155;
  --oxblood: #111827;
  --oxblood-dark: #0B121C;
  --copper: #B08D57;
  --taupe: #D6C7B2;
  --olive: #626752;

  --rule: rgba(51, 65, 85, 0.12);
  --rule-strong: rgba(51, 65, 85, 0.22);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1180px;
  --max-narrow: 760px;

  --space-section: clamp(64px, 9vw, 136px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
.kicker {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxblood);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--copper);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--espresso);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

.eyebrow-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--oxblood);
}

p { margin: 0; }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--espresso);
  opacity: 0.82;
}
.body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--espresso);
  opacity: 0.78;
}
.small { font-size: 0.88rem; }
.muted { opacity: 0.6; }

.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}
.rule-strong {
  border: none;
  border-top: 2px solid var(--oxblood);
  width: 56px;
  margin: 20px 0 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--oxblood);
  color: var(--white);
}
.btn-primary:hover { background: var(--oxblood-dark); }
.btn-outline {
  background: transparent;
  color: var(--espresso);
  border-color: var(--rule-strong);
}
.btn-outline:hover { border-color: var(--espresso); }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 1px 0 rgba(36,31,27,0.03);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.wordmark small {
  font-family: var(--font-ui);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--olive);
  margin-top: 4px;
}
.wordmark-logo {
  height: 54px;
  width: auto;
  max-width: none;
  display: block;
  align-self: flex-start;
}
.wordmark-logo-footer {
  height: 54px;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--espresso);
  opacity: 0.68;
  transition: opacity 0.2s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a.active { color: var(--oxblood); opacity: 1; }
.nav-cta { flex-shrink: 0; }
.nav-hamburger {
  display: none;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--espresso);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--home-nav-h, 66px);
  background: var(--ivory);
  z-index: 99;
  padding: 32px 24px;
  overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--espresso);
}
.nav-mobile .btn { margin-top: 24px; width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ---------- Section scaffolding ---------- */
.section {
  padding: var(--space-section) 0;
}
.section-alt {
  background: var(--white);
}
.section-dark {
  background: var(--espresso);
  color: var(--ivory);
}
.section-dark h2, .section-dark h3, .section-dark .lede, .section-dark .body-text {
  color: var(--ivory);
}
.section-dark .body-text { opacity: 0.72; }
.section-dark .rule { border-top-color: rgba(244,240,232,0.14); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head .lede { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(64px, 11vw, 128px) 0 clamp(56px, 8vw, 96px);
  position: relative;
}
.hero-eyebrow { margin-bottom: 24px; }
.hero h1 { max-width: 880px; }
.hero h1 em {
  font-style: italic;
  color: var(--oxblood);
}
.hero-lede {
  max-width: 560px;
  margin-top: 26px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.hero-stats {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  gap: 24px;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--oxblood);
}
.hero-stat-label {
  font-size: 0.78rem;
  opacity: 0.62;
  margin-top: 6px;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); row-gap: 32px; gap: 12px; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
  flex-shrink: 0;
}
.trust-logos {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  opacity: 0.55;
}

/* ---------- Problem ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.problem-cases {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.problem-case {
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.problem-case:last-child { }
.problem-case-title {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
@media (max-width: 860px) {
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Revenue system diagram ---------- */
.diagram {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 56px;
}
.diagram-node {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 28px;
}
.diagram-node:first-child { padding-left: 0; }
.diagram-node-label {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
}
.diagram-node.is-revenue .diagram-node-label { color: var(--oxblood); }
.diagram-arrow {
  color: var(--copper);
  font-size: 1.3rem;
  opacity: 0.7;
}
@media (max-width: 780px) {
  .diagram { flex-direction: column; align-items: flex-start; }
  .diagram-node { padding: 10px 0; }
  .diagram-arrow { transform: rotate(90deg); padding-left: 2px; }
}

/* ---------- Stage sections (Build / Sell / Scale) ---------- */
.stage {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.stage-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--copper);
  opacity: 0.4;
  margin-bottom: 4px;
}
.stage-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oxblood);
  border: 1px solid var(--oxblood);
  padding: 6px 12px;
  margin-top: 28px;
}
.stage-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.stage-group-title {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--copper);
  margin-bottom: 10px;
}
.stage-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stage-group li {
  font-size: 0.9rem;
  opacity: 0.78;
  padding-left: 16px;
  position: relative;
}
.stage-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--copper);
}
@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; gap: 32px; }
  .stage-groups { grid-template-columns: 1fr; }
}

/* ---------- Editorial illustration bands ---------- */
.illustration-band {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}
.illustration-band svg { width: 100%; height: auto; display: block; }
.illustration-band img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; display: block; border-radius: 2px; }
.illustration-plate {
  background: var(--white);
  padding: 28px 28px 4px;
}
.illustration-caption {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.42;
}
.section-dark .illustration-band { border-top-color: rgba(244,240,232,0.14); }
.section-dark .illustration-caption { color: var(--ivory); opacity: 0.5; }
@media (max-width: 640px) {
  .illustration-caption { flex-direction: column; gap: 4px; }
  .illustration-plate { padding: 18px 18px 2px; }
  /* Fine-print labels inside the illustrations scale down to unreadable size on
     narrow screens; the shapes/colors still read fine on their own, and the
     same information exists as real HTML text right next to each diagram. */
  .illustration-band svg text,
  .illustration-band svg .anno-line { display: none; }
}

/* ---------- Timeline / How it works ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--rule);
}
.timeline-item {
  padding: 28px 32px 0 0;
  border-right: 1px solid var(--rule);
}
.timeline-item:last-child { border-right: none; }
.timeline-tier {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--oxblood);
}
.timeline-duration {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-top: 10px;
}
.timeline-desc { margin-top: 10px; font-size: 0.88rem; opacity: 0.68; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline-item { border-right: none; border-bottom: 1px solid var(--rule); padding: 24px 0; }
}

.process-steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--copper);
  opacity: 0.55;
}
.process-step-title {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 10px;
}
.process-step-desc { font-size: 0.85rem; opacity: 0.68; margin-top: 8px; line-height: 1.6; }
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ---------- Results / stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--oxblood);
}
.stat-label { font-size: 0.82rem; opacity: 0.65; margin-top: 8px; }
@media (max-width: 720px) {
  .stats-row { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

.compare {
  border-top: 1px solid var(--rule);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.compare-row.head { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.55; padding-bottom: 14px; }
.compare-label { font-size: 0.9rem; opacity: 0.7; }
.compare-agency { font-size: 0.88rem; opacity: 0.55; }
.compare-angels { font-size: 0.88rem; font-weight: 600; color: var(--oxblood); }
@media (max-width: 720px) {
  .compare-row { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
  .compare-row.head { display: none; }
  .compare-label { font-weight: 600; opacity: 0.85; margin-bottom: 4px; }
  .compare-agency::before { content: 'Traditional agency: '; opacity: 0.7; }
  .compare-angels::before { content: 'Angels: '; }
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.testimonial {
  padding-top: 24px;
  border-top: 2px solid var(--oxblood);
}
.testimonial-stars { color: var(--copper); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--espresso);
}
.testimonial-author { margin-top: 20px; font-size: 0.84rem; }
.testimonial-name { font-weight: 600; }
.testimonial-role { opacity: 0.6; margin-top: 2px; }
@media (max-width: 900px) {
  .testimonials { grid-template-columns: 1fr; gap: 44px; }
}

/* ---------- Plans / pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
}
.plan {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.plan.featured { background: var(--espresso); color: var(--ivory); }
.plan.featured .plan-desc,
.plan.featured .plan-strike { color: var(--ivory); opacity: 0.6; }
.plan.featured .plan-period { opacity: 0.65; }
.plan.featured .plan-feature { opacity: 0.85; }
.plan-name {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--oxblood);
}
.plan.featured .plan-name { color: var(--copper); }
.plan-title { font-family: var(--font-display); font-size: 1.35rem; margin-top: 12px; }
.plan-desc { font-size: 0.86rem; opacity: 0.65; margin-top: 12px; line-height: 1.6; }
.plan-price-row { margin-top: 28px; }
.plan-strike { text-decoration: line-through; opacity: 0.4; font-size: 0.85rem; margin-right: 8px; }
.plan-price { font-family: var(--font-display); font-size: 2.2rem; }
.plan-period { font-size: 0.78rem; opacity: 0.6; margin-top: 6px; }
.plan-features {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.plan.featured .plan-features { border-top-color: rgba(244,240,232,0.16); }
.plan-feature { font-size: 0.84rem; padding-left: 18px; position: relative; }
.plan-feature::before { content: '\2713'; position: absolute; left: 0; color: var(--copper); font-size: 0.78rem; }
.plan .btn { margin-top: 32px; width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
}
.plans-footnote { margin-top: 32px; }
.guarantee-strip {
  margin-top: 56px;
  padding: 32px;
  border: 1px solid var(--rule-strong);
  display: flex;
  gap: 24px;
  align-items: baseline;
  flex-wrap: wrap;
}
.guarantee-strip strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--oxblood); }

/* ---------- Who it's for ---------- */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.who-tag {
  font-size: 0.82rem;
  border: 1px solid var(--rule-strong);
  padding: 8px 14px;
  opacity: 0.75;
}
.beliefs { display: flex; flex-direction: column; gap: 22px; }
.belief { display: flex; gap: 18px; }
.belief-num { font-family: var(--font-display); color: var(--copper); font-size: 1.1rem; flex-shrink: 0; }
.belief-title { font-weight: 600; font-size: 0.92rem; }
.belief-desc { font-size: 0.86rem; opacity: 0.65; margin-top: 4px; line-height: 1.6; }
@media (max-width: 860px) {
  .who-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 760px; margin: 0 auto; }
.final-cta .lede { max-width: 560px; margin: 20px auto 0; }
.final-cta .hero-actions { justify-content: center; margin-top: 36px; }
.final-cta .small { margin-top: 20px; opacity: 0.55; }

/* ---------- Footer ---------- */
.footer {
  background: var(--espresso);
  color: var(--ivory);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand-desc { font-size: 0.86rem; opacity: 0.6; margin-top: 16px; max-width: 320px; line-height: 1.7; }
.footer-col-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.86rem; opacity: 0.75; }
.footer-links a:hover { opacity: 1; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(244,240,232,0.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  opacity: 0.5;
}
.footer-bottom-links { display: flex; gap: 20px; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reveal on scroll (restrained) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Preview banner (test env only) ---------- */
.preview-flag {
  background: var(--copper);
  color: var(--white);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 16px;
}
