:root {
  --bg: #030507;
  --bg-soft: #070a0e;
  --text: #f4f7fb;
  --muted: #9ba8b7;

  --blue: #009dff;
  --blue-soft: rgba(0, 157, 255, .12);

  --line: rgba(0, 157, 255, .20);
  --card: rgba(5, 9, 14, .88);

  --max: 1180px;
}


/* =========================
   RESET
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--bg);
  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  line-height: 1.5;

  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}


/* =========================
   CONTAINER
========================= */

.container {
  width: min(
    calc(100% - 48px),
    var(--max)
  );

  margin-inline: auto;
}


/* =========================
   HEADER
========================= */

.header {
  position: sticky;

  top: 0;

  z-index: 20;

  border-bottom:
    1px solid rgba(255, 255, 255, .06);

  background:
    rgba(3, 5, 7, .88);

  backdrop-filter:
    blur(16px);
}

.nav {
  height: 74px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 28px;
}


/* Logo */

.brand {
  display: flex;

  align-items: center;

  gap: 12px;

  font-size: 1.14rem;

  font-weight: 700;

  letter-spacing: -.02em;

  white-space: nowrap;
}

.brand-mark {
  color: var(--blue);

  font-weight: 800;

  font-size: 1.45rem;
}

.brand-blue {
  color: var(--blue);
}

.brand-light {
  color: #e8edf4;

  font-weight: 500;
}


/* Menu */

.menu {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 34px;

  margin-left: auto;
  margin-right: 18px;

  font-size: .92rem;

  color: #c6d0dc;
}

.menu a {
  position: relative;

  padding: 8px 0;

  transition:
    color .2s ease;
}

.menu a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 1px;

  transform:
    scaleX(0);

  transform-origin:
    center;

  background:
    var(--blue);

  transition:
    transform .2s ease;
}

.menu a:hover,
.menu a.active {
  color:
    var(--blue);
}

.menu a:hover::after,
.menu a.active::after {
  transform:
    scaleX(1);
}


/* Redes sociais */

.header-socials {
  display: flex;

  gap: 10px;
}

.header-social {
  width: 33px;
  height: 33px;

  display: grid;

  place-items: center;

  border:
    1px solid rgba(0, 157, 255, .24);

  border-radius: 9px;

  color:
    #d8e1ea;

  transition:
    .2s ease;
}

.header-social:hover {
  color:
    var(--blue);

  border-color:
    rgba(0, 157, 255, .6);

  transform:
    translateY(-2px);
}

.header-social svg {
  width: 16px;
  height: 16px;

  fill:
    currentColor;
}

.mail-icon {
  fill:
    none !important;

  stroke:
    currentColor;

  stroke-width:
    1.8;
}


/* =========================
   SEÇÕES
========================= */

section {
  scroll-margin-top:
    100px;
}

.section {
  padding:
    86px 0;

  border-top:
    1px solid rgba(255, 255, 255, .045);
}

.section-head {
  display: flex;

  align-items: end;

  justify-content:
    space-between;

  gap:
    28px;

  margin-bottom:
    34px;
}

.section-label {
  display: flex;

  align-items: center;

  gap:
    12px;

  margin-bottom:
    8px;

  color:
    var(--blue);

  font-size:
    .7rem;

  letter-spacing:
    .25em;

  text-transform:
    uppercase;
}

.section-label::after {
  content:
    "";

  width:
    26px;

  height:
    1px;

  background:
    var(--blue);
}

.section-title {
  margin:
    0;

  font-size:
    clamp(2rem, 4vw, 3.2rem);

  line-height:
    1;

  letter-spacing:
    -.04em;
}

.section-note {
  max-width:
    180px;

  color:
    #8ea1b7;

  font-size:
    .64rem;

  letter-spacing:
    .26em;

  text-transform:
    uppercase;

  line-height:
    1.9;
}


/* =========================
   INÍCIO / HERO
========================= */

.hero {
  min-height:
    calc(100vh - 74px);

  display:
    grid;

  place-items:
    center;

  text-align:
    center;

  padding:
    72px 0 90px;

  position:
    relative;

  isolation:
    isolate;
}

.hero::before {
  display:
    none;
}

.hero-inner {
  max-width:
    920px;
}

.hero-kicker {
  margin:
    0 0 20px;

  color:
    var(--blue);

  font-size:
    clamp(1rem, 2vw, 1.3rem);

  letter-spacing:
    .22em;

  font-weight:
    600;
}

.hero h1 {
  margin:
    0;

  font-size:
    clamp(3.4rem, 8.7vw, 7.2rem);

  line-height:
    .93;

  letter-spacing:
    -.055em;

  font-weight:
    800;
}

.hero h1 span {
  color:
    var(--blue);

  text-shadow:
    none;
}

.hero-role {
  margin:
    23px 0 0;

  color:
    #dce6f0;

  font-size:
    clamp(.92rem, 2vw, 1.15rem);

  letter-spacing:
    .22em;

  text-transform:
    uppercase;

  font-weight:
    600;
}

