/* ==========================================================================
   LRQ Studio — Landing Page
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-Variable.ttf") format("truetype-variations"),
       url("../assets/fonts/SpaceGrotesk-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope-Variable.ttf") format("truetype-variations"),
       url("../assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Dark is the default theme (site "todo preto") — every regular section shares
   the same flat black background, cards get a subtly lighter surface for depth.
   [data-theme="light"] flips everything to a single flat white, same logic.
   Always-dark sections (hero, diferencial, cta-final, marquee) use
   --color-black/--color-off-white directly and stay dark in both themes. */
:root {
  --color-bg: #000000;
  --color-bg-alt: #0A0A0A;
  --color-ink: #1A1A1A;
  --color-ink-soft: #C7C5BF;
  --color-ink-muted: #8B8983;
  --color-line: rgba(245, 245, 240, 0.12);
  --color-orange: #E0552F;
  --color-orange-dark: #CA4D2A;
  --color-orange-light: #F0AA97;
  --color-black: #121212;
  --color-black-soft: #1E1E1E;
  --color-off-white: #F6F5F5;

  /* theme-aware tokens: flip between light/dark */
  --color-text: #F2F1EC;
  --color-panel: #000000;
  --color-surface: #121212;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --chamfer-btn: 10px;
  --chamfer-badge: 7px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --color-bg: #FFFFFF;
  --color-bg-alt: #FCEEEA;
  --color-ink-soft: #4D4D4D;
  --color-ink-muted: #8A8880;
  --color-line: rgba(26, 26, 26, 0.12);
  --color-text: var(--color-ink);
  --color-panel: #FFFFFF;
  --color-surface: #FFFFFF;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 0;
  clip-path: polygon(
    var(--chamfer-btn) 0,
    100% 0,
    100% calc(100% - var(--chamfer-btn)),
    calc(100% - var(--chamfer-btn)) 100%,
    0 100%,
    0 var(--chamfer-btn)
  );
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-orange-dark);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--color-ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--color-orange);
  transform: translateY(-2px);
}

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

.btn-arrow {
  transition: transform 0.4s var(--ease);
}
.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid rgba(246, 245, 245, 0.1);
}

.navbar.is-scrolled {
  padding: 14px 0;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid rgba(246, 245, 245, 0.14);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 28px;
  width: auto;
  transition: height 0.4s var(--ease);
}
.navbar.is-scrolled .nav-logo img { height: 24px; }

.nav-cta-btn { padding: 12px 24px; font-size: 13px; }

/* ---- icon buttons: menu + theme toggle (Apple-glass style) ---- */
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 4px 14px rgba(0, 0, 0, 0.25);
  color: var(--color-off-white);
  cursor: pointer;
  clip-path: polygon(
    var(--chamfer-badge) 0,
    100% 0,
    100% calc(100% - var(--chamfer-badge)),
    calc(100% - var(--chamfer-badge)) 100%,
    0 100%,
    0 var(--chamfer-badge)
  );
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.icon-btn:hover {
  border-color: rgba(224, 85, 47, 0.6);
  background: rgba(224, 85, 47, 0.18);
}

.nav-menu-btn { gap: 8px; }
.nav-menu-btn .icon-close { display: none; }
.nav-menu-btn.is-active .icon-menu { display: none; }
.nav-menu-btn.is-active .icon-close { display: block; }

.nav-theme-btn .icon-moon { display: none; }
[data-theme="dark"] .nav-theme-btn .icon-sun { display: none; }
[data-theme="dark"] .nav-theme-btn .icon-moon { display: block; }

/* ---- menu popup ---- */
.menu-popup {
  position: fixed;
  top: 78px;
  left: max(20px, calc((100vw - var(--container)) / 2 + var(--gutter)));
  z-index: 90;
  width: 614px;
  max-width: calc(100vw - 40px);
  height: 430px;
  max-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.menu-popup.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.menu-popup-links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.menu-popup-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-popup-links li + li { margin-top: 18px; }

.menu-overlay-link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: rgba(246, 245, 245, 0.75);
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease);
}
.menu-popup-links a.menu-overlay-link:hover,
.menu-popup-links a.menu-overlay-link:focus-visible {
  color: var(--color-off-white);
}

.menu-popup-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--color-orange) !important;
}

.menu-popup-preview {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  padding: 2px;
}

