/* ==========================================================================
   GWebTec — design tokens & estilos compartilhados
   ========================================================================== */

:root {
  --ink-900: #041E27;
  --ink-800: #062A36;
  --ink-700: #0A3A48;
  --line: #1C5E70;
  --line-2: #15586B;
  --teal: #0E6E8C;
  --cyan: #22C7D9;
  --mint: #4BE3A0;
  --mint-hover: #8BF0C3;
  --paper: #EEF5F2;
  --card-border: #D3E4DF;
  --text-dark-muted: #3F5E66;
  --text-light: #E6F2EF;
  --text-light-muted: #BCD6D6;
  --nav-link: #C7DEDB;
  --footer-muted: #9BB9BF;

  --font-heading: "Bricolage Grotesque", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --content-width: 1440px;
  --side-pad: 80px;
  --radius-card: 28px;
  --radius-btn: 14px;

  --ease-hover: cubic-bezier(.2, .8, .2, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-dark-muted);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, p, ul, figure {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

svg {
  display: block;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
}

.dark-texture {
  background-color: var(--ink-800);
  background-image: radial-gradient(rgba(75, 227, 160, .14) 1px, transparent 1.4px);
  background-size: 28px 28px;
}

.light-texture {
  background-color: var(--paper);
  background-image: radial-gradient(rgba(14, 110, 140, .13) 1px, transparent 1.4px);
  background-size: 28px 28px;
}

.mono-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(75, 227, 160, .6);
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(75, 227, 160, .55); }
  70% { box-shadow: 0 0 0 10px rgba(75, 227, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(75, 227, 160, 0); }
}

/* ==========================================================================
   Botões
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 20px 30px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--mint);
  color: var(--ink-900);
}

.btn-primary:hover {
  background: var(--mint-hover);
  box-shadow: 0 12px 28px rgba(75, 227, 160, .25);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text-light);
}

.btn-outline:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.btn-outline-light {
  background: transparent;
  border-color: var(--card-border);
  color: var(--ink-800);
}

.btn-outline-light:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-dark {
  background: var(--ink-800);
  color: var(--mint);
}

.btn-dark:hover {
  background: var(--ink-900);
  box-shadow: 0 12px 28px rgba(4, 30, 39, .35);
}

.btn-pill {
  border-radius: 999px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 80px;
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease, padding .3s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 30, 39, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: auto;
}

.brand-word {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--text-light);
}

.brand-word span {
  color: var(--mint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a:not(.btn) {
  font-size: 15px;
  color: var(--nav-link);
  transition: color .2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--mint);
}

.nav-toggle {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 168px 0 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 580px;
  align-items: center;
  gap: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9FD8D4;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(44px, 6.39vw, 92px);
  line-height: .95;
  letter-spacing: -0.045em;
  color: var(--text-light);
  margin-bottom: 24px;
}

.hero h1 .muted {
  color: #8FB7BE;
}

.hero h1 .accent {
  color: var(--mint);
  position: relative;
  display: inline-block;
}

.underline-track {
  position: absolute;
  left: -4px;
  bottom: -14px;
  width: 165px;
  height: 30px;
  pointer-events: none;
}

.underline-track path {
  stroke-dasharray: 170;
  stroke-dashoffset: 170;
  animation: draw-underline 2.6s ease forwards .4s;
}

.underline-track circle {
  opacity: 0;
  animation: dot-appear .01s linear forwards 2.9s;
}

@keyframes dot-appear {
  to { opacity: 1; }
}

@keyframes draw-underline {
  to { stroke-dashoffset: 0; }
}

.hero p.lead {
  font-size: 20px;
  color: var(--text-light-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Anel do hero */

.hero-visual {
  position: relative;
  width: 580px;
  height: 580px;
  justify-self: center;
}

.ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
}

.ring-outer {
  width: 540px;
  height: 540px;
  border: 2px dashed var(--line);
  animation: spin 48s linear infinite;
}