.hero-tagline {
  margin:
    22px auto 0;

  max-width:
    560px;

  color:
    #9eafc1;

  font-size:
    1rem;
}

/* =========================
   SETA DO HERO
========================= */

.hero-arrow {
    width: 50px;
    height: 50px;
    margin: 34px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 157, 255, 0.35);
    border-radius: 50%;

    background: rgba(0, 157, 255, 0.04);

    box-shadow:
        0 0 12px rgba(0, 157, 255, 0.08),
        inset 0 0 12px rgba(0, 157, 255, 0.03);

    transition: all 0.3s ease;

    animation: hero-arrow-float 2.2s ease-in-out infinite;
}

.hero-arrow span {
    width: 10px;
    height: 10px;

    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);

    transform: rotate(45deg);
    margin-top: -4px;

    filter: drop-shadow(0 0 5px rgba(0, 157, 255, 0.6));
}

.hero-arrow:hover {
    border-color: rgba(0, 157, 255, 0.8);

    background: rgba(0, 157, 255, 0.08);

    box-shadow:
        0 0 18px rgba(0, 157, 255, 0.18),
        inset 0 0 14px rgba(0, 157, 255, 0.05);

    transform: translateY(3px);
}

@keyframes hero-arrow-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

@keyframes float {
  50% {
    transform:
      translateY(6px);
  }
}


/* =========================
   EFEITO DE DIGITAÇÃO
========================= */

.typing-cursor {
  color:
    var(--blue);

  font-weight:
    400;

  margin-left:
    2px;

  animation:
    blink .8s infinite;
}

@keyframes blink {

  0%,
  50% {
    opacity:
      1;
  }

  51%,
  100% {
    opacity:
      0;
  }
}


/* =========================
   SOBRE
========================= */

.about-section {
  padding-top:
    100px;
}

.about-grid {
  display:
    grid;

  grid-template-columns:
    .85fr 1.15fr;

  align-items:
    center;

  gap:
    80px;
}


/* Foto */

.about-photo {
  width:
    100%;
}


/* Foto orgânica */

.about-photo-placeholder {
  position:
    relative;

  width:
    100%;

  max-width:
    380px;

  aspect-ratio:
    4 / 5;

  margin:
    0 auto;

  display:
    grid;

  place-items:
    center;

  background:
    #05080b;

  border-radius:
    44% 56% 52% 48% /
    48% 42% 58% 52%;

  z-index:
    1;
}


/* Luz azul animada */

.about-photo-placeholder::before {
  content:
    "";

  position:
    absolute;

  inset:
    -7px;

  border-radius:
    inherit;

  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      transparent 220deg,
      rgba(0, 157, 255, .08) 255deg,
      rgba(0, 157, 255, .55) 295deg,
      #00aaff 325deg,
      rgba(0, 157, 255, .15) 350deg,
      transparent 360deg
    );

  filter:
    blur(7px);

  animation:
    photo-glow 5s linear infinite;

  z-index:
    -2;
}


/* Brilho difuso */

.about-photo-placeholder::after {
  content:
    "";

  position:
    absolute;

  width:
    85%;

  height:
    85%;

  border-radius:
    50%;

  background:
    rgba(0, 157, 255, .10);

  filter:
    blur(55px);

  animation:
    photo-pulse 4s ease-in-out infinite;

  z-index:
    -3;
}


/* Imagem */

.about-photo-placeholder img {
  width:
    calc(100% - 8px);

  height:
    calc(100% - 8px);

  display:
    block;

  object-fit:
    cover;

  border-radius:
    44% 56% 52% 48% /
    48% 42% 58% 52%;

  border:
    2px solid rgba(4, 122, 196, .7);

  box-shadow:
    0 0 15px rgba(0, 157, 255, .18);

  position:
    relative;

  z-index:
    2;
}


/* Movimento da luz */

@keyframes photo-glow {

  from {
    transform:
      rotate(0deg);
  }

  to {
    transform:
      rotate(360deg);
  }
}


/* Pulsação */

@keyframes photo-pulse {

  0%,
  100% {
    opacity:
      .45;

    transform:
      scale(.95);
  }

  50% {
    opacity:
      .75;

    transform:
      scale(1.05);
  }
}


/* Texto */

.about-content {
  max-width:
    560px;
}

.about-content p {
  margin:
    0 0 18px;

  color:
    #95a5b6;

  font-size:
    1rem;

  line-height:
    1.9;
}

.about-content p:first-child {
  color:
    #eaf0f6;

  font-size:
    1.15rem;
}

.about-content strong {
  color:
    var(--blue);
}

.about-content span {
  color:
    #dfe8f2;
}


/* =========================
   SKILLS
========================= */

.skills-wrap {
  position:
    relative;

  overflow:
    hidden;

  padding:
    12 0 14px;

  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent,
      black 6%,
      black 94%,
      transparent
    );

  mask-image:
    linear-gradient(
      to right,
      transparent,
      black 6%,
      black 94%,
      transparent
    );
}