.menu-preview-card {
  display: block;
  position: relative;
  min-height: 50%;
  overflow: hidden;
}
.menu-preview-media {
  position: absolute;
  inset: 0;
}
.menu-preview-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 55%);
}
.menu-preview-meta strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
}
.menu-preview-meta span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(246, 245, 245, 0.7);
}

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

.hero {
  padding: 152px 0 0;
  position: relative;
  overflow: hidden;
  color: var(--color-off-white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-black);
}

.video-lazy-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.video-lazy-wrap,
.video-lazy-wrap video,
.video-lazy-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.video-lazy-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity .3s ease;
}
.video-lazy-wrap.video-ready video {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: #00000085;
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  padding-left: clamp(20px, 16.6vw, 320px);
  padding-right: clamp(20px, 16.6vw, 320px);
}

/* ---- top row: tags left / description right ---- */
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 245, 245, 0.72);
}
.hero-tag::before {
  content: "/ ";
  color: var(--color-orange);
}

.hero-top-desc {
  max-width: 340px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(246, 245, 245, 0.72);
  text-align: right;
}

/* ---- title/desc/button + chat, side by side, centered in the hero ---- */
.hero-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---- rectangular chat card ---- */
.hero-chat {
  position: relative;
  width: 100%;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid rgba(246, 245, 245, 0.14);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.hero-chat::before {
  content: "";
  position: absolute;
  inset: -14% -10%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(rgba(0, 0, 0, 0.55), transparent 70%);
}

.hero-chat-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 4px;
  column-gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(246, 245, 245, 0.55);
  text-transform: uppercase;
}
.hero-chat-who {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.hero-chat-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(246, 245, 245, 0.22), rgba(246, 245, 245, 0.06) 70%, transparent);
}
.hero-chat-head .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
  flex-shrink: 0;
  animation: heroChatBlink 2.2s ease-in-out infinite;
}
@keyframes heroChatBlink {
  50% { opacity: 0.35; }
}
.hero-chat-head strong {
  color: #fff;
  font-weight: 800;
}
.hero-chat-state {
  margin-left: auto;
  color: var(--color-orange-light);
  opacity: 0.85;
  letter-spacing: 0.12em;
}

.hero-chat-bubble {
  width: fit-content;
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 12px 12px 12px 3px;
  background: linear-gradient(120deg, rgba(224, 85, 47, 0.28), rgba(202, 77, 42, 0.2));
  border: 1px solid rgba(224, 85, 47, 0.35);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  font-size: 13px;
  line-height: 1.5;
  color: #fff;
  min-height: calc(1.5em + 20px);
}

.hero-chat-cursor {
  display: inline-block;
  width: 2px;
  height: 13px;
  background: var(--color-orange);
  margin-left: 2px;
  vertical-align: -2px;
  animation: chatCursorBlink 0.9s step-end infinite;
}
@keyframes chatCursorBlink {
  50% { opacity: 0; }
}

.hero-chat-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-orange-light);
  background: rgba(224, 85, 47, 0.12);
  border: 1px solid rgba(224, 85, 47, 0.35);
  border-radius: 8px;
  padding: 7px 11px;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s var(--ease);
}
.hero-chat-link.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-chat-link:hover {
  background: rgba(224, 85, 47, 0.2);
}

