/* Variáveis visuais */
:root {
  --bg: #101113;
  --bg-deep: #0b0c0d;
  --panel: #191b1e;
  --panel-light: #212327;
  --line: #33363a;
  --ink: #f4f3ee;
  --ink-muted: #b6b8b7;
  --yellow: #ffd22e;
  --yellow-hover: #ffe05c;
  --black: #111113;
  --body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --max: 1200px;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:92px;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--body);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body.modal-open {
  overflow:hidden;
}
button,input,select,textarea {
  font:inherit;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  cursor:pointer;
}
img,video {
  display:block;
  max-width:100%;
}
::selection {
  background:var(--yellow);
  color:var(--black);
}
:focus-visible {
  outline:2px solid var(--yellow);
  outline-offset:4px;
}
.container {
  width:min(calc(100% - 64px),var(--max));
  margin-inline:auto;
}
.skip-link {
  position:fixed;
  top:-100px;
  left:18px;
  padding:12px 16px;
  background:var(--yellow);
  color:var(--black);
  z-index:110;
}
.skip-link:focus {
  top:12px;
}

/* Cabeçalho e navegação */
.header {
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(16,17,19,.94);
  border-bottom:1px solid #26282c;
  backdrop-filter:blur(18px);
}
.header-inner {
  height:80px;
  display:flex;
  gap:25px;
  align-items:center;
}
.brand {
  display:flex;
  align-items:center;
  gap:13px;
  flex-shrink:0;
}
.brand-mark,.footer-logo {
  font:700 34px/1 var(--display);
  letter-spacing:-.09em;
  color:var(--ink);
}
.brand-mark span,.footer-logo span {
  color:var(--yellow);
}
.brand-meta {
  font:800 10px/1.15 var(--body);
  letter-spacing:.11em;
}
.brand-meta small {
  display:block;
  margin-top:5px;
  font-size:8px;
  letter-spacing:.14em;
  color:#96999b;
  font-weight:700;
}
.desktop-nav {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:31px;
}
.desktop-nav a {
  font-size:13px;
  font-weight:600;
  color:#b0b2b5;
  transition:color .18s;
}
.desktop-nav a:hover,.desktop-nav a.active {
  color:var(--yellow);
}
.header-contact {
  border:1px solid #646568;
  background:#252629;
  border-radius:2px;
  display:flex;
  align-items:center;
  gap:20px;
  padding:13px 16px;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
  transition:border-color .2s,background .2s;
}
.header-contact:hover {
  border-color:var(--yellow);
  background:#303032;
}
.header-contact span {
  color:var(--yellow);
}
.menu-button {
  display:none;
  border:1px solid var(--line);
  background:#252629;
  color:var(--ink);
  height:42px;
  width:46px;
  padding:10px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  border-radius:3px;
}
.menu-button span {
  display:block;
  width:22px;
  height:2px;
  background:var(--yellow);
  border-radius:4px;
}
.mobile-nav[hidden] {
  display:none!important;
}
.mobile-nav {
  display:none;
  flex-direction:column;
  padding:8px 25px 20px;
  background:var(--bg-deep);
  border-top:1px solid var(--line);
}
.mobile-nav a {
  padding:13px 5px;
  border-bottom:1px solid #2e3033;
  font-size:14px;
}

/* Abertura do portfólio */
.hero {
  position:relative;
  isolation:isolate;
  background:var(--bg-deep);
  padding:100px 0 28px;
  overflow:hidden;
}
.hero-grid-pattern {
  pointer-events:none;
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:.35;
  background-image:linear-gradient(90deg,transparent 0,transparent 98%,rgba(222,222,220,.07) 98%),linear-gradient(transparent 0,transparent 98%,rgba(222,222,220,.055) 98%);
  background-size:100px 100px;
  mask-image:linear-gradient(90deg,transparent,#000 75%);
}

/* Abertura do portfólio */
.hero:before {
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:10%;
  top:80px;
  border-radius:50%;
  background:#ffd22e;
  opacity:.032;
  filter:blur(80px);
  pointer-events:none;
}
.hero-layout {
  display:grid;
  grid-template-columns:1fr .96fr;
  align-items:center;
  gap:80px;
}
.eyebrow,.section-number {
  font:800 11px/1.5 var(--body);
  letter-spacing:.14em;
  color:var(--yellow);
}
.eyebrow {
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 25px;
}
.status-dot {
  width:8px;
  height:8px;
  background:var(--yellow);
  border-radius:50%;
  box-shadow:0 0 0 5px rgba(255,210,46,.1);
}

/* Abertura do portfólio */
.hero h1 {
  font:700 clamp(52px,5.45vw,83px)/1.02 var(--display);
  letter-spacing:-.074em;
  margin:0;
  max-width:650px;
}

/* Abertura do portfólio */
.hero h1 span {
  color:var(--yellow);
}
.hero-desc {
  font-size:16px;
  line-height:1.8;
  max-width:545px;
  color:#bec0c1;
  margin:30px 0 32px;
}
.hero-desc strong {
  color:var(--ink);
  font-weight:700;
}
.hero-actions {
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:25px;
  border:1px solid transparent;
  border-radius:3px;
  padding:16px 22px;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  transition:background .2s,transform .2s,border-color .2s;
  min-height:50px;
}
.button:hover {
  transform:translateY(-2px);
}
.button-yellow {
  background:var(--yellow);
  color:#131312;
  border-color:var(--yellow);
}
.button-yellow:hover {
  background:var(--yellow-hover);
}
.button-ghost {
  background:transparent;
  color:var(--ink);
  border-color:#63666b;
}
.button-ghost:hover {
  border-color:var(--yellow);
  background:#28292b;
}
.hero-footnote {
  margin-top:45px;
  display:flex;
  align-items:center;
  gap:14px;
  font-size:10px;
  letter-spacing:.14em;
  color:#999b9d;
  font-weight:700;
}
.mini-rule {
  height:1px;
  width:38px;
  background:var(--yellow);
}
.hero-showcase {
  position:relative;
  min-width:0;
  background:#161819;
  border:1px solid #4b4b46;
  box-shadow:22px 22px 0 rgba(255,210,46,.07);
  border-radius:4px;
  margin-right:25px;
}
.showcase-top {
  height:43px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 15px;
  font:700 9px/1 var(--display);
  color:#b9bcc0;
  letter-spacing:.13em;
}
.showcase-top>span:first-child {
  display:flex;
  gap:5px;
}
.showcase-top i {
  width:7px;
  height:7px;
  border-radius:100%;
  background:#555a5d;
}
.showcase-top i:first-child {
  background:var(--yellow);
}
.hero-showcase>img {
  width:100%;
  aspect-ratio:1.43;
  object-fit:cover;
  object-position:center;
  filter:saturate(.84);
}
.showcase-bottom {
  padding:17px 21px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
}
.showcase-bottom b {
  display:block;
  font:700 15px/1.2 var(--display);
  letter-spacing:.07em;
}
.showcase-bottom small {
  display:block;
  color:#aeb0b3;
  font-size:11px;
  margin-top:5px;
}
.arrow-circle {
  width:35px;
  height:35px;
  border:1px solid #686968;
  display:grid;
  place-items:center;
  color:var(--yellow);
  border-radius:50%;
  background:transparent;
  cursor:pointer;
  transition:background .2s,border-color .2s;
}
.arrow-circle:hover,.arrow-circle:focus-visible {
  background:#333;
  border-color:var(--yellow);
}
.side-label {
  position:absolute;
  right:-31px;
  top:50%;
  transform:translate(100%,-50%) rotate(90deg);
  transform-origin:left center;
  font:700 9px/1 var(--display);
  color:#77797b;
  letter-spacing:.2em;
  white-space:nowrap;
}
.hero-scroll {
  margin-top:82px;
  display:flex;
  justify-content:flex-end;
  border-top:1px solid #2d2e31;
  padding-top:17px;
  font-size:10px;
  color:#9b9c9e;
  letter-spacing:.13em;
  font-weight:700;
}

/* Tecnologias */
.tech-strip {
  background:var(--yellow);
  color:#1d1c15;
}
.tech-strip-inner {
  padding:15px 0;
  display:flex;
  gap:18px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  font:800 11px/1.3 var(--display);
  letter-spacing:.07em;
}
.tech-strip-inner b {
  font-weight:400;
  opacity:.4;
}

/* Seções compartilhadas */
.section {
  padding:112px 0;
}
h2,h3 {
  font-family:var(--display);
}

/* Seções compartilhadas */
.section h2 {
  font-size:clamp(37px,4.2vw,62px);
  line-height:1.06;
  letter-spacing:-.065em;
  font-weight:700;
  margin:18px 0 0;
}

/* Seções compartilhadas */
.section h2 span {
  color:var(--yellow);
}

/* Sobre mim */
.about {
  background:#151619;
  border-bottom:1px solid #2b2d31;
}
.about-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:95px;
}
.section-heading-col {
  max-width:520px;
}
.about-text .lead {
  color:var(--ink);
  font:500 22px/1.42 var(--display);
  margin:0 0 18px;
}
.about-text p:not(.lead) {
  font-size:15px;
  color:#b9bbbe;
  line-height:1.85;
  margin:0 0 15px;
}
.about-text strong {
  color:var(--ink);
}
.about-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:26px;
}
.about-tags span {
  border:1px solid #48494a;
  background:#202124;
  padding:8px 11px;
  font-size:11px;
  color:#d3d3d1;
}