.skills-track {
  display:
    flex;

  width:
    max-content;

  gap:
    20px;

  animation:
    skills-scroll
    28s linear infinite;
}

.skills-wrap:hover
.skills-track {
  animation-play-state:
    paused;
}

@keyframes skills-scroll {

  from {
    transform:
      translateX(0);
  }

  to {
    transform:
      translateX(
        calc(-50% - 10px)
      );
  }
}

.skill-card {
  width:
    122px;

  height:
    112px;

  flex:
    0 0 122px;

  border:
    1px solid rgba(0, 157, 255, .18);

  border-radius:
    16px;

  background:
    #05080b;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap:
    10px;

  transition:
    .25s ease;
}

.skill-card:hover {

    border-color:
        rgba(0,157,255,.75);

    box-shadow:
        0 0 18px rgba(0,157,255,.15),
        0 14px 32px rgba(0,157,255,.10);
}

.skill-card img {
  width:
    38px;

  height:
    38px;

  object-fit:
    contain;

  filter:
    brightness(1.02);
}

.skill-name {
  font-size:
    .84rem;

  color:
    #dce3eb;
}

.skills-subline {
  margin-top:
    24px;

  text-align:
    center;

  color:
    #617286;

  font-size:
    .62rem;

  letter-spacing:
    .32em;

  text-transform:
    uppercase;
}


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

.projects-grid {
  display:
    grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap:
    18px;

  align-items:
    stretch;
}

.project-card {
  padding:
    14px;

  border:
    1px solid rgba(0,157,255,.18);

  border-radius:
    18px;

  background:
    #05080b;

  transition:
    .25s ease;

  display:
    flex;

  flex-direction:
    column;

  height:
    100%;
}

.project-card:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(0,157,255,.65);

    box-shadow:
        0 12px 35px
        rgba(0,157,255,.10);
}


/* Imagem */

.project-media {
    width: 100%;
    height: 190px;

    border:
        1px solid rgba(255, 255, 255, .06);

    border-radius:
        12px;

    overflow:
        hidden;

    background:
        linear-gradient(
            135deg,
            #0a0f15,
            #020304
        );

    display:
        grid;

    place-items:
        center;

    color:
        #3b89ba;

    position:
        relative;

    flex-shrink:
        0;
}

.project-media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    object-position: center;

    padding: 10px;

    border: 1px solid rgba(255, 255, 255, .06);

    border-radius: 12px;

    background: #020406;

    display: grid;
    place-items: center;

    flex-shrink: 0;
}

.project-media::before {
  content:
    "";

  position:
    absolute;

  inset:
    0;

  background:
    linear-gradient(
      90deg,
      transparent 48%,
      rgba(0,157,255,.16) 49%,
      transparent 50%
    ),
    linear-gradient(
      transparent 48%,
      rgba(0,157,255,.11) 49%,
      transparent 50%
    );

  background-size:
    28px 28px;

  opacity:
    .35;
}

.project-media-icon {
  position:
    relative;

  width:
    50px;

  height:
    50px;

  border:
    1px solid rgba(0,157,255,.35);

  border-radius:
    14px;

  display:
    grid;

  place-items:
    center;

  color:
    var(--blue);

  font-weight:
    800;

  letter-spacing:
    .08em;

  font-size:
    .78rem;
}


/* Conteúdo */

.project-content {
  padding:
    18px 4px 4px;

  display:
    flex;

  flex-direction:
    column;

  flex:
    1;
}

.project-title {
  margin:
    0;

  font-size:
    1.05rem;
}

.project-text {
    margin: 8px 0 18px;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.6;
    min-height: 0;
}

/* Rodapé */

.project-footer {
  margin-top:
    auto;

  min-height:
    32px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    12px;
}




/* Link */

.project-link {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    8px;

  color:
    var(--blue);

  font-size:
    .84rem;
}

.project-link span {
  transition:
    transform .2s ease;
}

.project-link:hover span {
  transform:
    translateX(4px);
}


/* Status */

.project-status {
  margin-left:
    auto;

  height:
    28px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    7px;

  padding:
    6px 10px;

  border:
    1px solid rgba(0,157,255,.18);

  border-radius:
    999px;

  color:
    #7f92a6;

  background:
    rgba(0,157,255,.035);

  font-size:
    .68rem;

  line-height:
    1;

  white-space:
    nowrap;

  flex-shrink:
    0;
}


/* Bolinha */

.project-status::before {
  content:
    "";

  width:
    6px;

  height:
    6px;

  flex-shrink:
    0;

  border-radius:
    50%;

  background:
    var(--blue);

  box-shadow:
    0 0 8px
    rgba(0,157,255,.65);
}


/* Produção */

.project-status.production::before {
  background:
    #00ff9d;

  box-shadow:
    0 0 8px
    rgba(0,255,157,.65);
}


/* Testes */