.hero-chat-reply-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(246, 245, 245, 0.08);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  padding: 10px 14px;
  width: fit-content;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero-chat-reply-typing.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-chat-reply-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(246, 245, 245, 0.6);
  animation: chatTypingBounce 1.2s infinite ease-in-out;
}
.hero-chat-reply-typing span:nth-child(2) { animation-delay: 0.15s; }
.hero-chat-reply-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.hero-chat-reply {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  background: rgba(246, 245, 245, 0.1);
  width: fit-content;
  max-width: 90%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.hero-chat-reply.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-chat-reply p {
  font-size: 12px;
  line-height: 1.45;
  color: #fff;
}

/* ---- bottom: badge + big headline ---- */
.hero-bottom {
  margin-top: clamp(120px, 24vw, 260px);
  padding-bottom: 64px;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid rgba(246, 245, 245, 0.22);
  border-radius: 0;
  clip-path: polygon(
    var(--chamfer-badge) 0,
    100% 0,
    100% calc(100% - var(--chamfer-badge)),
    calc(100% - var(--chamfer-badge)) 100%,
    0 100%,
    0 var(--chamfer-badge)
  );
  color: rgba(246, 245, 245, 0.85);
  margin-bottom: 20px;
  background: rgba(246, 245, 245, 0.08);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.hero-badge strong { color: var(--color-orange); }

.hero-bottom h1 {
  font-size: 46px;
  color: #fff;
  margin-bottom: 20px;
}
.hero-bottom h1 em {
  font-style: normal;
  color: var(--color-orange);
}

.hero-desc {
  max-width: 520px;
  font-size: 16px;
  color: rgba(246, 245, 245, 0.78);
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-actions .btn {
  padding: 13px 24px;
  font-size: 14px;
}

/* ==========================================================================
   Clientes (marquee)
   ========================================================================== */

.clients-marquee {
  background: var(--color-panel);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 56px 0 64px;
  overflow: hidden;
}

.marquee-label {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 36px;
}

.marquee-row {
  position: relative;
  overflow: hidden;
  margin: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-row-right .marquee-track {
  animation: marquee-right 44s linear infinite;
}
.marquee-row-left .marquee-track {
  animation: marquee-left 44s linear infinite;
}
.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 0 26px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-ink-muted);
  transition: color 0.25s var(--ease);
}
.marquee-item:hover { color: var(--color-text); }

.marquee-dot {
  color: var(--color-orange);
  font-size: 0.5em;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ==========================================================================
   Formulário
   ========================================================================== */

.form-section {
  padding: 120px 0;
  background: var(--color-panel);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.form-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
}

.form-copy h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}

.form-copy p {
  color: var(--color-ink-soft);
  font-size: 16px;
  margin-bottom: 16px;
}

.form-copy .form-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  font-size: 14px;
  color: var(--color-ink-muted);
}

.lead-form {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 40px;
}

.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}
.field input,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-line);
  background: transparent;
  padding: 10px 2px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  transition: border-color 0.3s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}
.field textarea { resize: vertical; min-height: 90px; }

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 9px 16px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-ink-soft);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.checkbox-pill input { display: none; }
.checkbox-pill:has(input:checked) {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
}

.lead-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

/* ==========================================================================
   Identificação
   ========================================================================== */

.identify {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.identify::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -5%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(224, 85, 47, 0.28) 0%, rgba(222, 54, 42, 0.14) 45%, transparent 72%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.identify > .container {
  position: relative;
  z-index: 1;
}

/* ---- top: heading + CTA left, 2x2 icon cards right ---- */
.identify-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 90px;
}

.identify-hero-copy {
  position: relative;
  padding-left: 28px;
  border-left: 1px solid var(--color-line);
}

.identify-hero-copy h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 18px 0 22px;
}

.identify-hero-copy p {
  font-size: 16px;
  color: var(--color-ink-soft);
  max-width: 460px;
}

.identify-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 15px;
}
.identify-hero-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.identify-hero-link:hover .identify-hero-link-icon {
  transform: translateX(5px);
  background: var(--color-orange-dark);
}

.identify-body {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.identify-body p {
  font-size: 18px;
  color: var(--color-ink-soft);
  text-align: center;
}

.identify-body p strong {
  color: var(--color-text);
  font-weight: 700;
}

.identify-pain-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pain-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 28px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.pain-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
}
.pain-card:hover .pain-card-icon {
  background: var(--color-orange);
  color: #fff;
}

.pain-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pain-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  background: rgba(224, 85, 47, 0.12);
  animation: painIconFloat 3.2s ease-in-out infinite;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.pain-card:nth-child(2) .pain-card-icon { animation-delay: 0.3s; }
.pain-card:nth-child(3) .pain-card-icon { animation-delay: 0.6s; }
.pain-card:nth-child(4) .pain-card-icon { animation-delay: 0.9s; }

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

.pain-card-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-orange);
  opacity: 0.75;
}

.pain-card-divider {
  height: 1px;
  background: var(--color-line);
  margin-bottom: 18px;
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pain-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-ink-soft);
  font-weight: 400;
}

/* ---- showcase: featured project + "process in motion" CTA ---- */
.identify-showcase {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 100px 0;
  padding-top: 70px;
  border-top: 1px solid var(--color-line);
}

.identify-showcase-media {
  position: relative;
  display: block;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}
.identify-showcase-media:hover { transform: translateY(-4px); }

.identify-showcase-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-family: var(--font-display);
  font-size: 14px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.identify-showcase-text {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.55;
}

.identify-showcase-cta .quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 27px);
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: 16px;
}
.identify-showcase-cta .quote span { color: var(--color-orange); }

.identify-showcase-cta p {
  font-size: 14.5px;
  color: var(--color-ink-soft);
  margin-bottom: 22px;
  line-height: 1.5;
}


