/* Topo: só a logo, sem navbar */
.top {
  padding-top: 16px;
}
/* Logo com 48px de altura (~127px de largura, acima do mínimo de 100px) */
.brand {
  display: inline-flex;
}
.brand-logo {
  height: 48px;
  width: auto;
}
.top .brand-logo {
  margin-inline-start: -12px;
}

/* Fundos alternados: escuro e creme marcam a troca de assunto */
.bg-dark {
  background: var(--orbe-bg);
  color: var(--orbe-fg);
}
.bg-creme {
  background: var(--orbe-creme);
}

/* Esfera decorativa com volume; fica atrás do conteúdo */
.orb {
  position: absolute;
  z-index: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 32% 28%, #ffd6a3 0%, #f4a24a 16%, var(--orbe-laranja) 40%, #b65e05 72%, #6e3700 100%);
  box-shadow:
    inset -28px -36px 72px rgba(14, 14, 14, 0.3),
    0 48px 96px -40px rgba(233, 126, 12, 0.45);
}

/* Janela de navegador em 3D, com as telas dos projetos */
.mock {
  border-radius: var(--orbe-radius-md);
  background: var(--orbe-surface);
  border: 1px solid var(--orbe-line);
  overflow: hidden;
  box-shadow:
    0 48px 96px -40px rgba(14, 14, 14, 0.38),
    0 16px 32px -16px rgba(14, 14, 14, 0.16);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding-inline: 12px;
  background: var(--orbe-off-white);
  border-bottom: 1px solid var(--orbe-line);
}
.mock-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d3ca;
}
.mock img {
  width: 100%;
  height: auto;
}