.project-status.testing::before {
  background:
    #f59e0b;

  box-shadow:
    0 0 8px
    rgba(245,158,11,.65);
}


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

.contact-shell {
  padding:
    34px 0 10px;
}

.contact-top {
  text-align:
    center;
}

.contact-top .section-label {
  justify-content:
    center;
}

.contact-top
.section-label::after {
  display:
    none;
}

.contact-title {
  margin:
    5px 0 0;

  font-size:
    clamp(2.7rem, 5vw, 4.5rem);

  letter-spacing:
    -.05em;
}

.contact-title span {
  color:
    var(--blue);
}

.contact-description {
  margin:
    8px 0 30px;

  color:
    #95a8bb;

  letter-spacing:
    .24em;

  text-transform:
    uppercase;

  font-size:
    .68rem;
}

.contact-accent {
  color:
    var(--blue);
}

.contact-subline {
  margin-top:
    0;
}

.contact-grid {
  display:
    grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap:
    18px;

  max-width:
    900px;

  margin:
    0 auto;
}

.contact-card {
  min-height:
    88px;

  padding:
    0 18px;

  display:
    flex;

  align-items:
    center;

  gap:
    16px;

  border:
    1px solid rgba(255,255,255,.09);

  border-radius:
    14px;

  background:
    #05080b;

  transition:
    .25s ease;
}

.contact-card:hover {
  transform:
    translateY(-3px);

  border-color:
    rgba(0,157,255,.48);

  background:
    #070b10;
}

.contact-icon {
  width:
    42px;

  height:
    42px;

  flex:
    0 0 42px;

  display:
    grid;

  place-items:
    center;

  color:
    var(--blue);
}

.contact-icon svg {
  width:
    32px;

  height:
    32px;

  fill:
    currentColor;
}

.contact-icon .mail {
  fill:
    none;

  stroke:
    currentColor;

  stroke-width:
    1.7;
}

.contact-label {
  font-size:
    .9rem;

  font-weight:
    700;
}

.contact-value {
  margin-top:
    2px;

  color:
    #8291a1;

  font-size:
    .75rem;
}

.contact-arrow {
  margin-left:
    auto;

  color:
    var(--blue);

  font-size:
    1.15rem;
}


/* =========================
   FOOTER
========================= */

.footer {
  position:
    relative;

  z-index:
    1;

  padding:
    28px 0 34px;

  border-top:
    1px solid rgba(255,255,255,.05);
}

.footer-inner {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    20px;
}

.footer-brand {
  font-size:
    .95rem;

  font-weight:
    700;
}

.footer-brand span {
  color:
    var(--blue);
}

.footer-text {
  color:
    #748294;

  font-size:
    .78rem;

  margin-top:
    4px;
}

.copyright {
  color:
    #84909e;

  font-size:
    .77rem;
}


/* =========================
   REVEAL
========================= */

.reveal {
    opacity: 0;
    transform: translateY(30px) scale(.98);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal.visible {
  opacity:
    1;

  transform:
    translateY(0);
}


/* =========================
   FUNDO TECNOLÓGICO
========================= */

.code-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(0, 157, 255, .10),
            transparent 38%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(0, 157, 255, .06),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 65%,
            rgba(0, 120, 255, .05),
            transparent 28%
        ),
        #030507;
}


/* Grade */

.code-bg::before {
  content:
    "";

  position:
    absolute;

  inset:
    0;

  opacity:
    .13;

  background-image:
    linear-gradient(
      rgba(0,157,255,.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0,157,255,.045) 1px,
      transparent 1px
    );

  background-size:
    72px 72px;

  mask-image:
    radial-gradient(
      circle at center,
      black 10%,
      transparent 78%
    );
}


/* Código */

.code-snippet {
  position:
    absolute;

  color:
    rgba(0,157,255,.18);

  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;

  font-size:
    .8rem;

  letter-spacing:
    .03em;

  white-space:
    nowrap;

  user-select:
    none;

  filter:
    blur(.1px);

  text-shadow:
    0 0 18px
    rgba(0,157,255,.08);

  animation:
    code-float
    var(--duration, 6s)
    ease-in-out
    infinite
    alternate;
}

.code-snippet::after {
  content:
    "";

  display:
    block;

  width:
    74px;

  height:
    1px;

  margin-top:
    6px;

  background:
    linear-gradient(
      90deg,
      rgba(0,157,255,.2),
      transparent
    );
}

.code-snippet.accent {
  color:
    rgba(0,157,255,.2);
}


/* Movimento do código */

@keyframes code-float {

  from {
    transform:
      translate3d(0, 0, 0);
  }

  to {
    transform:
      translate3d(
        35px,
        -35px,
        0
      );
  }
}


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