/* ==========================================================================
   O que podemos construir (tabbed)
   ========================================================================== */

.build {
  padding: 140px 0;
  background: var(--color-panel);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.build-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.build-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-top: 16px;
}

.build-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}

.build-left { position: sticky; top: 110px; }

.build-intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin-bottom: 32px;
}

.build-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.build-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-ink-muted);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.build-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--color-ink-muted);
  flex-shrink: 0;
  transition: background 0.3s var(--ease);
}
.build-tab:hover { color: var(--color-text); }
.build-tab.is-active {
  color: var(--color-text);
  border-color: var(--color-orange);
}
.build-tab.is-active .build-tab-dot { background: var(--color-orange); }

/* progress bar: width driven by scroll via inline style, not a timed animation */
.build-tab-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: var(--color-orange);
  transition: width 0.1s linear;
}

.build-scroll {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.build-step {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 20px;
  padding: 48px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  opacity: 0.45;
  transition: opacity 0.5s var(--ease), border-color 0.5s var(--ease);
}
.build-step.is-active {
  opacity: 1;
  border-color: var(--color-line);
}
.build-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--color-line) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(115deg, transparent 40%, #000 75%);
  mask-image: linear-gradient(115deg, transparent 40%, #000 75%);
  pointer-events: none;
}

.build-step h3,
.build-step > p {
  position: relative;
  z-index: 1;
}
.build-step h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 14px;
}
.build-step > p {
  font-size: 15.5px;
  color: var(--color-ink-soft);
  max-width: 440px;
  margin-bottom: 40px;
}

.build-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 460px;
}

/* ---- alt visual: labeled progress bars ---- */
.build-visual--bars {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.build-bar-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 7px;
}
.build-bar-pct {
  color: var(--color-ink-muted);
  font-weight: 700;
}
.build-bar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  overflow: hidden;
}
.build-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-orange-dark), var(--color-orange));
  transition: width 1.1s var(--ease);
}
[data-reveal].is-visible .build-bar-fill { width: var(--pct); }

.build-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: buildIconFloat 3.4s ease-in-out infinite;
}
@keyframes buildIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.build-visual-line {
  flex: 0 0 56px;
  height: 1px;
  width: 56px;
  background: repeating-linear-gradient(90deg, var(--color-orange) 0 6px, transparent 6px 12px);
  background-size: 24px 1px;
  opacity: 0.6;
  animation: buildLineFlow 0.9s linear infinite;
}
@keyframes buildLineFlow {
  to { background-position: 24px 0; }
}

.build-checklist {
  flex-shrink: 0;
  min-width: 200px;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 18px 20px;
}

/* ---- alt visual: node cluster converging into a labeled panel ---- */
.build-visual--flow {
  align-items: center;
  gap: 28px;
  max-width: 580px;
}
.build-flow-nodes {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex-shrink: 0;
}
.build-flow-nodes .build-icon:nth-child(2) { animation-delay: 0.25s; }
.build-flow-nodes .build-icon:nth-child(3) { animation-delay: 0.5s; }

.build-flow-svg {
  flex-shrink: 0;
  width: 44px;
  height: 204px;
  color: var(--color-orange);
  opacity: 0.55;
}
.build-flow-svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  animation: buildFlowDash 0.9s linear infinite;
}
@keyframes buildFlowDash {
  to { stroke-dashoffset: -20; }
}

.build-flow-center {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-panel);
  border: 1px solid var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  animation: buildIconFloat 3.4s ease-in-out infinite;
  animation-delay: 0.15s;
}
.build-flow-center img {
  width: 100%;
  height: 100%;
  display: block;
}

.build-flow-panel {
  flex-shrink: 0;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 26px 30px;
  min-width: 220px;
}
.build-flow-panel .pv-checklist {
  gap: 18px;
}
.build-flow-panel .pv-checklist li {
  gap: 14px;
  font-size: 14px;
}
.build-flow-panel .pv-check {
  width: 26px;
  height: 26px;
}
/* the panel already provides the boxed background/border — the checklist
   itself must stay bare so it doesn't nest a second box inside it */
.build-flow-panel .build-checklist {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  min-width: 0;
}

