
.section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.foot-logo {
  height: 46px;
  width: auto;
  margin-bottom: .6rem;
  opacity: .95;
}

.display-title {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -.01em;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

.display-title.lower {
  text-transform: none;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}

.display-condensed {
  font-family: "Barlow Condensed", "DM Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: .95;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.tag-black {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: .55rem 1rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: clamp(.62rem, 1.6vw, .8rem);
  font-weight: 500;
}

.link-arrow {
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
  font-size: .85rem;
  display: inline-flex;
  gap: .6rem;
  align-items: center;
}

.link-arrow i {
  color: var(--orange);
  font-size: 1.2rem;
  transition: transform .25s;
}

.link-arrow:hover i {
  transform: translateX(6px);
}

.num {
  color: var(--orange);
  font-weight: 700;
}

.phone {
  width: 400px;
}
/* playground */
#playground .lab-stage.pg-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  min-height: 230px;
  padding: 1.25rem;
  overflow: hidden;
  --pg-accent: var(--bs-primary, #e4572e);
}

#playground .pg-stage button {
  font-family: inherit;
}

#playground .pg-stage button:focus-visible {
  outline: 2px solid var(--pg-accent);
  outline-offset: 3px;
}
#playground .lab.lab2.h-100.is-code h3{
  color: var(--orange);
}
/* Theme switch  */
#playground .pg-preview {
  display: grid;
  gap: 8px;
  width: 150px;
  padding: 14px;
  border-radius: 12px;
  background: #fbf6ef;
  color: #2a2018;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}

#playground .pg-pv-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pg-accent);
}

#playground .pg-pv-line {
  height: 6px;
  border-radius: 3px;
  background: currentColor;
  opacity: .25;
}

#playground .pg-pv-line.short {
  width: 60%;
}

#playground .pg-switch {
  position: relative;
  width: 58px;
  height: 32px;
  padding: 3px;
  border: 0;
  border-radius: 999px;
  background: #d9cdbf;
  cursor: pointer;
  transition: background-color .3s ease;
}

#playground .pg-switch.is-on {
  background: var(--pg-accent);
}

#playground .pg-knob {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--pg-accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

#playground .pg-knob i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: .85rem;
  line-height: 1;
}

/* Button states  */
#playground .pg-send {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--pg-accent);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

#playground .pg-send>svg {
  position: absolute;
  width: 24px;
  height: 24px;
  opacity: 0;
  pointer-events: none;
}

#playground .pg-status {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .06em;
  opacity: .6;
}

/*  Copy  */
#playground .pg-copy {
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem .4rem .4rem .9rem;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  border-radius: 12px;
  font-size: .85rem;
}

#playground .pg-copy code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

#playground .pg-copy-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--pg-accent);
  color: #fff;
  cursor: pointer;
  transition: background-color .25s ease;
}

#playground .pg-copy-btn.is-done {
  background: #2f9e6b;
}

#playground .pg-tip {
  position: absolute;
  left: 50%;
  top: -2.2rem;
  padding: .25rem .6rem;
  border-radius: 8px;
  background: #1b1209;
  color: #fff;
  font-size: .72rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

/*  Accordion  */
#playground .pg-acc {
  width: 100%;
}

#playground .pg-acc-item {
  border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

#playground .pg-acc-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  padding: .75rem 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: .88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

#playground .pg-acc-q i {
  display: inline-block;
  color: var(--pg-accent);
}

#playground .pg-acc-a {
  height: 0;
  overflow: hidden;
}

#playground .pg-acc-a p {
  margin: 0 0 .8rem;
  font-size: .8rem;
  opacity: .75;
}
#playground .lab2 {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    background-color: #fffaf3;
    padding: 12px;
    border-radius: 20px;
}

.icon-ring {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background .25s, color .25s;
}

.icon-ring.dark {
  border-color: var(--ink);
  color: var(--ink);
}

.icon-ring:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}


/* Faixa em movimento */
.band {
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: 1.1rem 0;
  position: relative;
  z-index: 1;
  transform: rotate(-1.2deg);
  margin: clamp(1.5rem, 4vw, 3rem) -2% 0;
}

.band-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  font: 700 clamp(2.4rem, 7vw, 5.5rem)/1 "Barlow Condensed", "DM Sans", sans-serif;
  text-transform: uppercase;
}

.band-track i {
  color: var(--orange);
  font-style: normal;
  font-size: .6em;
}