@media (max-width: 960px) {

  .menu {
    gap:
      20px;

    margin-right:
      0;
  }

  .header-socials {
    display:
      none;
  }

  .projects-grid,
  .contact-grid {
    grid-template-columns:
      1fr;
  }

  .contact-card {
    max-width:
      520px;

    width:
      100%;

    margin:
      0 auto;
  }

  .section-head {
    align-items:
      start;
  }

  .about-grid {
    grid-template-columns:
      1fr;

    gap:
      45px;
  }

  .about-photo-placeholder {
    max-width:
      360px;
  }

  .about-content {
    max-width:
      650px;

    margin:
      0 auto;
  }
}


@media (max-width: 720px) {

  .container {
    width:
      min(
        calc(100% - 28px),
        var(--max)
      );
  }

  .nav {
    height:
      68px;
  }

  .brand {
    font-size:
      1rem;
  }

  .menu {
    gap:
      14px;

    font-size:
      .8rem;
  }

  .hero {
    min-height:
      72vh;

    padding:
      54px 0 70px;
  }

  .hero h1 {
    font-size:
      clamp(
        2.8rem,
        15vw,
        5rem
      );
  }

  .hero-role {
    letter-spacing:
      .14em;
  }

  .section {
    padding:
      65px 0;
  }

  .section-head {
    display:
      block;
  }

  .section-note {
    margin-top:
      16px;

    max-width:
      240px;
  }


  /* Sobre */

  .about-grid {
    gap:
      35px;
  }

  .about-photo-placeholder {
    max-width:
      300px;

    border-radius:
      16px;
  }

  .about-content {
    text-align:
      center;
  }

  .about-content p {
    font-size:
      .92rem;
  }


  /* Skills */

  .skills-track {
    gap:
      14px;
  }

  .skill-card {
    width:
      104px;

    height:
      98px;

    flex-basis:
      104px;

    border-radius:
      14px;
  }

  .skill-card img {
    width:
      32px;

    height:
      32px;
  }

  .skill-name {
    font-size:
      .76rem;
  }


  /* Projetos */

  .project-status {
    font-size:
      .63rem;

    padding:
      6px 9px;
  }


  /* Contato */

  .contact-shell {
    padding:
      36px 0 8px;
  }

  .contact-card {
    padding:
      0 18px;
  }


  /* Footer */

  .footer-inner {
    flex-direction:
      column;

    align-items:
      flex-start;
  }
}


/* =========================
   REDUÇÃO DE MOVIMENTO
========================= */

@media (prefers-reduced-motion: reduce) {

  .code-snippet,
  .hero-arrow,
  .skills-track,
  .about-photo-placeholder::before,
  .about-photo-placeholder::after,
  .typing-cursor {
    animation:
      none;
  }
}


/* =========================
   CONTEÚDO ACIMA DO FUNDO
========================= */

main {
  position:
    relative;

  z-index:
    1;
}

/* =========================
   TÍTULOS DAS SEÇÕES - FINAL
========================= */

/* Remove a numeração visual, mantendo apenas o detalhe gráfico */
.section-label {
  font-size: 0;
  gap: 12px;
  margin-bottom: 12px;
  min-height: 8px;
}

.section-label::before {
  content: "";

  width: 8px;
  height: 8px;

  flex: 0 0 8px;

  border: 1px solid var(--blue);
  border-radius: 50%;

  background: rgba(0, 157, 255, .08);

  box-shadow:
    0 0 8px rgba(0, 157, 255, .9),
    0 0 18px rgba(0, 157, 255, .35);
}

.section-label::after {
  content: "";

  width: 42px;
  height: 1px;

  background: var(--blue);

  box-shadow:
    0 0 8px rgba(0, 157, 255, .8),
    0 0 18px rgba(0, 157, 255, .25);
}

.section-title {
  position: relative;

  color: #f4f7fb;

  text-shadow:
    0 0 10px rgba(0, 157, 255, .12),
    0 0 24px rgba(0, 157, 255, .06);
}

.section-title::after {
  content: "";

  display: block;

  width: 42px;
  height: 2px;

  margin-top: 14px;

  background: var(--blue);

  box-shadow:
    0 0 8px rgba(0, 157, 255, .9),
    0 0 20px rgba(0, 157, 255, .45);

  animation: section-title-glow 2.5s ease-in-out infinite alternate;
}

.contact-title {
  position: relative;

  color: #f4f7fb;

  text-shadow:
    0 0 10px rgba(0, 157, 255, .12),
    0 0 24px rgba(0, 157, 255, .06);
}

.contact-title::after {
  content: "";

  display: block;

  width: 42px;
  height: 2px;

  margin: 14px auto 0;

  background: var(--blue);

  box-shadow:
    0 0 8px rgba(0, 157, 255, .9),
    0 0 20px rgba(0, 157, 255, .45);

  animation: section-title-glow 2.5s ease-in-out infinite alternate;
}

