/* ============================================================
   KODELY — styles.css
   Cores da marca:
   --roxo  #5B2ECC  (principal)
   --lima  #B4F04C  (secundária)
   --tinta #211A33  (quase-preto: textos e fundo escuro)
   --off   #FAFAF7  (branco levemente quente: fundo claro)
   ============================================================ */

/* ---------- Fontes hospedadas no próprio site ----------
   Arquivos variáveis: um único .woff2 cobre todos os pesos.
   Mais rápido e mais privado que carregar do Google Fonts. */
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrainsmono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --roxo: #5B2ECC;
  --roxo-claro: #7B52E8;
  --roxo-suave: rgba(91, 46, 204, 0.12);
  --lima: #B4F04C;
  --lima-suave: rgba(180, 240, 76, 0.15);
  --tinta: #211A33;
  --tinta-2: #2C2344;
  --tinta-3: #170F28;
  --off: #FAFAF7;
  --off-60: rgba(250, 250, 247, 0.6);
  --off-10: rgba(250, 250, 247, 0.08);
  --tinta-60: rgba(33, 26, 51, 0.65);
  --tinta-10: rgba(33, 26, 51, 0.08);

  /* ---------- Cores que mudam com o tema ----------
     As seções escuras (hero, serviços, projetos, contato, rodapé) são
     sempre escuras: é a identidade da marca, e o verde-limão só tem
     contraste legível sobre fundo escuro. O que o botão de tema muda
     são as seções claras — no modo escuro elas escurecem também. */
  color-scheme: light;
  --superficie: var(--off);        /* fundo das seções claras   */
  --superficie-card: #ffffff;      /* cartões sobre elas        */
  --superficie-alt: #f3f1ec;       /* fundo da seção de FAQ     */
  --texto: var(--tinta);           /* texto principal           */
  --texto-suave: var(--tinta-60);  /* texto secundário          */
  --borda: var(--tinta-10);        /* bordas e divisórias       */
  --realce: var(--roxo);           /* destaques (rótulos, links)*/
  --realce-suave: var(--roxo-suave);
}

:root {
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(33, 26, 51, 0.12);
  --shadow-glow: 0 10px 50px rgba(91, 46, 204, 0.35);
  --header-h: 76px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --superficie: #1B1529;
  --superficie-card: #2A2140;
  --superficie-alt: #171122;
  --texto: var(--off);
  --texto-suave: rgba(250, 250, 247, 0.62);
  --borda: rgba(250, 250, 247, 0.1);
  --realce: var(--lima);
  --realce-suave: var(--lima-suave);
  --roxo-suave: rgba(123, 82, 232, 0.22);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--texto);
  background: var(--superficie);
  line-height: 1.6;
  transition: background-color var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Comportamento de clique ----------
   Regra do site: se levanta no hover e mostra o dedinho, é clicável.
   O que é só informativo não levanta nem vira ponteiro. */
a[href], button, summary, select, label.form-consent,
input[type="checkbox"], .service-card, .project-card {
  cursor: pointer;
  /* tira o flash azul que o Android/iOS pintam ao tocar */
  -webkit-tap-highlight-color: transparent;
  /* elimina o atraso de ~300ms do toque no celular */
  touch-action: manipulation;
}

/* Botões e controles não devem selecionar texto ao clicar duas vezes */
button, .btn, summary, .theme-toggle, .hamburger { user-select: none; }