.ring-mid {
  width: 420px;
  height: 420px;
  border: 3px solid rgba(34, 199, 217, .35);
  border-style: dashed;
  animation: spin-reverse 70s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  to { transform: rotate(-360deg); }
}

.ring-core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--ink-700);
  border: 1.5px solid var(--line-2);
}

.orbit-dot-wrap {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 540px;
  height: 540px;
  animation: spin 9s linear infinite;
}

.orbit-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 18px rgba(75, 227, 160, .18);
}

.hero-logo {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.hero-logo img {
  width: 100%;
  height: auto;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.floating-tag {
  position: absolute;
  padding: 8px 14px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  background: #0D4757;
  border: 1px solid #1F6C80;
  color: var(--text-light);
  animation: float 6s ease-in-out infinite;
}

.tag-site {
  top: 30px;
  left: -10px;
  animation-delay: .3s;
}

.tag-store {
  top: 46%;
  right: -30px;
  animation-delay: 1.1s;
}

.tag-seo {
  bottom: 30px;
  left: 10px;
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink-900);
  font-weight: 500;
  animation-delay: 1.9s;
}

.blink-cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Faixa de compromissos */

.commitments {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 40px;
}

.commitments ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.commitments li {
  padding: 0 32px;
  border-left: 1px solid var(--line);
}

.commitments li:first-child {
  border-left: none;
  padding-left: 0;
}

.commitments .mono-label {
  color: var(--mint);
  margin-bottom: 10px;
}

.commitments p {
  font-size: 17px;
  color: #D5E8E6;
}

/* ==========================================================================
   Ticker
   ========================================================================== */

.ticker-section {
  position: relative;
  margin-top: -46px;
  z-index: 2;
}

.ticker {
  background: var(--mint);
  transform: rotate(-1.2deg);
  overflow: hidden;
  padding: 22px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

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

.ticker-track span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 30px;
  color: var(--ink-900);
  white-space: nowrap;
  padding-right: 28px;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Serviços
   ========================================================================== */

.services {
  padding: 140px 0 120px;
}

.section-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head .mono-label {
  margin-bottom: 16px;
}

.services h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(36px, 4.72vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink-800);
}

.only-mobile {
  display: none;
}

.section-head p {
  font-size: 18px;
  color: var(--text-dark-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  border-radius: var(--radius-card);
  padding: 40px;
  transition: transform .35s var(--ease-hover), box-shadow .35s var(--ease-hover);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(4, 30, 39, .14);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--mint);
  display: block;
  margin-bottom: 24px;
}

.card-01 {
  grid-column: span 2;
  min-height: 380px;
  background: var(--ink-800);
  color: var(--text-light);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: center;
}

.card-01 h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}

.card-01 p {
  color: var(--text-light-muted);
  font-size: 17px;
  margin-bottom: 20px;
  max-width: 380px;
}

.card-link {
  font-weight: 600;
  color: var(--mint);
  transition: color .2s ease;
}

.card-link:hover {
  color: var(--mint-hover);
}

.browser-mock {
  width: 340px;
  border-radius: 16px;
  background: var(--ink-700);
  border: 1px solid var(--line-2);
  overflow: hidden;
}

.browser-mock .browser-bar {
  display: flex;
  gap: 6px;
  padding: 14px;
  border-bottom: 1px solid var(--line-2);
}

.browser-mock .browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.browser-mock .browser-dot:last-child {
  background: var(--mint);
}

.browser-mock .browser-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.build-bar {
  height: 12px;
  border-radius: 4px;
  background: var(--cyan);
  transform-origin: left;
  transform: scaleX(.08);
  animation: build-bar 3.2s ease-in-out infinite;
}

.build-line {
  height: 8px;
  border-radius: 4px;
  background: var(--line);
  transform-origin: left;
  transform: scaleX(.08);
  animation: build-bar 3.2s ease-in-out infinite;
}

