﻿/* ============================================================
   ew4llabs — Landing page
   Tema: tons roxos — deep purple + lavender
   Fonte: JetBrains Mono
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #100b19;
  --bg-deep: #0c0813;
  --card: #181121;
  --card-2: #21182e;
  --border: #35283f;
  --accent: #c4a2ff;
  --accent-soft: #d7c1fa;
  --accent-deep: #8452de;
  --accent-ink: #28163e;
  --text: #f3eefa;
  --muted: #aca1ba;
  --faint: #8d7f9e;
  --purple-bright: #a06cff;
  --purple-deep: #6d28d9;
  --font-sans: 'JetBrains Mono', 'IBM Plex Mono', 'Fira Code', monospace;
  --font-serif: 'JetBrains Mono', 'IBM Plex Mono', 'Fira Code', monospace;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'Fira Code', monospace;
}

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

html { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { text-rendering: optimizeLegibility; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

h1, h2, h3 { text-wrap: balance; }

::selection { background: var(--accent); color: var(--accent-ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 10000;
  padding: 10px 14px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible { transform: translateY(0); }

main:focus { outline: none; }

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

/* ============ CODE RAIN ============ */

.code-rain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 7%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 7%, #000 90%, transparent 100%);
}

.nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

/* ============ CUSTOM CURSOR ============ */

html.has-custom-cursor,
html.has-custom-cursor * { cursor: none !important; }

.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(196, 162, 255, 0.72);
  border-radius: 6px;
  background: rgba(196, 162, 255, 0.035);
  box-shadow: 0 0 0 1px rgba(16, 11, 25, 0.32), 0 0 18px rgba(132, 82, 222, 0.18);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-radius 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, opacity 0.16s ease;
  will-change: transform, width, height;
}

.cursor-ring::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 12px;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(16, 11, 25, 0.25), 0 0 8px rgba(196, 162, 255, 0.55);
  transform: translate(-50%, -50%);
  animation: cursor-caret 1.05s steps(1, end) infinite;
}

.cursor-ring.is-visible { opacity: 1; visibility: visible; }

.cursor-ring.is-hover {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border-color: var(--accent);
  background: rgba(196, 162, 255, 0.08);
}

.cursor-ring.is-hover::before { height: 16px; background: var(--accent); }
.cursor-ring.is-down { border-color: var(--accent); background: rgba(196, 162, 255, 0.14); }

@keyframes cursor-caret {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

/* ============ NAV ============ */

.nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  height: 96px;
  border-bottom: 1px solid var(--border);
  background: rgba(16, 11, 25, 0.98); 
  backdrop-filter: blur(12px) saturate(120%); 
  -webkit-backdrop-filter: blur(12px) saturate(120%); 
  z-index: 50;
}

.nav__brand { display: flex; flex-direction: row; align-items: center; gap: 10px; width: auto; height: 30px; flex: none; }
.nav__mark { display: block; }
.nav__name { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 25px; line-height: 30px; color: var(--text); }

.nav__links { display: flex; flex-direction: row; align-items: center; padding: 0; gap: clamp(18px, 2.5vw, 32px); width: auto; height: auto; }
.nav__link { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 13px; line-height: 16px; color: var(--muted); transition: color 0.2s ease; }
.nav__link:hover,
.nav__link[aria-current="location"] { color: var(--accent); }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.nav__toggle-line {
  display: block;
  width: 18px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.arr {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  pointer-events: none;
}

.arr::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 17px;
  height: 1.6px;
  background: currentColor;
  transform: translateY(-50%);
}