.band-track .o {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
}

.lab {
  will-change: transform;
}

.static .band {
  transform: none;
}

/* Editor de código (reutilizável) */
.ide {
  background: #181818;
  color: #d9d9d9;
  border-radius: .9rem;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .22);
}

.ide-bar {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .6rem .9rem;
  background: #101010;
  min-width: 0;
}

.ide-bar .dots {
  margin: 0;
  flex: 0 0 auto;
}

.ide-tab {
  font-size: .72rem;
  padding: .3rem .8rem;
  border-radius: .4rem .4rem 0 0;
  color: #8a8a8a;
  white-space: nowrap;
}

.ide-tab.active {
  background: #181818;
  color: #fff;
  box-shadow: inset 0 -2px var(--orange);
}

.ide-file {
  font-size: .7rem;
  color: #8a8a8a;
  white-space: nowrap;
}

.crow .k {
  color: #ff7ab2;
}

/* Hero */
.v2-hero {
  position: relative;
  min-height: 100vh;
  padding: 7rem 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  --H: min(94vh, 980px);
  --W: calc(var(--H) * .813);
}

.v2-hero-inner {
  position: relative;
  z-index: 4;
  padding-bottom: 5rem;
}

.v2-title {
  font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.015em;
  font-size: clamp(3.6rem, 10vw, 9rem);
  margin: 0;
}

.v2-title .mask {
  padding-top: .24em;
  margin-top: -.24em;
}

.v2-title .ch {
  display: inline-block;
  will-change: transform;
}

