:root {
  --bg: #050d18;
  --bg-soft: #081626;
  --panel: rgba(10, 28, 46, .72);
  --line: rgba(103, 191, 225, .19);
  --text: #eaf7ff;
  --muted: #8ba4b9;
  --cyan: #69ddff;
  --blue: #3c9dff;
  --purple: #9b75ff;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

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

button {
  font: inherit;
}

::selection {
  background: rgba(105,221,255,.32);
  color: #fff;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E");
}

.background-glow {
  position: fixed;
  z-index: 0;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .12;
  pointer-events: none;
}

.glow-one {
  background: #087fbd;
  top: 8%;
  left: -18%;
}

.glow-two {
  background: #6636b9;
  right: -18%;
  top: 48%;
}

#scene-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, #102b40 0%, #071522 48%, #030811 100%);
}

#webgl {
  display: block;
  width: 100%;
  height: 100%;
}

.scene-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,8,16,.18), transparent 35%, rgba(3,8,16,.54));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 76px);
  border-bottom: 1px solid rgba(126,196,226,.1);
  background: rgba(4,12,22,.62);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.08em;
}

.brand span, .loading-mark span {
  color: var(--cyan);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.desktop-nav a, .mobile-nav a {
  color: #b3c7d8;
  font: 10px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.desktop-nav a:hover, .mobile-nav a:hover {
  color: var(--cyan);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: grid;
  align-content: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 1px;
  display: block;
  background: var(--text);
  transition: transform .25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 78px;
  right: 18px;
  z-index: 21;
  width: min(260px, calc(100vw - 36px));
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(4,13,24,.96);
  backdrop-filter: blur(20px);
  display: grid;
  gap: 22px;
}

.mobile-nav[hidden] {
  display: none;
}

.page-content {
  position: relative;
  z-index: 2;
}

.section-shell {
  position: relative;
  width: min(1240px, 100% - 64px);
  margin-inline: auto;
}

.mono, .eyebrow, .tiny-label, .section-topline, .stack-num, .stack-level, .project-tags, .project-link, .projects-note, .scroll-cue, .hero-index, .hero-side-note, .hero-tech-float, .site-footer, .contact-cta {
  font-family: var(--mono);
}

.eyebrow {
  color: var(--cyan);
  font-size: 9px;
  letter-spacing: .24em;
  font-weight: 500;
}

.outline-text {
  color: transparent !important;
  -webkit-text-stroke: 1px rgba(133,218,255,.9);
  text-shadow: 0 0 24px rgba(52,174,255,.12);
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 95px;
}

.hero-copy {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
  transform: translateY(-3vh);
}

.hero-eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
}

.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #70f5c0;
  box-shadow: 0 0 13px #70f5c0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(54px, 10vw, 124px);
  line-height: .88;
  letter-spacing: -.085em;
  font-weight: 800;
  text-shadow: 0 6px 45px rgba(0,0,0,.36);
}

.hero-role {
  margin-top: 26px;
  color: #a8bfd0;
  font: 10px var(--mono);
  letter-spacing: .25em;
}

.hero-role span {
  color: var(--cyan);
}

.hero-description {
  max-width: 430px;
  margin: 17px auto 0;
  color: #a0b4c5;
  font-size: 13px;
  line-height: 1.8;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 52px;
  color: #9db6c9;
  font-size: 9px;
  letter-spacing: .18em;
}

.scroll-line {
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.scroll-arrow {
  color: var(--cyan);
  font-size: 16px;
  animation: nudge 1.2s ease-in-out infinite alternate;
}

@keyframes nudge {
  to {
    transform: translateY(5px);
  }
}

.hero-side-note {
  position: absolute;
  left: 0;
  top: 50%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(141,188,216,.52);
  font-size: 8px;
  letter-spacing: .2em;
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 42px;
  color: #a8bdcd;
  font-size: 10px;
}

.hero-index span {
  color: var(--cyan);
  padding: 0 5px;
}

.hero-tech-float {
  position: absolute;
  padding: 8px 12px;
  border: 1px solid rgba(107,203,244,.32);
  border-radius: 30px;
  color: #a9e9ff;
  font-size: 8px;
  letter-spacing: .08em;
  background: rgba(7,24,40,.45);
  box-shadow: 0 0 24px rgba(43,174,255,.08);
  backdrop-filter: blur(8px);
}

.tech-react {
  top: 23%;
  left: 9%;
}

.tech-js {
  top: 29%;
  right: 8%;
}

.tech-api {
  bottom: 25%;
  right: 17%;
}

.about, .stack, .projects, .journey, .contact {
  padding-top: 130px;
  padding-bottom: 140px;
}

.section-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: #92b4c9;
  font-size: 8px;
  letter-spacing: .14em;
}