.arr::after {
  content: '';
  position: absolute;
  right: 1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* ============ HERO ============ */

.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 52px 80px;
  gap: 40px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero__content { flex: 1 1 0; min-width: 0; max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 30px; }

.hero__label { display: flex; flex-direction: row; align-items: center; padding: 0; gap: 10px; width: 261px; height: 14px; }
.hero__dot { width: 6px; height: 6px; background: var(--accent); }
.hero__label-text { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 11px; line-height: 14px; color: var(--accent); }

.hero__title { display: flex; flex-direction: column; align-items: flex-start; padding: 0; width: 100%; }
.hero__title-line { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: clamp(46px, 6.4vw, 94px); line-height: 104%; letter-spacing: -0.03em; color: var(--text); }
.hero__title-line--accent { font-family: var(--font-serif); font-style: normal; font-weight: 700; font-size: clamp(38px, 5.6vw, 82px); line-height: 104%; letter-spacing: -0.04em; color: var(--accent); }

.hero__desc { width: min(478px, 100%); font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 17px; line-height: 170%; color: var(--muted); }
.hero__desc strong { font-weight: 700; color: var(--text); }

.hero__actions { display: flex; flex-direction: row; align-items: flex-start; padding: 0; gap: 12px; width: auto; max-width: 100%; height: auto; flex-wrap: wrap; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0px; padding: 0 22px; width: 217px; max-width: 100%; height: 52px; border: none; border-radius: 6px; transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); }
.btn--ghost { background: transparent; border: 1px solid var(--border); }
.btn--primary:hover { box-shadow: 0 10px 40px -18px rgba(196, 162, 255, 0.9); filter: brightness(1.05); }
.btn--ghost:hover { border-color: rgba(196, 162, 255, 0.6); }
.btn__action { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 14px; line-height: 17px; }
.btn--primary .btn__action { color: var(--accent-ink); }
.btn--ghost .btn__action { color: var(--text); }
.btn--primary .arr { border-color: var(--accent-ink); color: var(--accent-ink); }
.btn--ghost .arr { border-color: var(--text); color: var(--text); }

.hero__visual { position: relative; flex: none; width: min(640px, 48%); height: 684px; }

.hero__glow { position: absolute; width: 420px; height: 420px; left: 40px; top: 20px; border-radius: 50%; background: radial-gradient(circle, rgba(132, 82, 222, 0.35) 0%, rgba(109, 40, 217, 0.12) 45%, transparent 70%); pointer-events: none; }