/* Foco do teclado com a identidade da marca, em todo o site */
:focus-visible {
  outline: 3px solid var(--lima);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--light :focus-visible,
.section--faq :focus-visible,
.page-main :focus-visible { outline-color: var(--realce); }

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Tipografia utilitária ---------- */
.grad-text {
  background: linear-gradient(100deg, var(--lima) 20%, #d8ff8a 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.underline-lime {
  position: relative;
  white-space: nowrap;
}
.underline-lime::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.28em;
  background: var(--lima);
  border-radius: 999px;
  z-index: -1;
  transform: skewX(-8deg);
}
/* No modo escuro o texto fica claro: um marca-texto limão atrás dele
   ficaria ilegível. A palavra em destaque vira limão, igual às seções
   escuras, mantendo o contraste alto. */
[data-theme="dark"] .underline-lime { color: var(--lima); }
[data-theme="dark"] .underline-lime::after { display: none; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--realce);
  background: var(--realce-suave);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.eyebrow--lime {
  color: var(--lima);
  background: var(--lima-suave);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn--lg { padding: 0.95rem 2.1rem; font-size: 1.05rem; }
.btn--full { width: 100%; }

.btn--lime {
  background: var(--lima);
  color: var(--tinta);
  box-shadow: 0 6px 24px rgba(180, 240, 76, 0.35);
}
.btn--lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(180, 240, 76, 0.5);
}

.btn--ghost {
  color: var(--off);
  border: 1.5px solid rgba(250, 250, 247, 0.25);
  background: rgba(250, 250, 247, 0.04);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--lima);
  color: var(--lima);
  transform: translateY(-2px);
}

/* ---------- Retorno ao pressionar ----------
   Vem depois dos :hover de propósito: mesma especificidade, então
   quem está por último vence — e o "apertado" precisa vencer. */
.btn:active,
.btn--lime:active,
.btn--ghost:active {
  transform: translateY(0) scale(0.96);
  transition-duration: 0.06s;
}
.hamburger:active { opacity: 0.6; }
.faq__item summary:active .faq__icon { transform: scale(0.85); }
.nav__link:active,
.footer__col a:active,
.page-header__back:active,
.card-link:active { opacity: 0.6; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.header--scrolled {
  background: rgba(33, 26, 51, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(23, 15, 40, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.85; }
.logo__icon {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 4px 14px rgba(91, 46, 204, 0.45));
}
.logo__name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--off);
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo__slash { color: var(--lima); }

/* ---------- Botão de tema (sol / lua) ---------- */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--off);
  border: 1px solid rgba(250, 250, 247, 0.18);
  background: rgba(250, 250, 247, 0.06);
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--lima);
  color: var(--lima);
  transform: scale(1.06);
}
.theme-toggle:active { transform: scale(0.92); transition-duration: 0.06s; }
.theme-toggle svg {
  position: absolute;
  width: 19px; height: 19px;
  transition: opacity var(--transition), transform var(--transition);
}
/* No modo claro aparece a lua (o que o clique vai ativar);
   no modo escuro, o sol. */
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.theme-toggle__moon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .theme-toggle__sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(0.5); }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav__list {
  display: flex;
  gap: 1.8rem;
}
.nav__link {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--off-60);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--lima);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav__link:hover, .nav__link--active { color: var(--off); }
.nav__link:hover::after, .nav__link--active::after { width: 100%; }

.nav__cta { font-size: 0.95rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 102;
}
.hamburger span {
  width: 26px; height: 2.5px;
  background: var(--off);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger--open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger--open span:nth-child(2) { opacity: 0; }
.hamburger--open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--tinta);
  color: var(--off);
  overflow: hidden;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(250, 250, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 250, 247, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  animation: glow-drift 14s ease-in-out infinite alternate;
}
.hero__glow--purple {
  width: 620px; height: 620px;
  background: var(--roxo);
  top: -180px; right: -140px;
}
.hero__glow--lime {
  width: 380px; height: 380px;
  background: var(--lima);
  bottom: -200px; left: -140px;
  opacity: 0.2;
  animation-delay: -7s;
}
@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, 40px) scale(1.12); }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--off-60);
  border: 1px solid var(--off-10);
  background: rgba(250, 250, 247, 0.04);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
  backdrop-filter: blur(8px);
}
.chip__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lima);
  box-shadow: 0 0 12px var(--lima);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 300;
  color: var(--off-60);
  max-width: 34rem;
  margin-bottom: 2.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lima);
  letter-spacing: -0.01em;
}
.hero__stats span { font-size: 0.88rem; color: var(--off-60); }

/* --- Hero visual: janela de código --- */
.hero__visual { position: relative; }

.code-window {
  position: relative;
  background: rgba(23, 15, 40, 0.85);
  border: 1px solid rgba(123, 82, 232, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(12px);
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.code-window__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid rgba(250, 250, 247, 0.07);
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }
.code-window__file {
  margin-left: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--off-60);
}