.section-topline span:last-child {
  color: #607f95;
  text-align: right;
}

.about-heading {
  margin-top: 76px;
}

.about-heading h2, .stack-heading h2, .projects-heading h2, .journey-heading h2 {
  margin-top: 18px;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.13;
  letter-spacing: -.055em;
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: clamp(45px, 10vw, 150px);
  margin-top: 64px;
  align-items: center;
}

.about-copy {
  max-width: 520px;
}

.tiny-label {
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: .18em;
}

.about-copy h3 {
  margin: 18px 0;
  font-size: 23px;
}

.about-copy p:not(.tiny-label) {
  margin-top: 14px;
  color: #94aabd;
  font-size: 13px;
  line-height: 1.95;
}

.text-link {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  margin-top: 30px;
  color: var(--cyan);
  font: 9px var(--mono);
  letter-spacing: .12em;
}

.text-link span {
  font-size: 15px;
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translate(3px,-3px);
}

.stats-column {
  display: grid;
  gap: 12px;
}

.stat-card {
  position: relative;
  min-height: 84px;
  padding: 16px 20px;
  border: 1px solid rgba(105,190,225,.19);
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(15,39,60,.83), rgba(6,20,34,.62));
  box-shadow: 0 12px 35px rgba(0,0,0,.13);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), transparent);
}

.stat-card strong {
  display: block;
  color: #effaff;
  font-size: 27px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--cyan);
  font: 8px var(--mono);
  letter-spacing: .16em;
}

.stat-card i {
  position: absolute;
  right: 18px;
  bottom: 19px;
  color: #829aad;
  font-size: 9px;
  font-style: normal;
}

.stack-heading, .projects-heading, .journey-heading {
  margin-top: 76px;
}

.stack-heading h2 {
  font-size: clamp(30px, 4.8vw, 60px);
}

.ticker {
  overflow: hidden;
  margin: 52px calc((100vw - min(1240px, 100vw - 64px)) / -2) 54px;
  border-block: 1px solid rgba(105,190,225,.17);
  background: rgba(7,24,39,.62);
  transform: rotate(-1.3deg);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 42px;
  padding: 17px 0;
  animation: tickerMove 36s linear infinite;
  color: #a8dff3;
  font-size: 10px;
  letter-spacing: .17em;
}

.ticker-track span:nth-child(even) {
  color: #a995ff;
}

@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stack-card {
  position: relative;
  min-height: 225px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(140deg, rgba(14,39,60,.78), rgba(5,16,28,.74));
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}

.stack-card:hover {
  transform: translateY(-7px);
  border-color: rgba(105,221,255,.62);
  background: linear-gradient(140deg, rgba(18,53,78,.84), rgba(6,19,33,.82));
}

.stack-num {
  color: #7797ad;
  font-size: 8px;
  letter-spacing: .16em;
}

.stack-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 25px 0 17px;
  border: 1px solid rgba(105,221,255,.34);
  border-radius: 13px;
  color: var(--cyan);
  background: rgba(46,154,210,.08);
  box-shadow: 0 0 24px rgba(43,174,255,.08), inset 0 0 18px rgba(43,174,255,.08);
  font-size: 18px;
  font-weight: 800;
}

.stack-symbol img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.stack-symbol.stack-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.stack-symbol.stack-logos img {
  width: 20px;
  height: 20px;
}

.stack-symbol img.next-logo {
  filter: brightness(0) invert(1);
}