/* 3. HERO */
.hero {
  position: relative;
  overflow: clip;
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(56px, 8vw, 112px);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1000px) {
  .hero .wrap {
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
  }
}
.hero h1 {
  margin-top: 20px;
  max-width: 15ch;
}
.hero-sub {
  margin-top: 20px;
  max-width: 52ch;
  font-size: var(--orbe-text-lg);
  line-height: 29px;
  color: var(--orbe-muted);
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }
}
.hero-badges {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: var(--orbe-text-sm);
  line-height: 18px;
  color: var(--orbe-muted);
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-badges svg {
  width: 16px;
  height: 16px;
  color: var(--orbe-ambar);
}
.hero-proof {
  margin-top: 40px;
  padding-top: 24px;
  max-width: 520px;
  border-top: 1px solid var(--orbe-line);
}
.hero-proof p {
  font-size: var(--orbe-text-sm);
  line-height: 18px;
  color: var(--orbe-muted);
}
.hero-proof ul {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--orbe-font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.hero .orb {
  width: clamp(300px, 40vw, 580px);
  right: -10%;
  top: 14%;
}
@media (max-width: 999px) {
  .hero .orb {
    top: auto;
    right: -35%;
    bottom: 4%;
  }
}

/* Palco 3D do hero: três telas reais em camadas; o mouse inclina o conjunto */
.stage {
  position: relative;
  aspect-ratio: 1 / 0.78;
  perspective: 1800px;
}
.stage-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--py, 0) * -4deg)) rotateY(calc(var(--px, 0) * 6deg));
  transition: transform 0.5s var(--ease-out);
}
.stage .mock {
  position: absolute;
  width: 72%;
}
.stage .mock-back {
  right: 0;
  top: 0;
  transform: rotateY(-18deg) rotateX(6deg) translateZ(-160px);
}
.stage .mock-mid {
  left: 0;
  top: 20%;
  transform: rotateY(-18deg) rotateX(6deg) translateZ(-40px);
}
.stage .mock-front {
  right: 4%;
  bottom: 0;
  transform: rotateY(-18deg) rotateX(6deg) translateZ(100px);
}
/* 4. PROBLEMA (tema escuro) */
.pains {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .pains {
    grid-template-columns: 1fr 1fr;
  }
}
.pain {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--orbe-line);
  border-radius: var(--orbe-radius-md);
  background: var(--orbe-surface);
}
.pain-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--orbe-line);
  border-radius: 10px;
  color: var(--orbe-laranja);
}
.pain-icon svg {
  width: 20px;
  height: 20px;
}
.pain p {
  font-size: var(--orbe-text-lg);
  line-height: 27px;
}
.turn {
  margin-top: clamp(40px, 6vw, 64px);
  max-width: 24ch;
  font-family: var(--orbe-font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.turn em {
  font-style: normal;
  color: var(--orbe-laranja);
}

/* 5. SOLUÇÕES: um card por problema; agendamento em destaque */
.solutions {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .solutions {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .solutions {
    grid-template-columns: repeat(3, 1fr);
  }
  .solution-main {
    grid-column: span 2;
  }
}
.solution {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--orbe-line);
  border-radius: var(--orbe-radius-md);
  background: var(--orbe-surface);
  color: var(--orbe-fg);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
.solution:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -32px rgba(14, 14, 14, 0.35);
}
.solution-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: var(--orbe-radius-md);
  background: var(--orbe-creme);
  color: var(--orbe-ambar-profundo);
}
.solution-icon svg {
  width: 24px;
  height: 24px;
}
.solution h3 {
  margin-bottom: 8px;
}
.solution p {
  max-width: 40ch;
  color: var(--orbe-muted);
}
.solution-main {
  display: grid;
  gap: 32px;
  align-items: end;
}
@media (min-width: 700px) {
  .solution-main {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1000px) {
  .solution-main {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
  }
}
.solution-main .solution-icon {
  background: var(--orbe-grafite);
  color: var(--orbe-laranja);
}
.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.slots span {
  padding: 10px 0;
  border: 1px solid var(--orbe-line);
  border-radius: var(--orbe-radius-sm);
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
}
.slots .is-on {
  background: var(--orbe-laranja);
  border-color: var(--orbe-laranja);
  color: var(--orbe-preto);
}
.slots .is-off {
  color: var(--orbe-muted);
  text-decoration: line-through;
}

/* 6. PROJETOS (fundo creme): tela em 3D de um lado, antes e depois do outro */
.project {
  display: grid;
  gap: 32px;
  align-items: center;
}
.project + .project {
  margin-top: clamp(64px, 9vw, 120px);
}
@media (min-width: 1000px) {
  .project {
    grid-template-columns: 1.15fr 1fr;
    gap: 72px;
  }
  .project:nth-child(even) .project-shot {
    order: 2;
  }
}
.project-shot {
  perspective: 1600px;
}
.project-shot .mock {
  transform: rotateY(-12deg) rotateX(4deg);
  transition: transform 0.6s var(--ease-out);
}
.project:nth-child(even) .project-shot .mock {
  transform: rotateY(12deg) rotateX(4deg);
}
.project-shot:hover .mock,
.project:nth-child(even) .project-shot:hover .mock {
  transform: none;
}
.project-tag {
  font-size: var(--orbe-text-sm);
  line-height: 18px;
  font-weight: 500;
  color: var(--orbe-link);
}
.project h3 {
  margin-top: 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.project-steps {
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}
.project-steps div {
  padding-left: 16px;
  border-left: 2px solid var(--orbe-line);
}
.project-steps div:last-child {
  border-left-color: var(--orbe-laranja);
}
.project-steps dt {
  font-size: var(--orbe-text-sm);
  line-height: 18px;
  font-weight: 600;
  color: var(--orbe-muted);
}
.project-steps dd {
  margin: 4px 0 0;
}
.project-highlight {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--orbe-line);
  border-radius: var(--orbe-radius-full);
  background: var(--orbe-surface);
  font-size: var(--orbe-text-sm);
  line-height: 18px;
  font-weight: 600;
}
.project-highlight svg {
  width: 16px;
  height: 16px;
  color: var(--orbe-ambar);
}
/* Depoimento do cliente, em cartão claro sobre o creme */
.quote {
  margin: 24px 0 0;
  padding: 20px 24px;
  border: 1px solid var(--orbe-line);
  border-radius: var(--orbe-radius-md);
  background: var(--orbe-surface);
}
.quote blockquote {
  margin: 0;
}
.quote p {
  font-size: 0.9375rem;
  line-height: 24px;
}
.quote figcaption {
  margin-top: 12px;
  font-size: var(--orbe-text-sm);
  line-height: 18px;
  font-weight: 600;
  color: var(--orbe-link);
}
.project-text .btn {
  margin-top: 28px;
}
.project-text .project-highlight + .btn {
  display: flex;
  width: fit-content;
}

/* 7. COMO FUNCIONA: linha do tempo, vertical no celular e horizontal no desktop */
.steps {
  display: grid;
}
@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
}
.step {
  position: relative;
  padding: 0 0 32px 32px;
  border-left: 1px solid var(--orbe-line);
}
.step:last-child {
  padding-bottom: 0;
}
.step::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orbe-laranja);
}
@media (min-width: 1000px) {
  .step,
  .step:last-child {
    padding: 32px 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--orbe-line);
  }
  .step::before {
    left: 0;
    top: -6px;
  }
}
.step-num {
  font-family: var(--orbe-font-display);
  font-weight: 600;
  font-size: var(--orbe-text-sm);
  color: var(--orbe-link);
}
.step h3 {
  margin-top: 8px;
  font-size: 1.125rem;
  line-height: 24px;
}
.step p {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 24px;
  color: var(--orbe-muted);
}