.code-window__body {
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  line-height: 1.75;
  padding: 1.4rem 1.5rem;
  overflow-x: auto;
  color: var(--off);
}
.c-kw   { color: var(--roxo-claro); }
.c-var  { color: #8ad4ff; }
.c-key  { color: var(--off); }
.c-str  { color: var(--lima); }
.c-bool { color: #ff8ac2; }
.c-fn   { color: #ffd479; }
.c-cm   { color: rgba(250, 250, 247, 0.35); }

.code-window__status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--lima);
  padding: 0.75rem 1.5rem;
  border-top: 1px solid rgba(250, 250, 247, 0.07);
  background: rgba(180, 240, 76, 0.05);
}
.status-pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--lima);
  box-shadow: 0 0 10px var(--lima);
  animation: pulse 1.8s ease-in-out infinite;
}

/* Cards flutuantes */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(250, 250, 247, 0.97);
  color: var(--tinta);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.05rem;
  box-shadow: 0 16px 40px rgba(23, 15, 40, 0.45);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.85rem; font-weight: 700; line-height: 1.3; }
.float-card span { font-size: 0.75rem; color: var(--tinta-60); }
.float-card__icon { font-size: 1.3rem; }
.float-card--1 { top: -26px; right: -14px; animation-delay: -2s; }
.float-card--2 { bottom: -24px; left: -20px; animation-delay: -4s; }

