/* Guará Digital: final composition pass. Keep scene media and content in their
   original sections while tightening the reading rhythm around them. */

:root {
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --ink-muted: var(--muted);
  --red-ink: #c92e3d;
  --header-height: 72px;
}

/* Approved chapter palette. Cream is shared by the cinematic scenes. */
#inicio[data-section], #para-quem[data-section], #territorio[data-section] { background: #f7f4ee; }
#servicos[data-section] { background: #eee8dd; }
#projetos[data-section] { background: #e8ece6; }
#processo[data-section] { background: #eef0ec; }
#investimento[data-section] { background: #f0e9e1; }
:is(#inicio,#para-quem,#servicos,#territorio,#projetos,#resultados,#processo,#investimento,#contato) .eyebrow.eyebrow--section,
#para-quem .journey-composition .section-heading .eyebrow.eyebrow--section,
#territorio .bridge-intro .eyebrow.eyebrow--section,
#contato .contact-copy > p.eyebrow--section {
  font: 700 13px/1.4 var(--font-sans);
  letter-spacing: .07em;
  color: #b62839;
  margin: 0 0 12px;
}
#resultados[data-section] {
  background: #252a27;
  color: #f7f4ee;
  --ink: #f7f4ee;
  --ink-secondary: #c8cec7;
  --muted: #c8cec7;
  --ink-muted: #c8cec7;
  --line: #4b534c;
  --line-strong: #69736a;
  --red: #ff6b6b;
  --red-ink: #ff6b6b;
  --paper-subtle: #333b35;
  --red-subtle: #3e2f2f;
}
#resultados .eyebrow.eyebrow--section,
#contato .contact-copy > p.eyebrow--section { color: #ff6b6b; }
#resultados :is(h2,.testimonial-quote,.testimonial-author,.carousel-btn) { color: #f7f4ee; }
#resultados :is(.section-heading > p,.testimonial-business,.testimonial-verified,.service-badge) { color: #c8cec7; }
#resultados .metric-badge { color: #ff9292; background: #3e2f2f; }
#resultados .service-badge { background: #333b35; border-color: #69736a; }
#resultados .carousel-btn { border-color: #8b958c; }
#resultados .carousel-btn:hover { background: #f7f4ee; color: #252a27; border-color: #f7f4ee; }
#resultados .testimonials-dots button { background: #8b958c; }
#resultados .testimonials-dots button.is-active { background: #ff6b6b; }
#resultados :is(a,button):focus-visible { outline: 2px solid #ff9292; outline-offset: 5px; }

.price-card li::before { content: "\2713"; }
.inline-faq details[open] summary::after { content: "\2212"; }

.mobile-nav-toggle,
.hero-motion-toggle,
.demo-tabs button,
.carousel-btn,
.feedback-head button { min-height: 44px; }

.carousel-btn,
.feedback-head button { min-width: 44px; }
.demo-tabs button { padding-block: 10px; }
.button--red,
#projetos .booking-ui button { background-color: var(--red-ink); }

.eyebrow,
.price-card > small,
.fact-link,
.metric-badge,
.feedback-head > span,
.demo-label,
.feedback-slide > small,
.search-phone__eyebrow,
.audience-story .story-copy > small,
.process-steps small,
.primary-navigation a[aria-current="location"],
.inline-faq summary::after { color: var(--red-ink); }