/* ---- alt visual: version tags + approval badge ---- */
.build-visual--tags {
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
  max-width: 420px;
}
.build-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.build-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-panel);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink-muted);
}
.build-tag.is-active {
  border-color: var(--color-orange);
  background: var(--color-orange);
  color: #fff;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
[data-reveal].is-visible .build-tag.is-active {
  opacity: 1;
  transform: scale(1);
}
.build-tag-star {
  font-size: 11px;
  line-height: 1;
}
.build-tags-line-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.build-tags-line {
  flex: 1;
  height: 1px;
  min-width: 24px;
  background: repeating-linear-gradient(90deg, var(--color-line) 0 6px, transparent 6px 12px);
}
.build-tag-badge {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--color-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.5s var(--ease) 0.3s, transform 0.5s var(--ease) 0.3s;
}
[data-reveal].is-visible .build-tag-badge {
  opacity: 1;
  transform: translateX(0);
}

.build-cta { margin-top: 4px; }

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

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 54px);
}

.section-head p {
  font-size: 16px;
  color: var(--color-ink-soft);
}

/* ==========================================================================
   Portfolio
   ========================================================================== */

.portfolio {
  padding: 140px 0;
}

.portfolio .section-head p em {
  font-style: normal;
  color: var(--color-ink-muted);
}

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

.portfolio-card {
  position: relative;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-panel);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
}

.portfolio-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--color-off-white);
  backdrop-filter: blur(6px);
}

.portfolio-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-line);
  font-weight: 700;
  font-size: 14px;
}
.portfolio-card-head .portfolio-card-year {
  font-weight: 500;
  color: var(--color-ink-muted);
}

.portfolio-card-media {
  position: relative;
  height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.portfolio-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.portfolio-grad-1 { background: linear-gradient(150deg, #3A2A1F 0%, #171412 60%, #E0552F 150%); }
.portfolio-grad-2 { background: linear-gradient(150deg, #1E2320 0%, #101210 65%, #CA4D2A 150%); }
.portfolio-grad-3 { background: linear-gradient(150deg, #241C2E 0%, #14111A 60%, #F0AA97 150%); }
.portfolio-grad-4 { background: linear-gradient(150deg, #2A241C 0%, #141210 65%, #E0552F 150%); }

/* ==========================================================================
   Sobre a LRQ (fundador)
   ========================================================================== */

.founder { padding: 140px 0; }

.founder-grid {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 64px;
  align-items: center;
}

.founder-photo {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-line);
}
.founder-photo img {
  width: 100%;
  display: block;
}

.founder-copy .eyebrow { margin-bottom: 14px; }

.founder-copy h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  margin-bottom: 22px;
}
.founder-copy h2 strong { font-weight: 700; }

.founder-copy p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-ink-soft);
  max-width: 600px;
  margin-bottom: 18px;
}

.founder-copy .btn { margin-top: 12px; }

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

.process-v2 { padding: 140px 0; }

.process-v2-head {
  max-width: 700px;
  margin: 0 auto 72px;
  text-align: center;
}

.process-v2-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-ink-soft);
  margin-bottom: 24px;
}

.process-v2-head h2 {
  font-size: clamp(32px, 4.4vw, 50px);
  margin-bottom: 20px;
}

.process-v2-head p {
  font-size: 16px;
  color: var(--color-ink-soft);
  line-height: 1.6;
}

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

.process-v2-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.process-v2-step {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-ink-soft);
  margin-bottom: 20px;
}

.process-v2-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.process-v2-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin-bottom: 24px;
}

.pv-visual {
  margin-top: auto;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 20px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---- step 1: checklist items appearing one by one ---- */
.pv-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pv-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink-muted);
  opacity: 0;
  transform: translateX(-6px);
  animation: pvItemReveal 6s ease-in-out infinite;
}
.pv-checklist li:nth-child(1) { animation-delay: 0s; }
.pv-checklist li:nth-child(2) { animation-delay: 0.4s; }
.pv-checklist li:nth-child(3) { animation-delay: 0.8s; }
.pv-checklist li:nth-child(4) { animation-delay: 1.2s; }
.pv-checklist li:nth-child(5) { animation-delay: 1.6s; }

.pv-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.pv-check svg { width: 9px; height: 7px; }