/* Projetos */
.projects {
  background:var(--bg-deep);
}
.section-title-row {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:60px;
  margin-bottom:44px;
}
.section-title-row>div {
  max-width:720px;
}
.section-title-row>p {
  font-size:14px;
  line-height:1.7;
  color:#aaaeb0;
  max-width:320px;
  margin:0 0 4px;
}
.feature-project {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  border:1px solid #3a3b3e;
  background:#17191b;
  overflow:hidden;
}
.feature-media {
  position:relative;
  min-height:490px;
  background:#121415;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:38px;
}
.feature-media img {
  width:100%;
  height:100%;
  max-height:450px;
  object-fit:contain;
  box-shadow:0 19px 50px rgba(0,0,0,.35);
  border:1px solid #41464b;
}
.feature-sticker {
  position:absolute;
  left:20px;
  top:20px;
  background:var(--yellow);
  color:#171717;
  font:800 10px/1.5 var(--body);
  padding:12px 13px;
  letter-spacing:.1em;
}
.feature-content {
  padding:48px 43px;
  display:flex;
  flex-direction:column;
  align-items:start;
}
.project-count {
  font-size:10px;
  color:var(--yellow);
  font-weight:800;
  letter-spacing:.14em;
}
.feature-content h3 {
  font-size:clamp(47px,4.6vw,74px);
  font-weight:700;
  line-height:1;
  margin:35px 0 12px;
  letter-spacing:-.07em;
}
.feature-content h3 span {
  color:var(--yellow);
}
.feature-subtitle {
  font:500 18px/1.4 var(--display)!important;
  color:var(--ink)!important;
  margin:0 0 18px!important;
}
.feature-content p {
  font-size:14px;
  line-height:1.8;
  color:#b6b8b9;
  max-width:510px;
}
.project-tags {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  list-style:none;
  padding:0;
  margin:18px 0 30px;
}
.project-tags li {
  padding:8px 11px;
  border:1px solid #46494b;
  border-radius:2px;
  font-size:11px;
  color:#d6d7d7;
  background:#202225;
}
.text-action {
  border:0;
  border-bottom:1px solid var(--yellow);
  background:none;
  padding:4px 0 12px;
  color:var(--ink);
  font-size:13px;
  font-weight:800;
  display:flex;
  gap:20px;
  align-items:center;
  text-align:left;
  margin-top:auto;
}
.text-action span {
  color:var(--yellow);
}
.text-action:hover {
  color:var(--yellow);
}
.secondary-project {
  margin-top:20px;
  border:1px solid #383a3e;
  background:#161719;
  display:grid;
  grid-template-columns:.68fr 1fr;
  min-height:340px;
}
.arcade-art {
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:#191527;
  background-image:radial-gradient(#383046 1px,transparent 1px);
  background-size:18px 18px;
  text-align:center;
}
.arcade-art:before {
  content:"";
  position:absolute;
  inset:13px;
  border:2px solid #554b71;
  pointer-events:none;
}
.arcade-header {
  position:absolute;
  left:24px;
  right:24px;
  top:24px;
  display:flex;
  justify-content:space-between;
  font-size:9px;
  letter-spacing:.16em;
  color:#dcbfff;
  font-weight:800;
}
.arcade-art strong {
  font:700 clamp(37px,4.3vw,61px)/.97 var(--display);
  letter-spacing:-.04em;
  text-shadow:5px 5px 0 #6f4e90;
  color:#f5e49c;
  z-index:1;
}
.arcade-glyph {
  font-size:32px;
  letter-spacing:15px;
  color:#ef7bb0;
  margin-bottom:8px;
}
.arcade-glyph span {
  color:#8bfaed;
}
.arcade-art small {
  font-size:8px;
  letter-spacing:.07em;
  color:#cabbd3;
  position:absolute;
  bottom:24px;
  left:20px;
  right:20px;
}
.secondary-info {
  padding:37px 42px;
  align-self:center;
}
.status-label {
  display:inline-block;
  margin:20px 0 0 15px;
  font-size:9px;
  letter-spacing:.08em;
  padding:6px 8px;
  border:1px solid #85805a;
  color:#e6db89;
}
.secondary-info h3 {
  font:700 38px/1.1 var(--display);
  letter-spacing:-.055em;
  margin:20px 0 13px;
}
.secondary-info>p {
  max-width:570px;
  font-size:14px;
  line-height:1.8;
  color:#b9b9be;
}
.secondary-info .project-tags {
  margin-bottom:8px;
}
.secondary-note {
  font-size:12px!important;
  color:#8d8e93!important;
}

/* Serviços */
.services {
  background:#161719;
}
.service-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.service-card {
  border:1px solid #404146;
  background:#202124;
  min-height:360px;
  display:flex;
  flex-direction:column;
  padding:26px 26px 24px;
  transition:border-color .2s,transform .2s;
}
.service-card:focus-within {
  border-color:var(--yellow);
}
.service-icon {
  font:500 54px/1 var(--display);
  color:var(--yellow);
  margin:10px 0 19px;
}
.service-card h3 {
  font:700 24px/1.2 var(--display);
  letter-spacing:-.045em;
  margin:0;
}
.service-card p {
  font-size:14px;
  line-height:1.8;
  color:#adafb1;
  margin:12px 0 20px;
}
.service-cta {
  margin-top:auto;
  padding:13px 0 0;
  background:none;
  border:none;
  border-top:1px solid #55565a;
  color:var(--yellow);
  font-size:12px;
  font-weight:800;
  display:flex;
  justify-content:space-between;
  gap:12px;
  text-align:left;
}
.service-cta:hover {
  color:#fff;
}
.scope-note {
  font-size:12px;
  color:#9b9da0;
  line-height:1.75;
  margin-top:22px;
  max-width:940px;
}

/* Processo de trabalho */
.process {
  background:#101113;
}
.steps {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid #49494b;
  border-bottom:1px solid #49494b;
}
.step {
  padding:31px 26px 37px 0;
  border-right:1px solid #343539;
  min-height:210px;
}
.step:not(:first-child) {
  padding-left:25px;
}
.step:last-child {
  border-right:0;
}
.step>span {
  font:700 13px/1 var(--display);
  color:var(--yellow);
}
.step h3 {
  font:700 23px/1.2 var(--display);
  margin:36px 0 11px;
  letter-spacing:-.045em;
}
.step p {
  font-size:13px;
  line-height:1.65;
  color:#adb0b0;
  margin:0;
}

/* Contato */
.contact {
  background:var(--yellow);
  color:var(--black);
}
.contact-layout {
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:90px;
  align-items:start;
}

/* Contato */
.contact .section-number {
  color:#554b14;
}

/* Contato */
.contact h2 span {
  color:#6d5e16;
}
.contact-intro>p:not(.section-number) {
  font-size:16px;
  line-height:1.8;
  max-width:450px;
  color:#3c3b32;
  margin:27px 0 32px;
}
.instagram-link {
  display:inline-flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap;
  font-size:15px;
  border-bottom:2px solid #171715;
  padding-bottom:11px;
}
.instagram-link strong {
  font-weight:800;
}
.instagram-link span {
  margin-left:12px;
}
.brief-form {
  padding:34px 35px;
  background:#131416;
  color:#f2f2ee;
  display:flex;
  flex-direction:column;
  gap:8px;
  border-radius:3px;
  box-shadow:10px 10px 0 rgba(16,16,15,.12);
}
.form-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #444447;
  margin-bottom:16px;
  padding-bottom:18px;
  font:700 11px/1 var(--display);
  letter-spacing:.16em;
  color:var(--yellow);
}
.brief-form label {
  font-size:12px;
  font-weight:800;
  margin-top:9px;
}
.brief-form input,.brief-form select,.brief-form textarea,.brief-result textarea {
  width:100%;
  border:1px solid #55565b;
  color:#eee;
  background:#242529;
  border-radius:2px;
  padding:13px 14px;
  font-size:14px;
  resize:vertical;
  min-height:48px;
  outline:none;
}
.brief-form input::placeholder,.brief-form textarea::placeholder {
  color:#a7a8ac;
}
.brief-form input:focus,.brief-form select:focus,.brief-form textarea:focus,.brief-result textarea:focus {
  border-color:var(--yellow);
  outline:2px solid rgba(255,210,46,.15);
}
.brief-form select {
  appearance:auto;
}
.form-submit {
  width:100%;
  margin-top:16px;
  justify-content:space-between;
}
.form-note {
  font-size:11px;
  line-height:1.7;
  color:#adaeb0;
  margin:13px 0 0;
}
.brief-result {
  border:1px solid #7b6e3a;
  background:#2c291a;
  padding:14px;
  margin-top:15px;
}
.brief-result p {
  color:#ffe7a0;
  font-size:12px;
  line-height:1.6;
  margin:0 0 10px;
}
.brief-result textarea {
  min-height:120px;
  margin:8px 0;
  font-size:12px;
}
.brief-result a,.brief-result button {
  font-size:12px;
  color:var(--yellow);
  background:transparent;
  border:none;
  padding:8px 10px 8px 0;
  font-weight:800;
}