@media (min-width: 901px) {
  #para-quem .section-heading {
    display: block;
    margin-bottom: clamp(18px, 2vw, 28px);
  }

  #para-quem .section-heading > div { max-width: 780px; }
  #para-quem .section-heading > p {
    max-width: 58ch;
    margin-top: 18px;
    margin-left: 0;
  }

  #para-quem .journey-search__scene {
    min-height: clamp(570px, 50vw, 680px);
  }

  #para-quem .audience-stories { gap: clamp(16px, 2vw, 28px); }

  #territorio .bridge-intro {
    width: var(--shell);
    max-width: none;
    margin-inline: auto;
    margin-bottom: 20px;
  }

  #territorio .bridge-intro h2 { max-width: 19ch; }
  #territorio .bridge-scene { min-height: 0; }
  #territorio .territory-facts { margin-top: 28px; }

  #projetos .section-heading,
  #resultados .section-heading,
  #processo .section-heading,
  #investimento .section-heading,
  #servicos .section-heading {
    display: block;
    margin-bottom: clamp(24px, 3vw, 40px);
  }

  #projetos .section-heading > div,
  #resultados .section-heading > div,
  #processo .section-heading > div,
  #investimento .section-heading > div,
  #servicos .section-heading > div { max-width: 790px; }

  #projetos .section-heading > p,
  #resultados .section-heading > p,
  #processo .section-heading > p,
  #investimento .section-heading > p,
  #servicos .section-heading > p {
    max-width: 58ch;
    margin-top: 14px;
    margin-left: 0;
  }

  #projetos .projects-grid { grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr); }
  #resultados .testimonials-wrap { max-width: 1120px; }
}

#para-quem .audience-stories { margin-top: 24px; }
#para-quem .audience-story {
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#para-quem .audience-story figure {
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 0;
}
#para-quem .audience-story .story-copy { padding: 18px 0 0; }

#servicos .system-flow {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
#servicos .system-topline { margin-bottom: 8px; }
#servicos .flow-canvas {
  background: transparent;
  border-radius: 0;
}
#servicos .flow-node {
  border: 0;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: none;
}
#servicos .flow-node:hover {
  transform: none;
  border: 0;
  box-shadow: none;
}
#servicos .flow-status {
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

#projetos .demo-stack,
#projetos .feedback-carousel { min-width: 0; }
#projetos .demo-tabs button { font-size: 14px; }
#projetos .demo-label,
#projetos .feedback-slide small { font-size: 11px; }
#projetos .booking-ui,
#projetos .demo-confirm,
#projetos .order-ui,
#projetos .automation-ui { min-height: 76px; }
#projetos .booking-ui small,
#projetos .demo-confirm small,
#projetos .order-ui small { font-size: 11px; }
#projetos .booking-ui b,
#projetos .demo-confirm b,
#projetos .order-ui b { font-size: 14px; }
#projetos .feedback-slide strong { font-size: clamp(18px, 1.8vw, 24px); }
#projetos .feedback-slide p { font-size: 14px; line-height: 1.55; }

#resultados .testimonial-quote {
  max-width: 48ch;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.35;
  letter-spacing: -.025em;
}

#processo .process-steps { gap: 0; }
#processo .process-steps li button {
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 18px 3px;
}
#processo .process-steps li:last-child button { border-bottom: 1px solid var(--line-strong); }
#processo .process-steps li.is-active button,
#processo .process-steps li button:hover {
  border-color: var(--red);
  box-shadow: none;
  transform: none;
}
#processo .process-steps h3 { font-size: 17px; }
#processo .process-steps p { font-size: 13px; line-height: 1.5; }
#processo .process-machine {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#processo .machine-stage {
  min-height: 220px;
  border-block: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
}
#processo .artifact {
  min-width: min(270px, 65%);
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

@media (max-width: 900px) {
  #para-quem .section-heading { margin-bottom: 22px; }
  #territorio .bridge-intro { max-width: none; margin-bottom: 18px; }
  #territorio .territory-facts { margin-top: 24px; }
}

@media (max-width: 700px) {
  #para-quem,
  #servicos,
  #territorio,
  #projetos { padding-block: 24px; }

  #para-quem .section-heading { margin-bottom: 18px; }

  #para-quem .journey-search__scene {
    min-height: 768px;
    margin-bottom: 0;
  }

  #para-quem .audience-stories { gap: 8px; }
  #territorio .bridge-scene { min-height: 270px; }
  #territorio .territory-facts article { padding-block: 20px; }
  #projetos .demo-screen { grid-template-columns: 1fr; }
  #projetos .demo-outcome { grid-column: 1; grid-row: auto; }
  #resultados .testimonial-quote { font-size: 20px; }
}