@keyframes pvItemReveal {
  0% { opacity: 0; transform: translateX(-6px); color: var(--color-ink-muted); }
  8%, 85% { opacity: 1; transform: translateX(0); }
  100% { opacity: 1; transform: translateX(0); }
}
.pv-checklist li:nth-child(1) .pv-check,
.pv-checklist li:nth-child(2) .pv-check,
.pv-checklist li:nth-child(3) .pv-check,
.pv-checklist li:nth-child(4) .pv-check,
.pv-checklist li:nth-child(5) .pv-check {
  animation: pvCheckFill 6s ease-in-out infinite;
  animation-delay: inherit;
}
@keyframes pvCheckFill {
  0%, 6% { background: transparent; border-color: var(--color-line); color: transparent; }
  14%, 100% { background: var(--color-orange); border-color: var(--color-orange); color: #fff; }
}

/* ---- step 2: identity swatches building up ---- */
.pv-swatches {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.pv-swatch {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  animation: pvSwatchPulse 3.6s ease-in-out infinite;
}
.pv-swatch-a { background: var(--color-orange); animation-delay: 0s; }
.pv-swatch-b { background: var(--color-ink); border: 1px solid var(--color-line); animation-delay: 0.35s; }
.pv-swatch-c { background: var(--color-orange-light); animation-delay: 0.7s; }

@keyframes pvSwatchPulse {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.14) translateY(-3px); }
}

.pv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pv-tags span {
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  color: var(--color-ink-muted);
}

/* ---- step 3: delivery checklist, items check off in sequence ---- */
.pv-checklist--entrega li:nth-child(1) { animation-delay: 0s; }
.pv-checklist--entrega li:nth-child(2) { animation-delay: 0.7s; }
.pv-checklist--entrega li:nth-child(3) { animation-delay: 1.4s; }


/* ==========================================================================
   Depoimentos
   ========================================================================== */

.testi {
  padding: 140px 0 100px;
  overflow: hidden;
}

.testi-head {
  margin-bottom: 56px;
}

.eyebrow--numbered {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.eyebrow--numbered::before { content: none; }
.eyebrow--numbered em {
  font-style: normal;
  color: var(--color-orange);
}
.eyebrow-line {
  flex: 0 0 40px;
  height: 1px;
  background: var(--color-line);
}

.testi-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 24px;
}

.testi-head-row h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  max-width: 620px;
}

.testi-head p {
  font-size: 16px;
  color: var(--color-ink-soft);
  max-width: 520px;
  line-height: 1.6;
}

.testi-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.testi-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.testi-arrow:hover:not(:disabled) {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
}
.testi-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.testi-track-wrap {
  width: 100%;
}

.testi-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px var(--gutter) 16px;
}
.testi-track::-webkit-scrollbar { display: none; }

.testi-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 clamp(300px, 32vw, 420px);
  scroll-snap-align: start;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 20px;
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.testi-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 100% at 100% 100%, rgba(224, 85, 47, 0.32), transparent 60%);
  pointer-events: none;
}
.testi-card > * {
  position: relative;
  z-index: 1;
}

.testi-bar {
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-orange-dark));
  margin-bottom: 20px;
}

.testi-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-ink-soft);
  margin-top: 20px;
}

.testi-meta strong { display: block; font-size: 15px; margin-bottom: 4px; }
.testi-meta span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

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

.faq {
  padding: 140px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 80px;
  align-items: start;
}

.faq-left {
  position: sticky;
  top: 120px;
}
.faq-left .eyebrow--numbered {
  margin-bottom: 24px;
}
.faq-left h2 {
  font-size: clamp(30px, 3.4vw, 42px);
}

.faq-list {
  border-top: 1px solid var(--color-line);
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-orange);
  transition: transform 0.35s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 16px; height: 1.6px; }
.faq-icon::after { width: 1.6px; height: 16px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-answer-inner {
  overflow: hidden;
}
.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-ink-soft);
  max-width: 560px;
  padding-bottom: 12px;
}
.faq-answer-inner p:last-child { padding-bottom: 28px; }
.faq-answer-inner p strong { color: var(--color-text); }

/* ==========================================================================
   CTA final (dark)
   ========================================================================== */

.cta-final {
  padding: 160px 0;
  background: var(--color-panel);
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}

.cta-final .form-grid { text-align: left; }
.cta-final .form-copy .eyebrow { justify-content: flex-start; }
.cta-final .form-copy p {
  max-width: none;
  margin: 0 0 16px;
  color: var(--color-ink-soft);
  font-size: 16px;
}
.cta-final .form-copy h2 {
  max-width: none;
  margin: 0 0 20px;
  font-size: clamp(30px, 3.2vw, 44px);
}

.cta-final::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(224, 85, 47, 0.18) 0%, rgba(224, 85, 47, 0) 70%);
  pointer-events: none;
}

.cta-final .container { position: relative; z-index: 1; }

.cta-final h2 {
  font-size: clamp(34px, 6vw, 68px);
  color: var(--color-text);
  max-width: 900px;
  margin: 0 auto 28px;
}