.v2-lead {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.v2-lead em {
  font-style: normal;
  color: var(--orange);
}

.v2-sub {
  max-width: 36ch;
  color: #4a443c;
  margin-bottom: 1.6rem;
}

.v2-stage {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(62%, 1000px);
  z-index: 1;
  pointer-events: none;
}

.v2-grid {
  position: absolute;
  left: 6%;
  top: 8%;
  width: 46%;
  height: 42%;
  opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
}

.v2-circle {
  position: absolute;
  right: calc(2% - var(--W) * .04);
  bottom: calc(var(--H) * .14);
  width: calc(var(--W) * 1.08);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a3d, var(--orange) 60%, #d9540f);
  z-index: 2;
}

.v2-brush {
  position: absolute;
  right: calc(2% + var(--W) * .86);
  bottom: 18%;
  width: 9%;
  height: 30%;
  background: var(--ink);
  clip-path: polygon(0 20%, 100% 0, 85% 100%, 10% 90%);
  transform: rotate(18deg);
  z-index: 2;
  opacity: .9;
}

.v2-photo {
  position: absolute;
  right: 2%;
  bottom: 0;
  height: var(--H);
  width: auto;
  max-width: none;
  z-index: 3;
  -webkit-mask-image: linear-gradient(#000 84%, transparent 100%);
  mask-image: linear-gradient(#000 84%, transparent 100%);
}

.fc {
  position: absolute;
  z-index: 5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.fc-chip {
  background: #fff;
  border-radius: 99px;
  padding: .55rem 1rem;
  font-weight: 700;
  font-size: .85rem;
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  white-space: nowrap;
}

.fc-chip i {
  color: var(--orange);
}

.fc-react {
  background: var(--ink);
  color: #fff;
}

.fc-react i {
  display: inline-block;
  animation: v2spin 4s linear infinite;
}

.fc-editor {
  left: 7%;
  bottom: 10%;
  width: min(330px, 44%);
  border-radius: .7rem;
  overflow: hidden;
}

.fc-editor pre.code {
  font-size: .7rem;
  padding: .8rem .8rem .8rem .4rem;
}

.fc-design {
  left: 20%;
  top: 30%;
}

.fc-code {
  right: 1%;
  top: 40%;
}

.fc-react {
  right: 6%;
  bottom: 7%;
}

.v2-cue {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 1rem;
  text-align: center;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6a645a;
}

.v2-cue i {
  color: var(--orange);
  display: inline-block;
  animation: bob 1.4s ease-in-out infinite;
}

@media (max-width: 991.98px) {
  .v2-hero {
    justify-content: flex-start;
    --H: min(118vw, 560px);
  }

  .v2-hero-inner {
    order: 1;
    padding-bottom: 0;
  }

  .v2-stage {
    order: 2;
    position: relative;
    width: 100%;
    height: var(--H);
    margin-top: 1.5rem;
  }

  .v2-photo {
    right: 0;
    left: 0;
    margin: 0 auto;
  }

  .v2-circle {
    right: auto;
    left: 50%;
    margin-left: calc(var(--W) * -.54);
  }

  .v2-brush,
  .v2-grid {
    display: none;
  }

  .fc-editor {
    left: 2%;
    bottom: 4%;
    width: 54%;
  }

  .fc-design {
    left: 2%;
    top: 14%;
  }

  .fc-code {
    right: 2%;
    top: 26%;
  }

  .fc-react {
    right: 2%;
    bottom: 10%;
  }

  .v2-cue {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .fc-chip {
    font-size: .72rem;
    padding: .4rem .75rem;
  }

  .fc-editor pre.code {
    font-size: .58rem;
  }
}

.v2-pill {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 99px;
  padding: .4rem .9rem;
  font-size: .85rem;
  font-weight: 500;
}

.v2-pill i {
  color: var(--orange);
}

.v2-pill--soft {
  border-style: dashed;
  border-color: var(--orange);
}

/* Design ⇄ Code */
.dc {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .22);
  user-select: none;
  -webkit-user-select: none;
  background: #181818;
  --pos: 92%;
}

@media (max-width: 575.98px) {
  .dc {
    aspect-ratio: 4 / 5;
  }
}

.dc-layer {
  position: absolute;
  inset: 0;
}

.dc-code {
  display: flex;
  flex-direction: column;
}

.dc-code pre.code {
  flex: 1;
  font-size: clamp(.6rem, 1.25vw, .8rem);
}

.dc-design {
  background: #efe9df;
  display: flex;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  color: var(--ink);
}

.dd-side {
  flex: 0 0 24%;
  background: #fff;
  border-right: 1px solid rgba(0, 0, 0, .1);
  padding: 1rem .8rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  font-size: .68rem;
}

.dd-side .in {
  padding-left: .9rem;
  opacity: .65;
}

.dd-canvas {
  flex: 1;
  position: relative;
  display: grid;
  place-items: center;
  background-image: radial-gradient(rgba(0, 0, 0, .2) 1px, transparent 1.2px);
  background-size: 18px 18px;
  min-width: 0;
}

.dd-frame {
  position: relative;
  width: min(64%, 300px);
  padding: 12px;
  outline: 1.5px solid var(--orange);
}

.dd-frame .h {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border: 1.5px solid var(--orange);
}

.h1 {
  left: -5px;
  top: -5px;
}

.h2 {
  right: -5px;
  top: -5px;
}

.h3 {
  left: -5px;
  bottom: -5px;
}

.h4 {
  right: -5px;
  bottom: -5px;
}

.dd-tag {
  position: absolute;
  left: -1px;
  top: -24px;
  font-size: .6rem;
  background: var(--orange);
  color: #fff;
  padding: .1rem .5rem;
  border-radius: 3px;
  white-space: nowrap;
}

.dd-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.dd-img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: linear-gradient(120deg, #d8d1c4 0 45%, #8b857a 45%);
  margin-bottom: 10px;
}

.dd-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}

.dd-card p {
  font-size: .75rem;
  margin: .2rem 0 .8rem;
  color: #6a645a;
}

.dd-btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  border-radius: 99px;
  padding: .35rem .9rem;
  font-size: .7rem;
  font-weight: 700;
}

.dd-meas {
  position: absolute;
  font-size: .58rem;
  color: var(--orange);
  background: #fff;
  border: 1px solid var(--orange);
  border-radius: 3px;
  padding: 0 .3rem;
}

.dd-meas--a {
  right: -30px;
  top: 36%;
}

.dd-meas--b {
  left: 22px;
  bottom: -22px;
}

.dd-cursor {
  position: absolute;
  right: 9%;
  bottom: 14%;
  color: var(--orange);
  font-size: 1rem;
}

.dd-cursor b {
  background: var(--orange);
  color: #fff;
  border-radius: 99px;
  padding: .1rem .5rem;
  font-size: .62rem;
  margin-left: .2rem;
}

.dc-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}

.dc-handle i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.dc-tag {
  position: absolute;
  bottom: 1rem;
  z-index: 4;
  padding: .3rem .8rem;
  border-radius: 99px;
  font: 700 .7rem "JetBrains Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none;
}

.dc-tag--l {
  left: 1rem;
  background: var(--orange);
  color: #fff;
}

.dc-tag--r {
  right: 1rem;
  background: #fff;
  color: #111;
}

.dc input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  z-index: 5;
  cursor: ew-resize;
  touch-action: pan-y;
}