.build-block {
  height: 44px;
  border-radius: 8px;
  background: var(--line);
  transform-origin: left;
  transform: scaleX(.08);
  animation: build-bar 3.2s ease-in-out infinite;
}

.build-row {
  display: flex;
  gap: 10px;
}

.build-row .build-block {
  flex: 1;
}

@keyframes build-bar {
  0%, 10% { transform: scaleX(.08); }
  50%, 80% { transform: scaleX(1); }
  100% { transform: scaleX(1); }
}

.card-02 {
  background: #fff;
  border: 1px solid var(--card-border);
}

.card-02 svg {
  color: var(--teal);
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

.card-02 h3, .card-03 h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 12px;
}

.card-02 h3 {
  font-size: 34px;
  color: var(--ink-800);
}

.card-02 p {
  color: var(--text-dark-muted);
  font-size: 16px;
}

.card-03 {
  background: var(--cyan);
  color: var(--ink-900);
}

.card-03 .card-num {
  color: var(--ink-900);
}

.card-03 svg {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--ink-900);
}

.card-03 h3 {
  font-size: 30px;
}

.card-03 p {
  font-size: 16px;
  color: rgba(4, 30, 39, .75);
}

.card-04 {
  grid-column: span 2;
  background: var(--ink-700);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.card-04 .card-body {
  max-width: 560px;
}

.card-04 h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.card-04 p {
  color: var(--text-light-muted);
  font-size: 17px;
}

.card-04 .btn {
  flex-shrink: 0;
}

/* ==========================================================================
   Processo
   ========================================================================== */

.process {
  padding: 140px 0;
  text-align: center;
  background: var(--ink-800);
}

.process .mono-label {
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
  color: var(--cyan);
}

.process h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(36px, 4.72vw, 68px);
  letter-spacing: -0.04em;
  color: var(--text-light);
  margin-bottom: 88px;
}

.process h2 .b-cyan { color: var(--cyan); }
.process h2 .b-mint { color: var(--mint); }

.process-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 980px;
  margin: 0 auto;
}

.process-line {
  position: absolute;
  top: 36px;
  left: 95px;
  right: 95px;
  height: 3px;
  transform: translateY(-50%);
  background-image: repeating-linear-gradient(to right, var(--cyan) 0 6px, transparent 6px 16px);
  background-size: 32px 3px;
  animation: line-run-x 1.2s linear infinite;
}

@keyframes line-run-x {
  to { background-position: 32px 0; }
}

.process-node {
  position: relative;
  z-index: 1;
  width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.step-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.node-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ink-700);
  border: 2px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 26px;
  color: var(--text-light);
  transition: background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease;
}

.process-node.is-active .node-circle {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink-900);
  box-shadow: 0 0 32px rgba(75, 227, 160, .55);
}

.process-node .step-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-light);
}

.process-node .step-text {
  font-size: 15px;
  color: var(--text-light-muted);
  max-width: 190px;
}

/* ==========================================================================
   Sobre
   ========================================================================== */

.about {
  padding: 140px 0;
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
}

.about-aside {
  position: sticky;
  top: 120px;
  align-self: start;
}

.about-aside .mono-label {
  margin-bottom: 24px;
}

.about-aside img {
  width: 140px;
}

.about-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(30px, 3.75vw, 54px);
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--ink-800);
  margin-bottom: 28px;
}

.pill-highlight {
  padding: 8px 20px;
  margin: 0 2px;
  display: inline-block;
  border-radius: 14px;
  background: var(--mint);
  color: var(--ink-900);
}

.pill-highlight-dark {
  padding: 8px 20px;
  margin: 0 2px;
  display: inline-block;
  border-radius: 14px;
  background: var(--ink-800);
  color: var(--cyan);
}

.about-block {
  margin-bottom: 56px;
  max-width: 640px;
}

.about-block h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink-800);
  margin-bottom: 12px;
}