/* Rodapé */
.footer {
  background:#101113;
  padding:49px 0 23px;
}
.footer-upper {
  display:flex;
  align-items:center;
  gap:20px;
  padding-bottom:35px;
  border-bottom:1px solid #414144;
}
.footer-logo {
  font-size:50px;
}
.footer-upper strong,.footer-upper small {
  display:block;
}
.footer-upper strong {
  font:700 15px var(--display);
}
.footer-upper small {
  font-size:12px;
  color:#a6a7aa;
  margin-top:5px;
}
.back-to-top {
  margin-left:auto;
  color:var(--yellow);
  font-size:12px;
  font-weight:800;
}
.footer-lower {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:22px;
  font-size:10px;
  letter-spacing:.08em;
  color:#8f9194;
}

/* Janela de detalhes do ForceTrack */
.project-modal {
  background:#17181b;
  color:var(--ink);
  border:1px solid #57595b;
  padding:0;
  width:min(1020px,calc(100% - 24px));
  max-height:92vh;
  overflow:auto;
  border-radius:4px;
  box-shadow:0 30px 100px #000b;
}

/* Janela de detalhes do ForceTrack */
.project-modal::backdrop {
  background:#040405d9;
  backdrop-filter:blur(5px);
}
.modal-body {
  padding:38px;
}
.modal-top {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:15px;
}
.modal-top h2 {
  font:700 clamp(45px,6vw,65px)/1 var(--display);
  letter-spacing:-.07em;
  margin:12px 0;
}
.modal-top h2 span {
  color:var(--yellow);
}
.modal-close {
  width:43px;
  height:43px;
  border-radius:50%;
  border:1px solid #6f6f71;
  background:#252629;
  color:#f6f6f5;
  font-size:28px;
  flex-shrink:0;
}
.modal-close:hover {
  background:#3d3e40;
}
.modal-intro {
  font-size:15px;
  color:#b5b7ba;
  line-height:1.7;
  max-width:700px;
}
.modal-main-image {
  margin:24px 0 0;
  background:#0c0e0f;
  border:1px solid #414447;
}
.modal-main-image img {
  width:100%;
  height:clamp(190px,37vw,450px);
  object-fit:contain;
}
.modal-main-image figcaption {
  color:#c5c6c7;
  font-size:11px;
  padding:12px 15px;
  background:#25272a;
}
.modal-thumbnails {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
  margin-top:9px;
}
.gallery-thumb {
  padding:0;
  border:2px solid transparent;
  background:#101112;
  opacity:.65;
}
.gallery-thumb.active {
  border-color:var(--yellow);
  opacity:1;
}
.gallery-thumb:hover {
  opacity:1;
}
.gallery-thumb img {
  height:95px;
  width:100%;
  object-fit:cover;
}
.modal-info {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  margin:36px 0;
}
.modal-info span,.demo-heading span:not(.test-badge) {
  font-size:10px;
  letter-spacing:.13em;
  font-weight:800;
  color:var(--yellow);
}
.modal-info h3,.demo-heading h3 {
  font:700 23px/1.2 var(--display);
  letter-spacing:-.04em;
  margin:10px 0;
}
.modal-info p,.demo p {
  font-size:14px;
  color:#b5b7b9;
  line-height:1.8;
}
.demo {
  border:1px solid #4e4c41;
  background:#202022;
  padding:23px;
  margin-bottom:28px;
}
.demo-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.test-badge {
  font-size:10px;
  white-space:nowrap;
  padding:8px 10px;
  color:#17140b;
  background:var(--yellow);
  font-weight:800;
}
.demo video {
  width:100%;
  max-height:480px;
  background:#070707;
  margin-top:14px;
  border-radius:2px;
}
.toast {
  position:fixed;
  bottom:20px;
  left:50%;
  transform:translate(-50%,20px);
  opacity:0;
  pointer-events:none;
  z-index:120;
  background:var(--yellow);
  color:var(--black);
  font-size:13px;
  font-weight:800;
  padding:14px 20px;
  box-shadow:0 15px 50px #0009;
  transition:opacity .25s,transform .25s;
}
.toast.visible {
  opacity:1;
  transform:translate(-50%,0);
}