.symbol-js {
  color: #f3de79;
  border-color: rgba(243,222,121,.42);
}

.symbol-ts {
  color: #7aaaff;
}

.symbol-db {
  color: #c39bff;
  border-color: rgba(195,155,255,.42);
}

.symbol-html {
  font-size: 14px;
}

.symbol-framework {
  color: #d3a3ff;
}

.stack-card h3 {
  font-size: 17px;
}

.stack-card p {
  max-width: 260px;
  margin-top: 8px;
  color: #8fa7ba;
  font-size: 11px;
  line-height: 1.75;
}

.stack-level {
  position: absolute;
  top: 22px;
  right: 20px;
  color: #80b9d2;
  font-size: 7px;
  letter-spacing: .12em;
}

.projects-heading {
  max-width: 760px;
}

.projects-heading > p:last-child {
  max-width: 520px;
  margin-top: 20px;
  color: #92aabd;
  font-size: 13px;
  line-height: 1.8;
}

.project-feature {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(35px, 7vw, 95px);
  align-items: center;
  margin-top: 72px;
}

.project-reverse {
  grid-template-columns: .88fr 1.12fr;
}

.project-reverse .project-preview {
  order: 2;
}

.project-reverse .project-info {
  order: 1;
}

.project-preview {
  position: relative;
  aspect-ratio: 1.42 / 1;
  padding: 0 0 18px;
  overflow: hidden;
  border: 1px solid rgba(105,190,225,.3);
  border-radius: 10px;
  background: linear-gradient(145deg, #10283a, #071321 70%);
  box-shadow: 0 22px 70px rgba(0,0,0,.32), 0 0 45px rgba(50,148,210,.08);
}

.browser-bar {
  position: relative;
  z-index: 2;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(130,194,223,.15);
  background: rgba(5,13,23,.8);
}

.browser-bar > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f27e8a;
}

.browser-bar > span:nth-child(2) {
  background: #f3d17a;
}

.browser-bar > span:nth-child(3) {
  background: #75d6a4;
}

.browser-bar i {
  margin-left: auto;
  color: #7d9bae;
  font-size: 7px;
  font-style: normal;
}

.mock-library {
  height: calc(100% - 28px);
  display: grid;
  grid-template-columns: 26% 1fr;
  padding: 15px;
  gap: 13px;
  font-family: var(--sans);
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 9px;
  border: 1px solid rgba(103,191,225,.15);
  border-radius: 5px;
  background: rgba(4,13,23,.65);
}

.mock-sidebar b {
  color: #e4f5ff;
  font-size: 9px;
}

.mock-sidebar b span {
  color: var(--cyan);
}

.mock-sidebar small {
  color: #7893a7;
  font-size: 6px;
  letter-spacing: .08em;
}

.mock-sidebar .active {
  color: var(--cyan);
}

.mock-main {
  min-width: 0;
}

.mock-welcome {
  color: #e6f5ff;
  font-size: clamp(10px, 1.3vw, 16px);
  font-weight: 700;
}

.mock-welcome small {
  display: block;
  margin-top: 6px;
  color: #85a2b6;
  font-size: 7px;
  font-weight: 400;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 7px;
  margin-top: 18px;
}

.mock-stats span {
  padding: 10px 7px;
  border: 1px solid rgba(103,191,225,.18);
  border-radius: 4px;
  background: rgba(21,59,82,.35);
}

.mock-stats b {
  display: block;
  color: var(--cyan);
  font-size: 17px;
}

.mock-stats small {
  color: #86a5ba;
  font-size: 6px;
}

.mock-table {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
  margin-top: 17px;
}

.mock-table i {
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(113,175,205,.2), rgba(113,175,205,.05));
}

.preview-tag {
  position: absolute;
  right: 13px;
  bottom: 10px;
  color: rgba(153,220,245,.8);
  font-size: 7px;
  letter-spacing: .16em;
}

.project-info {
  max-width: 420px;
}