@keyframes section-title-glow {
  from {
    opacity: .55;

    box-shadow:
      0 0 6px rgba(0, 157, 255, .45),
      0 0 12px rgba(0, 157, 255, .18);
  }

  to {
    opacity: 1;

    box-shadow:
      0 0 10px rgba(0, 157, 255, .95),
      0 0 24px rgba(0, 157, 255, .55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-title::after,
  .contact-title::after {
    animation: none;
  }
}

/* =========================
   TÍTULOS DAS SEÇÕES
========================= */

.section-label {
    display: none;
}

.section-title {
    position: relative;

    display: flex;
    align-items: center;

    gap: 14px;

    margin: 0;

    color: #f4f7fb;

    font-size:
        clamp(2.4rem, 5vw, 4rem);

    line-height: 1;

    letter-spacing: -.055em;

    font-weight: 800;

    text-shadow:
        0 0 18px rgba(0, 157, 255, .12);
}


/* Bolinha azul brilhante */

.section-title::before {
    content: "";

    width: 9px;
    height: 9px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #00aaff;

    box-shadow:
        0 0 6px rgba(0, 157, 255, .95),
        0 0 14px rgba(0, 157, 255, .75),
        0 0 28px rgba(0, 157, 255, .45);

    animation:
        section-dot-glow
        2s ease-in-out infinite alternate;
}


/* Linha azul abaixo */

.section-title::after {
    content: "";

    position: absolute;

    left: 23px;
    bottom: -14px;

    width: 38px;
    height: 2px;

    background: #009dff;

    box-shadow:
        0 0 7px rgba(0, 157, 255, .9),
        0 0 16px rgba(0, 157, 255, .55);

    animation:
        section-line-glow
        2s ease-in-out infinite alternate;
}


/* Brilho da bolinha */

@keyframes section-dot-glow {

    from {
        transform: scale(.85);

        box-shadow:
            0 0 4px rgba(0, 157, 255, .6),
            0 0 10px rgba(0, 157, 255, .4);
    }

    to {
        transform: scale(1.15);

        box-shadow:
            0 0 8px rgba(0, 157, 255, 1),
            0 0 18px rgba(0, 157, 255, .8),
            0 0 30px rgba(0, 157, 255, .5);
    }
}


/* Brilho da linha */

@keyframes section-line-glow {

    from {
        opacity: .55;
    }

    to {
        opacity: 1;
    }
}

/* =========================
   PÁGINA DE ORÇAMENTO
========================= */

.budget-page {
    padding: 100px 0 120px;
}

.budget-header {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.budget-kicker {
    color: var(--blue);

    font-size: .7rem;
    font-weight: 600;

    letter-spacing: .3em;

    text-transform: uppercase;
}

.budget-header h1 {
    margin: 16px 0 0;

    font-size:
        clamp(2.8rem, 6vw, 5rem);

    line-height: 1;

    letter-spacing: -.05em;
}

.budget-header h1 span {
    color: var(--blue);
}

.budget-header p {
    max-width: 620px;

    margin: 20px auto 0;

    color: #95a5b6;

    font-size: .95rem;

    line-height: 1.8;
}


/* Formulário */

.budget-form-page {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;

    padding: 35px;

    border:
        1px solid rgba(0,157,255,.14);

    border-radius: 20px;

    background:
        rgba(5,8,11,.72);

    backdrop-filter:
        blur(10px);
}


/* Campo */

.form-group {
    display: flex;
    flex-direction: column;

    margin-bottom: 22px;
}

.form-group label {
    margin-bottom: 8px;

    color: #dce6f0;

    font-size: .8rem;

    font-weight: 600;
}

.form-group label span {
    color: #657487;

    font-size: .7rem;

    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 14px;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 10px;

    background:
        #030507;

    color:
        var(--text);

    font-family:
        inherit;

    font-size:
        .88rem;

    outline:
        none;

    transition:
        .25s ease;
}

.form-group textarea {
    resize:
        vertical;

    min-height:
        120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color:
        #516071;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color:
        rgba(0,157,255,.55);

    box-shadow:
        0 0 0 3px
        rgba(0,157,255,.06);
}


/* Botão */

.form-submit-page {
    display: flex;

    justify-content: flex-end;

    margin-top: 8px;
}


/* Link voltar */

.back-link {
    color:
        #9ba8b7;

    font-size:
        .82rem;

    transition:
        .2s ease;
}

.back-link:hover {
    color:
        var(--blue);
}


/* Responsivo */

@media (max-width: 720px) {

    .budget-page {
        padding:
            70px 0 80px;
    }

    .budget-form-page {
        padding:
            22px;
    }

    .form-submit-page {
        justify-content:
            stretch;
    }

    .form-submit-page .budget-button {
        width:
            100%;

        justify-content:
            center;
    }
}

.contact-cta {
    display: flex;
    justify-content: center;
    margin: 10px 0 34px;
}

.contact-cta .budget-button {
    min-width: 240px;
    padding: 17px 30px;
    border-radius: 12px;
    font-size: .95rem;
    justify-content: center;
    box-shadow: 0 0 0 rgba(0,157,255,0);
}

.contact-cta .budget-button:hover {
    box-shadow: 0 10px 30px rgba(0,157,255,.18);
}


/* =========================
   CONTATO - CTA ORÇAMENTO
   Sobrescreve/define o botão principal
========================= */

.contact-cta {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 18px 0 36px;
}

.contact-cta .budget-button,
.budget-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 240px;

    padding: 16px 30px;

    border: 1px solid rgba(0, 157, 255, .65);

    border-radius: 12px;

    background: var(--blue);

    color: #02070b;

    font-family: inherit;

    font-size: .95rem;

    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.contact-cta .budget-button:hover,
.budget-button:hover {
    transform: translateY(-2px);

    border-color:
        rgba(0, 157, 255, .9);

    box-shadow:
        0 10px 30px
        rgba(0, 157, 255, .20);
}

.contact-cta .budget-button span,
.budget-button span {
    transition:
        transform .2s ease;
}

.contact-cta .budget-button:hover span,
.budget-button:hover span {
    transform:
        translateX(4px);
}

/* Mantém os contatos abaixo do botão */
.contact-grid {
    width: 100%;
    max-width: 900px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    margin: 0 auto;
}


/* =========================
   RESPONSIVO - CTA
========================= */

/* =========================
   BOTÃO SOLICITAR ORÇAMENTO
========================= */

.contact-cta {
    display: flex;
    justify-content: center;

    margin: 18px 0 38px;
}

.contact-cta .budget-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    min-width: 320px;

    padding: 20px 36px;

    border: 1px solid rgba(0, 157, 255, .8);
    border-radius: 14px;

    background: var(--blue);

    color: #02070b;

    font-family: inherit;

    font-size: 1.05rem;
    font-weight: 700;

    overflow: hidden;

    cursor: pointer;

    animation: button-pulse 3s ease-in-out infinite;

    box-shadow:
        0 0 18px rgba(0, 157, 255, .18);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


/* brilho passando pelo botão */

.contact-cta .budget-button::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .45),
            transparent
        );

    transform: skewX(-20deg);

    animation:
        button-shine
        3.5s ease-in-out infinite;
}