/* Adaptação a diferentes telas */
@media(max-width:1130px) {
  .hero-layout {
    gap:38px;
  }
  .desktop-nav {
    gap:18px;
  }
  .feature-media {
    min-height:430px;
  }
  .feature-content {
    padding:38px 32px;
  }
  .contact-layout {
    gap:50px;
  }
}

/* Adaptação a diferentes telas */
@media(max-width:880px) {
  .container {
    width:min(calc(100% - 42px),var(--max));
  }
  .desktop-nav,.header-contact {
    display:none;
  }
  .menu-button {
    display:flex;
    margin-left:auto;
  }
  .mobile-nav:not([hidden]) {
    display:flex;
  }
  .header-inner {
    height:70px;
  }
  .hero {
    padding-top:67px;
  }
  .hero-layout {
    grid-template-columns:1fr;
    gap:48px;
  }
  .hero-copy {
    max-width:680px;
  }
  .hero h1 {
    max-width:740px;
  }
  .hero-showcase {
    max-width:650px;
    width:calc(100% - 30px);
    margin:0 15px;
  }
  .side-label {
    display:none;
  }
  .hero-scroll {
    margin-top:52px;
  }
  .section {
    padding:84px 0;
  }
  .about-layout {
    grid-template-columns:1fr;
    gap:29px;
  }
  .about-text {
    max-width:730px;
  }
  .section-title-row {
    align-items:start;
    flex-direction:column;
    gap:15px;
  }
  .section-title-row>p {
    max-width:670px;
  }
  .feature-project {
    grid-template-columns:1fr;
  }
  .feature-media {
    min-height:310px;
    max-height:440px;
  }
  .feature-media img {
    max-height:380px;
  }
  .feature-content h3 {
    margin-top:18px;
  }
  .secondary-project {
    grid-template-columns:1fr 1.2fr;
  }
  .service-grid {
    grid-template-columns:1fr 1fr;
  }
  .service-card:last-child {
    grid-column:1/-1;
    min-height:300px;
  }
  .steps {
    grid-template-columns:repeat(2,1fr);
  }
  .step:nth-child(2) {
    border-right:0;
  }
  .step:nth-child(-n+2) {
    border-bottom:1px solid var(--line);
  }
  .step:nth-child(3) {
    padding-left:0;
  }
  .contact-layout {
    grid-template-columns:1fr;
    gap:35px;
  }
  .brief-form {
    max-width:700px;
  }
}