.project-info h3 {
  margin-top: 17px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.project-info h3 span {
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
}

.project-info > p:not(.tiny-label) {
  margin-top: 20px;
  color: #92aabd;
  font-size: 12px;
  line-height: 1.9;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.project-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(105,190,225,.22);
  border-radius: 3px;
  color: #9bc9dc;
  font-size: 7px;
  letter-spacing: .1em;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 27px;
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: .16em;
}

.project-link b {
  font-size: 15px;
  transition: transform .2s ease;
}

.project-link:hover b {
  transform: translate(4px,-4px);
}

.mock-cafe {
  height: calc(100% - 28px);
  padding: 15px 20px;
  font-family: var(--sans);
  background: radial-gradient(ellipse at 85% 70%, rgba(170,98,49,.25), transparent 45%), #f1e7d7;
  color: #27221d;
}

.cafe-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(64,49,35,.2);
  padding-bottom: 10px;
}

.cafe-nav b {
  font-size: 9px;
  letter-spacing: -.04em;
}

.cafe-nav b span {
  color: #a65a39;
}

.cafe-nav small {
  font-size: 5px;
  letter-spacing: .1em;
}

.cafe-hero {
  min-height: 70%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5%;
}

.cafe-hero small {
  display: block;
  color: #986548;
  font-size: 6px;
  letter-spacing: .16em;
}

.cafe-hero b {
  display: block;
  margin-top: 9px;
  font-size: clamp(16px, 2.7vw, 33px);
  line-height: .98;
  letter-spacing: -.07em;
}

.cafe-hero em {
  color: #b16a45;
  font-style: normal;
}

.cafe-hero i {
  display: block;
  margin-top: 10px;
  color: #80634f;
  font-size: 7px;
  font-style: normal;
}

.coffee-cup {
  position: relative;
  width: clamp(70px, 11vw, 130px);
  height: clamp(70px, 11vw, 130px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(165,100,63,.4);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(206,155,112,.42), rgba(181,110,72,.08) 68%, transparent 70%);
}

.cup-body {
  width: 48%;
  height: 45%;
  display: grid;
  place-items: center;
  border-radius: 5px 5px 14px 14px;
  background: #efe1cc;
  color: #9b5a3e;
  font-size: 17px;
  box-shadow: 4px 6px 15px rgba(74,39,20,.22);
}

.cup-body::after {
  content: "";
  position: absolute;
  width: 12%;
  height: 17%;
  margin-left: 52%;
  border: 4px solid #efe1cc;
  border-left: 0;
  border-radius: 0 10px 10px 0;
}

.cup-steam {
  position: absolute;
  top: 12%;
  width: 25px;
  height: 28px;
  border-left: 1px solid #b78a6f;
  border-radius: 50%;
  transform: rotate(25deg);
}

.cafe-products {
  display: flex;
  justify-content: space-around;
  padding-top: 10px;
  border-top: 1px solid rgba(64,49,35,.2);
  color: #956145;
  font-size: 6px;
  letter-spacing: .12em;
}

.projects-note {
  margin-top: 65px;
  color: var(--cyan);
  text-align: center;
  font-size: 8px;
  letter-spacing: .13em;
}

.projects-note span {
  color: #718da2;
}

.journey-heading {
  margin-bottom: 68px;
}

.timeline {
  position: relative;
  max-width: 850px;
  margin-left: 8%;
  padding-left: 42px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 25px;
  left: 7px;
  width: 1px;
  background: linear-gradient(var(--cyan), rgba(155,117,255,.15));
}

.timeline-item {
  position: relative;
  padding: 0 0 48px 18px;
}

.timeline-point {
  position: absolute;
  top: 2px;
  left: -41px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: #071421;
  box-shadow: 0 0 0 5px rgba(105,221,255,.07), 0 0 18px rgba(105,221,255,.5);
}

.timeline-item h3 {
  margin-top: 12px;
  font-size: 22px;
}

.timeline-item > p:last-child {
  max-width: 560px;
  margin-top: 9px;
  color: #92aabd;
  font-size: 12px;
  line-height: 1.8;
}

.contact {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.contact-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 95px auto 65px;
  text-align: center;
}

.contact-content h2 {
  margin-top: 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -.07em;
}