/* texto e seta */

.contact-cta .budget-button span,
.contact-cta .budget-button {
    isolation: isolate;
}

.contact-cta .budget-button span {
    display: inline-block;

    transition:
        transform .3s ease;
}


/* hover */

.contact-cta .budget-button:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 0 18px rgba(0, 157, 255, .35),
        0 10px 30px rgba(0, 157, 255, .18);
}

.contact-cta .budget-button:hover span {
    transform:
        translateX(7px);
}


/* movimento do brilho */

@keyframes button-shine {

    0% {
        left: -120%;
    }

    35% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}


/* pulsação suave */

@keyframes button-pulse {

    0%,
    100% {
        box-shadow:
            0 0 14px rgba(0, 157, 255, .15);
    }

    50% {
        box-shadow:
            0 0 24px rgba(0, 157, 255, .28);
    }
}

.code-bg::after {
    content: "";

    position: absolute;
    width: 500px;
    height: 500px;

    top: 20%;
    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        rgba(0,157,255,.035);

    filter:
        blur(90px);

    animation:
        background-pulse
        6s ease-in-out infinite;
}

@keyframes background-pulse {

    0%,
    100% {
        transform:
            translate(-50%, -50%)
            scale(.9);

        opacity: .45;
    }

    50% {
        transform:
            translate(-50%, -50%)
            scale(1.1);

        opacity: .8;
    }
}

.skill-card,
.project-card {
    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.03);

    border-color: rgba(0,157,255,.75);

    box-shadow:
        0 0 20px rgba(0,157,255,.18),
        0 15px 35px rgba(0,157,255,.10);
}

.project-card:hover {
    transform: translateY(-8px);

    border-color: rgba(0,157,255,.70);

    box-shadow:
        0 0 25px rgba(0,157,255,.12),
        0 18px 40px rgba(0,157,255,.10);
}

/* =========================
   BRILHO DO MOUSE
========================= */

.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    pointer-events: none;

    z-index: 2;

    background: radial-gradient(
        circle,
        rgba(0, 157, 255, 0.12) 0%,
        rgba(0, 157, 255, 0.06) 25%,
        rgba(0, 157, 255, 0.025) 45%,
        transparent 72%
    );

    transform: translate(-50%, -50%);

    filter: blur(18px);

    mix-blend-mode: screen;

    opacity: 0.9;

    transition:
        left 0.08s linear,
        top 0.08s linear;
}

@keyframes nameGlow {
    from {
        text-shadow:
            0 0 8px rgba(0,157,255,.35),
            0 0 20px rgba(0,157,255,.15);
    }

    to {
        text-shadow:
            0 0 14px rgba(0,157,255,.65),
            0 0 35px rgba(0,157,255,.30);
    }
}

/* CORREÇÃO DO CORTE DOS ÍCONES DAS SKILLS */
.skill-card:hover {
    transform: none !important;
}

/* =========================
   FUNDO - CIRCUITOS SUTIS
========================= */