/* Adaptação a diferentes telas */
@media(max-width:590px) {
  .container {
    width:calc(100% - 34px);
  }
  .brand-meta {
    font-size:9px;
  }
  .brand-meta small {
    font-size:7px;
  }
  .hero {
    padding-top:58px;
  }
  .hero h1 {
    font-size:clamp(44px,11.8vw,65px);
  }
  .hero-desc {
    font-size:14px;
    margin:24px 0;
  }
  .hero-actions {
    flex-direction:column;
    align-items:stretch;
  }
  .hero-actions .button {
    justify-content:space-between;
  }
  .hero-footnote {
    font-size:9px;
    margin-top:28px;
    line-height:1.7;
  }
  .showcase-top {
    font-size:8px;
  }
  .showcase-bottom {
    padding:13px;
  }
  .hero-showcase {
    width:100%;
    margin:0;
  }
  .hero-showcase>img {
    aspect-ratio:1.5;
  }
  .hero-scroll {
    margin-top:35px;
  }
  .tech-strip-inner {
    gap:8px;
    justify-content:center;
    padding:13px 0;
    font-size:10px;
  }
  .tech-strip-inner b {
    display:none;
  }
  .tech-strip-inner span {
    padding:0 5px;
  }
  .section {
    padding:69px 0;
  }
  .section h2 {
    font-size:clamp(38px,9vw,48px);
  }
  .about-text .lead {
    font-size:19px;
  }
  .about-text p:not(.lead) {
    font-size:14px;
  }
  .feature-media {
    min-height:245px;
    padding:21px;
  }
  .feature-sticker {
    font-size:8px;
    top:12px;
    left:12px;
    padding:7px;
  }
  .feature-content {
    padding:26px 21px;
  }
  .feature-content h3 {
    font-size:52px;
  }
  .feature-content p {
    font-size:13px;
  }
  .secondary-project {
    grid-template-columns:1fr;
  }
  .arcade-art {
    height:280px;
  }
  .secondary-info {
    padding:27px 23px;
  }
  .service-grid {
    grid-template-columns:1fr;
  }
  .service-card,.service-card:last-child {
    grid-column:auto;
    min-height:320px;
  }
  .steps {
    grid-template-columns:1fr;
  }
  .step,.step:nth-child(3) {
    padding:21px 0 22px;
    border-right:none;
    border-bottom:1px solid var(--line);
    min-height:auto;
  }
  .step:not(:first-child) {
    padding-left:0;
  }
  .step:last-child {
    border-bottom:none;
  }
  .step h3 {
    margin:18px 0 9px;
  }
  .contact-intro>p:not(.section-number) {
    font-size:14px;
  }
  .brief-form {
    padding:22px 19px;
  }
  .footer-upper {
    gap:13px;
  }
  .footer-logo {
    font-size:40px;
  }
  .footer-upper strong {
    font-size:12px;
  }
  .footer-upper small {
    font-size:10px;
  }
  .back-to-top {
    font-size:10px;
  }
  .footer-lower {
    flex-direction:column;
    gap:9px;
  }
  .modal-body {
    padding:20px;
  }
  .modal-thumbnails {
    gap:5px;
  }
  .gallery-thumb img {
    height:57px;
  }
  .modal-info {
    grid-template-columns:1fr;
    gap:12px;
  }
  .demo {
    padding:13px;
  }
  .demo-heading {
    align-items:start;
    flex-direction:column;
    gap:4px;
  }
  .test-badge {
    font-size:9px;
  }
}

/* Adaptação a diferentes telas */
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}
.hero-scroll a:hover,.hero-scroll a:focus-visible {
  color:var(--yellow);
}


/* ===== REDES SOCIAIS E CONTATO ===== */

.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  background: #111113;
  color: #ffffff;

  padding: 16px;
  min-height: 54px;
  border: 1px solid #111113;
  border-radius: 5px;

  font-size: 14px;
  font-weight: 700;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.social-link:hover {
  background: #303030;
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 3px solid #111113;
  outline-offset: 3px;
}

.social-link span {
  color: #ffd22e;
  font-size: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .social-link {
    transition: none;
  }

  .social-link:hover {
    transform: none;
  }
}


/* =================================
   PROJETO VÉRTICE
================================= */

.vertice-project {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;

  margin-top: 22px;
  border: 1px solid #3a3b3e;
  background: #17191b;
  overflow: hidden;
}

/* Prévia visual da loja */

.vertice-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 400px;
  padding: 30px;

  background:
    linear-gradient(135deg, #f0ece4, #d6d0c4);

  color: #171717;
  overflow: hidden;
}

.vertice-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.vertice-preview-center {
  text-align: center;
}

.vertice-preview-center strong {
  display: block;

  font-family: var(--display);
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 1;
}

.vertice-preview-center strong span {
  color: #b79b37;
}

.vertice-preview-center p {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #555;
}

.vertice-preview-bottom {
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* Informações do projeto */

.vertice-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 48px 43px;
}

.vertice-info h3 {
  margin: 28px 0 10px;

  font-family: var(--display);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.vertice-info h3 span {
  color: var(--yellow);
}

.vertice-subtitle {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);

  margin: 0 0 18px;
}

.vertice-description {
  color: #b6b8b9;
  font-size: 14px;
  line-height: 1.8;
  max-width: 490px;
}

.vertice-info .project-tags {
  margin: 22px 0 30px;
}

.vertice-info .text-action {
  margin-top: auto;
  cursor: pointer;
}

/* Responsividade */

@media (max-width: 880px) {
  .vertice-project {
    grid-template-columns: 1fr;
  }

  .vertice-preview {
    min-height: 320px;
  }

  .vertice-info {
    padding: 32px;
  }
}

@media (max-width: 590px) {
  .vertice-preview {
    min-height: 250px;
    padding: 20px;
  }

  .vertice-preview-center strong {
    font-size: clamp(42px, 12vw, 65px);
  }

  .vertice-info {
    padding: 27px 23px;
  }

  .vertice-info h3 {
    font-size: 48px;
  }
}


/* ===================================
   VÉRTICE — PRÉVIA DO PROJETO
=================================== */

.vertice-preview-link {
  position: relative;
  display: block;

  padding: 0;
  min-height: 400px;
  overflow: hidden;


background: #171717;

  cursor: pointer;
  isolation: isolate;
}

/* Imagem da loja */
.vertice-preview-link img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

 
object-fit: contain;
object-position: center;

  transition: transform 0.5s ease;
}

/* Sombra suave para destacar o botão */
.vertice-preview-link::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65),
    transparent 55%
  );

  pointer-events: none;
}

/* Botão sobre a imagem */
.vertice-preview-cta {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 1;

  background: #ffffff;
  color: #111111;

  padding: 13px 18px;

  font-size: 13px;
  font-weight: 700;
}

/* Efeito ao passar o mouse */
.vertice-preview-link:hover img {
  transform: scale(1.035);
}

.vertice-preview-link:focus-visible {
  outline: 3px solid #ffd22e;
  outline-offset: -3px;
}

/* Celulares */
@media (max-width: 590px) {
  .vertice-preview-link {
    min-height: 270px;
  }

  .vertice-preview-cta {
    left: 16px;
    bottom: 16px;
  }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  .vertice-preview-link img {
    transition: none;
  }

  .vertice-preview-link:hover img {
    transform: none;
  }
}


/* ===== AJUSTE FINAL DA CAPA VÉRTICE ===== */

.vertice-preview-link {
  display: block;
  position: relative;

  width: 100%;
  height: auto;
  min-height: 0;

  padding: 0;
  overflow: hidden;
  align-self: start;
}

.vertice-preview-link img {
  display: block;
  position: static;

  width: 100%;
  height: auto;

  object-fit: contain;
  object-position: center;
}

/* Remove a camada escura sobre a imagem */
.vertice-preview-link::after {
  display: none;
}

/* Evita que a imagem seja esticada pelo grid */
.vertice-project {
  align-items: start;
}