/* Indicador de scroll */
.hero__scroll {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(250, 250, 247, 0.3);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero__scroll span {
  width: 4px; height: 9px;
  background: var(--lima);
  border-radius: 4px;
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   SEÇÕES — base
   ============================================================ */
.section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
.section--light {
  background: var(--superficie);
  color: var(--texto);
  transition: background-color var(--transition), color var(--transition);
}
.section--dark { background: var(--tinta); color: var(--off); }

.section__glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: var(--roxo);
  filter: blur(140px);
  opacity: 0.22;
  pointer-events: none;
}
.section__glow--left { top: -160px; left: -220px; }
.section__glow--right { bottom: -180px; right: -200px; }
.section__glow--center { top: -240px; left: 50%; transform: translateX(-50%); }

.section__head {
  max-width: 46rem;
  margin-bottom: 3.5rem;
}
.section__title {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.section__desc {
  margin-top: 1.1rem;
  font-size: 1.08rem;
  font-weight: 300;
}
.section--light .section__desc { color: var(--texto-suave); }
.section--dark .section__desc { color: var(--off-60); }

/* ============================================================
   QUEM SOMOS
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.about__text p { margin-bottom: 1.2rem; color: var(--texto-suave); }
.about__lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--texto) !important;
}

.about__quote {
  border-left: 4px solid var(--lima);
  background: var(--roxo-suave);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.3rem 1.5rem;
  margin-top: 1.6rem;
}
.about__quote p { margin: 0; color: var(--texto); font-size: 1.02rem; }

/* Relógio (pessoas + tecnologia) */
.clock-card {
  background: var(--tinta);
  color: var(--off);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.clock-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(91, 46, 204, 0.5), transparent 55%);
  pointer-events: none;
}

.clock { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.clock__face {
  position: relative;
  width: 170px; height: 170px;
  border-radius: 50%;
  border: 2px solid rgba(250, 250, 247, 0.18);
  background: rgba(250, 250, 247, 0.04);
  box-shadow: inset 0 0 40px rgba(91, 46, 204, 0.25), 0 0 40px rgba(91, 46, 204, 0.3);
}
.clock__tick {
  position: absolute;
  width: 4px; height: 12px;
  background: rgba(250, 250, 247, 0.35);
  border-radius: 2px;
  left: calc(50% - 2px);
}
.clock__tick--12 { top: 10px; }
.clock__tick--6 { bottom: 10px; }
.clock__tick--3 { top: calc(50% - 2px); right: 10px; left: auto; width: 12px; height: 4px; }
.clock__tick--9 { top: calc(50% - 2px); left: 10px; width: 12px; height: 4px; }

.clock__hand {
  position: absolute;
  left: 50%; bottom: 50%;
  transform-origin: bottom center;
  border-radius: 4px;
}
.clock__hand--hour {
  width: 6px; height: 42px;
  margin-left: -3px;
  background: var(--roxo-claro);
  box-shadow: 0 0 14px rgba(123, 82, 232, 0.8);
  animation: spin 60s linear infinite;
}
.clock__hand--minute {
  width: 4px; height: 62px;
  margin-left: -2px;
  background: var(--lima);
  box-shadow: 0 0 14px rgba(180, 240, 76, 0.8);
  animation: spin 5s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.clock__center {
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--off);
  border: 3px solid var(--tinta);
  z-index: 2;
}
.clock-card__caption {
  position: relative;
  font-size: 0.98rem;
  color: var(--off-60);
}
.clock-card__caption strong { color: var(--off); }

/* ============================================================
   O QUE FAZEMOS
   ============================================================ */
/* Grade de 6 colunas com cada cartão ocupando 2 → 3 por linha.
   Como são 5 categorias, os dois últimos ficam centralizados em vez
   de deixarem um buraco à direita. */
.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
  position: relative;
}
.services > .service-card { grid-column: span 2; }
.services > .service-card:nth-child(4) { grid-column: 2 / span 2; }
.services > .service-card:nth-child(5) { grid-column: 4 / span 2; }

.service-card {
  position: relative;
  background: rgba(250, 250, 247, 0.045);
  border: 1px solid rgba(250, 250, 247, 0.1);
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  backdrop-filter: blur(10px);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(180, 240, 76, 0.5);
  background: rgba(250, 250, 247, 0.07);
  box-shadow: 0 24px 60px rgba(23, 15, 40, 0.5);
}
.service-card:active {
  transform: translateY(-2px) scale(0.99);
  transition-duration: 0.06s;
}

.service-card--featured {
  border-color: rgba(123, 82, 232, 0.55);
  background: linear-gradient(160deg, rgba(91, 46, 204, 0.28), rgba(250, 250, 247, 0.04) 60%);
}

.service-card__badge {
  position: absolute;
  top: -13px; right: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--lima);
  color: var(--tinta);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
/* Segundo destaque: contornado, pra não competir com o "mais pedido" */
.service-card__badge--alt {
  background: var(--tinta);
  color: var(--lima);
  border: 1.5px solid rgba(180, 240, 76, 0.55);
}

.service-card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--roxo);
  color: var(--off);
  box-shadow: 0 8px 24px rgba(91, 46, 204, 0.45);
  margin-bottom: 1.3rem;
}
.service-card__icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.7rem; }
.service-card > p { font-size: 0.97rem; color: var(--off-60); margin-bottom: 1.2rem; }

.service-card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--off-60);
  margin-bottom: 0.5rem;
}
.service-card__list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--lima);
  font-weight: 700;
}

/* ---------- Link que cobre o cartão inteiro ----------
   É um link de verdade (o teclado alcança e o leitor de tela anuncia),
   mas o ::after se estica sobre o cartão todo, então o clique funciona
   em qualquer ponto — não só em cima do texto. */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lima);
  transition: gap var(--transition);
}
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card-link span { transition: transform var(--transition); }
.service-card:hover .card-link span,
.project-card:hover .card-link span { transform: translateX(4px); }
/* o foco do teclado contorna o cartão inteiro, não só as palavras */
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after {
  outline: 3px solid var(--lima);
  outline-offset: 3px;
}

/* ============================================================
   COMO TRABALHAMOS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px; left: 6%; right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--roxo), var(--lima));
  opacity: 0.35;
}

.step {
  position: relative;
  background: var(--superficie-card);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
/* Etapas são informativas: realçam sem "levantar", pra não prometerem
   um clique que não existe. */
.step:hover { box-shadow: var(--shadow); border-color: var(--realce); }

.step__number {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--off);
  background: var(--roxo);
  box-shadow: 0 8px 24px rgba(91, 46, 204, 0.4);
  margin-bottom: 1.1rem;
}
.step:last-child .step__number {
  background: var(--lima);
  color: var(--tinta);
  box-shadow: 0 8px 24px rgba(180, 240, 76, 0.4);
}

