:root {
  --bg: #04050d;
  --bg-2: #080a1a;
  --surface: rgba(255, 255, 255, 0.03);
  --line: rgba(140, 160, 255, 0.14);
  --line-strong: rgba(140, 160, 255, 0.3);
  --text: #eef1ff;
  --muted: #9aa3c7;
  --cyan: #22d3ee;
  --blue: #4f6bff;
  --violet: #8b5cf6;
  --magenta: #d946ef;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 45%, var(--violet) 75%, var(--magenta) 100%);
  --radius: 18px;
  --container: 1200px;
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-wide: "Michroma", "Sora", sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --grad-text: linear-gradient(90deg, #3b82f6 0%, #6366f1 50%, #a855f7 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { color: var(--text); font-weight: 600; }
::selection { background: rgba(139, 92, 246, 0.45); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 140, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 140, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(79, 107, 255, 0.18), transparent 70%),
    radial-gradient(500px 400px at 10% 60%, rgba(139, 92, 246, 0.12), transparent 70%),
    radial-gradient(700px 500px at 60% 110%, rgba(217, 70, 239, 0.1), transparent 70%),
    var(--bg);
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; z-index: -1; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 107, 255, 0.12), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity .4s;
  opacity: 0;
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 26px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; font: 500 15px/1 var(--font-display); letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, #1fb6e0, #4f6bff 50%, #a855f7);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 10px 40px -10px rgba(79, 107, 255, .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 14px 50px -8px rgba(139, 92, 246, .8); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.02); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(34, 211, 238, .6); background: rgba(34, 211, 238, .06); }
.btn-sm { --pad: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(24px, calc((100% - var(--container)) / 2 + 24px));
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(4, 5, 13, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo-mark { height: 38px; width: auto; }
.logo-word { height: 17px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; color: var(--muted); }
.nav-links a:not(.btn) { position: relative; transition: color .2s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text); transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-sphere {
  position: absolute; top: calc(50% + 30px); aspect-ratio: 1; transform: translateY(-50%); cursor: grab;
  /* acompanha a coluna direita do container em vez de grudar na borda da janela */
  width: min(54vw, 780px, 100svh); right: max(-8vw, calc((100% - var(--container)) / 2 - 60px));
}
.hero-sphere:active { cursor: grabbing; }
.hero-sphere canvas { display: block; width: 100% !important; height: 100% !important; }
.hero-sphere::before {
  content: ""; position: absolute; inset: 18%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(79,107,255,.28), rgba(139,92,246,.1) 45%, transparent 70%);
  filter: blur(30px);
}
.hero-content { position: relative; z-index: 2; pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px;
  padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  font: 400 11px/1 var(--font-wide); letter-spacing: .25em; color: #c9d1ff; background: rgba(8,10,26,.5); backdrop-filter: blur(6px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-title {
  margin: 0; max-width: min(680px, 55vw);
  font: 500 clamp(32px, 4.4vw, 62px)/1.12 var(--font-display); letter-spacing: .05em; text-transform: uppercase;
}
.hero-title .grad { filter: drop-shadow(0 0 30px rgba(139, 92, 246, .35)); }
.hero-sub { max-width: 520px; margin: 28px 0 40px; color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 40px; margin: clamp(36px, 6vh, 64px) 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); max-width: 620px; }
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font: 600 30px/1 var(--font-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 13px; color: var(--muted); max-width: 150px; line-height: 1.4; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; width: 22px; height: 36px; border: 1px solid var(--line-strong); border-radius: 12px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--cyan); transform: translateX(-50%); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(8, 10, 26, .6); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 40s linear infinite; font: 400 13px/1 var(--font-wide); letter-spacing: .2em; text-transform: uppercase; color: #b8c0e8; }
.marquee-track i { font-style: normal; color: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) 24px; }
.section.container { padding-left: 24px; padding-right: 24px; }
.label { margin: 0 0 18px; font: 400 11px/1 var(--font-wide); letter-spacing: .28em; text-transform: uppercase; color: #8fa0ff; }
.h2 { margin: 0; font: 500 clamp(26px, 3.4vw, 44px)/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.h3 { margin: 0 0 22px; font: 500 clamp(20px, 2.2vw, 28px)/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); max-width: 620px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .lead { margin-top: 20px; }

/* Concept */
.concept { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.concept-left .lead { margin: 28px 0 0; }
.concept-right .lead { margin-top: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-top: 1px solid var(--line); }
.pillar { padding: 28px 22px 0 0; }
.pillar + .pillar { padding-left: 22px; border-left: 1px solid var(--line); }
.pillar svg, .icon svg { width: 30px; height: 30px; fill: none; stroke: #8fa0ff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin: 18px 0 8px; font: 400 11px/1.4 var(--font-wide); letter-spacing: .18em; text-transform: uppercase; }
.pillar p { margin: 0; font-size: 14px; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .35s, border-color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(79,107,255,.18), transparent 60%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .35s;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(34,211,238,.8), rgba(139,92,246,.5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-4px); }
.card:hover::before, .card:hover::after { opacity: 1; }
.icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(79,107,255,.06); box-shadow: 0 0 24px -8px rgba(79,107,255,.6) inset; }
.icon svg { width: 26px; height: 26px; }
.card h3 { margin: 22px 0 8px; font: 600 14px/1.4 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Segments: grade uniforme (4 colunas no computador, 2 no celular), sem linha incompleta */
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.chips a {
  display: grid; place-items: center; min-height: 52px; padding: 12px 18px; text-align: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 15px; color: #cfd5f5; transition: border-color .25s, color .25s, background .25s, box-shadow .25s;
}
.chips a:hover, .chips a:focus-visible { border-color: rgba(34,211,238,.5); color: #fff; background: rgba(34,211,238,.06); box-shadow: 0 0 24px -6px rgba(34,211,238,.4); }

/* Projects */
.hover-tip { display: inline-flex; align-items: center; gap: 12px; margin: 26px 0 0; padding: 10px 18px 10px 12px; border-radius: 999px; border: 1px dashed rgba(34,211,238,.4); background: rgba(34,211,238,.05); color: #cfe9ff; font-size: 14px; }
.tip-icon { position: relative; width: 22px; height: 22px; flex: none; }
.tip-icon::before { content: ""; position: absolute; inset: 0; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322d3ee'%3E%3Cpath d='M5 3l14 7-6 2-2 6z'/%3E%3C/svg%3E"); animation: tipNudge 2.2s ease-in-out infinite; }
@keyframes tipNudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4px, 4px); } }
.tip-touch { display: none; }
@media (hover: none) { .tip-touch { display: inline; } .tip-desktop { display: none; } }

.projects { display: flex; flex-direction: column; gap: 32px; }
.project {
  display: grid; grid-template-columns: 1.35fr 1fr; align-items: stretch;
  border-radius: 26px; border: 1px solid var(--line); background: rgba(8,10,26,.6); overflow: hidden;
  transition: border-color .4s, box-shadow .4s; outline: none;
}
.project:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.project:nth-child(even) .project-visual { order: 2; }
.project.is-active, .project:focus-visible { border-color: rgba(120,140,255,.45); box-shadow: 0 30px 80px -40px rgba(79,107,255,.6); }
/* Feixe de luz percorrendo a borda do card */
@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.project { position: relative; }
.project::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--beam), transparent 0 55%, #22d3ee 74%, #fff 80%, #a855f7 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam 5s linear infinite; transition: opacity .4s; filter: drop-shadow(0 0 6px rgba(34,211,238,.9));
}
.project:nth-child(2)::after { animation-delay: -1.7s; }
.project:nth-child(3)::after { animation-delay: -3.4s; }
.project:nth-child(4)::after { animation-delay: -0.8s; }
.project.is-active::after { opacity: 0; }
.project.is-peek::after { animation-duration: 1.6s; opacity: 1; }
@keyframes beam { to { --beam: 360deg; } }
.project.is-peek { box-shadow: 0 0 0 1px rgba(34,211,238,.25), 0 30px 90px -40px rgba(34,211,238,.55); }
.project.is-peek .hint-dot { transform: scale(1.12); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.project.is-peek .arm-1 { transform: rotate(0); opacity: 1; }
.project.is-peek .msg-typing { opacity: 0; height: 0; padding: 0; margin-top: -8px; }
.project-visual { position: relative; min-height: 400px; overflow: hidden; background: #070918; cursor: pointer; }
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.project-info { padding: 40px; align-self: center; }
.tag { display: inline-block; font: 400 10px/1 var(--font-wide); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.project-info h3 { margin: 14px 0 12px; font: 600 20px/1.35 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.project-info p { margin: 0; color: var(--muted); font-size: 15px; }
.project-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; padding: 0; }
.project-points li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: #cdd4f5; background: rgba(255,255,255,.02); }

/* Indicativo "passe o mouse" */
.hover-hint {
  position: absolute; left: 50%; top: 50%; z-index: 5; display: grid; place-items: center; pointer-events: none;
  transform: translate(-50%, -50%); transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1);
}
.hint-dot { position: relative; width: 64px; height: 64px; border-radius: 50%; background: rgba(8,10,26,.55); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hint-dot::after { content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M5 3l14 7-6 2-2 6z'/%3E%3C/svg%3E"); animation: tipNudge 2.2s ease-in-out infinite; }
.hint-ring { position: absolute; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--cyan); animation: hintPulse 2.2s cubic-bezier(.2,.8,.2,1) infinite; }
.hint-label { position: absolute; top: calc(100% + 12px); padding: 7px 14px; border-radius: 999px; white-space: nowrap; background: rgba(8,10,26,.7); border: 1px solid rgba(255,255,255,.15); font: 400 10px/1 var(--font-wide); letter-spacing: .18em; text-transform: uppercase; color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes hintPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.project.is-active .hover-hint { opacity: 0; transform: translate(-50%, -50%) scale(.6); }

/* Antes / depois (queima) */
.ba-label { position: absolute; bottom: 16px; z-index: 4; padding: 6px 12px; border-radius: 999px; font: 400 9.5px/1 var(--font-wide); letter-spacing: .2em; text-transform: uppercase; transition: opacity .5s; }
.ba-before { left: 16px; background: rgba(244,63,94,.15); border: 1px solid rgba(244,63,94,.4); color: #fecdd3; }
.ba-after { left: 16px; opacity: 0; background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.45); color: #cffafe; }
.project.is-active .ba-before { opacity: 0; }
.project.is-active .ba-after { opacity: 1; transition-delay: .6s; }

/* Obra 3D: indicador de progresso */
.build-visual { background: #2a1d1a; }
.build-hud {
  position: absolute; left: 16px; bottom: 16px; z-index: 4; padding: 6px 12px; border-radius: 999px;
  font: 400 9.5px/1 var(--font-wide); letter-spacing: .2em; text-transform: uppercase; font-variant-numeric: tabular-nums;
  color: #ffe2cc; background: rgba(20,12,10,.55); border: 1px solid rgba(255,160,100,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.build-hud.done { color: #cffafe; border-color: rgba(34,211,238,.55); background: rgba(6,20,26,.55); }

/* Botão com rotação (texto gira em arco e troca) */
.rot-btn {
  position: relative; display: inline-grid; overflow: hidden; border-radius: 999px; perspective: 600px;
  border: 1px solid var(--line-strong); font: 500 15px/1 var(--font-display); color: var(--text); background: rgba(255,255,255,.02);
}
.rot-size, .rot-arm { grid-area: 1 / 1; padding: 15px 28px; text-align: center; white-space: nowrap; }
.rot-size { visibility: hidden; }
.rot-arm { position: absolute; inset: 0; display: grid; place-items: center; transform-origin: 50% 320%; transition: transform .7s cubic-bezier(.34,1.56,.64,1), opacity .4s; }
.rot-a { transform: rotate(0deg); }
.rot-fill { transform: rotate(-18deg); opacity: 0; border-radius: inherit; background: linear-gradient(100deg, #1fb6e0, #4f6bff 50%, #a855f7); }
.rot-b { transform: rotate(-35deg); opacity: 0; color: #fff; }
.rot-btn:hover .rot-a, .rot-btn:focus-visible .rot-a, .project.is-active .rot-a { transform: rotate(25deg); opacity: 0; }
.rot-btn:hover .rot-fill, .rot-btn:focus-visible .rot-fill, .project.is-active .rot-fill { transform: rotate(0); opacity: 1; transition-delay: .06s; transition-timing-function: cubic-bezier(.34,1.35,.64,1); }
.rot-btn:hover .rot-b, .rot-btn:focus-visible .rot-b, .project.is-active .rot-b { transform: rotate(0); opacity: 1; transition-delay: .12s; transition-timing-function: cubic-bezier(.34,1.35,.64,1); }

/* Assistente de IA (mensagens entram girando em arco) */
.ai-visual { display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(139,92,246,.35), transparent 55%), radial-gradient(circle at 15% 90%, rgba(34,211,238,.22), transparent 50%), #080a1d; }
.ai-orbit { position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(140,160,255,.18); top: 55%; animation: spin 60s linear infinite; }
.ai-orbit::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-chat { position: relative; width: min(80%, 380px); border-radius: 22px; border: 1px solid rgba(255,255,255,.14); background: rgba(10,12,32,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); overflow: hidden; }
.ai-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ai-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #05060f; border: 1px solid rgba(120,140,255,.35); }
.ai-avatar img { width: 20px; }
.ai-head strong { display: block; font-size: 13px; }
.ai-head small { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.ai-head small i { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.ai-body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px; min-height: 230px; font-size: 12.5px; line-height: 1.4; }
.msg { max-width: 80%; padding: 9px 12px; border-radius: 14px; }
.msg-in { align-self: flex-start; background: rgba(255,255,255,.08); border-bottom-left-radius: 4px; }
.msg-out { align-self: flex-end; margin-left: auto; background: linear-gradient(100deg, #3b6bff, #8b5cf6); color: #fff; border-bottom-right-radius: 4px; }
.msg-typing { display: flex; gap: 4px; padding: 10px 12px; align-self: flex-end; border-radius: 14px; background: rgba(79,107,255,.25); transition: opacity .3s, height .3s; }
.msg-typing i { width: 5px; height: 5px; border-radius: 50%; background: #c7d2fe; animation: typing 1.2s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; } .msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.project.is-active .msg-typing { opacity: 0; height: 0; padding: 0; margin-top: -8px; }
.arm { display: flex; transform-origin: 50% 400%; transform: rotate(-35deg); opacity: 0; transition: transform .8s cubic-bezier(.34,1.56,.64,1), opacity .35s; }
.arm-2 { transform: rotate(-18deg); }
.project.is-active .arm { transform: rotate(0); opacity: 1; }
.project.is-active .arm-1 { transition-delay: .1s; }
.project.is-active .arm-2 { transition-delay: .55s; }
.project.is-active .arm-3 { transition-delay: 1s; }
.project.is-active .arm-4 { transition-delay: 1.4s; }
.msg-card { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(52,211,153,.4); background: rgba(52,211,153,.08); }
.msg-card .check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #34d399; color: #05060f; font-weight: 700; flex: none; }
.msg-card strong { display: block; font-size: 13px; }
.msg-card small { color: var(--muted); font-size: 11px; }
.msg-chip { margin: 0 auto; padding: 6px 12px; border-radius: 999px; font-size: 11px; color: #cffafe; background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.35); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--violet), transparent); opacity: .5; }
.steps li { position: relative; padding: 0 28px 0 0; }
.step-n { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); font: 400 12px/1 var(--font-wide); color: #c9d1ff; box-shadow: 0 0 20px -4px rgba(79,107,255,.6); }
.steps h3 { margin: 26px 0 8px; font: 500 16px/1.3 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* Name */
.name-card { position: relative; padding: clamp(36px, 6vw, 72px); border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(800px 400px at 100% 0%, rgba(79,107,255,.12), transparent 60%), rgba(8,10,26,.6); overflow: hidden; }
.name-word { margin: 0 0 0 -1.5%; }
.name-word img { width: min(100%, 600px); height: auto; }
.name-card .lead { margin: 20px 0 0; }
.name-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 52px; }
.name-grid h3 { margin: 0 0 10px; font: 700 16px/1 var(--font-display); letter-spacing: .12em; }
.name-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.name-tag { margin: 52px 0 0; padding-top: 28px; border-top: 1px solid var(--line); font: 400 12px/1.6 var(--font-wide); letter-spacing: .25em; text-transform: uppercase; color: #c9d1ff; }

/* Contact */
.contact { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.contact-wave {
  position: absolute; right: -15%; top: -20%; width: 70%; height: 140%; pointer-events: none; opacity: .65; filter: blur(2px);
  background:
    radial-gradient(ellipse 40% 60% at 70% 30%, rgba(79,107,255,.55), transparent 60%),
    radial-gradient(ellipse 35% 50% at 55% 75%, rgba(139,92,246,.5), transparent 60%),
    radial-gradient(ellipse 25% 35% at 85% 85%, rgba(217,70,239,.45), transparent 60%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-6%, 4%) rotate(8deg) scale(1.08); } }
.contact-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.contact-text .lead { margin-top: 22px; }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 18px; align-items: baseline; }
.contact-list span { width: 90px; font: 400 10px/1 var(--font-wide); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font: 500 17px/1.3 var(--font-display); transition: color .2s; }
.contact-list a:hover { color: var(--cyan); }
.contact-form { display: grid; gap: 14px; padding: 32px; border-radius: 24px; border: 1px solid var(--line-strong); background: rgba(6,8,20,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 80px -30px rgba(79,107,255,.5); }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 22px 16px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--text); font: 400 15px/1.4 var(--font-body); resize: vertical; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { border-color: rgba(34,211,238,.6); box-shadow: 0 0 0 3px rgba(34,211,238,.12); }
.field label { position: absolute; left: 17px; top: 16px; color: var(--muted); font-size: 15px; pointer-events: none; transition: all .2s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11px; color: #8fa0ff; letter-spacing: .04em; }
.field.invalid input, .field.invalid textarea { border-color: rgba(244, 114, 182, .7); }
.form-note { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--muted); text-align: center; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-actions .btn { justify-content: center; padding-left: 14px; padding-right: 14px; }
.btn-whats { color: #fff; background: #1faa59; border-color: transparent; }
.btn-whats:hover { background: #22c063; transform: translateY(-2px); }
.wa-icon {
  width: 18px; height: 18px; flex: none; background: center / contain no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.8 11.8 0 0 0 4.6 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.3 2.2 2.2 0 0 0 .2-1.3c-.1-.1-.2-.2-.4-.3Z'/%3E%3C/svg%3E");
}

/* Dúvidas */
.faq-list { display: grid; gap: 10px; max-width: 880px; }
.faq-list details { border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, background .25s; }
.faq-list details[open] { border-color: rgba(34,211,238,.4); background: rgba(34,211,238,.04); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none;
  font: 600 16px/1.35 var(--font-display);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--cyan); font-size: 18px; transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; border-radius: 18px; }
.faq-list p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; max-width: 760px; }

/* Botão flutuante de WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 14px;
  border-radius: 999px; background: #1faa59; color: #fff; font: 600 14px/1 var(--font-display);
  box-shadow: 0 14px 34px -10px rgba(31,170,89,.7); transition: transform .3s, opacity .3s, box-shadow .3s;
}
.wa-float .wa-icon { width: 26px; height: 26px; }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s, margin .4s; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(31,170,89,.85); }
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 160px; margin-right: 4px; }
body:not(.past-hero) .wa-float, body.touring .wa-float, body.exploring .wa-float, body.at-contact .wa-float { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-logo { width: 240px; height: auto; }
.footer p { margin: 0; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 6px; }
.footer-links a { font-size: 14px; color: #cfd5f5; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--cyan); }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer-contact a { color: #cfd5f5; }

/* Segmento → projeto: destaque do card ao chegar pelo botão do segmento */
.chips a::after { content: "→"; margin-left: 8px; opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; }
.chips a:hover::after, .chips a:focus-visible::after { opacity: 1; transform: none; }
.chips a { grid-auto-flow: column; }
.project.fx-reset, .project.fx-reset * { transition: none !important; }
.project.is-spot { border-color: rgba(34,211,238,.7); box-shadow: 0 0 0 4px rgba(34,211,238,.15), 0 30px 90px -30px rgba(34,211,238,.6); }
.project-niches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: -8px 0 24px !important; font-size: 12.5px !important; color: var(--muted); }
.project-niches span { padding: 4px 10px; border-radius: 8px; background: rgba(34,211,238,.08); color: #bdf4ff; font-size: 12px; }

/* Loja e delivery */
.shop-visual { display: grid; place-items: center; background: radial-gradient(circle at 25% 20%, rgba(34,211,238,.25), transparent 55%), radial-gradient(circle at 85% 85%, rgba(217,70,239,.25), transparent 55%), #080a1d; }
.shop-glow { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(79,107,255,.35), transparent 65%); filter: blur(10px); }
.phone {
  position: relative; width: min(46%, 250px); aspect-ratio: 9 / 16.5; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; border: 6px solid #1b1f38; background: #0b0e22; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08);
  font-size: 11px;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 10px; border-bottom: 1px solid rgba(255,255,255,.07); }
.phone-top strong { font-size: 12px; }
.cart { position: relative; font-size: 14px; }
.cart-n { position: absolute; top: -6px; right: -9px; width: 15px; height: 15px; border-radius: 50%; background: #f43f5e; color: #fff; font: 700 9px/15px var(--font-display); text-align: center; overflow: hidden; transform: scale(0); transition: transform .3s .2s cubic-bezier(.34,1.56,.64,1); }
.cart-n i { position: absolute; inset: 0; font-style: normal; opacity: 0; transition: opacity .1s; }
.shop-list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 6px; }
.shop-list li { display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 12px; background: rgba(255,255,255,.04); transition: background .3s; }
.p-img { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: rgba(255,255,255,.07); font-size: 17px; }
.shop-list div { flex: 1; min-width: 0; }
.shop-list strong { display: block; overflow: hidden; font-size: 10.5px; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.shop-list small { color: var(--muted); font-size: 10px; }
.p-add { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(34,211,238,.18); color: var(--cyan); font-weight: 700; transition: background .3s, color .3s, transform .3s; }
.shop-sheet {
  margin-top: auto; padding: 12px; border-radius: 16px 16px 0 0; background: #151a36; border-top: 1px solid rgba(255,255,255,.1);
  transform: translateY(105%); transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.shop-sheet p { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 11px; }
.paid { color: #34d399; font-weight: 600; font-size: 10px; }
.track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.track i { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.4,0,.2,1); }
.track-steps { list-style: none; display: flex; justify-content: space-between; margin: 8px 0 0; padding: 0; font-size: 9.5px; color: var(--muted); }
.track-steps li { transition: color .3s; }
.shop-toast {
  position: absolute; z-index: 3; padding: 9px 13px; border-radius: 12px; font-size: 12px; white-space: nowrap;
  background: rgba(10,12,32,.85); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(10px) scale(.95); transition: opacity .4s, transform .5s cubic-bezier(.34,1.56,.64,1);
}
.toast-a { left: 6%; top: 18%; }
.toast-b { right: 5%; bottom: 16%; }
/* Sequência: cada produto entra no carrinho, o pedido é pago e a entrega avança */
.project.is-active .shop-list li .p-add { background: #34d399; color: #05060f; transform: rotate(360deg); }
.project.is-active .shop-list li { background: rgba(52,211,153,.08); }
.project.is-active .shop-list li:nth-child(1) .p-add, .project.is-active .shop-list li:nth-child(1) { transition-delay: .2s; }
.project.is-active .shop-list li:nth-child(2) .p-add, .project.is-active .shop-list li:nth-child(2) { transition-delay: .6s; }
.project.is-active .shop-list li:nth-child(3) .p-add, .project.is-active .shop-list li:nth-child(3) { transition-delay: 1s; }
.project.is-active .cart-n { transform: scale(1); }
.project.is-active .cart-n i:nth-child(1) { opacity: 1; transition-delay: .25s; }
.project.is-active .cart-n i:nth-child(2) { opacity: 1; transition-delay: .65s; }
.project.is-active .cart-n i:nth-child(3) { opacity: 1; transition-delay: 1.05s; }
.project.is-active .shop-sheet { transform: none; transition-delay: 1.4s; }
.project.is-active .track i { transform: scaleX(1); transition-delay: 2s; }
.project.is-active .track-steps li { color: #fff; }
.project.is-active .track-steps li:nth-child(1) { transition-delay: 2s; }
.project.is-active .track-steps li:nth-child(2) { transition-delay: 2.6s; }
.project.is-active .track-steps li:nth-child(3) { transition-delay: 3.3s; color: var(--cyan); }
.project.is-active .toast-a { opacity: 1; transform: none; transition-delay: 1.8s; }
.project.is-active .toast-b { opacity: 1; transform: none; transition-delay: 3.4s; }
.project.is-peek .shop-list li:nth-child(1) .p-add { background: #34d399; color: #05060f; }

/* Frota e campo */
.fleet-visual { background: radial-gradient(circle at 70% 30%, rgba(52,211,153,.14), transparent 50%), #070918; }
.fleet-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.fleet-river { fill: none; stroke: rgba(59,130,246,.35); stroke-width: 14; stroke-linecap: round; }
.fleet-fields path { fill: rgba(52,211,153,.1); stroke: rgba(52,211,153,.35); stroke-dasharray: 4 5; }
.fleet-road { fill: none; stroke: rgba(160,175,255,.16); stroke-width: 5; stroke-linecap: round; }
.fleet-route { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.fleet-route.r1 { stroke: #22d3ee; } .fleet-route.r2 { stroke: #a855f7; } .fleet-route.r3 { stroke: #34d399; }
.fleet-depot circle { fill: #4f6bff; stroke: #c7d2fe; stroke-width: 2; }
.fleet-depot text { fill: #fff; font: 700 11px var(--font-display); text-anchor: middle; }
.fleet-truck circle { stroke: #fff; stroke-width: 3; }
.fleet-truck.t1 circle { fill: #22d3ee; } .fleet-truck.t2 circle { fill: #a855f7; } .fleet-truck.t3 circle { fill: #34d399; }
.fleet-sensor circle { fill: #34d399; }
.fleet-sensor .ping { fill: none; stroke: #34d399; stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.project.is-built-fleet .fleet-sensor .ping { animation: sensorPing 1.6s infinite; }
@keyframes sensorPing { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.fleet-panel {
  position: absolute; left: 4%; top: 6%; z-index: 2; width: min(44%, 220px); padding: 12px 14px; border-radius: 14px;
  background: rgba(8,10,26,.82); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px;
}
.fleet-kicker { margin: 0 0 6px; font: 400 8.5px/1 var(--font-wide); letter-spacing: .2em; text-transform: uppercase; color: #34d399; }
.fleet-kpi strong { display: block; font: 600 24px/1 var(--font-display); }
.fleet-kpi span { color: var(--muted); font-size: 11px; }
.fleet-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; }
.fleet-list li { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.fleet-list i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.fleet-list .c1 { background: #22d3ee; } .fleet-list .c2 { background: #a855f7; } .fleet-list .c3 { background: #34d399; }
.fleet-list b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fleet-alert {
  position: absolute; right: 4%; bottom: 7%; z-index: 2; padding: 9px 13px; border-radius: 12px; font-size: 12px;
  background: rgba(6,24,18,.88); border: 1px solid rgba(52,211,153,.5); color: #d1fae5;
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s cubic-bezier(.34,1.56,.64,1);
}
.project.is-built-fleet .fleet-alert { opacity: 1; transform: none; }

/* Plataforma de cursos e treinos */
.portal-visual { display: grid; place-items: center; background: radial-gradient(circle at 80% 20%, rgba(168,85,247,.3), transparent 55%), radial-gradient(circle at 10% 90%, rgba(34,211,238,.2), transparent 50%), #080a1d; }
.portal { position: relative; width: min(84%, 440px); border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: rgba(10,12,32,.85); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.portal-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.portal-dots { display: flex; gap: 5px; }
.portal-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.portal-body { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px; }
.portal-ring { position: relative; width: 104px; }
.portal-ring svg { display: block; width: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; }
.ring-fg { fill: none; stroke: #22d3ee; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 204; transition: stroke-dashoffset 2.6s cubic-bezier(.4,0,.2,1) .3s, stroke .6s; }
.portal-ring p { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; text-align: center; }
.portal-ring strong { position: relative; display: block; height: 20px; font: 600 18px/20px var(--font-display); }
.portal-ring strong span { position: absolute; left: 50%; transform: translateX(-50%); transition: opacity .3s; }
.pct-b { opacity: 0; color: #34d399; }
.portal-ring small { color: var(--muted); font-size: 10px; }
.portal-mods { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.portal-mods li { display: flex; align-items: center; gap: 9px; font-size: 11.5px; }
.mod-check { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); color: transparent; font-size: 11px; font-weight: 700; transition: background .3s, border-color .3s, color .3s; }
.portal-mods div { flex: 1; min-width: 0; }
.portal-mods strong { display: block; margin-bottom: 5px; font-weight: 500; }
.bar { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.portal-mods li.done .bar i { transform: scaleX(1); }
.portal-mods li.done .mod-check { background: #34d399; border-color: #34d399; color: #05060f; }
.portal-live { padding: 9px 14px; border-top: 1px solid rgba(255,255,255,.08); color: #fda4af; font-size: 11px; }
.portal-cert {
  position: absolute; right: 6%; bottom: 8%; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(10,12,32,.9); border: 1px solid rgba(52,211,153,.5); font-size: 12px;
  opacity: 0; transform: translateY(14px) scale(.92); transition: opacity .4s, transform .6s cubic-bezier(.34,1.56,.64,1);
}
.portal-cert span { font-size: 22px; }
.portal-cert strong { display: block; font-size: 13px; }
.portal-cert small { color: var(--muted); }
.project.is-active .ring-fg { stroke-dashoffset: 0; stroke: #34d399; }
.project.is-active .pct-a { opacity: 0; transition-delay: 2.6s; }
.project.is-active .pct-b { opacity: 1; transition-delay: 2.6s; }
.project.is-active .portal-mods li .bar i { transform: scaleX(1); }
.project.is-active .portal-mods li .mod-check { background: #34d399; border-color: #34d399; color: #05060f; }
.project.is-active .portal-mods .m2 .bar i, .project.is-active .portal-mods .m2 .mod-check { transition-delay: .4s; }
.project.is-active .portal-mods .m3 .bar i, .project.is-active .portal-mods .m3 .mod-check { transition-delay: 1.2s; }
.project.is-active .portal-mods .m4 .bar i, .project.is-active .portal-mods .m4 .mod-check { transition-delay: 2s; }
.project.is-active .portal-cert { opacity: 1; transform: none; transition-delay: 2.9s; }
.project.is-peek .portal-mods .m2 .bar i { transform: scaleX(.6); }

@media (max-width: 560px) {
  .phone { width: 58%; border-width: 5px; border-radius: 22px; }
  .shop-toast { font-size: 10.5px; padding: 7px 10px; }
  .toast-a { left: 3%; top: 8%; }
  .toast-b { right: 3%; bottom: 6%; }
  .fleet-panel { width: 50%; padding: 9px 10px; }
  .fleet-kpi strong { font-size: 18px; }
  .fleet-list li { font-size: 10px; }
  .fleet-alert { font-size: 10.5px; left: 4%; right: 4%; text-align: center; }
  .portal { width: 92%; }
  .portal-body { gap: 10px; padding: 12px; }
  .portal-ring { width: 78px; }
  .portal { margin-bottom: 52px; }
  .portal-cert { right: 4%; bottom: 4%; padding: 8px 10px; }
}

/* Acessibilidade: foco visível no teclado e atalho para o conteúdo */
:where(a, button, summary, input, textarea, [tabindex]):focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200; padding: 12px 18px; border-radius: 12px;
  background: var(--grad); color: #fff; font: 600 14px/1 var(--font-display); transition: top .2s;
}
.skip-link:focus { top: 16px; }
.form-consent { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.form-title { margin: 0 0 2px; font: 600 18px/1.3 var(--font-display); }
#sendWhats { justify-content: center; gap: 10px; min-height: 52px; font-size: 16px; }
.form-alt { justify-self: center; padding: 6px 4px; color: #cfd5f5; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.form-alt:hover { color: var(--cyan); }
.form-consent a, .footer-legal-links a { color: #cfd5f5; text-decoration: underline; text-underline-offset: 3px; }
.form-consent a:hover, .footer-legal-links a:hover, .footer-social a:hover { color: var(--cyan); }
.footer-social { display: flex; justify-content: center; gap: 18px; }
.footer-social[hidden] { display: none; }
.footer-social a { color: #cfd5f5; font-size: 14px; }
.footer-legal-links { font-size: 12.5px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover { transform: translateY(-4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .concept { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 64px 16px auto 16px; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px; border-radius: 18px; border: 1px solid var(--line-strong); background: rgba(6,8,20,.95); backdrop-filter: blur(16px);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 14px 12px; font-size: 16px; color: var(--text); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 8px; }
  .hero { flex-direction: column; align-items: stretch; padding-top: 64px; }
  .hero-title { max-width: none; }
  .hero-sphere { position: relative; top: auto; right: auto; transform: none; align-self: center; width: min(112vw, 640px); margin-bottom: -22vw; touch-action: pan-y; }
  .scroll-hint { display: none; }
  .project, .project:nth-child(even), .contact-inner, .name-grid { grid-template-columns: 1fr; }
  .project:nth-child(even) .project-visual { order: 0; }
  .project-visual { min-height: 0; aspect-ratio: 16 / 10; }
  .ai-visual { aspect-ratio: 4 / 4.2; }
  .shop-visual { aspect-ratio: 4 / 5.2; }
  .portal-visual { aspect-ratio: 4 / 4.4; }
  .fleet-visual { aspect-ratio: 4 / 4; }
  .project-info { padding: 26px 22px 30px; }
  .contact-inner { gap: 40px; }
  .chips { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .container, .section.container { padding-left: 16px; padding-right: 16px; }
  .nav { padding-left: 16px; padding-right: 16px; }
  .cards, .steps { grid-template-columns: 1fr; }
  /* Celular: cartões e etapas em formato compacto (ícone ao lado do texto) para encurtar a rolagem */
  .cards { gap: 10px; }
  .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 16px 16px 18px; }
  .card .icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; }
  .card .icon svg { width: 22px; height: 22px; }
  .card h3 { margin: 2px 0 4px; font-size: 13px; }
  .card p { grid-column: 2; font-size: 14px; }
  .steps { row-gap: 22px; }
  .steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 0; }
  .steps .step-n { grid-row: span 2; }
  .steps h3 { margin: 4px 0 4px; }
  .steps p { grid-column: 2; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .eyebrow { font-size: 9px; letter-spacing: .18em; white-space: nowrap; }
  .hero-stats { gap: 22px; margin-top: 44px; }
  .hero-stats li { flex: 1 1 40%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .contact-form { padding: 22px; }
  .contact-list li { flex-direction: column; gap: 6px; }
  .field-row, .form-actions { grid-template-columns: 1fr; }
  .chips a { min-height: 48px; padding: 10px 12px; font-size: 14px; border-radius: 16px; }
  .faq-list summary { padding: 18px; font-size: 15px; }
  .faq-list p { padding: 0 18px 18px; }
  .wa-float { right: 14px; bottom: 14px; }
}
/* ---------- Tour guiado ---------- */
.btn-play {
  display: inline-flex; align-items: center; gap: 12px; padding: 4px 16px 4px 4px; border: 0; border-radius: 999px;
  background: none; color: var(--text); font: 500 15px/1 var(--font-display); letter-spacing: .02em; cursor: pointer; white-space: nowrap;
}
.play-ring {
  position: relative; width: 42px; height: 42px; border-radius: 50%; flex: none;
  border: 1px solid rgba(34, 211, 238, .55); background: rgba(34, 211, 238, .08); transition: background .3s, transform .3s;
}
.play-ring::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; transform: translateX(2px);
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6 3.5v17l14-8.5z'/%3E%3C/svg%3E");
}
.play-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--cyan); animation: hintPulse 2.2s cubic-bezier(.2,.8,.2,1) infinite; }
.btn-play:hover .play-ring { background: linear-gradient(100deg, #1fb6e0, #4f6bff 50%, #a855f7); transform: scale(1.06); }

body.touring { overflow: hidden; }
.tour { position: fixed; inset: 0; z-index: 100; pointer-events: none; color: var(--text); opacity: 0; transition: opacity .45s; }
.tour.open { opacity: 1; }
.tour[hidden] { display: none; }
/* Fundo escuro enquanto a palavra se forma; some quando o tour mostra a seção */
.tour-scrim {
  position: absolute; inset: 0; transition: opacity .9s cubic-bezier(.2,.8,.2,1);
  background: radial-gradient(900px 600px at 50% 40%, rgba(79,107,255,.16), transparent 70%), rgba(3,4,11,.9);
}
.tour.is-reveal .tour-scrim { opacity: 0; }
.tour-stage { position: absolute; inset: 0; }
.tour-stage canvas { display: block; width: 100%; height: 100%; }
.tour.loading .tour-stage::after {
  content: ""; position: absolute; left: 50%; top: 40%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 2px solid rgba(34,211,238,.2); border-top-color: var(--cyan); animation: spin 0.9s linear infinite;
}
/* Legenda: aparece só enquanto a palavra se forma, sobre o fundo escuro */
.tour-caption {
  position: absolute; left: 50%; bottom: 96px; width: min(640px, calc(100% - 40px)); transform: translateX(-50%);
  text-align: center; transition: opacity .35s, transform .35s;
}
.tour-caption.is-out, .tour.is-reveal .tour-caption { opacity: 0; transform: translate(-50%, 8px); }
.tour-kicker { margin: 0 0 10px; min-height: 1em; font: 400 11px/1 var(--font-wide); letter-spacing: .28em; text-transform: uppercase; color: var(--cyan); }
.tour-text { margin: 0; font: 500 clamp(15px, 1.5vw, 19px)/1.45 var(--font-display); color: #dfe5ff; }
/* Barra fina de controles, fora do caminho do conteúdo */
.tour-bar {
  position: absolute; left: 50%; bottom: 16px; width: min(560px, calc(100% - 24px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; pointer-events: auto;
  border: 1px solid var(--line-strong); background: rgba(6,8,20,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.8);
}
.tour-actions { display: flex; align-items: center; gap: 6px; flex: 1; }
.tour-actions[hidden] { display: none; }
.tour-actions .btn { flex: 1; justify-content: center; padding: 10px 16px; font-size: 14px; }
.tour.is-cta .tour-progress, .tour.is-cta .tour-count, .tour.is-cta .tour-pause { display: none; }
.tour-btn {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--text); font: 500 13px/1 var(--font-display);
  transition: border-color .25s, background .25s;
}
.tour-btn:hover, .tour-btn:focus-visible { border-color: rgba(34,211,238,.7); background: rgba(34,211,238,.1); outline: none; }
.tour-pause::before { content: ""; width: 8px; height: 10px; border-inline: 3px solid currentColor; box-sizing: border-box; }
.tour-pause.is-paused::before {
  border: 0; width: 11px; height: 11px; transform: translateX(1px);
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6 3.5v17l14-8.5z'/%3E%3C/svg%3E");
}
.tour-progress { display: flex; gap: 4px; flex: 1; padding: 0 4px; }
.tour-progress button { flex: 1; height: 16px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.tour-progress button::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); }
.tour-progress i { position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 8px rgba(34,211,238,.6); }
.tour-count { margin: 0 2px; font: 400 10px/1 var(--font-wide); letter-spacing: .14em; color: #c9d1ff; white-space: nowrap; }
.tour-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 560px) {
  .tour-caption { bottom: 84px; }
  .tour-kicker { font-size: 9.5px; letter-spacing: .16em; }
  .tour-bar { bottom: 10px; }
  .tour-count { display: none; }
}

/* ---------- Consulta por andar ---------- */
/* Botão sobre a imagem da obra: sempre visível, com brilho pulsando para chamar o toque */
.build-explore {
  position: absolute; right: 14px; top: 14px; z-index: 6; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px 10px 14px;
  border: 0; border-radius: 999px; background: var(--grad); color: #fff; cursor: pointer; font: 600 13.5px/1 var(--font-display);
  box-shadow: 0 10px 30px -8px rgba(79,107,255,.8), 0 0 0 1px rgba(255,255,255,.18) inset; transition: transform .25s, box-shadow .25s;
  animation: exploreGlow 2.4s ease-in-out infinite;
}
.build-explore:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(79,107,255,.95), 0 0 0 1px rgba(255,255,255,.3) inset; }
@keyframes exploreGlow { 0%, 100% { box-shadow: 0 10px 30px -8px rgba(79,107,255,.8), 0 0 0 1px rgba(255,255,255,.18) inset; } 50% { box-shadow: 0 10px 40px -4px rgba(34,211,238,.9), 0 0 0 1px rgba(255,255,255,.3) inset; } }
.build-explore-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
.build-explore-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #fff; animation: hintPulse 1.8s infinite; }
/* Cartão-botão no texto do projeto: ação principal da construção */
.explore-card {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; max-width: 440px; margin: 0 0 18px; padding: 14px 16px; overflow: hidden;
  border: 1px solid rgba(34,211,238,.45); border-radius: 18px; background: linear-gradient(120deg, rgba(34,211,238,.14), rgba(139,92,246,.16)); color: var(--text);
  text-align: left; cursor: pointer; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.explore-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%); transform: translateX(-100%); animation: cardShine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes cardShine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.explore-card:hover { transform: translateY(-2px); border-color: rgba(34,211,238,.8); box-shadow: 0 16px 40px -18px rgba(34,211,238,.7); }
.ec-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(79,107,255,.9); }
.ec-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ec-text { display: grid; gap: 3px; flex: 1; min-width: 0; }
.ec-text strong { font: 600 15.5px/1.2 var(--font-display); }
.ec-text small { color: #b9c3ee; font-size: 12.5px; line-height: 1.35; }
.ec-arrow { flex: none; color: var(--cyan); font-size: 20px; transition: transform .25s; }
.explore-card:hover .ec-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .build-explore, .explore-card::after { animation: none; } }

body.exploring { overflow: hidden; }
.explorer { position: fixed; inset: 0; z-index: 95; background: #05060f; color: var(--text); opacity: 0; transition: opacity .45s; }
.explorer.open { opacity: 1; }
.explorer[hidden] { display: none; }
.explorer-view { position: absolute; inset: 0; overflow: hidden; }
.explorer-svg { width: 100%; height: 100%; display: block; }
.explorer-view::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,6,15,.75), transparent 22%, transparent 70%, rgba(5,6,15,.7)); transition: background .6s; }
.explorer.is-floor .explorer-view::after { background: rgba(5,6,15,.84); }
.ex-floor { fill: rgba(34,211,238,0); stroke: none; stroke-width: 2; cursor: pointer; transition: fill .2s, stroke .2s; }
.ex-tower.is-current .ex-floor { stroke: rgba(255,255,255,.08); }
.ex-floor:hover, .ex-floor.is-hot { fill: rgba(34,211,238,.45); stroke: #a5f3fc; stroke-width: 3; filter: drop-shadow(0 0 10px rgba(34,211,238,.9)); }
.explorer-tip {
  position: absolute; z-index: 3; min-width: 210px; padding: 14px 16px; border-radius: 14px; pointer-events: none;
  border: 1px solid rgba(34,211,238,.45); background: rgba(6,8,20,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); font-size: 13px; transform: translateY(-50%);
}
.explorer-tip[hidden] { display: none; }
.explorer-tip strong { display: block; margin-bottom: 6px; font: 600 15px/1.2 var(--font-display); }
.explorer-tip span { display: block; color: var(--muted); }
.explorer-tip b { color: #34d399; font-weight: 600; }
.explorer-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; align-items: center; gap: 16px;
  padding: 16px max(16px, calc((100% - var(--container)) / 2 + 24px));
}
.explorer-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.explorer-brand img { width: 30px; }
.explorer-brand p { margin: 0; font: 600 16px/1.1 var(--font-display); }
.explorer-brand small { font: 400 9.5px/1 var(--font-wide); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.explorer-towers { display: flex; gap: 6px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(6,8,20,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.explorer-towers button { padding: 9px 14px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 500 13px/1 var(--font-display); cursor: pointer; white-space: nowrap; }
.explorer-towers button[aria-selected="true"] { background: var(--grad); color: #fff; }
.explorer-stack {
  position: absolute; right: max(16px, calc((100% - var(--container)) / 2 + 24px)); top: 50%; z-index: 4; transform: translateY(-50%);
  display: flex; flex-direction: column-reverse; gap: 3px; max-height: 66vh; overflow: auto; padding: 8px; border-radius: 16px;
  border: 1px solid var(--line-strong); background: rgba(6,8,20,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: opacity .4s;
}
.explorer-stack button {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 132px; padding: 7px 10px; border: 0; border-radius: 8px;
  background: none; color: var(--text); font: 500 12.5px/1 var(--font-display); cursor: pointer; flex: none;
}
.explorer-stack button i { font-style: normal; font-size: 11px; color: #34d399; }
.explorer-stack button i.none { color: var(--muted); }
.explorer-stack button:hover, .explorer-stack button.is-hot { background: rgba(34,211,238,.16); }
.explorer.is-floor .explorer-stack, .explorer.is-floor .explorer-tip { opacity: 0; pointer-events: none; }
.explorer-floor {
  position: absolute; top: 84px; bottom: 44px; left: max(16px, calc((100% - var(--container)) / 2 + 24px)); right: max(16px, calc((100% - var(--container)) / 2 + 24px));
  z-index: 5; display: flex; flex-direction: column; gap: 18px; animation: floorIn .6s cubic-bezier(.2,.8,.2,1);
}
.explorer-floor[hidden] { display: none; }
@keyframes floorIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.floor-head { display: flex; align-items: center; gap: 14px; }
.floor-kicker { margin: 0 0 6px; font: 400 10px/1 var(--font-wide); letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.floor-head h3 { margin: 0; font: 600 clamp(20px, 2.4vw, 28px)/1.1 var(--font-display); }
.floor-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
/* Planta 3D realista do andar, com as unidades marcadas por cima */
.floor-plan { position: relative; height: 100%; min-height: 0; display: grid; place-items: center; }
.floor-shot { position: relative; width: min(100%, (100vh - 250px) * 1.5); aspect-ratio: 3 / 2; animation: shotIn 1s cubic-bezier(.2,.8,.2,1); }
body.touring .floor-shot { width: min(100%, (100vh - 300px) * 1.5); }
@keyframes shotIn { from { opacity: 0; transform: perspective(1200px) rotateX(18deg) scale(.92); } }
.floor-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; -webkit-mask: radial-gradient(closest-side, #000 82%, transparent); mask: radial-gradient(130% 120% at 50% 50%, #000 62%, transparent 80%); }
.floor-shot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.shot-unit { fill: transparent; stroke: transparent; stroke-width: 4; cursor: pointer; transition: fill .25s, stroke .25s; }
.shot-unit.livre.is-hot { fill: rgba(52,211,153,.22); stroke: #6ee7b7; }
.shot-unit.reservado.is-hot { fill: rgba(251,191,36,.2); stroke: #fcd34d; }
.shot-unit.vendido.is-hot { fill: rgba(244,63,94,.2); stroke: #fda4af; }
.shot-pin {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 8px; transform: translate(-50%, -50%);
  border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(6,8,20,.78); color: #fff; cursor: pointer;
  font: 600 12px/1 var(--font-display); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .25s, border-color .25s;
}
.shot-pin i { width: 8px; height: 8px; border-radius: 50%; }
.shot-pin.livre i { background: #34d399; box-shadow: 0 0 8px #34d399; }
.shot-pin.reservado i { background: #fbbf24; }
.shot-pin.vendido i { background: #f43f5e; }
.shot-pin.is-hot { transform: translate(-50%, -50%) scale(1.12); border-color: var(--cyan); }
/* Tour 3D pelo apartamento */
.ex-tour3d { position: absolute; inset: 0; z-index: 8; background: #05060f; overflow: hidden; animation: floorIn .5s cubic-bezier(.2,.8,.2,1); }
.ex-tour3d[hidden] { display: none; }
.t3d-stage { position: absolute; inset: 0; cursor: grab; touch-action: none; }
.t3d-stage:active { cursor: grabbing; }
.t3d-stage canvas { display: block; width: 100%; height: 100%; }
.t3d-fade { position: absolute; inset: 0; pointer-events: none; background: #05060f; opacity: 0; transition: opacity .38s; }
.ex-tour3d.is-moving .t3d-fade { opacity: 1; }
.ex-tour3d.loading .t3d-fade::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 2px solid rgba(34,211,238,.2); border-top-color: var(--cyan); animation: spin .9s linear infinite;
}
.ex-tour3d::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(5,6,15,.7), transparent 20%, transparent 72%, rgba(5,6,15,.75)); }
.t3d-spots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.t3d-spot {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: #fff;
  cursor: pointer; pointer-events: auto; transition: opacity .3s;
}
.t3d-spot i {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; font-style: normal; font: 600 18px/1 var(--font-display);
  border: 2px solid rgba(255,255,255,.85); background: rgba(6,8,20,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.t3d-spot.go i { border-color: var(--cyan); }
.t3d-spot.go i::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--cyan); animation: hintPulse 2s infinite; }
.t3d-spot.info i { width: 30px; height: 30px; font-size: 16px; }
.t3d-spot span {
  padding: 8px 12px; border-radius: 999px; white-space: nowrap; font: 500 13px/1 var(--font-display);
  background: rgba(6,8,20,.78); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.t3d-spot.go span, .t3d-spot:hover span, .t3d-spot:focus-visible span, .t3d-spot.is-open span { opacity: 1; transform: none; }
.t3d-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px max(16px, calc((100% - var(--container)) / 2 + 24px));
}
.t3d-kicker { font: 400 9.5px/1 var(--font-wide); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.t3d-room { margin: 6px 0 0; font: 600 clamp(20px, 2.4vw, 28px)/1.1 var(--font-display); }
.t3d-hint { position: absolute; left: 50%; top: 84px; z-index: 3; margin: 0; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(6,8,20,.6); font-size: 12px; color: #cdd4f5; white-space: nowrap; pointer-events: none; animation: hintFade 6s forwards; }
@keyframes hintFade { 0%, 75% { opacity: 1; } 100% { opacity: 0; } }
.t3d-rooms {
  position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; display: flex; gap: 8px; width: max-content; max-width: calc(100% - 24px); margin: 0 auto; overflow-x: auto; scrollbar-width: none;
  padding: 6px; border-radius: 18px; border: 1px solid var(--line-strong); background: rgba(6,8,20,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.t3d-rooms button { display: flex; align-items: center; gap: 10px; flex: none; padding: 5px 14px 5px 5px; border: 1px solid transparent; border-radius: 13px; background: none; color: var(--text); font: 500 13px/1 var(--font-display); cursor: pointer; }
.t3d-rooms img { width: 54px; height: 36px; object-fit: cover; border-radius: 9px; }
.t3d-rooms button[aria-current="true"] { border-color: rgba(34,211,238,.6); background: rgba(34,211,238,.1); }
.t3d-photo { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; gap: 12px; margin: 0; padding: 80px 16px; background: rgba(3,4,11,.86); text-align: center; }
.t3d-photo[hidden] { display: none; }
.t3d-photo img { width: min(960px, 100%, (100vh - 220px) * 1.5); aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.t3d-photo figcaption { font: 600 15px/1.3 var(--font-display); }
.t3d-photo .tour-btn { position: absolute; top: 18px; right: max(16px, calc((100% - var(--container)) / 2 + 24px)); }
body.touring .t3d-rooms { bottom: 84px; }
@media (max-width: 560px) {
  .t3d-rooms button span { display: none; }
  .t3d-rooms button { padding: 5px; }
  .t3d-spot span { font-size: 12px; }
  .t3d-hint { top: 76px; width: calc(100% - 32px); white-space: normal; text-align: center; }
}
.unit-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; }
.unit-actions .unit-cta { margin: 0; }
.floor-units { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 100%; overflow: auto; }
.floor-units li {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(8,10,26,.78); transition: border-color .25s, background .25s;
}
.floor-units li.is-hot { border-color: rgba(34,211,238,.6); background: rgba(34,211,238,.08); }
.floor-units strong { font: 600 14px/1.2 var(--font-display); }
.floor-units small { color: var(--muted); font-size: 12.5px; }
.floor-units .price { font: 600 14px/1.2 var(--font-display); text-align: right; }
.unit-status { justify-self: end; align-self: start; padding: 4px 9px; border-radius: 999px; font: 400 9px/1 var(--font-wide); letter-spacing: .12em; text-transform: uppercase; }
.unit-status.livre { color: #6ee7b7; background: rgba(52,211,153,.12); }
.unit-status.reservado { color: #fcd34d; background: rgba(251,191,36,.12); }
.unit-status.vendido { color: #fda4af; background: rgba(244,63,94,.12); }
.unit-cta { grid-column: 1 / -1; justify-self: start; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--cyan); font: 500 13px/1 var(--font-display); cursor: pointer; }
.unit-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.explorer-note { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin: 0; padding: 0 16px; text-align: center; font-size: 11.5px; color: rgba(154,163,199,.8); }
.explorer-cta { padding: 7px 14px; border-radius: 999px; background: var(--grad); color: #fff; font: 600 12.5px/1 var(--font-display); white-space: nowrap; }
.explorer-cta:hover { filter: brightness(1.1); }
body.touring .explorer-note { display: none; }
body.touring .explorer-floor { bottom: 90px; }
body.touring .explorer-stack { max-height: calc(100vh - 220px); }
/* No computador o painel não existe como caixa: a lista fica à direita e o aviso embaixo */
.explorer-dock { display: contents; }
.explorer-hint { display: none; }
/* Andares da torre escolhida ficam levemente marcados, para mostrar que dá para tocar */
.ex-tower.is-current .ex-floor { fill: rgba(34,211,238,.05); stroke: rgba(165,243,252,.22); }
@media (max-width: 820px) {
  .explorer-top { flex-wrap: wrap; gap: 10px; }
  .explorer-towers { order: 3; width: 100%; overflow-x: auto; }
  .explorer-dock {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; flex-direction: column; gap: 10px;
    padding: 28px max(16px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px));
    background: linear-gradient(180deg, transparent, rgba(5,6,15,.92) 26px);
  }
  .explorer-hint { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 14px/1.3 var(--font-display); color: #fff; }
  .hint-pulse { position: relative; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
  .hint-pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--cyan); animation: hintPulse 1.8s infinite; }
  .explorer-stack {
    position: static; transform: none; flex-direction: row; gap: 8px; max-height: none; overflow-x: auto; padding: 0;
    border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .explorer-stack button {
    min-width: 84px; min-height: 56px; flex-direction: column; justify-content: center; gap: 5px; padding: 8px 12px; scroll-snap-align: start;
    border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(12,15,36,.9); font-size: 14px;
  }
  .explorer-note { position: static; padding: 0; justify-content: flex-start; text-align: left; font-size: 11px; }
  .explorer-cta { padding: 9px 14px; font-size: 13px; }
  body.touring .explorer-dock { bottom: 74px; }
  .explorer.is-floor .explorer-dock { display: none; }
  .explorer-floor { top: 128px; bottom: 0; padding-bottom: 24px; overflow: auto; }
  .floor-body { grid-template-columns: 1fr; align-items: start; }
  .floor-plan { min-height: 220px; height: auto; }
  .floor-units { max-height: none; overflow: visible; }
}

/* Animações reduzidas no sistema: tira só os movimentos grandes (rolagem suave, deslocamentos ao rolar) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; }
  .marquee-track { animation-duration: 80s; }
}