/* ========================================
   LS. PORTFÓLIO 3.0
   PÁGINA INICIAL
======================================== */

.ls-home {
  background: #111113;
  color: #ffffff;
  padding: 100px 0;
  border-bottom: 1px solid #303033;
}

/* Layout principal */

.ls-home__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

/* Apresentação */

.ls-home__eyebrow {
  color: #ffd22e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
}

.ls-home h1 {
  font-family: var(--display);
  font-size: clamp(48px, 5.6vw, 86px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 1.05;
  margin: 0;
}

.ls-home h1 span {
  color: #ffd22e;
}

.ls-home__description {
  color: #bcbcbc;
  font-size: 16px;
  line-height: 1.8;
  max-width: 500px;
  margin: 28px 0 32px;
}

/* Botões */

.ls-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ls-home__button-primary,
.ls-home__button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;

  min-height: 52px;
  padding: 15px 23px;

  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.ls-home__button-primary {
  background: #ffd22e;
  color: #111111;
}

.ls-home__button-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid #777777;
}

.ls-home__button-primary:hover {
  background: #ffe36b;
  transform: translateY(-2px);
}

.ls-home__button-secondary:hover {
  background: #28282a;
  transform: translateY(-2px);
}

/* Prévia do projeto */

.ls-home__project {
  display: block;
  min-width: 0;
  overflow: hidden;

  background: #1c1c1e;
  border: 1px solid #414143;

  color: #ffffff;
  text-decoration: none;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.ls-home__project:hover {
  transform: translateY(-4px);
  border-color: #ffd22e;
}

.ls-home__project:focus-visible {
  outline: 3px solid #ffd22e;
  outline-offset: 4px;
}

.ls-home__project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 17px 20px;

  color: #ffd22e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.ls-home__project img {
  display: block;
  width: 100%;
  height: auto;
}

/* Rodapé do cartão */

.ls-home__project-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 22px;
}

.ls-home__project-bottom strong {
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -0.05em;
}

.ls-home__project-bottom p {
  color: #b9b9b9;
  font-size: 12px;
  line-height: 1.5;
  margin: 6px 0 0;
}

.ls-home__explore {
  color: #ffd22e;
  font-size: 12px;
  font-weight: 700;
}

/* Tablets e celulares */

@media (max-width: 950px) {

  .ls-home {
    padding: 75px 0;
  }

  .ls-home__layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .ls-home__content {
    max-width: 700px;
  }

  .ls-home__project {
    max-width: 700px;
  }
}

@media (max-width: 590px) {

  .ls-home {
    padding: 55px 0;
  }

  .ls-home h1 {
    font-size: clamp(42px, 11vw, 60px);
  }

  .ls-home__description {
    font-size: 14px;
  }

  .ls-home__actions {
    flex-direction: column;
  }

  .ls-home__button-primary,
  .ls-home__button-secondary {
    width: 100%;
  }

  .ls-home__project-bottom {
    padding: 18px;
  }
}

/* Respeita a preferência por menos animação */

@media (prefers-reduced-motion: reduce) {
  .ls-home__project,
  .ls-home__button-primary,
  .ls-home__button-secondary {
    transition: none;
  }

  .ls-home__project:hover,
  .ls-home__button-primary:hover,
  .ls-home__button-secondary:hover {
    transform: none;
  }
}


/* ==========================================
   LS. — NOVA SEÇÃO DE PROJETOS
========================================== */

.work-section {
  padding-top: clamp(75px, 9vw, 125px);
  padding-bottom: clamp(75px, 9vw, 125px);
}


/* CABEÇALHO */

.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;

  margin-bottom: 45px;
  padding-bottom: 25px;

  border-bottom: 1px solid #37373a;
}

.work-eyebrow,
.work-card__eyebrow {
  color: #ffd22e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.work-heading h2 {
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.065em;
  margin-top: 15px;
}

.work-heading h2 span,
.work-card__content h3 span {
  color: #ffd22e;
}

.work-heading__intro {
  max-width: 360px;
  color: #b5b5b5;
  font-size: 14px;
  line-height: 1.8;
}


/* ORGANIZAÇÃO DOS CARTÕES */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-width: 0;

  background: #18181a;
  border: 1px solid #343438;

  overflow: hidden;

  transition: border-color 0.25s ease;
}

.work-card:hover {
  border-color: #77716a;
}


/* FORCE TRACK EM DESTAQUE */

.work-card--featured {
  grid-column: 1 / -1;

  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
}


/* ÁREA DAS IMAGENS */

.work-card__media {
  position: relative;
  display: block;

  width: 100%;
  background: #e9e7df;

  overflow: hidden;
}

.work-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

.work-card__media--link {
  text-decoration: none;
  color: #ffffff;
}

.work-card__media--link img {
  transition: transform 0.4s ease;
}

.work-card__media--link:hover img {
  transform: scale(1.025);
}

.work-card__media--link:focus-visible {
  outline: 3px solid #ffd22e;
  outline-offset: -3px;
}


/* IDENTIFICAÇÃO DA IMAGEM VÉRTICE */

.work-card__media-label {
  position: absolute;
  left: 18px;
  bottom: 18px;

  background: #ffffff;
  color: #111111;

  padding: 12px 16px;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}


/* CONTEÚDO DOS PROJETOS */

.work-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: clamp(24px, 3vw, 38px);
  flex: 1;
}

.work-card__content h3 {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.065em;
  line-height: 1;

  margin: 22px 0 10px;
}

.work-card__subtitle {
  color: #eeeeee;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 17px;
}

.work-card__description {
  color: #b5b5b5;
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-line;
}


/* TECNOLOGIAS */

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  padding: 0;
  margin: 23px 0 28px;

  list-style: none;
}

.work-tags li {
  padding: 8px 11px;

  border: 1px solid #49494c;
  color: #dddddd;

  font-size: 10px;
  font-weight: 600;
}


/* LINKS E BOTÕES */

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;

  margin-top: auto;
  padding: 0 0 9px;

  background: none;
  border: 0;
  border-bottom: 1px solid #ffd22e;

  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;

  text-decoration: none;
  cursor: pointer;

  transition: color 0.2s ease;
}

.work-link span {
  color: #ffd22e;
  font-size: 18px;
}

.work-link:hover {
  color: #ffd22e;
}

.work-link:focus-visible {
  outline: 2px solid #ffd22e;
  outline-offset: 5px;
}


/* INVASÃO PIXEL */

.work-card__game-art {
  min-height: 290px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 25px;
  overflow: hidden;

  color: #ffffff;

  background-color: #20202b;

  background-image:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1.5px
    ),
    linear-gradient(
      135deg,
      #25253c,
      #16161d
    );

  background-size: 18px 18px, cover;
}