.about-subhead {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--teal);
  margin-bottom: 18px;
}

.about-block p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark-muted);
  margin-bottom: 16px;
}

.about-block p:last-child {
  margin-bottom: 0;
}

.about-quote {
  margin: 0 0 56px;
  max-width: 640px;
  padding-left: 28px;
  border-left: 3px solid var(--mint);
}

.about-quote p,
.about-quote {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink-800);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-item {
  padding-top: 20px;
  border-top: 2px solid var(--ink-800);
}

.value-item:nth-child(2) { border-color: var(--teal); }
.value-item:nth-child(3) { border-color: var(--mint); }

.value-item h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink-800);
  margin-bottom: 10px;
}

.value-item p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  padding: 140px 0;
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}

.faq h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 3.89vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink-800);
  margin-top: 16px;
}

.accordion-item {
  border-bottom: 1px solid var(--card-border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink-800);
}

.accordion-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: background .25s ease;
}

.accordion-item[aria-expanded="true"] .accordion-icon,
.accordion-trigger[aria-expanded="true"] .accordion-icon {
  background: var(--mint);
  color: var(--ink-900);
}

.accordion-panel {
  overflow: hidden;
  height: 0;
  transition: height .35s var(--ease-hover);
}

.accordion-panel p {
  padding: 0 0 26px;
  font-size: 16px;
  color: var(--text-dark-muted);
  max-width: 560px;
}

/* ==========================================================================
   Contato + rodapé
   ========================================================================== */

.contact {
  position: relative;
  padding: 160px 0 60px;
  overflow: hidden;
}

.contact .mono-label {
  color: var(--cyan);
}

.contact-deco {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  opacity: .5;
  pointer-events: none;
}

.contact-deco path {
  stroke-dasharray: 6 10;
  animation: dash-march 1.2s linear infinite;
}

@keyframes dash-march {
  to { stroke-dashoffset: -32; }
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(56px, 10.42vw, 150px);
  line-height: .9;
  letter-spacing: -0.045em;
  color: var(--text-light);
  margin: 16px 0 44px;
}

.contact h2 .accent {
  color: var(--mint);
}

.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer {
  margin-top: 120px;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 36px;
}

.footer-brand span {
  font-size: 14px;
  color: var(--footer-muted);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 14px;
  color: var(--footer-muted);
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--mint);
}

/* ==========================================================================
   Reveal ao rolar
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Página "Monte seu projeto"
   ========================================================================== */

.builder-header {
  position: static;
  background: none;
}

.builder-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--nav-link);
  transition: color .2s ease;
}

.builder-header .back-link:hover {
  color: var(--mint);
}

.builder-main {
  padding: 168px 0 120px;
}

.builder-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.builder-left h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(36px, 4.44vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-light);
  margin: 16px 0 56px;
}

.builder-step-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 20px;
  display: block;
}

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

.service-card {
  text-align: left;
  border-radius: 20px;
  padding: 26px;
  background: var(--ink-700);
  border: 1.5px solid var(--line);
  color: var(--text-light);
  transition: transform .25s var(--ease-hover), background .25s ease, border-color .25s ease, color .25s ease;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 21px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light-muted);
  margin-top: 6px;
}

.service-card .check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.service-card.is-selected {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink-900);
}

.service-card.is-selected p {
  color: rgba(4, 30, 39, .72);
}

.service-card.is-selected .check-icon {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--mint);
}

.pill-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.pill-option {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid #2A6B7C;
  background: transparent;
  color: var(--text-light);
  font-size: 15px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.pill-option.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
  font-weight: 600;
}

/* Painel resumo */

.summary-panel {
  position: sticky;
  top: 120px;
  width: 420px;
  max-width: 100%;
  background: var(--paper);
  border-radius: var(--radius-card);
  padding: 40px;
}

