/* REFINAMENTO DE DESIGN: aplicado por cima do style.css.
   Fundo dominante quase preto, UMA cor de destaque (âmbar) só para botões, números e a palavra-chave do título,
   título de abertura enorme numa coluna livre do objeto 3D, faixa de tipografia e barra fixa de capítulos. */

:root {
  --acento: #FFB020;
  --bg-dark: #0a0b0d;
  --bg-mid: #121419;
  --bg-card: rgba(18, 20, 26, 0.88);
  --bg-card-hover: rgba(26, 29, 37, 0.94);
  --neon-cyan: #FFB020;
  --neon-blue: #FFC75A;
  --amber: #FFB020;
  --text-light: #F5F5F2;
  --text-dim: #C3C5CC;
  --border-neon: rgba(255, 255, 255, 0.4);
  --border-light: rgba(255, 255, 255, 0.14);
}

html, body { background: #0a0b0d; }
body { padding-bottom: 78px; }
a { color: #fff; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* fundo: fotos discretas e escurecidas, o texto fica sempre legível */
.fundo-foto.ativo { opacity: 0.38; filter: grayscale(0.55); }
.glow-overlay { background: linear-gradient(90deg, rgba(8, 9, 11, 0.94) 0%, rgba(8, 9, 11, 0.74) 50%, rgba(8, 9, 11, 0.5) 100%); }
.header::before { background: rgba(10, 11, 14, 0.9); }

/* neutros: o destaque não se gasta em etiquetas */
.logo .dot { color: var(--acento); }
.section-tag, .badge-tier, .demo-tag { color: var(--text-dim); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; }
.badge-neon { background: rgba(255, 255, 255, 0.06); border-color: var(--border-light); color: var(--text-light); font-family: var(--font-body); }
.pulse-dot { background: #fff; box-shadow: none; }
.service-icon, .info-icon { background: rgba(255, 255, 255, 0.07); }
.service-features li::before { border-color: #fff; }
.price-note { color: var(--text-dim); }
.vit-link, .map-link { color: #fff; }
.vit-pagar li { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.text-glow { color: var(--acento); text-shadow: none; }

.nav-link:hover, .nav-link.active { color: #fff; text-shadow: none; text-decoration: underline; text-underline-offset: 6px; }
.btn-nav, .btn-nav:hover { color: #1a1200 !important; text-decoration: none !important; }
.btn-nav { background: var(--acento); border-color: var(--acento); }
.btn-nav:hover { background: #ffc75a; box-shadow: none; }

/* botões: o único sítio com cor */
.btn { font-family: var(--font-body); font-weight: 700; }
.btn-primary, .btn-card.btn-primary { background: var(--acento); color: #1a1200; border: 0; box-shadow: none; }
.btn-primary:hover, .btn-card.btn-primary:hover { background: #ffc75a; color: #1a1200; box-shadow: none; }
.btn-secondary { background: transparent; border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn-card { background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.btn-card:hover { background: #fff; color: #0a0b0d; box-shadow: none; }

/* ABERTURA: título enorme numa coluna livre */
.hero-content { max-width: 1200px; margin: 0 auto; }
.hero-section h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.6rem, 7.4vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: none;
  overflow-wrap: normal;
  margin-bottom: 24px;
}
.hero-content > .hero-sub { max-width: 29em; }
@media (min-width: 760px) {
  .hero-content > h1 { max-width: min(50vw, 8.4em); }
  .hero-content > .hero-sub { max-width: min(44vw, 29em); }
}

/* uma frase por capítulo: o que a placa 3D está a mostrar */
.cap-frase { margin-top: 18px; padding-left: 12px; border-left: 2px solid rgba(255, 255, 255, 0.5); color: #fff; font-size: 0.95rem; font-weight: 600; }
.text-center .cap-frase { display: inline-block; text-align: left; }

/* PROVA E CONFIANÇA: método, sem números inventados */
.confianca { position: relative; background: rgba(10, 11, 14, 0.9); border-block: 1px solid var(--border-light); }
.confianca ul { max-width: 1200px; margin: 0 auto; padding: 22px 20px; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px 32px; }
.confianca li { color: var(--text-dim); font-size: 0.92rem; }
.confianca strong { display: block; color: #fff; font-size: 1rem; }

/* TIPOGRAFIA: títulos legíveis */
h2, h3, h4 { font-family: var(--font-body); font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 22ch; }
.text-center h2 { max-width: 28ch; margin-left: auto; margin-right: auto; }
h3 { font-size: 1.15rem; }
.pc-card h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; font-size: 1.35rem; }
p, li { max-width: 68ch; }
.pc-card p, .pc-card li, .service-card p, .service-card li { max-width: none; }

/* RITMO */
main > section:nth-of-type(even) { background: rgba(8, 9, 11, 0.45); border-block: 1px solid rgba(255, 255, 255, 0.07); }
main > section.hero-section { background: none; border: 0; }
.servicos-section, .pc-section, .websites-section { background: none; }
.section { padding-top: 110px; padding-bottom: 96px; }
.section-header { margin-bottom: 56px; }

/* CARTÕES sóbrios */
.service-card, .pc-card, .why-card, .vit-card, .web-example-card { border-radius: 14px; border: 1px solid var(--border-light); box-shadow: none; transition: transform 0.2s ease, border-color 0.2s ease; }
.service-card:hover, .pc-card:hover, .why-card:hover, .vit-card:hover, .web-example-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.5); box-shadow: none; background: var(--bg-card-hover); }
.vit-card { background: var(--bg-card); }
.pc-card.popular { background: var(--bg-card); border-color: var(--acento); box-shadow: 0 0 0 1px var(--acento); }
.web-preview-frame { background: #121419; box-shadow: none; }
.browser-bar { background: #0e1014; }
.demo-tech, .demo-barber, .demo-beleza { background-image: radial-gradient(circle at 60% 30%, #2a2d35, #0e1014 70%); }
.web-preview-content::after { background: linear-gradient(to top, rgba(10, 11, 14, 0.96), rgba(10, 11, 14, 0)); }
.web-cta-box { background: #121419; border-color: var(--border-light); }
.map-link { background: #121419; }
.form-group input, .form-group select, .form-group textarea { background: rgba(10, 11, 14, 0.85); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #9EA1AA; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25); }
.footer { background: #08090b; }

/* FAIXA DE TIPOGRAFIA (uma só na página) */
.faixa { position: relative; overflow: hidden; padding: 30px 0; background: #0a0b0d; border-block: 1px solid var(--border-light); }
.faixa-trilho { display: flex; width: max-content; animation: faixa 40s linear infinite; }
.faixa span { font: 800 clamp(2rem, 6vw, 4.6rem)/1 var(--font-body); letter-spacing: -0.03em; color: #fff; white-space: nowrap; }
.faixa em { font-style: normal; color: var(--acento); }
@keyframes faixa { to { transform: translateX(-50%); } }

/* BARRA DE CAPÍTULOS fixa em baixo */
.capitulos {
  position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 900;
  max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none;
  background: rgba(10, 11, 14, 0.92); border: 1px solid var(--border-light); border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.capitulos::-webkit-scrollbar { display: none; }
.capitulos ol { display: flex; list-style: none; padding: 4px; gap: 2px; }
.capitulos li { max-width: none; }
.cap-link { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--text-dim); text-decoration: none; font-size: 0.85rem; font-weight: 600; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.cap-link b { font-variant-numeric: tabular-nums; opacity: 0.65; }
.cap-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.cap-link[aria-current="true"] { background: var(--acento); color: #1a1200; }
.cap-link[aria-current="true"] b { opacity: 1; }
html.menu-open .capitulos { display: none; }

/* MOVIMENTO: entrada do topo */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { opacity: 0; transform: translateY(14px); animation: entrada 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .hero-content > :nth-child(2) { animation-delay: 0.12s; }
  .hero-content > :nth-child(3) { animation-delay: 0.26s; }
  .hero-content > :nth-child(4) { animation-delay: 0.38s; }
  .hero-content > :nth-child(5) { animation-delay: 0.5s; }
}
@keyframes entrada { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faixa-trilho { animation: none; } }

@media (max-width: 899px) { .nav-menu { background: rgba(10, 11, 14, 0.985); } }
@media (max-width: 768px) {
  .section { padding-top: 84px; padding-bottom: 56px; }
  h2 { max-width: none; }
  .cap-link { padding: 0 12px; }
}