/* 8. DEPOIS DA ENTREGA (tema escuro) */
.care {
  overflow: clip;
}
.care .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1000px) {
  .care .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}
.care .section-head {
  margin-bottom: 0;
}
.care-note {
  margin-top: 24px;
  color: var(--orbe-muted);
}
.care-list {
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) {
  .care-list {
    grid-template-columns: 1fr 1fr;
  }
}
.care-item {
  padding: 24px;
  border: 1px solid var(--orbe-line);
  border-radius: var(--orbe-radius-md);
  background: var(--orbe-surface);
}
.care-item svg {
  width: 24px;
  height: 24px;
  color: var(--orbe-laranja);
}
.care-item h3 {
  margin-top: 16px;
  font-size: 1.0625rem;
  line-height: 24px;
}
.care .orb {
  width: 440px;
  right: -180px;
  bottom: -260px;
}

/* 9. INVESTIMENTO: três preços; sistema em destaque, no tema escuro */
.prices {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .prices {
    grid-template-columns: repeat(3, 1fr);
  }
}
.price {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--orbe-line);
  border-radius: var(--orbe-radius-md);
  background: var(--orbe-surface);
  color: var(--orbe-fg);
}
.price-desc {
  margin-top: 8px;
  color: var(--orbe-muted);
}
.price-value {
  margin-top: 28px;
  font-family: var(--orbe-font-display);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-value small {
  margin-right: 4px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--orbe-muted);
}
.price-value.is-text {
  font-size: 1.75rem;
  line-height: 40px;
}
.price-time {
  margin-top: 8px;
  font-size: var(--orbe-text-sm);
  line-height: 18px;
  color: var(--orbe-muted);
}
.price .btn {
  margin-top: 32px;
}
.price-body {
  flex: 1;
}
.prices-note {
  margin-top: 24px;
  max-width: 72ch;
  color: var(--orbe-muted);
}