.step h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: 0.93rem; color: var(--texto-suave); }

/* ============================================================
   PROJETOS
   ============================================================ */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.project-card {
  position: relative; /* âncora do link que cobre o cartão */
  background: rgba(250, 250, 247, 0.045);
  border: 1px solid rgba(250, 250, 247, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(123, 82, 232, 0.6);
  box-shadow: 0 24px 60px rgba(23, 15, 40, 0.5);
}
.project-card:active {
  transform: translateY(-2px) scale(0.99);
  transition-duration: 0.06s;
}

.project-card__preview {
  padding: 1.3rem 1.3rem 0;
  background: linear-gradient(180deg, rgba(91, 46, 204, 0.22), transparent);
}

.browser-mock {
  border-radius: 0;
}
.browser-mock__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--tinta-3);
  border: 1px solid rgba(250, 250, 247, 0.1);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 0.55rem 0.9rem;
}
.browser-mock__bar .dot { width: 8px; height: 8px; }
.browser-mock__url {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--off-60);
  background: rgba(250, 250, 247, 0.07);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-left: 0.4rem;
}
.browser-mock__body {
  background: var(--tinta-2);
  border: 1px solid rgba(250, 250, 247, 0.1);
  border-top: none;
  border-bottom: none;
  min-height: 190px;
  padding: 1rem;
  position: relative;
}

/* linhas e pílulas genéricas dos mocks */
.mock-line {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(250, 250, 247, 0.18);
  width: 70%;
}
.mock-line--title { height: 11px; width: 45%; background: rgba(250, 250, 247, 0.35); }
.mock-pill {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--tinta);
  background: var(--lima);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
}

/* mock: agenda */
.mock-agenda__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}
.mock-agenda__slot {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}
.mock-agenda__slot span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--off-60);
  width: 38px;
}
.mock-agenda__slot i {
  flex: 1;
  height: 22px;
  border-radius: 7px;
}
.mock-agenda__slot--busy i { background: rgba(123, 82, 232, 0.55); }
.mock-agenda__slot--free i {
  background: transparent;
  border: 1.5px dashed rgba(180, 240, 76, 0.55);
}
.mock-agenda__confirm {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lima);
  background: rgba(180, 240, 76, 0.1);
  border: 1px solid rgba(180, 240, 76, 0.3);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  display: inline-block;
}

/* mock: dashboard */
.mock-dash__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.mock-dash__card {
  background: rgba(250, 250, 247, 0.06);
  border: 1px solid rgba(250, 250, 247, 0.1);
  border-radius: 9px;
  padding: 0.55rem;
}
.mock-dash__card b {
  display: block;
  font-size: 0.85rem;
  color: var(--off);
  margin-bottom: 0.3rem;
}
.mock-dash__card .mock-line { width: 85%; height: 5px; }
.mock-dash__card--lime b { color: var(--lima); }

.mock-dash__chart {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 88px;
}
.mock-dash__chart i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--roxo-claro), rgba(91, 46, 204, 0.25));
}
.mock-dash__chart i:nth-child(6) {
  background: linear-gradient(180deg, var(--lima), rgba(180, 240, 76, 0.3));
}

/* mock: app */
.mock-app { display: flex; justify-content: center; }
.mock-app__phone {
  width: 150px;
  background: var(--tinta-3);
  border: 1px solid rgba(250, 250, 247, 0.14);
  border-radius: 16px 16px 0 0;
  border-bottom: none;
  padding: 0.9rem 0.8rem 0;
  min-height: 158px;
}
.mock-app__phone .mock-line--title { margin-bottom: 0.8rem; }
.mock-app__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.mock-app__row i {
  width: 20px; height: 20px;
  border-radius: 7px;
  background: rgba(123, 82, 232, 0.6);
  flex-shrink: 0;
}
.mock-app__btn {
  margin-top: 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  color: var(--tinta);
  background: var(--lima);
  border-radius: 999px;
  padding: 0.42rem;
}
.mock-app__notif {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--off);
  background: rgba(250, 250, 247, 0.1);
  border: 1px solid rgba(250, 250, 247, 0.18);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  backdrop-filter: blur(6px);
}