.hero__grid {
  position: absolute;
  inset: 24px 0;
  border: 1px solid rgba(196, 162, 255, 0.14);
  border-radius: 20px;
  background-image:
    linear-gradient(rgba(196, 162, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 162, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 35%, transparent 78%);
  pointer-events: none;
}

.hero__mark {
  position: absolute;
  left: 2%;
  top: 6%;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(120px, 14vw, 190px);
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(196, 162, 255, 0.06);
  user-select: none;
  pointer-events: none;
}

.hero__bot { position: absolute; width: min(384px, calc(100% - 96px)); min-height: 290px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--card); border: 1px solid #6b4e91; border-radius: 12px; box-shadow: 0 24px 60px rgba(5, 2, 11, 0.5); padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 19px; }

.hero__bot-head { display: flex; flex-direction: row; align-items: center; padding: 0; gap: 12px; width: 100%; height: 42px; }
.hero__avatar { width: 42px; height: 42px; background: var(--accent); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.hero__bot-id { display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 5px; width: auto; height: auto; min-width: 0; }
.hero__bot-name-row { display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 0; }
.hero__bot-name { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 16px; line-height: 19px; color: var(--text); }
.hero__bot-badge { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 10px; line-height: 12px; color: var(--accent); }
.hero__bot-presence { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 11px; line-height: 13px; color: var(--muted); }

.hero__command { box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; padding: 12px; gap: 10px; width: 100%; height: auto; background: var(--bg-deep); border-radius: 5px; }
.hero__command-line { display: flex; flex-direction: row; align-items: center; padding: 0; gap: 10px; }
.hero__cmd-prefix { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 12px; line-height: 16px; color: var(--accent); }
.hero__cmd-text { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 12px; line-height: 16px; color: var(--text); }
.hero__response { display: flex; flex-direction: column; align-items: flex-start; padding: 3px 0 3px 14px; gap: 8px; width: 100%; border-left: 2px solid var(--accent); }
.hero__response-title { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 14px; line-height: 17px; color: var(--text); }
.hero__response-msg { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 12px; line-height: 160%; color: var(--muted); }
.hero__response-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; background: var(--accent-deep); border-radius: 4px; width: 138px; height: 29px; }
.hero__response-btn span { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 11px; line-height: 13px; color: var(--text); }

.hero__toast { position: absolute; display: flex; flex-direction: row; align-items: center; padding: 16px; gap: 11px; width: 242px; height: 63px; right: 0; bottom: 88px; background: var(--accent); border-radius: 8px; }
.hero__toast-icon { position: relative; width: 23px; height: 23px; flex: none; border: 1.6px solid var(--accent-ink); border-radius: 50%; }
.hero__toast-texts { display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 2px; }
.hero__toast-title { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 12px; line-height: 13px; color: var(--accent-ink); }
.hero__toast-msg { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 11px; line-height: 13px; color: #57416d; }

/* ============ SEÇÕES COM HEAD ============ */

.section-head { display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 24px; width: 100%; max-width: 1280px; }
.section-label { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 11px; line-height: 14px; color: var(--accent); }
.section-title-row { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; padding: 0; width: 100%; max-width: 1280px; height: auto; gap: 24px; }
.section-title { display: flex; flex-direction: column; align-items: flex-start; padding: 0; width: auto; max-width: 770px; height: auto; }
.section-title-main { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 56px; line-height: 108%; letter-spacing: -0.03em; color: var(--text); }
.section-title-accent { font-family: var(--font-serif); font-style: normal; font-weight: 700; font-size: 62px; line-height: 105%; letter-spacing: -0.04em; color: var(--accent); }
.section-intro { width: auto; max-width: 330px; flex: 0 1 330px; font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 15px; line-height: 165%; color: var(--muted); }

/* ============ SERVIÇOS ============ */

.services { display: flex; flex-direction: column; align-items: flex-start; padding: 96px 80px; gap: 44px; width: 100%; max-width: 1440px; margin: 0 auto; box-sizing: border-box; }
.services .section-head { width: 100%; }
.services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: 1280px; }

.service-card { box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; gap: 27px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; min-width: 0; }
.service-card__head { display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 0; width: 100%; height: 30px; }
.service-card__icon { position: relative; width: 30px; height: 30px; flex: none; }
.service-card__icon::before { content: ''; position: absolute; left: 8.33%; right: 8.33%; top: 8.33%; bottom: 8.33%; border: 1.6px solid var(--accent); border-radius: 50%; }
.service-card__num { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 12px; line-height: 16px; color: var(--faint); }
.service-card__name { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 25px; line-height: 30px; color: var(--text); }
.service-card__desc { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 14px; line-height: 170%; color: var(--muted); }
.service-card__deliverables { display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 13px; width: 100%; height: auto; }
.service-card__delivery { display: flex; flex-direction: row; align-items: center; padding: 0; gap: 10px; width: auto; height: 16px; }
.service-card__marker { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 12px; line-height: 16px; color: var(--accent); }
.service-card__delivery-text { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 12px; line-height: 15px; color: var(--muted); }
.service-card__foot { box-sizing: border-box; display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 20px 0px 0px; width: 100%; height: auto; border-top: 1px solid var(--border); }
.service-card__concept { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 10px; line-height: 14px; color: var(--accent); }
.service-card { position: relative; }

/* ============ PROJETOS ============ */

.projects { display: flex; flex-direction: column; align-items: flex-start; padding: 96px 80px; gap: 40px; width: 100%; max-width: 1440px; margin: 0 auto; box-sizing: border-box; background: var(--bg-deep); }
.projects .section-head { width: 100%; }
.projects__filters { display: flex; flex-direction: row; align-items: center; padding: 0px 0px 24px; gap: 10px; width: 100%; max-width: 1280px; height: auto; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.chip { box-sizing: border-box; display: flex; flex-direction: row; align-items: flex-start; padding: 9px 16px; height: 33px; border: 1px solid var(--border); border-radius: 100px; background: transparent; cursor: pointer; color: inherit; transition: border-color 0.2s ease, background-color 0.2s ease; }
.chip:hover { border-color: var(--accent-deep); }
.chip--active { background: var(--accent); border-color: var(--accent); }
.chip--active .chip__label { color: var(--accent-ink); }
.chip__label { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 12px; line-height: 15px; color: var(--muted); }
.projects__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: flex-start; padding: 0; gap: 24px; width: 100%; max-width: 1280px; }
.project-card { box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 20px; width: auto; min-width: 0; }
.project-card:hover .project-card__cover { border-color: rgba(196, 162, 255, 0.6); }
.project-card:hover .project-card__soon { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(196, 162, 255, 0.08); }
.project-card__cover { position: relative; width: 100%; height: auto; aspect-ratio: 410.67 / 280; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 50% 40%, rgba(132, 82, 222, 0.18), transparent 60%), linear-gradient(140deg, #2b1b42 0%, #181121 60%, #21182e 100%); border: 1px solid var(--border); }
.project-card__cover-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 162, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 162, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%);
  opacity: 0.6;
}
.project-card__soon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border: 1px solid rgba(196, 162, 255, 0.6);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(196, 162, 255, 0.16), transparent 70%);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(132, 82, 222, 0.35);
  backdrop-filter: blur(2px);
}
.project-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 8px; width: 100%; }
.project-card__name { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 25px; line-height: 30px; color: var(--text); }
.project-card__meta { display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 0; flex-wrap: wrap; }
.project-card__tag { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 10px; line-height: 14px; color: var(--muted); }