/* 10. VOCÊ FALA COM QUEM DESENVOLVE (fundo creme) */
.compare {
  border: 1px solid var(--orbe-line);
  border-radius: var(--orbe-radius-md);
  overflow: hidden;
  background: var(--orbe-surface);
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--orbe-line);
}
.compare-row:last-child {
  border-bottom: 0;
}
.compare-row > * {
  padding: 16px 24px;
}
.compare-head {
  background: var(--orbe-bg);
}
.compare-head > * {
  font-size: var(--orbe-text-sm);
  line-height: 18px;
  font-weight: 600;
  color: var(--orbe-muted);
}
.compare-head .c-orbe {
  color: var(--orbe-link);
}
.c-label {
  font-weight: 600;
}
.c-them {
  color: var(--orbe-muted);
}
.c-orbe {
  color: var(--orbe-fg);
}
/* Ícones x e check desenhados por máscara, na cor do texto */
.c-them::before,
.c-orbe::before {
  content: "";
  display: inline-block;
  vertical-align: -3px;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.c-them::before {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
.c-orbe::before {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  color: var(--orbe-ambar);
}
.compare-head .c-orbe::before,
.compare-head .c-them::before {
  content: none;
}
@media (max-width: 899px) {
  .compare-head {
    display: none;
  }
  .compare-row > * {
    padding-block: 8px;
  }
  .c-label {
    padding-top: 24px;
  }
  .c-orbe {
    padding-bottom: 24px;
  }
}
@media (min-width: 900px) {
  .compare-row {
    grid-template-columns: 1fr 1.2fr 1.4fr;
  }
  .compare-row > * {
    padding: 24px 32px;
  }
  .compare-row > * + * {
    border-left: 1px solid var(--orbe-line);
  }
}

/* 11. PERGUNTAS FREQUENTES */
.faq-list {
  max-width: 820px;
  border-top: 1px solid var(--orbe-line);
}
.faq-item {
  border-bottom: 1px solid var(--orbe-line);
}
/* summary com 44px+ de alto e "+" que gira para "x" ao abrir */
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-family: var(--orbe-font-display);
  font-weight: 600;
  font-size: var(--orbe-text-h3);
  line-height: 26px;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  width: 20px;
  height: 20px;
  flex: none;
  background: var(--orbe-ambar);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
  transition: transform 0.3s var(--ease-out);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-body {
  padding-bottom: 24px;
}
.faq-body p {
  max-width: 65ch;
  color: var(--orbe-muted);
}

/* 12. CHAMADA FINAL (fundo laranja, texto preto) */
.final {
  position: relative;
  overflow: clip;
  background: var(--orbe-laranja);
  color: var(--orbe-preto);
  text-align: center;
}
.final .wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(24px, 4vw, 48px);
}
.final h2 {
  max-width: 18ch;
  margin-inline: auto;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.final p {
  max-width: 46ch;
  margin: 16px auto 0;
  font-size: var(--orbe-text-lg);
  line-height: 29px;
}
.final .btn {
  margin-top: 32px;
}
@media (max-width: 480px) {
  .final .btn {
    width: 100%;
  }
}


/* 10. FOOTER (tema escuro) */
.footer {
  position: relative;
  overflow: clip;
  background: var(--orbe-bg);
  color: var(--orbe-fg);
  padding-top: 64px;
}
.footer .grafismo {
  width: 720px;
  right: -240px;
  bottom: -200px;
}
.footer .wrap {
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 64px;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 64px;
  }
}
.footer .brand {
  margin-inline-start: -16px;
}
.footer .brand-logo {
  height: 64px;
}
.footer-tag {
  margin-top: 16px;
  color: var(--orbe-muted);
  max-width: 40ch;
}
/* h2 por coluna: cada coluna é uma seção própria */
.footer h2 {
  font-family: var(--orbe-font-text);
  font-size: var(--orbe-text-sm);
  line-height: 18px;
  font-weight: 600;
  color: var(--orbe-muted);
  margin-bottom: 16px;
}
.footer-links {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  /* 26px de linha + 18px = 44px de área de toque, sem mudar o espaçamento visual */
  padding-block: 9px;
  margin-block: -9px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--orbe-link);
}
.footer-links svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid var(--orbe-line);
  font-size: var(--orbe-text-sm);
  line-height: 18px;
  color: var(--orbe-muted);
}
.footer-privacy {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  /* Texto de 13px: o padding leva a área de toque a 44px sem mexer na altura da linha */
  padding-block: 14px;
  margin-block: -14px;
}
.footer-privacy:hover {
  color: var(--orbe-link);
}

/* 11. REVEAL (animação de entrada ao rolar) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}
/* Entrada do hero em CSS puro, sem esperar o script (melhora o LCP) */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] {
    animation: enter 0.6s var(--ease-out) both;
    animation-delay: calc(var(--d, 0) * 80ms);
  }
  /* Título (LCP) só sobe, sem fade, para contar como visível desde o início */
  h1[data-enter] {
    animation-name: enter-title;
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
@keyframes enter-title {
  from {
    transform: translateY(16px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .solution,
  .project-shot .mock,
  .stage-inner {
    transition: none !important;
  }
}