/* print real do projeto (campo "imagem" no dados.js) */
.project-card__foto {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(250, 250, 247, 0.1);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
}

.project-card__info {
  padding: 1.5rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.project-card__type {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lima);
}
.project-card__info h3 { font-size: 1.18rem; font-weight: 700; line-height: 1.3; }
.project-card__info p { font-size: 0.93rem; color: var(--off-60); flex: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tags li {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--off-60);
  border: 1px solid rgba(250, 250, 247, 0.14);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
}

.projects__note {
  margin-top: 2.6rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--off-60);
}
.projects__note a {
  color: var(--lima);
  font-weight: 600;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--transition);
}
.projects__note a:hover { border-color: var(--lima); }

/* ============================================================
   CLIENTES
   ============================================================ */
.section--clients { padding-bottom: 6.5rem; }

.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 0;
  margin-bottom: 3.5rem;
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

.client-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--texto-suave);
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.client-logo:hover { color: var(--realce); }

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.testimonial {
  background: var(--superficie-card);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
/* Cenários também são informativos — mesmo critério das etapas. */
.testimonial:hover { box-shadow: var(--shadow); border-color: var(--realce); }
.testimonial::before {
  content: "“";
  position: absolute;
  top: 0.4rem; left: 1.4rem;
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--realce-suave);
  line-height: 1;
  pointer-events: none;
}
.testimonial blockquote {
  font-size: 1.02rem;
  color: var(--texto);
  margin-bottom: 1.3rem;
  position: relative;
}
.testimonial figcaption { display: flex; flex-direction: column; }
.testimonial figcaption strong { font-weight: 700; }
.testimonial figcaption span { font-size: 0.85rem; color: var(--texto-suave); }

.clients-note {
  margin-top: 1.8rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--texto-suave);
}

/* ============================================================
   CTA BANNER (meio de página)
   ============================================================ */
.cta-banner {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--roxo) 0%, var(--tinta-2) 90%);
  color: var(--off);
  border-radius: var(--radius);
  padding: 2.4rem 2.6rem;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(180, 240, 76, 0.18), transparent 45%),
    linear-gradient(rgba(250, 250, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 250, 247, 0.05) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  pointer-events: none;
}
.cta-banner__text { position: relative; max-width: 34rem; }
.cta-banner__text h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.cta-banner__text p { color: var(--off-60); font-size: 1rem; }
.cta-banner .btn { position: relative; flex-shrink: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.section--faq { background: var(--superficie-alt); }

.faq {
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.faq__item {
  background: var(--superficie-card);
  border: 1px solid var(--borda);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.faq__item[open] {
  border-color: var(--realce);
  box-shadow: var(--shadow);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 1.15rem 1.4rem;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--realce-suave);
  transition: background var(--transition), transform var(--transition);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2.5px;
  border-radius: 2px;
  background: var(--realce);
  transform: translate(-50%, -50%);
  transition: transform var(--transition), background var(--transition);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--lima); transform: rotate(45deg); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--tinta); }
.faq__item p {
  padding: 0 1.4rem 1.3rem;
  color: var(--texto-suave);
  font-size: 0.97rem;
  max-width: 44rem;
}