.contact-content > p:not(.eyebrow) {
  max-width: 450px;
  margin: 25px auto 0;
  color: #94adbf;
  font-size: 13px;
  line-height: 1.8;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
  padding: 17px 25px;
  background: linear-gradient(120deg, rgba(57, 217, 255, 0.12), rgba(134, 92, 255, 0.12));
  border: 1px solid #39d9ff;
  border-radius: 5px;
  color: #e6f5ff;
  font-family: inherit;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-cta:hover {
  background: rgba(57, 217, 255, 0.18);
  box-shadow: 0 0 20px rgba(57, 217, 255, 0.2);
  transform: translateY(-3px);
}

.contact-orbit {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 490px;
  height: 150px;
  border: 1px solid rgba(75,179,235,.18);
  border-radius: 50%;
  transform: translate(-50%,-50%) rotate(-18deg);
  pointer-events: none;
}

.orbit-b {
  width: 570px;
  height: 205px;
  border-color: rgba(153,117,255,.16);
  transform: translate(-50%,-50%) rotate(22deg);
}

/* =========================================
CONTATOS - BOTÃO PRINCIPAL
========================================= */

/* SETA DO BOTÃO */

.contact-arrow {
  font-size: 19px;
  transition: transform 0.3s ease;
}

.contact-cta[aria-expanded="true"] .contact-arrow {
  transform: rotate(135deg);
}

/* =========================================
PAINEL DE CONTATOS
========================================= */

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin-top: 35px;
  perspective: 1000px;
}

/* ESCONDE O PAINEL QUANDO FECHADO */

.contact-options[hidden] {
  display: none;
}

/* =========================================
CARDS INDIVIDUAIS
========================================= */

.contact-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 245px;
  padding: 24px;
  background: linear-gradient( 145deg, rgba(16, 37, 59, 0.95), rgba(7, 17, 31, 0.98) );
  border: 1px solid rgba(57, 217, 255, 0.2);
  border-radius: 8px;
  text-decoration: none;
  color: #e6f5ff;
  opacity: 0;
  animation: contactFan 0.6s ease forwards;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* ANIMAÇÃO DE ABERTURA */