.dc:has(input:focus-visible) {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* Skills */
.skills-ide .ide-explorer {
  background: #121212;
  padding: .6rem 0;
}

.ide-explorer .nav {
  overflow-x: auto;
}

.ide-explorer .nav-link {
  display: flex;
  gap: .5rem;
  align-items: center;
  color: #a8a8a8;
  font: 500 .75rem "JetBrains Mono", monospace;
  text-align: left;
  border-radius: 0;
  padding: .65rem 1rem;
  white-space: nowrap;
  background: transparent;
  border: 0;
}

.ide-explorer .nav-link i {
  color: #f5d742;
}

.ide-explorer .nav-link:hover {
  color: #fff;
}

.ide-explorer .nav-link.active {
  background: #181818;
  color: #fff;
  box-shadow: inset 2px 0 var(--orange);
}

.ide-explorer .nav-link--new i {
  color: var(--orange);
}

@media (max-width: 767.98px) {
  .ide-explorer .nav-link.active {
    box-shadow: inset 0 -2px var(--orange);
  }
}

.ide-main {
  background: #181818;
  min-height: 330px;
}

.ide-main pre.code {
  border-radius: 0;
}

.sk-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .3rem 1.6rem;
  padding: .6rem 1.2rem 1.3rem;
  margin: 0;
}

@media (max-width: 575.98px) {
  .sk-list {
    grid-template-columns: 1fr;
  }
}

.sk-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: #e8e2d9;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: .4rem 0;
}

.rate {
  display: inline-flex;
  gap: 4px;
  font-style: normal;
}

.rate b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.rate b.off {
  background: #3a3a3a;
}

.term {
  padding: .6rem 1.2rem 1.4rem;
  font-size: .78rem;
  color: #d9d9d9;
}

.tl {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  gap: .7rem;
  align-items: center;
  margin: .45rem 0;
}

.tl i {
  height: 8px;
  background: #2c2c2c;
  border-radius: 99px;
  overflow: hidden;
}

.tl b {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange);
  transition: width 1.4s cubic-bezier(.2, .7, .2, 1);
}

.tl em {
  font-style: normal;
  text-align: right;
  color: var(--orange);
}

/* Playground */
.lab2 {
  position: relative;
  min-height: 290px;
  overflow: hidden;
}

.lab-head {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.lab-head .num {
  font-size: .72rem;
}

.lab-head h3 {
  flex: 1;
  margin: 0;
}

.lab-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  font-size: .95rem;
  transition: background .25s, color .25s;
}

.lab-toggle:hover,
.lab-toggle[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #0a0a0a;
}

.lab2 .lab-stage {
  margin-top: .6rem;
}

.lab-stage.align-items-start {
  place-items: start;
  align-content: center;
}

.lab-code {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #181818;
  color: #d9d9d9;
  padding: 3.6rem .6rem 1rem;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .35s, transform .35s;
}

.lab-code pre.code {
  padding: 0;
  background: transparent;
  font-size: .72rem;
}

.lab2.is-code .lab-code {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.lab--dark .lab-code {
  background: #0e0e0e;
}

/* Contacto */
.c-info {
  background: transparent;
  color: var(--ink);
  padding: 0;
  margin: 1rem 0 0;
  font-size: .8rem;
}

.c-info .cl {
  padding-left: 0;
}

.c-info .cl::before {
  display: none;
}

.code-form {
  padding: 1rem 0 1.4rem;
  font: 500 .85rem/1.6 "JetBrains Mono", monospace;
}

.crow {
  display: grid;
  grid-template-columns: 2.6rem auto 1fr;
  align-items: baseline;
  gap: .5rem;
  padding: .25rem 1rem .25rem 0;
}

.crow .ln {
  text-align: right;
  color: #5a5a5a;
}

.crow code {
  grid-column: 2 / -1;
  color: #e8e2d9;
  font: inherit;
}

.crow .ck {
  color: #7fd0ff;
  padding-left: 1.4rem;
  margin: 0;
}

.crow input,
.crow textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .22);
  color: #ffa24b;
  font: inherit;
  padding: .2rem .3rem;
  outline: 0;
  width: 100%;
  border-radius: 0;
  resize: vertical;
}