/* ============================================================
   CONTATO
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact__channels { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1.3rem; }
.contact__channels li { display: flex; align-items: center; gap: 1rem; }
.contact__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  font-size: 1.15rem;
  color: var(--lima);
  background: rgba(250, 250, 247, 0.05);
  border: 1px solid rgba(250, 250, 247, 0.12);
  flex-shrink: 0;
}
.contact__channels strong { display: block; font-size: 0.92rem; }
.contact__channels a {
  font-size: 0.92rem;
  color: var(--off-60);
  transition: color var(--transition);
}
.contact__channels a:hover { color: var(--lima); }

.contact__form {
  background: rgba(250, 250, 247, 0.05);
  border: 1px solid rgba(250, 250, 247, 0.12);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  backdrop-filter: blur(12px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--off);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--off);
  background: rgba(23, 15, 40, 0.6);
  border: 1.5px solid rgba(250, 250, 247, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select { appearance: none; cursor: pointer; }
.form-field select option { background: var(--tinta); color: var(--off); }
.form-field ::placeholder { color: rgba(250, 250, 247, 0.6); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--lima);
  box-shadow: 0 0 0 3px rgba(180, 240, 76, 0.18);
}
.form-field input.field-error,
.form-field select.field-error,
.form-field textarea.field-error {
  border-color: #ff5f57;
  box-shadow: 0 0 0 3px rgba(255, 95, 87, 0.15);
}

/* honeypot anti-spam: invisível pra pessoas, visível pra robôs */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--off-60);
  margin-bottom: 1.2rem;
  cursor: pointer;
}
.form-consent input {
  margin-top: 0.2rem;
  width: 17px; height: 17px;
  accent-color: var(--lima);
  flex-shrink: 0;
  cursor: pointer;
}
.form-consent a {
  color: var(--lima);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-consent.field-error span { color: #ff8a84; }

.contact__plain { font-size: 0.92rem; color: var(--off-60); }

.form-status {
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  min-height: 1.4em;
}
.form-status--success { color: var(--lima); }
.form-status--error { color: #ff8a84; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--tinta-3);
  color: var(--off);
  padding: 4rem 0 1.8rem;
  border-top: 1px solid rgba(250, 250, 247, 0.07);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(250, 250, 247, 0.08);
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--off-60);
  max-width: 20rem;
}

.footer__col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lima);
  margin-bottom: 0.4rem;
}
.footer__col a {
  font-size: 0.93rem;
  color: var(--off-60);
  transition: color var(--transition), transform var(--transition);
  width: fit-content;
}
.footer__col a:hover { color: var(--off); transform: translateX(3px); }

.footer__local {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--off-60);
  line-height: 1.5;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 1.8rem;
  font-size: 0.85rem;
  color: var(--off-60);
}
.footer__legal { display: flex; gap: 1.4rem; }
.footer__legal a {
  color: var(--off-60);
  transition: color var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(250, 250, 247, 0.25);
}
.footer__legal a:hover { color: var(--off); }
.footer__tagline .logo__slash { font-family: var(--font-mono); font-weight: 700; }

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--lima);
  color: var(--tinta);
  box-shadow: 0 10px 30px rgba(180, 240, 76, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsapp-pop 0.5s ease 1.2s backwards;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 38px rgba(180, 240, 76, 0.6);
}
.whatsapp-float:active { transform: scale(0.95) translateY(0); transition-duration: 0.06s; }
@keyframes whatsapp-pop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ============================================================
   BANNER DE COOKIES (aparece só com analytics ativado)
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
  z-index: 95;
  max-width: 30rem;
  margin-inline: auto;
  background: rgba(23, 15, 40, 0.97);
  color: var(--off);
  border: 1px solid rgba(123, 82, 232, 0.4);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}
.cookie-banner p { font-size: 0.88rem; color: var(--off-60); margin-bottom: 0.9rem; }
.cookie-banner a { color: var(--lima); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 0.7rem; }
.cookie-banner__actions .btn { padding: 0.5rem 1.2rem; font-size: 0.88rem; }
.btn--outline-light {
  color: var(--off);
  border: 1.5px solid rgba(250, 250, 247, 0.3);
}
.btn--outline-light:hover { border-color: var(--off); }

/* ============================================================
   PÁGINAS INTERNAS (legais, obrigado, 404)
   ============================================================ */