@keyframes contactFan {
  from {
    opacity: 0;
    transform: translateY(35px) rotateX(-12deg) scale(0.92);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

/* ATRASO ENTRE OS CARDS */

.contact-option:nth-child(1) {
  animation-delay: 0.05s;
}

.contact-option:nth-child(2) {
  animation-delay: 0.15s;
}

.contact-option:nth-child(3) {
  animation-delay: 0.25s;
}

/* EFEITO HOVER */

.contact-option:hover {
  transform: translateY(-8px);
  border-color: #39d9ff;
  box-shadow: 0 10px 35px rgba(57, 217, 255, 0.12);
}

/* =========================================
IDENTIFICAÇÃO DOS CARDS
========================================= */

.contact-option-number {
  color: #7392a8;
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

/* ÍCONES */

.contact-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin-bottom: 17px;
  border: 1px solid rgba(57, 217, 255, 0.4);
  border-radius: 10px;
  color: #39d9ff;
  font-size: 21px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-option-icon img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}
.contact-option:hover .contact-option-icon {
    transform: scale(1.08);

    box-shadow:
        0 0 18px rgba(57, 217, 255, 0.2);
}



/* =========================================
TEXTOS DOS CARDS
========================================= */

.contact-option h3 {
  margin-bottom: 10px;
  color: #e6f5ff;
  font-size: 21px;
}

.contact-option p {
  color: #8da8bd;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 22px;
}

/* LINKS DOS CARDS */

.contact-option-link {
  margin-top: auto;
  color: #39d9ff;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* =========================================
RESPONSIVIDADE
========================================= */

/* =========================================
ACESSIBILIDADE
========================================= */

.site-footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(22px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: #708da2;
  font-size: 8px;
  letter-spacing: .12em;
}

.site-footer .brand {
  color: var(--text);
  font-family: var(--sans);
}

.back-top {
  color: var(--cyan);
}

.scroll-progress {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  box-shadow: 0 0 10px var(--cyan);
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 19px;
  background: #050d18;
  transition: opacity .65s ease, visibility .65s ease;
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-mark {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.08em;
}

.loading-track {
  width: 150px;
  height: 2px;
  overflow: hidden;
  background: rgba(105,221,255,.15);
}

.loading-track span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: loading 1s ease-in-out infinite alternate;
}

.loading-screen p {
  color: #688ba2;
  font-size: 7px;
  letter-spacing: .2em;
}

@keyframes loading {
  to {
    transform: translateX(150px);
  }
}

/* Entrada dos elementos controlada pelo GSAP. Sem JS, o conteúdo permanece visível. */

.reveal {
  will-change: transform, opacity;
}

@media (max-width: 900px) {
  .section-shell {
    width: min(100% - 44px, 760px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-copy {
    max-width: 680px;
  }

  .stack-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .project-feature, .project-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-reverse .project-preview, .project-reverse .project-info {
    order: initial;
  }

  .project-info {
    max-width: 620px;
  }
}

@media (max-width: 850px) {
  .contact-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 68px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    top: 68px;
  }

  .hero {
    padding-top: 105px;
  }

  .hero-side-note {
    display: none;
  }

  .hero-tech-float {
    font-size: 7px;
    padding: 7px 9px;
  }

  .tech-react {
    left: 0;
    top: 27%;
  }

  .tech-js {
    right: 0;
    top: 34%;
  }

  .tech-api {
    right: 5%;
    bottom: 19%;
  }

  .section-shell {
    width: calc(100% - 38px);
  }

  .about, .stack, .projects, .journey, .contact {
    padding-top: 95px;
    padding-bottom: 100px;
  }

  .section-topline {
    font-size: 7px;
  }

  .section-topline span:last-child {
    max-width: 45%;
  }

  .about-heading, .stack-heading, .projects-heading, .journey-heading {
    margin-top: 55px;
  }

  .about-grid {
    margin-top: 42px;
  }

  .stat-card i {
    position: static;
    display: block;
    margin-top: 7px;
  }

  .stack-grid {
    gap: 10px;
  }

  .stack-card {
    min-height: 205px;
    padding: 16px;
  }

  .stack-level {
    position: static;
    display: block;
    margin-top: 14px;
  }

  .ticker {
    margin-top: 38px;
    margin-bottom: 42px;
  }

  .timeline {
    margin-left: 4%;
  }

  .contact {
    min-height: 560px;
  }

  .contact-content {
    margin-top: 72px;
  }

  .contact-orbit {
    width: 320px;
    height: 110px;
  }

  .orbit-b {
    width: 370px;
    height: 155px;
  }

  .site-footer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding-block: 28px;
  }

  .site-footer > * {
    flex-basis: 100%;
  }
}

@media (max-width: 550px) {
  .contact-options {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 25px;
  }

  .contact-option {
    min-height: 220px;
    padding: 22px;
  }

  .contact-cta {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: clamp(49px, 13vw, 66px);
  }

  .hero-description {
    max-width: 300px;
    font-size: 12px;
  }

  .hero-role {
    font-size: 8px;
    letter-spacing: .16em;
  }

  .stack-grid {
    grid-template-columns: 1fr;
  }

  .stack-card {
    min-height: 175px;
  }

  .project-preview {
    aspect-ratio: 1.15 / 1;
  }

  .mock-library {
    padding: 9px;
    gap: 8px;
    grid-template-columns: 24% 1fr;
  }

  .mock-sidebar {
    gap: 10px;
    padding: 9px 6px;
  }

  .cafe-nav small {
    font-size: 4px;
  }

  .cafe-hero {
    padding-inline: 2%;
  }

  .cafe-hero b {
    font-size: 20px;
  }

  .coffee-cup {
    width: 75px;
    height: 75px;
  }

  .section-topline span:last-child {
    display: none;
  }

  .timeline {
    padding-left: 35px;
  }

  .timeline-point {
    left: -34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .contact-option {
    animation: none;
    opacity: 1;
  }

  .contact-cta,

    .contact-arrow,

    .contact-option-icon {
    transition: none;
  }
}