.crow input:focus,
.crow textarea:focus {
  border-bottom-color: var(--orange);
  background: rgba(255, 95, 26, .07);
}

.crow input::placeholder,
.crow textarea::placeholder {
  color: #5f5f5f;
}

.crow--area {
  align-items: start;
}

.crow .invalid-feedback {
  grid-column: 3;
  font-size: .7rem;
  color: #ff8a8a;
  margin: 0;
}

.was-validated .crow :is(input, textarea):invalid {
  border-bottom-color: #ff6b6b;
}

.was-validated .crow :is(input, textarea):invalid~.invalid-feedback {
  display: block;
}

.crow--run {
  padding-top: .8rem;
}


/* Feedback do formulário de contacto */
.feedback-contacto {
  --feedback-accent: var(--orange);
  position: fixed;
  right: clamp(16px, 3vw, 36px);
  bottom: clamp(16px, 3vw, 36px);
  z-index: 2000;
  display: grid;
  grid-template-columns: 90% 10%;
  align-items: center;
  gap: 14px;
  width: min(300px, calc(100vw - 32px));
  padding: 22px;
  color: var(--orange);
  background: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 14px 45px rgba(20, 20, 20, .12);
  animation: feedback-in .45s cubic-bezier(.2, .7, .2, 1) both;
  border-radius: 14px;
}

.feedback-contacto[hidden] {
  display: none;
}

.feedback-contacto i {
  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;

  color: var(--feedback-accent);
  background: rgba(var(--orange-rgb), .1);
  border-radius: 50%;

  font-size: 1.15rem;
}

.feedback-contacto>div {
  width: max-content;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.feedback-contacto p {
  margin: 0;
  color: var(--orange);

  font-size: .84rem;
  line-height: 1.6;
}

.feedback-contacto button {
  display: grid;
  place-items: center;

  width: 24px;
  height: 24px;
  padding: 0;

  color: var(--orange);
  background: transparent;
  border: 0;

  font-size: 1.4rem;
  line-height: 1;

  cursor: pointer;
  transition: color .2s, transform .2s;
}

.feedback-contacto button:hover {
  color: var(--orange);
  transform: rotate(90deg);
}

.feedback-contacto button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* Entrada suave */
@keyframes feedback-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Estado de erro */
.feedback-contacto.is-error {
  --feedback-accent: #b84232;
}

.feedback-contacto.is-error>i {
  color: var(--feedback-accent);
  background: rgba(184, 66, 50, .1);
}

@media (max-width: 480px) {
  .feedback-contacto {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 36px 1fr 24px;
    gap: 11px;
    padding: 17px;
  }

  .feedback-contacto>i {
    width: 36px;
    height: 36px;
  }
}

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

  .feedback-contacto button {
    transition: none;
  }
}


.run-btn {
  grid-column: 2 / -1;
  justify-self: start;
  margin-left: 1.4rem;
  background: var(--orange);
  color: #0a0a0a;
  border: 0;
  border-radius: .4rem;
  padding: .65rem 1.2rem;
  font: 700 .85rem "JetBrains Mono", monospace;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: transform .25s, box-shadow .25s;
}

.run-btn:disabled {
  opacity: .6;
  cursor: progress;
  pointer-events: none;
}

.run-btn:hover {
  box-shadow: 0 0 0 6px rgba(255, 95, 26, .25);
}

@media (max-width: 575.98px) {
  .crow {
    grid-template-columns: 1.8rem 1fr;
  }

  .crow .ck {
    grid-column: 2;
    padding-left: .4rem;
  }

  .crow input,
  .crow textarea,
  .crow .invalid-feedback {
    grid-column: 2;
  }

  .crow code {
    grid-column: 2;
  }

  .run-btn {
    grid-column: 2;
    margin-left: .4rem;
  }
}

/* Fallback sem movimento */
.static .v2-photo,
.static .v2-circle {
  transition: none;
}

.theme-dark .tag-black {
  background: var(--orange);
  color: #0a0a0a;
}

.theme-dark .link-arrow {
  color: var(--fg);
}

.theme-dark .icon-ring.dark {
  border-color: var(--fg);
  color: var(--fg);
}

.theme-dark .icon-ring:hover {
  color: #0a0a0a;
}