/* ============ O AMBIENTE ============ */

.ambiente { display: flex; flex-direction: column; align-items: flex-start; padding: 96px 80px; gap: 44px; width: 100%; max-width: 1440px; margin: 0 auto; box-sizing: border-box; }
.ambiente .section-head { width: 100%; }
.ambiente__manifesto { display: flex; flex-direction: row; align-items: flex-end; padding: 0; gap: 40px; width: 100%; max-width: 1280px; }
.ambiente__manifesto-text { width: min(700px, 100%); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ambiente__text { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 17px; line-height: 170%; color: var(--muted); }
.ambiente__commit { font-family: var(--font-serif); font-style: normal; font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); line-height: 110%; letter-spacing: -0.03em; color: var(--accent); }
.ambiente__process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: flex-start; padding: 0; gap: 24px; width: 100%; max-width: 1280px; }
.ambiente__step { box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; padding: 25px; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; width: auto; min-width: 0; }
.ambiente__step-num { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 12px; line-height: 16px; color: var(--faint); }
.ambiente__step-title { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 17px; line-height: 21px; color: var(--text); }
.ambiente__step-desc { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 12px; line-height: 180%; color: var(--muted); }
.ambiente__focus { display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 24px; width: 100%; max-width: 1280px; }
.ambiente__focus-label { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 11px; line-height: 14px; color: var(--accent); }
.ambiente__principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: flex-start; padding: 0; gap: 20px; width: 100%; }
.principe { box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; padding: 25px; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; width: auto; min-width: 0; }
.principe__icon { position: relative; width: 24px; height: 24px; }
.principe__icon::before { content: ''; position: absolute; inset: 0; border: 1.6px solid var(--accent); border-radius: 50%; }
.principe__title { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 17px; line-height: 21px; color: var(--text); }
.principe__desc { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 12px; line-height: 180%; color: var(--muted); }

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