.cta-final p {
  max-width: 640px;
  margin: 0 auto 44px;
  color: var(--color-ink-soft);
  font-size: 17px;
}

.cta-final .btn { margin-bottom: 28px; }

.cta-final .cta-footnote {
  font-size: 13px;
  color: var(--color-ink-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 90px 0 40px;
  background: var(--color-bg);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--color-line);
}

.footer-brand p {
  color: var(--color-ink-soft);
  font-size: 14px;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
}
.footer-col a { transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--color-orange); }

.footer-wordmark {
  padding: 70px 0 20px;
}
.footer-wordmark img {
  width: 100%;
  max-width: 900px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  font-size: 13px;
  color: var(--color-ink-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Página de projeto
   ========================================================================== */

.proj-hero { padding-top: 150px; }

.proj-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-ink-muted);
  margin-bottom: 34px;
  transition: color 0.3s var(--ease);
}
.proj-back:hover { color: var(--color-text); }

.proj-hero .eyebrow { margin-bottom: 14px; }

.proj-title {
  font-size: clamp(38px, 6vw, 74px);
  max-width: 18ch;
  margin-bottom: 22px;
}

.proj-lead {
  color: var(--color-ink-soft);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  max-width: 62ch;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.proj-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 6px 13px;
}

.proj-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.proj-meta-item {
  background: var(--color-panel);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.proj-meta-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.proj-meta-v { font-size: 15px; font-weight: 600; color: var(--color-text); }

.proj-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
}
.proj-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proj-cover { aspect-ratio: 16 / 9; margin-top: 48px; }

.proj-prose {
  max-width: 760px;
  margin-top: 58px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.proj-prose p {
  color: var(--color-ink-soft);
  font-size: 16.5px;
  line-height: 1.7;
}

.proj-block { max-width: 760px; margin-top: 58px; }
.proj-block .eyebrow--accent { margin-bottom: 18px; }
.proj-block-text {
  color: var(--color-ink-soft);
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.eyebrow--accent {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange-light);
  border: 1px solid rgba(224, 85, 47, 0.4);
  background: rgba(224, 85, 47, 0.1);
  padding: 7px 14px;
  border-radius: 999px;
}

.proj-solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 18px;
}
.proj-solution-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-ink-soft);
  font-size: 16px;
  line-height: 1.6;
}
.proj-solution-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--color-orange-light), var(--color-orange));
}
.proj-solution-list li strong { color: var(--color-text); font-weight: 700; }

.proj-gallery {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.proj-gallery .proj-img { aspect-ratio: 16 / 10; }

.proj-full { margin-top: 58px; }
.proj-full-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  max-height: 660px;
  cursor: pointer;
}
.proj-full-frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 240px;
  z-index: 1;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92) 78%);
  pointer-events: none;
}
.proj-full-img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(0);
  will-change: transform;
}
.proj-full-img.portfolio-grad-4 { height: 2200px; }
.proj-full-hint {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 245, 245, 0.85);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 7px 14px;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.proj-full-frame:hover .proj-full-hint { opacity: 0; }
.proj-full-btn {
  position: absolute;
  left: 0; right: 0;
  bottom: 30px;
  margin: 0 auto;
  width: fit-content;
  z-index: 3;
  cursor: pointer;
}

/* ---- lightbox: full-size mockup viewer ---- */
.proj-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  overflow-y: auto;
  padding: 60px 20px;
}
.proj-lightbox.is-open { display: block; }
.proj-lightbox-scroll {
  max-width: 900px;
  margin: 0 auto;
}
.proj-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.proj-lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.proj-lightbox-close:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
}
body.proj-lightbox-locked { overflow: hidden; }

.proj-section { margin-top: clamp(72px, 10vw, 120px); }
.proj-section-head { margin-bottom: 24px; }
.proj-section-head .eyebrow { margin-bottom: 10px; }
.proj-section-head h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 16ch; }