.theme-dark .ide {
  border: 1px solid rgba(255, 255, 255, .12);
}

.theme-dark .ide pre.code {
  border: 0;
}

.theme-dark .c-info {
  color: var(--fg);
}

.theme-dark .c-info {
  border: 0;
}

/* hero escuro */
.v2-hero.theme-dark .v2-sub {
  color: rgba(244, 237, 228, .72);
}

.v2-hero.theme-dark .v2-cue {
  color: rgba(244, 237, 228, .6);
}

.v2-hero.theme-dark .v2-grid {
  background-image: linear-gradient(rgba(244, 237, 228, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 237, 228, .08) 1px, transparent 1px);
  opacity: 1;
}

.v2-hero.theme-dark .v2-brush {
  background: var(--fg);
  opacity: .85;
}

.v2-hero.theme-dark .v2-circle {
  box-shadow: 0 0 140px rgba(255, 95, 26, .35);
}

.fc-chip {
  color: #141414;
}

.v2-hero.theme-dark .fc-react {
  background: var(--orange);
  color: #0a0a0a;
}

.v2-hero.theme-dark .fc-react i {
  color: #0a0a0a;
}

.v2-hero.theme-dark .fc-editor {
  border: 1px solid rgba(255, 255, 255, .14);
}

/* faixa laranja entre creme e preto */
.band {
  background: var(--orange);
  color: #0a0a0a;
}

.band-track i {
  color: #0a0a0a;
}

.band-track .o {
  -webkit-text-stroke: 1.5px #0a0a0a;
}

/* PROCESSO */
.flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .2rem 1.2rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.flow-item:last-child {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 992px) {
  .flow-item {
    grid-template-columns: 4rem 1fr minmax(240px, 22rem);
    align-items: center;
  }
}

.fn {
  font: 500 .8rem "JetBrains Mono", monospace;
  color: rgba(244, 237, 228, .5);
  transition: color .3s;
}

.flow-item.is-on .fn {
  color: var(--orange);
}

.fw {
  --fill: 0%;
  font: 700 clamp(3.4rem, 12vw, 10.5rem)/.92 "Barlow Condensed", "DM Sans", sans-serif;
  text-transform: uppercase;
  display: inline-block;
  padding-right: .08em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 237, 228, .45);
  background: linear-gradient(90deg, var(--fg) var(--fill), transparent var(--fill));
  -webkit-background-clip: text;
  background-clip: text;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.flow-item:hover .fw {
  transform: translateX(14px);
}

.fd {
  grid-column: 2;
  display: flex;
  gap: .6rem;
  align-items: center;
  color: rgba(244, 237, 228, .65);
  font-size: .95rem;
}

@media (min-width: 992px) {
  .fd {
    grid-column: 3;
  }
}

.fd i {
  color: var(--orange);
}

.flow-item--last .fw {
  background-image: linear-gradient(90deg, var(--orange) var(--fill), transparent var(--fill));
  -webkit-text-stroke-color: rgba(255, 95, 26, .7);
}

/*.flow-item--last .fd::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  animation: scpulse 1.6s ease-in-out infinite;
  flex: 0 0 auto;
}*/

/* PROJETOS */
.showcase {
  padding: 0;
  position: relative;
}

.sc-pin {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.sc-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(86vh, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--glow, #ff5f1a) 0, transparent 66%);
  opacity: .5;
  transition: background .6s;
}

.sc-num {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font: 700 min(62vh, 50vw)/1 "Barlow Condensed", sans-serif;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 237, 228, .1);
}

.sc-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 34%) 1fr;
  align-items: center;
  gap: 1rem;
  padding-top: 5.2rem;
  padding-bottom: 2rem;
}

.sc-center {
  position: relative;
  height: min(68vh, 700px);
}

.sc-phones {
  position: absolute;
  inset: 0;
}

.sc-phone {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  aspect-ratio: 12 / 18.5;
  display: block;
  will-change: transform;
}

.sc-phone .phone {
  height: 100%;
  width: 100%;
  aspect-ratio: auto;
}

.sc-left,
.sc-right {
  position: relative;
  z-index: 9;
  min-width: 0;
}

.sc-right {
  z-index: 7;
}

.sc-list button {
  background: none;
  border: 0;
  padding: .1rem 0;
  text-align: left;
  display: block;
  font: 700 clamp(2.4rem, 4.6vw, 4.2rem)/1 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(244, 237, 228, .45);
  transition: color .3s, -webkit-text-stroke-color .3s, transform .35s;
}