.faq { display: flex; flex-direction: row; align-items: flex-start; padding: 96px 80px; gap: clamp(40px, 7vw, 110px); width: 100%; max-width: 1440px; margin: 0 auto; box-sizing: border-box; }
.faq__intro { display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 27px; width: min(410px, 34%); flex: none; }
.faq__title { display: flex; flex-direction: column; align-items: flex-start; padding: 0; width: 100%; font: inherit; }
.faq__title-main { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 56px; line-height: 110%; letter-spacing: -0.03em; color: var(--text); }
.faq__title-accent { font-family: var(--font-mono); font-style: normal; font-weight: 700; font-size: 66px; line-height: 105%; letter-spacing: -0.04em; color: var(--accent); }
.faq__invite { width: 100%; max-width: 335px; font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 14px; line-height: 180%; color: var(--muted); }
.faq__contact { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 13px; line-height: 16px; color: var(--accent); }
.faq__list { display: flex; flex-direction: column; align-items: flex-start; padding: 0; flex: 1 1 0; min-width: 0; width: auto; max-width: 760px; }
.faq__item { box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; padding: 23px 0; gap: 16px; width: 100%; border-bottom: 1px solid var(--border); }
.faq__question { display: flex; flex-direction: row; align-items: center; padding: 0; gap: 24px; width: 100%; height: auto; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.faq__q-text { flex: 1; font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 16px; line-height: 19px; color: var(--accent); }
.faq__icon { position: relative; width: 17px; height: 17px; flex: none; transition: transform 0.2s ease; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__icon::before { content: ''; position: absolute; left: 7.5%; right: 7.5%; top: 50%; height: 1.6px; background: var(--accent); }
.faq__icon::after { content: ''; position: absolute; top: 7.5%; bottom: 7.5%; left: 50%; width: 1.6px; background: var(--accent); }
.faq__answer { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 14px; line-height: 180%; color: var(--muted); }

/* ============ CONTATO ============ */

.contact { background: var(--accent-soft); display: flex; flex-direction: column; align-items: flex-start; padding: 80px; gap: 44px; width: 100%; max-width: 1440px; margin: 0 auto; box-sizing: border-box; }
.contact__inner { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 0; width: 100%; max-width: 1280px; height: auto; gap: 32px; }
.contact__left { display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 20px; flex: 1 1 520px; min-width: 0; }
.contact__label { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 11px; line-height: 14px; color: var(--accent-ink); }
.contact__title { display: flex; flex-direction: column; align-items: flex-start; padding: 0; }
.contact__title-main { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: clamp(40px, 5.2vw, 80px); line-height: 103%; letter-spacing: -0.04em; color: var(--accent-ink); }
.contact__title-accent { font-family: var(--font-mono); font-style: normal; font-weight: 700; font-size: clamp(46px, 6.5vw, 96px); line-height: 102%; letter-spacing: -0.04em; color: var(--accent-ink); }
.contact__desc { width: min(570px, 100%); font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 16px; line-height: 170%; color: #57416d; }
.contact__card-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 52px; padding: 0 52px 0 26px; background: var(--accent-ink); border-radius: 6px; color: var(--text); margin-top: 4px; transition: background-color 0.2s ease; }
.contact__card-btn:hover { background: #3a2154; }
.contact__card-btn .btn__action { color: var(--text); }
.contact__card-btn .arr { right: 24px; border-color: var(--text); color: var(--text); }

.contact__card { box-sizing: border-box; flex: 0 0 360px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; background: rgba(255, 255, 255, 0.34); border: 1px solid #b294d1; border-radius: 12px; box-shadow: 0 20px 50px rgba(40, 22, 62, 0.1); }
.contact__card-label { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 11px; line-height: 14px; color: #4d3763; }
.contact__card-handle { display: flex; align-items: flex-start; gap: 8px; font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(17px, 4.8vw, 23px); line-height: 1.2; color: var(--accent-ink); overflow-wrap: anywhere; }
.contact__card-handle span { min-width: 0; }
.contact__card-handle svg { flex: none; margin-top: 3px; transition: transform 0.2s ease; }
.contact__card-handle:hover svg { transform: translate(2px, -2px); }
.contact__card-note { font-family: var(--font-sans); font-size: 13px; line-height: 1.6; color: #57416d; }
.contact__card-note strong { font-weight: 700; color: var(--accent-ink); }

/* ============ RODAPÉ ============ */

.footer { background: var(--bg-deep); display: flex; flex-direction: column; align-items: flex-start; padding: 52px 80px 28px; gap: 36px; width: 100%; max-width: 1440px; margin: 0 auto; box-sizing: border-box; }
.footer__top { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-start; padding: 0; width: 100%; max-width: 1280px; height: auto; gap: 40px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 16px; width: min(448px, 100%); height: auto; }
.footer__desc { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 12px; line-height: 170%; color: var(--muted); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 14px; }
.footer__col-title { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 10px; line-height: 14px; color: var(--accent-soft); }
.footer__col-link { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 12px; line-height: 15px; color: var(--muted); }
.footer__col-link--accent { color: var(--accent); }
.footer__bottom-row { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; padding: 23px 0px 0px; width: 100%; max-width: 1280px; height: auto; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--border); }
.footer__bottom-row--credits { justify-content: flex-end; }
.footer__credits { display: flex; flex-direction: row; justify-content: flex-end; align-items: center; gap: 40px; padding: 0; flex-wrap: wrap; }
.footer__credit { font-family: var(--font-mono); font-style: normal; font-weight: 600; font-size: 11px; line-height: 16px; color: var(--muted); }

/* ============ RESPONSIVO ============ */

@media (max-width: 1200px) {
  .nav { padding: 0 40px; }
  .hero { padding: 40px; }
  .hero__visual { display: none; }
  .hero__content { max-width: 760px; }
  .services, .projects, .ambiente, .faq, .contact, .footer { padding-left: 40px; padding-right: 40px; }
  .services__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ambiente__process,
  .ambiente__principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { flex-direction: column; gap: 48px; }
  .faq__intro { width: 100%; max-width: 560px; }
  .faq__list { width: 100%; max-width: 100%; }
}

@media (max-width: 1050px) {
  .contact__inner { flex-direction: column; align-items: flex-start; gap: 36px; }
  .contact__left { flex: 0 0 auto; width: 100%; }
  .contact__card { flex: 0 1 auto; width: 100%; max-width: 460px; }
}

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 40px;
    right: 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
    background: rgba(24, 17, 33, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 45px rgba(5, 2, 11, 0.45);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__link { padding: 13px 14px; border-radius: 7px; font-size: 14px; }
  .nav__link:hover,
  .nav__link[aria-current="location"] { background: var(--card-2); }
  .hero { flex-direction: column; align-items: flex-start; }
  .hero__visual { display: none; }
  .section-title-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-title { max-width: none; width: 100%; }
  .section-title-main { font-size: clamp(34px, 9.2vw, 56px); }
  .section-title-accent { font-size: clamp(38px, 8vw, 62px); }
  .section-intro { width: 100%; max-width: 430px; flex: 0 1 auto; }
  .projects__grid { grid-template-columns: 1fr; }
  .ambiente__process,
  .ambiente__principles { grid-template-columns: 1fr; }
  .ambiente__manifesto-text { width: 100%; }
  .footer__top { flex-direction: column; gap: 28px; }
  .footer__bottom-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer__credits { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .nav { padding: 0 20px; height: 76px; }
  .nav__mark { width: 26px; height: 26px; }
  .nav__name { font-size: 20px; }
  .nav__links { left: 20px; right: 20px; }
  .hero { padding: 32px 20px 40px; }
  .hero__content { gap: 24px; }
  .hero__title-line { font-size: clamp(40px, 11.5vw, 64px); }
  .hero__title-line--accent { font-size: clamp(38px, 10vw, 60px); }
  .hero__desc { font-size: 15px; }
  .hero__actions { flex-direction: column; width: 100%; max-width: none; }
  .btn { width: 100%; }
  .services, .projects, .ambiente, .faq, .contact, .footer { padding-left: 20px; padding-right: 20px; }
  .services, .projects, .ambiente, .faq { padding-top: 64px; padding-bottom: 64px; }
  .contact { padding: 56px 20px; }
  .contact__title-main { font-size: clamp(32px, 8.8vw, 46px); }
  .contact__title-accent { font-size: clamp(38px, 11vw, 54px); }
  .contact__desc { font-size: 15px; }
  .contact__card { padding: 22px; }
  .faq__title-main { font-size: clamp(38px, 10vw, 52px); }
  .faq__title-accent { font-size: clamp(42px, 11vw, 58px); }
  .footer { padding-top: 40px; padding-bottom: 24px; }
  .footer__credits { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-padding-top: 76px; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .cursor-ring { display: none; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-ring { display: none; }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #d7cfe0;
    --faint: #b9abc9;
    --border: #5b476d;
  }
}

@media (forced-colors: active) {
  .code-rain,
  .cursor-ring { display: none; }
}