.summary-corner-dot {
  position: absolute;
  top: 24px;
  right: 28px;
}

.summary-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.summary-head span.title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 48px;
  margin-bottom: 24px;
}

.summary-empty {
  font-size: 15px;
  color: var(--text-dark-muted);
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-800);
  animation: pop-in .35s var(--ease-hover);
}

.summary-item .tag {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 14px;
}

@keyframes pop-in {
  0% { transform: scale(.85); opacity: 0; }
  70% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); }
}

.summary-divider {
  border: none;
  border-top: 1px dashed var(--card-border);
  margin: 24px 0;
}

.summary-meta {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--text-dark-muted);
  margin-bottom: 12px;
}

.summary-meta strong {
  color: var(--ink-800);
  font-weight: 600;
}

.summary-panel .btn {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}

.summary-response-time {
  text-align: center;
  font-size: 13px;
  color: var(--text-dark-muted);
  margin-top: 12px;
}

/* ==========================================================================
   Foco acessível
   ========================================================================== */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Responsivo — celular (≤ 768px)
   ========================================================================== */

@media (max-width: 768px) {
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-header {
    padding: 20px 22px;
  }

  .site-header.is-scrolled {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand img {
    width: 40px;
  }

  .brand-word {
    font-size: 20px;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 200;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background: var(--ink-900);
    transform: translateX(100%);
    transition: transform .35s var(--ease-hover);
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links a:not(.btn) {
    font-size: 22px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--ink-700);
    border: 1px solid var(--line);
    z-index: 210;
    position: relative;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-light);
    transition: transform .25s ease, opacity .25s ease;
  }

  .nav-toggle.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    padding: 128px 0 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    width: 300px;
    height: 300px;
    margin: 0 auto 40px;
  }

  .ring-outer { width: 280px; height: 280px; }
  .ring-mid { width: 220px; height: 220px; }
  .ring-core { width: 160px; height: 160px; }
  .orbit-dot-wrap { width: 280px; height: 280px; }
  .hero-logo { width: 150px; height: 150px; }

  .floating-tag {
    display: none;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero p.lead {
    font-size: 17px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .commitments ul {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .commitments li {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }

  .commitments li:first-child {
    border-top: none;
    padding-top: 0;
  }

  .ticker-track span {
    font-size: 20px;
  }

  .services, .process, .about, .faq {
    padding: 88px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .only-desktop {
    display: none;
  }

  .only-mobile {
    display: block;
  }

  .services h2.only-mobile {
    font-size: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .card-01, .card-04 {
    grid-column: span 1;
  }

  .card-01 {
    grid-template-columns: 1fr;
  }

  .browser-mock {
    display: none;
  }

  .card-04 {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-04 .btn {
    width: 100%;
    justify-content: center;
  }

  .process-track {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding-left: 20px;
  }

  .process-line {
    top: 0;
    bottom: 0;
    left: 40px;
    right: auto;
    width: 3px;
    height: 100%;
    background-image: repeating-linear-gradient(to bottom, var(--cyan) 0 6px, transparent 6px 16px);
    background-size: 3px 32px;
    animation: line-run-y 1.2s linear infinite;
  }

  @keyframes line-run-y {
    to { background-position: 0 32px; }
  }

  .process-node {
    width: auto;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .step-copy {
    align-items: flex-start;
    padding-top: 8px;
  }

  .node-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
    flex-shrink: 0;
  }

  .process-node .step-text {
    max-width: none;
  }

  .about-grid, .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-aside {
    position: static;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .about-aside img {
    width: 64px;
  }

  .values {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact {
    padding: 100px 0 40px;
  }

  .contact h2 {
    font-size: 72px;
  }

  .contact-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-deco {
    width: 380px;
    height: 380px;
    right: -120px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  /* projeto.html */

  .builder-main {
    padding: 116px 0 64px;
  }

  .builder-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: static;
    width: 100%;
    padding: 28px;
  }
}

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