.sc-list button sup {
  font: 500 .7rem "JetBrains Mono", monospace;
  -webkit-text-stroke: 0;
  color: var(--orange);
  margin-right: .5rem;
  vertical-align: top;
  position: relative;
  top: .5rem;
}

.sc-list button:hover {
  transform: translateX(10px);
}

.sc-list button.is-on {
  color: var(--fg);
  -webkit-text-stroke-color: var(--fg);
}

.sc-right {
  height: 100%;
}

.sc-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .45s, transform .45s, visibility .45s;
}

.sc-info.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.sc-tag {
  color: var(--orange);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sc-info h3 {
  font: 700 clamp(2.4rem, 4vw, 3.6rem)/1 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  margin: 0;
}

.sc-info pre.code {
  font-size: .74rem;
  border-radius: .6rem;
  max-width: 26rem;
}

.sc-dots {
  position: absolute;
  z-index: 4;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.sc-dots i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(244, 237, 228, .3);
  transition: height .35s, background .35s;
  display: block;
}

.sc-dots i.on {
  height: 28px;
  background: var(--orange);
}

.sc-hint {
  color: rgba(244, 237, 228, .6);
}

.sc-hint i {
  color: var(--orange);
}

@media (max-width: 991.98px) {
  .sc-grid {
    display: flex;
    flex-direction: column;
    padding-top: 5rem;
    padding-bottom: 1.1rem;
    gap: .5rem;
  }

  .sc-left {
    flex: 0 0 auto;
    width: 100%;
  }

  .sc-left .topnote {
    margin-bottom: .4rem !important;
  }

  .sc-center {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: auto;
  }

  .sc-right {
    flex: 0 0 auto;
    width: 100%;
    height: 150px;
  }

  .sc-info {
    gap: .5rem;
    justify-content: flex-start;
  }

  .sc-info pre.code {
    display: none;
  }

  .sc-info h3 {
    font-size: 2.4rem;
  }

  .sc-info .btn {
    padding: .6rem 1.2rem !important;
    font-size: .9rem;
  }

  .sc-dots {
    right: 1rem;
    top: 5.3rem;
    transform: none;
    flex-direction: row;
  }

  .sc-dots i.on {
    height: 8px;
    width: 28px;
  }
}

/* Fallback sem movimento */
.static .fw {
  --fill: 100%;
}

.static .sc-pin {
  height: auto;
  display: block;
  padding: 5rem 0;
}

.static .sc-grid {
  display: block;
  padding-top: 0;
}

.static .sc-center {
  height: auto;
  margin: 2rem 0;
}

.static .sc-phones {
  position: static;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
  justify-items: center;
}

.static .sc-phone {
  position: static;
  width: min(240px, 100%);
  height: auto;
  aspect-ratio: 9 / 18.5;
}

.static .sc-right {
  height: auto;
}

.static .sc-info {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  margin-bottom: 2rem;
}

.static .sc-list,
.static .sc-dots,
.static .sc-hint,
.static .sc-num {
  display: none !important;
}

.static .sc-info pre.code {
  display: block;
}

.static .sc-right {
  height: auto;
}

/* Showcase: botão "Ver todos" */
.sc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sc-top .topnote {
  margin-bottom: .4rem !important;
}

.sc-all {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid var(--fg);
  color: var(--fg);
  border-radius: 99px;
  padding: .65rem 1.3rem;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background .25s, border-color .25s, color .25s;
}

.sc-all:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #0a0a0a;
}

.sc-all i {
  transition: transform .3s;
}

.sc-all:hover i {
  transform: translateX(5px);
}

.sc-all--sm {
  padding: .35rem .9rem;
  font-size: .78rem;
}

.sc-mrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sc-dots-m {
  display: flex;
  gap: .5rem;
}

.sc-dots-m i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(244, 237, 228, .3);
  transition: width .35s, background .35s;
  display: block;
}

.sc-dots-m i.on {
  width: 28px;
  background: var(--orange);
}

.static .sc-all.d-none {
  display: inline-flex !important;
}

.static .sc-dots-m {
  display: none;
}

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

@keyframes bob {
  50% {
    transform: translateY(5px);
  }
}

@keyframes scpulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 95, 26, .6);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(255, 95, 26, 0);
  }
}