.game-art__top,
.game-art__bottom {
  display: flex;
  justify-content: space-between;

  color: #ffd22e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.game-art__center {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.game-art__center strong {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(35px, 5vw, 65px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.game-art__symbol {
  color: #ffd22e;
  font-size: 35px;
}

.work-status {
  display: inline-block;

  border: 1px solid #777777;
  color: #cfcfcf;

  padding: 8px 10px;
  margin-top: 14px;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}


/* RESPONSIVIDADE */

@media (max-width: 850px) {

  .work-card--featured {
    grid-template-columns: 1fr;
  }

  .work-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .work-heading__intro {
    max-width: 550px;
  }

}

@media (max-width: 590px) {

  .work-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .work-card--featured {
    grid-column: auto;
  }

  .work-heading {
    margin-bottom: 28px;
  }

  .work-card__content {
    padding: 25px 21px;
  }

  .work-card__content h3 {
    font-size: 40px;
  }

  .work-card__game-art {
    min-height: 230px;
    padding: 20px;
  }

}


/* ACESSIBILIDADE */

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

  .work-card,
  .work-card__media--link img,
  .work-link {
    transition: none;
  }

  .work-card__media--link:hover img {
    transform: none;
  }

}


/* =================================
   LS. — BOTÃO DE TEMA
================================= */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  min-height: 42px;
  padding: 0 13px;

  border: 1px solid var(--line);
  border-radius: 3px;

  background: var(--panel);
  color: var(--ink);

  font-size: 11px;
  font-weight: 700;

  cursor: pointer;
  white-space: nowrap;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.theme-toggle__icon {
  color: var(--yellow);
  font-size: 19px;
  line-height: 1;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

/* Botão no celular */

@media (max-width: 880px) {
  .theme-toggle {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    flex-shrink: 0;
  }

  .theme-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle {
    transition: none;
  }

  .theme-toggle:hover {
    transform: none;
  }
}


/* ========================================
   LS. — PALETA DO TEMA CLARO
======================================== */

html[data-theme="light"] {
  color-scheme: light;

  --bg: #f4f2ec;
  --bg-deep: #ebe8df;

  --panel: #ffffff;
  --panel-light: #f0eee7;

  --line: #d8d5cc;

  --ink: #191919;
  --ink-muted: #626262;

  --yellow: #bd9300;
  --yellow-hover: #a77f00;

  --black: #111111;
}

/* Fundo principal */

html[data-theme="light"] body {
  background: var(--bg);
  color: var(--ink);
}

/* Cabeçalho */

html[data-theme="light"] .header {
  background: rgba(244, 242, 236, 0.95);
  border-bottom-color: var(--line);
}

html[data-theme="light"] .desktop-nav a {
  color: #555555;
}

html[data-theme="light"] .desktop-nav a:hover,
html[data-theme="light"] .desktop-nav a.active {
  color: var(--yellow);
}

html[data-theme="light"] .brand-meta small {
  color: #747474;
}

html[data-theme="light"] .header-contact,
html[data-theme="light"] .menu-button {
  background: #ffffff;
  color: #171717;
  border-color: var(--line);
}

html[data-theme="light"] .mobile-nav {
  background: #ffffff;
  border-color: var(--line);
}

html[data-theme="light"] .mobile-nav a {
  color: #191919;
  border-color: var(--line);
}

/* Página inicial */

html[data-theme="light"] .ls-home {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
}

html[data-theme="light"] .ls-home__description {
  color: var(--ink-muted);
}

html[data-theme="light"] .ls-home__button-secondary {
  color: var(--ink);
  border-color: #888888;
}

html[data-theme="light"] .ls-home__button-secondary:hover {
  background: #e8e5dc;
}

html[data-theme="light"] .ls-home__project {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="light"] .ls-home__project-bottom p {
  color: var(--ink-muted);
}

/* Sobre mim e seções */

html[data-theme="light"] .about,
html[data-theme="light"] .services,
html[data-theme="light"] .process,
html[data-theme="light"] .projects,
html[data-theme="light"] .work-section {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
}

html[data-theme="light"] .about-text p:not(.lead),
html[data-theme="light"] .section-title-row > p,
html[data-theme="light"] .work-heading__intro {
  color: var(--ink-muted);
}

html[data-theme="light"] .about-tags span {
  background: var(--panel-light);
  color: var(--ink);
  border-color: var(--line);
}

/* Cartões dos projetos */

html[data-theme="light"] .feature-project,
html[data-theme="light"] .secondary-project,
html[data-theme="light"] .work-card,
html[data-theme="light"] .vertice-project {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="light"] .feature-content p,
html[data-theme="light"] .secondary-info > p,
html[data-theme="light"] .work-card__description,
html[data-theme="light"] .vertice-description {
  color: var(--ink-muted);
}

html[data-theme="light"] .project-tags li,
html[data-theme="light"] .work-tags li {
  color: var(--ink);
  background: var(--panel-light);
  border-color: var(--line);
}

html[data-theme="light"] .work-link,
html[data-theme="light"] .text-action {
  color: var(--ink);
}

/* Cartões de serviços */

html[data-theme="light"] .service-card {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

html[data-theme="light"] .service-card p,
html[data-theme="light"] .scope-note {
  color: var(--ink-muted);
}

html[data-theme="light"] .service-cta {
  border-color: var(--line);
}

/* Processo de trabalho */

html[data-theme="light"] .steps,
html[data-theme="light"] .step {
  border-color: var(--line);
}

html[data-theme="light"] .step p {
  color: var(--ink-muted);
}

/* Contato */

html[data-theme="light"] .contact {
  background: #e9c84d;
  color: #171717;
}

html[data-theme="light"] .brief-form {
  background: #ffffff;
  color: #191919;
  border: 1px solid #d7c36f;
}

html[data-theme="light"] .brief-form input,
html[data-theme="light"] .brief-form select,
html[data-theme="light"] .brief-form textarea,
html[data-theme="light"] .brief-result textarea {
  background: #f7f6f1;
  color: #191919;
  border-color: #cbc8bd;
}

html[data-theme="light"] .brief-form input::placeholder,
html[data-theme="light"] .brief-form textarea::placeholder {
  color: #777777;
}

html[data-theme="light"] .form-note {
  color: #636363;
}

html[data-theme="light"] .brief-result {
  background: #f1eddd;
  border-color: #c5ae55;
}

html[data-theme="light"] .brief-result p {
  color: #665417;
}

/* Rodapé */

html[data-theme="light"] .footer {
  background: #ebe8df;
  color: #191919;
}

html[data-theme="light"] .footer-upper {
  border-color: var(--line);
}

html[data-theme="light"] .footer-upper small,
html[data-theme="light"] .footer-lower {
  color: #686868;
}

/* Janela do ForceTrack */

html[data-theme="light"] .project-modal {
  background: #ffffff;
  color: #191919;
  border-color: var(--line);
}

html[data-theme="light"] .modal-intro,
html[data-theme="light"] .modal-info p,
html[data-theme="light"] .demo p {
  color: var(--ink-muted);
}

html[data-theme="light"] .modal-close {
  background: #f0eee7;
  color: #191919;
  border-color: var(--line);
}

html[data-theme="light"] .modal-main-image figcaption {
  background: #efede7;
  color: #444444;
}

html[data-theme="light"] .demo {
  background: #f3f1eb;
  border-color: var(--line);
}

/* Mantém elementos de destaque legíveis */

html[data-theme="light"] .feature-sticker,
html[data-theme="light"] .test-badge {
  color: #171717;
}


/* ======================================
   LS. — TRANSIÇÃO ENTRE TEMAS
====================================== */

body,
.header,
.mobile-nav,
.ls-home,
.ls-home__project,
.work-section,
.work-card,
.feature-project,
.secondary-project,
.about,
.services,
.service-card,
.process,
.contact,
.brief-form,
.brief-result,
.footer,
.project-modal,
.modal-close,
.modal-main-image figcaption,
.theme-toggle,
.social-link,
.contact-direct,
.ls-home__button-primary,
.ls-home__button-secondary,
.project-tags li,
.work-tags li,
.about-tags span {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Respeita a preferência por menos movimento */

@media (prefers-reduced-motion: reduce) {
  body,
  .header,
  .mobile-nav,
  .ls-home,
  .ls-home__project,
  .work-section,
  .work-card,
  .feature-project,
  .secondary-project,
  .about,
  .services,
  .service-card,
  .process,
  .contact,
  .brief-form,
  .brief-result,
  .footer,
  .project-modal,
  .modal-close,
  .theme-toggle,
  .social-link,
  .contact-direct {
    transition: none;
  }
}


/* ==========================================
   LS. — SOBRE MIM / NOVO LAYOUT
========================================== */

.about.about-redesign {
  padding-block: clamp(85px, 10vw, 140px);
  background: var(--bg, #111113);
  color: var(--ink, #ffffff);
}

/* ORGANIZAÇÃO PRINCIPAL */

.about-redesign__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: clamp(40px, 8vw, 110px);
}

/* COLUNA DE APRESENTAÇÃO */

.about-redesign__intro {
  position: sticky;
  top: 120px;
}

.about-redesign__eyebrow {
  color: var(--yellow, #ffd22e);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 25px;
}

.about-redesign__intro h2 {
  font-family: var(--display);
  font-size: clamp(39px, 4.5vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.065em;
}

.about-redesign__intro h2 span {
  color: var(--yellow, #ffd22e);
}

.about-redesign__intro-text {
  color: var(--ink-muted, #bcbcbc);
  font-size: 14px;
  line-height: 1.8;
  max-width: 370px;
  margin-top: 22px;
}

/* LINK PARA OS PROJETOS */

.about-redesign__link {
  display: inline-flex;
  align-items: center;
  gap: 20px;

  margin-top: 28px;
  padding-bottom: 9px;

  border-bottom: 1px solid var(--yellow, #ffd22e);

  color: var(--ink, #ffffff);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  transition: color 0.2s ease;
}

.about-redesign__link span {
  color: var(--yellow, #ffd22e);
  font-size: 18px;
}

.about-redesign__link:hover {
  color: var(--yellow, #ffd22e);
}

.about-redesign__link:focus-visible {
  outline: 2px solid var(--yellow, #ffd22e);
  outline-offset: 5px;
}

/* COLUNA DE CONTEÚDO */

.about-redesign__content {
  padding-top: 5px;
}

.about-redesign__content p {
  color: var(--ink-muted, #bcbcbc);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-redesign__content .about-redesign__lead {
  color: var(--ink, #ffffff);
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 25px;
}

.about-redesign__content strong {
  color: var(--ink, #ffffff);
}

/* INFORMAÇÕES PROFISSIONAIS */

.about-redesign__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;

  margin-top: 38px;
  padding-top: 27px;

  border-top: 1px solid var(--line, #373737);
}

.about-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;

  min-width: 0;
  padding: 15px 12px;

  background: var(--panel, #1c1c1e);
  border: 1px solid var(--line, #373737);
}

.about-detail span {
  color: var(--yellow, #ffd22e);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.about-detail strong {
  color: var(--ink, #ffffff);
  font-size: 12px;
  line-height: 1.5;
}

.about-detail small {
  color: var(--ink-muted, #bcbcbc);
  font-size: 10px;
  line-height: 1.5;
}

/* RESPONSIVIDADE */

@media (max-width: 850px) {

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

  .about-redesign__intro {
    position: static;
    max-width: 650px;
  }

  .about-redesign__intro h2 {
    max-width: 600px;
  }

}

@media (max-width: 590px) {

  .about.about-redesign {
    padding-block: 65px;
  }

  .about-redesign__layout {
    gap: 32px;
  }

  .about-redesign__intro h2 {
    font-size: clamp(37px, 10vw, 48px);
  }

  .about-redesign__content .about-redesign__lead {
    font-size: 19px;
  }

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

  .about-detail {
    padding: 17px;
  }

}

/* ACESSIBILIDADE */

@media (prefers-reduced-motion: reduce) {
  .about-redesign__link {
    transition: none;
  }
}


/* =====================================
   LS. — AJUSTES GERAIS RESPONSIVOS
===================================== */

/* Evita que elementos ultrapassem seus espaços */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Imagens sempre respeitam o contêiner */
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
}

/* Evita que conteúdos de Grid e Flex
   provoquem estouro horizontal */
.work-card,
.work-card__content,
.ls-home__content,
.ls-home__project,
.about-redesign__content,
.about-redesign__intro,
.vertice-info,
.contact-intro,
.brief-form {
  min-width: 0;
}

/* Campos de formulário adaptáveis */
input,
select,
textarea,
button {
  max-width: 100%;
}

/* Evita que palavras e links longos
   ultrapassem seus contêineres */
p,
h1,
h2,
h3,
a {
  overflow-wrap: break-word;
}

/* Navegação até seções com cabeçalho fixo */
section[id] {
  scroll-margin-top: 90px;
}

.field-hint {
  margin-top: -8px;
  margin-bottom: 16px;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.5;
}