.proj-other {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.proj-card {
  display: block;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.proj-card:hover { border-color: var(--color-orange); transform: translateY(-4px); }
.proj-card-media { aspect-ratio: 16 / 11; border: 0; border-radius: 0; }
.proj-card-body { padding: 18px 20px 22px; }
.proj-card-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 8px;
}
.proj-card-meta .dot { color: var(--color-orange); }
.proj-card-title { font-size: 18px; font-weight: 500; }

.proj-cta {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: radial-gradient(120% 140% at 50% 0%, rgba(224, 85, 47, 0.14), transparent 70%), var(--color-surface);
  padding: clamp(32px, 5vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.proj-cta h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.proj-cta p { color: var(--color-ink-soft); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 981px) {
  .hero {
    min-height: 1080px;
    display: flex;
    flex-direction: column;
  }
  .hero .container {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .hero-main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 360px);
    align-items: center;
    gap: 40px;
  }
  .hero-chat {
    justify-self: end;
  }
}

@media (max-width: 980px) {
  .hero-top { flex-direction: column; gap: 24px; }
  .hero-top-desc { max-width: none; text-align: left; }
  .hero-main { margin-top: 32px; }
  .hero-bottom { max-width: none; }
  .hero-bottom h1 { font-size: clamp(32px, 9vw, 46px); }
  .hero-desc { font-size: 15.5px; }
  .form-grid { grid-template-columns: 1fr; gap: 48px; }
  .identify-hero { grid-template-columns: 1fr; gap: 40px; }
  .identify-showcase { grid-template-columns: 1fr; gap: 28px; margin: 60px 0; text-align: left; }
  .founder-grid { grid-template-columns: 1fr; gap: 36px; }
  .build-layout { grid-template-columns: 1fr; gap: 32px; }
  .build-left { position: static; }
  .build-step { padding: 32px; min-height: 0; opacity: 1; }
  .build-visual:not(.build-visual--flow) { flex-wrap: wrap; }
  .process-v2-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 340px; }
  .identify-showcase-media { width: 100%; }
  .identify-pain-list { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .testi-head { display: flex; flex-direction: column; }
  .testi-head-row { display: contents; }
  .testi-head-row h2 { order: 1; margin-bottom: 20px; }
  .testi-head > p { order: 2; margin-bottom: 20px; }
  .testi-nav { order: 3; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-left { position: static; }
  .testi-card { flex-basis: 84vw; }
  .proj-meta { grid-template-columns: repeat(2, 1fr); }
  .proj-gallery { grid-template-columns: 1fr; }
  .proj-other { grid-template-columns: 1fr; }
  .proj-cta { flex-direction: column; align-items: flex-start; }

  .menu-popup {
    grid-template-columns: 1fr;
    height: auto;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .menu-popup-links { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .menu-popup-preview { flex-direction: row; }
  .menu-preview-card { min-height: 140px; flex: 1; }
}

@media (max-width: 640px) {
  .hero { min-height: 1080px; padding-top: 110px; }
  .hero .container { padding-left: 20px; padding-right: 20px; }
  .hero-top { gap: 16px; }
  .hero-tag, .hero-top-desc, .hero-desc, .hero-badge { font-size: 12px; }
  .hero-tags { gap: 6px; }
  .hero-main { margin-top: 20px; gap: 0; }
  .hero-bottom { margin-top: 24px; padding-bottom: 0; }
  .hero-bottom h1 { font-size: 32px; margin-bottom: 12px; }
  .hero-badge { margin-bottom: 14px; }
  .hero-desc { margin-bottom: 14px; }
  .hero-chat { margin-top: 230px; }

  .form-section,
  .identify,
  .build,
  .portfolio,
  .founder,
  .process-v2,
  .testi,
  .faq,
  .cta-final {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .build-visual--flow { max-width: 100%; gap: 10px; }
  .build-flow-nodes { gap: 10px; }
  .build-flow-nodes .build-icon { width: 34px; height: 34px; border-radius: 8px; }
  .build-flow-nodes .build-icon svg { width: 16px; height: 16px; }
  .build-flow-svg { width: 22px; height: 122px; }
  .build-flow-center { width: 34px; height: 34px; padding: 7px; border-radius: 8px; }
  .build-visual-line { flex: 0 0 20px; width: 20px; }
  .build-flow-panel { padding: 14px 16px; min-width: 0; flex: 1 1 auto; }
  .build-flow-panel .pv-checklist { gap: 10px; }
  .build-flow-panel .pv-checklist li { gap: 8px; font-size: 12px; }
  .build-flow-panel .pv-check { width: 20px; height: 20px; }
}

@media (max-width: 560px) {
  .identify-pain-list { grid-template-columns: 1fr; }
  .lead-form { padding: 28px; }

  .navbar .container { gap: 10px; }
  .nav-left { gap: 6px; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn svg { width: 15px; height: 15px; }
  .nav-logo img { height: 22px; }
  .nav-cta-btn { padding: 10px 14px; font-size: 12px; gap: 6px; }
  .menu-popup { top: 66px; }
}