.page-body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--superficie);
}
.page-header {
  background: var(--tinta);
  padding: 1.1rem 0;
}
.page-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.page-header__back {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--off-60);
  transition: color var(--transition);
}
.page-header__back:hover { color: var(--lima); }
.page-header__actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.page-main { flex: 1; padding: 3.5rem 0 4.5rem; }
.page-main .container { max-width: 46rem; }
.page-main h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.page-main .page-updated {
  font-size: 0.88rem;
  color: var(--texto-suave);
  margin-bottom: 2.2rem;
}
.page-main h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.6rem;
}
.page-main p, .page-main li { color: var(--texto-suave); margin-bottom: 0.8rem; }
.page-main ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.page-main ul li { margin-bottom: 0.4rem; }
.page-main a { color: var(--realce); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.page-main strong { color: var(--texto); }

.page-footer {
  background: var(--tinta-3);
  color: var(--off-60);
  text-align: center;
  font-size: 0.85rem;
  padding: 1.4rem 1rem;
}
.page-footer a { color: var(--off-60); text-decoration: underline; text-underline-offset: 2px; }

/* Página de obrigado / 404 (centralizada) */
.page-hero {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--tinta);
  color: var(--off);
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 15%, rgba(91, 46, 204, 0.4), transparent 50%),
    linear-gradient(rgba(250, 250, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 250, 247, 0.04) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 34rem; }
.page-hero__code {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--lima);
  background: rgba(180, 240, 76, 0.08);
  border: 1px solid rgba(180, 240, 76, 0.25);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  display: inline-block;
  margin-bottom: 1.4rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.page-hero p { color: var(--off-60); font-size: 1.08rem; margin-bottom: 2rem; }
.page-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   ANIMAÇÕES DE ENTRADA (scroll reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal--visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 4rem; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero { min-height: auto; }

  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__visual { max-width: 420px; margin-inline: auto; width: 100%; }

  /* Tablet: 2 por linha, e o quinto cartão ocupa a linha inteira */
  .services { grid-template-columns: repeat(2, 1fr); }
  .services > .service-card,
  .services > .service-card:nth-child(4) { grid-column: auto; }
  .services > .service-card:nth-child(5) { grid-column: span 2; }

  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }

  .projects { grid-template-columns: 1fr 1fr; }
  .project-card:last-child { grid-column: span 2; max-width: 560px; margin-inline: auto; width: 100%; }

  .contact { grid-template-columns: 1fr; gap: 3rem; }

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

/* ---------- Menu compacto a partir de 1150px ----------
   Com 5 itens + botão de ação + botão de tema, a navegação horizontal
   só cabe numa linha acima de ~1150px; abaixo disso ela quebrava em
   duas. Por isso o menu hamburger entra já no tablet e no notebook
   pequeno, não só no celular. */
@media (max-width: 1150px) {
  /* menu mobile */
  .hamburger { display: flex; }
  .header { background: rgba(33, 26, 51, 0.9); backdrop-filter: blur(14px); }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(23, 15, 40, 0.98);
    backdrop-filter: blur(18px);
    padding: 1rem 1.5rem 1.8rem;
    border-bottom: 1px solid rgba(250, 250, 247, 0.1);
    transform: translateY(-115%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  }
  .nav--open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link {
    display: block;
    padding: 0.9rem 0.2rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(250, 250, 247, 0.07);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1.2rem; justify-content: center; }
}

@media (max-width: 768px) {
  :root { --header-h: 66px; }

  .section { padding: 4.5rem 0; }

  .hero { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 4rem; }
  .hero__stats { gap: 1.8rem; }
  .hero__scroll { display: none; }
  .float-card--1 { top: -18px; right: 0; }
  .float-card--2 { bottom: -18px; left: 0; }

  .services { grid-template-columns: 1fr; }
  .services > .service-card,
  .services > .service-card:nth-child(4),
  .services > .service-card:nth-child(5) { grid-column: auto; }

  .projects { grid-template-columns: 1fr; }
  .project-card:last-child { grid-column: auto; }

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

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .contact__form { padding: 1.7rem 1.4rem; }

  .footer__bottom { flex-direction: column; text-align: center; }

  .cta-banner { padding: 1.8rem 1.5rem; justify-content: center; text-align: center; }
  .whatsapp-float { width: 52px; height: 52px; right: 1rem; bottom: 1rem; }
  .whatsapp-float svg { width: 27px; height: 27px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 2rem); }

  .hero__title { font-size: 2.15rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }

  .float-card { position: static; margin-top: 0.9rem; animation: none; }
  .hero__visual { display: flex; flex-direction: column; }

  .marquee__track { gap: 2.2rem; }
  .client-logo { font-size: 1rem; }
}