.code-bg {
    position: fixed;
    inset: 0;

    z-index: 0;

    overflow: hidden;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(0, 157, 255, .045),
            transparent 48%
        ),
        #030507;
}

#tech-background {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;
}

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

.hero-name {
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    white-space: nowrap;

    font-size: clamp(3rem, 7.5vw, 6.8rem);

    line-height: .95;

    letter-spacing: -.06em;

    font-weight: 800;
}

.hero-angle {
    color: var(--blue);

    text-shadow:
        0 0 12px rgba(0,157,255,.35),
        0 0 28px rgba(0,157,255,.12);
}

.hero-blue {
    color: var(--blue);

    text-shadow:
        0 0 14px rgba(0,157,255,.28);
}


/* Cargo com linhas */

.hero-stack {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-top: 24px;
}

.hero-stack-line {
    width: 34px;
    height: 1px;

    background: var(--blue);

    box-shadow:
        0 0 8px rgba(0,157,255,.65);
}

.hero-role {
    margin: 0;

    min-width: 290px;

    color: #dce6f0;

    font-size: clamp(.88rem, 1.7vw, 1.05rem);

    letter-spacing: .22em;

    text-transform: uppercase;

    font-weight: 600;
}


/* Tecnologias */

.hero-tech {
    margin: 16px 0 0;

    color: #5f89a8;

    font-size: .65rem;

    letter-spacing: .28em;

    text-transform: uppercase;
}


/* Tagline */

.hero-tagline {
    margin: 18px auto 0;

    max-width: 560px;

    color: #9eafc1;

    font-size: 1rem;
}


/* Responsivo */

@media (max-width: 720px) {

    .hero-name {
        font-size: clamp(2.2rem, 10vw, 4rem);

        gap: 5px;
    }

    .hero-stack {
        gap: 9px;
    }

    .hero-stack-line {
        width: 22px;
    }

    .hero-role {
        min-width: auto;

        font-size: .72rem;

        letter-spacing: .14em;
    }

    .hero-tech {
        font-size: .55rem;

        letter-spacing: .18em;
    }
}

/* =========================
   AJUSTE FINAL DO NOME
========================= */

.hero-name {
    font-family: inherit;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    white-space: nowrap;

    margin: 0;

    font-size: clamp(2.8rem, 6vw, 5.6rem);

    line-height: 1;

    letter-spacing: -.045em;

    font-weight: 700;

    color: #f4f7fb;
}

/* Remove qualquer degradê */

.hero-name .hero-blue {
    color: #009dff !important;

    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;

    -webkit-text-fill-color: #009dff !important;

    text-shadow: none !important;
}

/* Símbolos */

.hero-name .hero-angle {
    color: #009dff;

    text-shadow: none;
}

/* Responsivo */

@media (max-width: 620px) {

    .hero-name {
        font-size: clamp(2rem, 9vw, 3.4rem);
        gap: 4px;
    }
}

/* =========================
   COR ÚNICA - AZUL
========================= */

/* Nome */
.hero-name {
    color: var(--white) !important;
}

.hero-name .hero-blue,
.hero-name .hero-angle {
    color: var(blue) !important;

    background: none !important;
    -webkit-text-fill-color: var(--white) !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;

    text-shadow: none !important;
}

/* Logo */
.brand-blue,
.brand-light,
.brand-mark {
    color: var(--white) !important;
}

/* =========================================
   FUNDO ILUMINADO - WEByte Tech
========================================= */

.code-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(0, 157, 255, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 35%,
            rgba(0, 157, 255, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 50% 90%,
            rgba(0, 157, 255, 0.10),
            transparent 32%
        ),
        #030507;
}

/* Luz ambiente esquerda */
.code-bg::before {
    content: "";
    position: absolute;

    width: 650px;
    height: 650px;

    top: -180px;
    left: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 157, 255, 0.18) 0%,
            rgba(0, 157, 255, 0.08) 30%,
            transparent 70%
        );

    filter: blur(45px);

    animation: ambient-left 9s ease-in-out infinite alternate;

    z-index: 1;
}

/* Luz ambiente direita */
.code-bg::after {
    content: "";
    position: absolute;

    width: 700px;
    height: 700px;

    right: -220px;
    bottom: -220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 157, 255, 0.15) 0%,
            rgba(0, 157, 255, 0.07) 32%,
            transparent 72%
        );

    filter: blur(50px);

    animation: ambient-right 11s ease-in-out infinite alternate;

    z-index: 1;
}

#tech-background {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    z-index: 2;
}

/* =========================================
   ANIMAÇÃO DAS LUZES
========================================= */

@keyframes ambient-left {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.65;
    }

    50% {
        transform: translate(100px, 80px) scale(1.08);
        opacity: 0.85;
    }

    100% {
        transform: translate(40px, 150px) scale(1.15);
        opacity: 0.7;
    }
}

@keyframes ambient-right {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.55;
    }

    50% {
        transform: translate(-90px, -80px) scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-40px, -140px) scale(1.16);
        opacity: 0.65;
    }
}