﻿:root {
  --bg: #775fa3;
  --bg-soft: #6b3fbd;
  --surface: #ffffff;
  --text: #1a2a46;
  --muted: #5f7191;
  --accent: #1e66e6;
  --border: rgba(24, 46, 90, 0.12);
  --shadow: 0 12px 28px rgba(23, 42, 80, 0.1);
  --radius: 16px;
  --site-max-width: 1520px;
  --container-max-width: 1280px;
  --about-max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--page-bg, var(--bg));
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container-max-width), 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid rgba(23, 42, 80, 0.05);
  border-bottom: 1px solid rgba(23, 42, 80, 0.05);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(251, 252, 255, 0.86);
  border-bottom: 1px solid rgba(24, 46, 90, 0.1);
}

.header-wrap {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  justify-self: center;
  min-width: 0;
}

.lang-toggle {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  min-width: 3.05rem;
  height: 2rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  justify-self: end;
  transition:
    background 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(24, 46, 90, 0.32);
  transform: translateY(-1px);
}

.lang-toggle:focus-visible {
  outline: 2px solid rgba(30, 102, 230, 0.42);
  outline-offset: 2px;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 0.2rem 0;
  transition:
    color 0.22s ease,
    opacity 0.22s ease;
}

.main-nav a + a {
  padding-left: 0.95rem;
}

.main-nav a + a::before {
  content: "|";
  position: absolute;
  left: -0.1rem;
  top: 50%;
  transform: translateY(-54%);
  color: rgba(24, 46, 90, 0.45);
  font-weight: 400;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: rgba(30, 102, 230, 0.85);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero-content {
  display: grid;
  gap: 1.15rem;
}

.hero .container {
  position: relative;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
}

.hero-heading {
  display: grid;
  gap: 0.7rem;
}

.hero-logo {
  width: 100%;
  max-width: 100%;
  height: 160px;
  object-fit: contain;
  display: block;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.2rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
  list-style: none;
}

.hero-benefits li {
  width: fit-content;
  max-width: 100%;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 10px 24px rgba(23, 42, 80, 0.06);
}

.text-column {
  max-width: 64ch;
  margin-right: auto;
  margin-left: clamp(0rem, 2.2vw, 1.2rem);
}

.eyebrow,
.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2rem, 2.2vw + 1.2rem, 3.2rem);
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(30, 102, 230, 0.2);
}

.single-column {
  max-width: 64ch;
  display: grid;
  gap: 1rem;
}

.single-column h2 {
  font-size: clamp(1.6rem, 1.2vw + 1rem, 2.2rem);
}

.single-column p {
  color: var(--muted);
}

.about-shell {
  width: min(var(--about-max-width), 92vw);
}

.about-surface {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.4rem, 2.4vw, 2.3rem);
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.88),
    rgba(255, 255, 255, 0.72)
  );
  box-shadow: 0 18px 40px rgba(17, 31, 57, 0.12);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.7rem);
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(24, 46, 90, 0.12);
}

.about-figure {
  margin: 0;
  width: clamp(150px, 20vw, 220px);
  max-width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 26px rgba(17, 31, 57, 0.18);
}

.about-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 23%;
  transform: scale(1.05);
}

.about-intro-text {
  min-width: 0;
  display: grid;
  gap: 0.55rem;
}

.about-intro-text h2 {
  font-size: clamp(1.8rem, 1.35vw + 1rem, 2.45rem);
}

.about-lead {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.8rem;
}

.about-name {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
}

.about-role {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.about-chips {
  list-style: none;
  margin: 0.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.about-chips li {
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
}

.about-columns {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(0.9rem, 2vw, 1.7rem);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 0.85rem;
}

.about-copy p,
.about-skills-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.82;
}

.about-copy h3,
.about-skills-pane h3 {
  font-size: 1.28rem;
  margin-top: 0.35rem;
}

.about-skills-pane {
  border-left: 1px solid rgba(24, 46, 90, 0.12);
  padding-left: clamp(0.9rem, 1.6vw, 1.3rem);
  display: grid;
  gap: 0.82rem;
}

.skills-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin-bottom: 0.25rem;
}

.skills-visual-card {
  --skill-accent: 133, 112, 255;
  position: relative;
  min-height: 98px;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(var(--skill-accent), 0.2);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.92),
    rgba(var(--skill-accent), 0.08)
  );
  box-shadow: 0 14px 28px rgba(23, 42, 80, 0.08);
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: 0.55rem;
}

.skills-visual-card::after {
  content: "";
  position: absolute;
  inset: auto -16% -26% auto;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--skill-accent), 0.18),
    rgba(var(--skill-accent), 0)
  );
}

.skills-visual-symbol,
.skills-visual-name {
  position: relative;
  z-index: 1;
}

.skills-visual-symbol {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgb(var(--skill-accent));
}

.skills-visual-name {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.skills-visual-card-html {
  --skill-accent: 231, 103, 60;
}

.skills-visual-card-css {
  --skill-accent: 70, 130, 246;
}

.skills-visual-card-js {
  --skill-accent: 212, 155, 33;
}

.skills-visual-card-rwd {
  --skill-accent: 191, 98, 207;
}

.skills-visual-card-grid {
  --skill-accent: 109, 120, 239;
}

.skills-visual-card-web {
  --skill-accent: 209, 104, 156;
}

.about-skills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.78rem;
}

.about-skills li {
  --skill-badge: "UI";
  --skill-badge-color: var(--accent);
  --skill-badge-bg: rgba(30, 102, 230, 0.1);
  padding: 0.86rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 0.8rem;
  row-gap: 0.12rem;
  align-items: start;
}

.about-skills li::before {
  content: var(--skill-badge);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--skill-badge-color);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.92),
    var(--skill-badge-bg)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.about-skills li:nth-child(1) {
  --skill-badge: "</>";
  --skill-badge-color: #e25b3a;
  --skill-badge-bg: rgba(226, 91, 58, 0.14);
}

.about-skills li:nth-child(2) {
  --skill-badge: "{ }";
  --skill-badge-color: #4372eb;
  --skill-badge-bg: rgba(67, 114, 235, 0.14);
}

.about-skills li:nth-child(3) {
  --skill-badge: "JS";
  --skill-badge-color: #b88615;
  --skill-badge-bg: rgba(213, 174, 43, 0.16);
}

.about-skills li:nth-child(4) {
  --skill-badge: "RWD";
  --skill-badge-color: #b14ed4;
  --skill-badge-bg: rgba(177, 78, 212, 0.14);
}

.about-skills li:nth-child(5) {
  --skill-badge: "GRID";
  --skill-badge-color: #6b71df;
  --skill-badge-bg: rgba(107, 113, 223, 0.14);
}

.about-skills li:nth-child(6) {
  --skill-badge: "WEB";
  --skill-badge-color: #c15895;
  --skill-badge-bg: rgba(193, 88, 149, 0.14);
}

.about-skills strong {
  display: block;
  grid-column: 2;
  margin-bottom: 0.12rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.about-skills span {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

#projetos h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.6rem, 1.2vw + 1rem, 2.2rem);
}

.projects-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.projects-note {
  margin: 0.4rem 0 0;
  color: var(--text);
  font-size: 0.96rem;
}

.projects-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.projects-note a:hover,
.projects-note a:focus-visible {
  text-decoration: underline;
}

.project-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card:hover::before {
  opacity: 1;
}

.project-preview {
  aspect-ratio: 16 / 10;
  padding: 14px;
  background-color: #eef3fb;
  background-size: contain;
  background-origin: content-box;
  background-clip: content-box;
  background-repeat: no-repeat;
  background-position: center;
  border-bottom: 1px solid var(--border);
}

.preview-psicologia {
  background-image: url("imagens/previa-institucional.png");
}

.preview-ecommerce {
  background-image:
    linear-gradient(rgba(15, 32, 60, 0.04), rgba(15, 32, 60, 0.04)),
    url("imagens/previa-ecommerce.png");
}

.preview-institucional {
  background-image: url("imagens/previa-psicologia.png");
}

.project-body {
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.project-body h3 {
  font-size: 1.2rem;
}

.project-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.project-links a {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  font-size: 0.82rem;
  color: var(--accent);
  border: 1px solid rgba(30, 102, 230, 0.25);
  background: rgba(30, 102, 230, 0.08);
}

.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1rem, 2vw, 1.7rem);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 0.85rem;
  max-width: 54ch;
}

.contact-copy h2 {
  font-size: clamp(1.8rem, 1.3vw + 1rem, 2.5rem);
}

.contact-description {
  color: var(--muted);
  line-height: 1.8;
}

.contact-main-btn {
  margin-top: 0.25rem;
  justify-self: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-card {
  text-decoration: none;
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 0.75rem;
  row-gap: 0.28rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 30px rgba(20, 35, 65, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(30, 102, 230, 0.35);
  box-shadow: 0 16px 34px rgba(20, 35, 65, 0.12);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(30, 102, 230, 0.12);
  color: var(--accent);
  grid-row: 1 / span 3;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card .contact-kicker {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent);
  font-weight: 700;
}

.contact-card strong {
  font-size: 1rem;
  color: var(--text);
}

.contact-card em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  margin-top: 1rem;
  border-top: 1px solid rgba(24, 46, 90, 0.12);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.66),
    rgba(255, 255, 255, 0.4)
  );
}

.footer-inner {
  padding: 1.15rem 0.1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  display: grid;
  gap: 0.15rem;
}

.footer-name {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.footer-role {
  font-size: 0.84rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-button {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.58rem 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, var(--accent), #9f6bf3);
  box-shadow: 0 10px 22px rgba(30, 102, 230, 0.24);
}

.footer-copy {
  margin: 0;
  padding: 0.85rem 0 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid rgba(24, 46, 90, 0.08);
}

body.theme-darkpurple {
  color-scheme: dark;
  --bg: #050816;
  --bg-soft: rgba(9, 15, 31, 0.82);
  --surface: rgba(10, 18, 36, 0.86);
  --hero-blend-base: #0a1430;
  --text: #e8edff;
  --muted: #9da9d2;
  --accent: #7581ff;
  --border: rgba(122, 136, 255, 0.18);
  --shadow: 0 24px 48px rgba(2, 6, 18, 0.46);
  --page-bg:
    radial-gradient(circle at 12% 0%, rgba(57, 77, 192, 0.25), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(108, 76, 191, 0.18), transparent 24%),
    linear-gradient(180deg, #050816 0%, #081020 42%, #0a1430 100%);
}

body.theme-darkpurple .section-soft {
  background: linear-gradient(
    180deg,
    rgba(10, 17, 34, 0.86),
    rgba(12, 20, 40, 0.94)
  );
  border-top-color: rgba(122, 136, 255, 0.1);
  border-bottom-color: rgba(122, 136, 255, 0.1);
}

body.theme-darkpurple .site-header {
  background: rgba(5, 10, 24, 0.78);
  border-bottom-color: rgba(122, 136, 255, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

body.theme-darkpurple .main-nav a:hover,
body.theme-darkpurple .main-nav a:focus-visible {
  color: #f3f6ff;
}

body.theme-darkpurple .brand {
  color: #f6f8ff;
}

body.theme-darkpurple .hero-logo {
  border-color: rgba(122, 136, 255, 0.22);
  box-shadow: 0 22px 52px rgba(2, 6, 18, 0.5);
}

body.theme-darkpurple .main-nav a {
  color: #b3bee6;
}

body.theme-darkpurple .main-nav a + a::before {
  color: rgba(148, 162, 255, 0.34);
}

body.theme-darkpurple .main-nav a::after {
  background: rgba(122, 136, 255, 0.88);
}

body.theme-darkpurple .lang-toggle {
  background: rgba(15, 22, 45, 0.82);
  border-color: rgba(122, 136, 255, 0.26);
  color: #dce4ff;
  box-shadow: 0 12px 28px rgba(2, 6, 18, 0.24);
}

body.theme-darkpurple .lang-toggle:hover,
body.theme-darkpurple .lang-toggle:focus-visible {
  background: rgba(24, 34, 67, 0.96);
  border-color: rgba(149, 162, 255, 0.4);
}

body.theme-darkpurple .lang-toggle:focus-visible {
  outline-color: rgba(122, 136, 255, 0.34);
}

body.theme-darkpurple .btn {
  color: #fff;
  background: linear-gradient(135deg, #5368ff, #7f73ff);
  box-shadow: 0 16px 32px rgba(78, 92, 255, 0.28);
}

body.theme-darkpurple .hero h1 {
  color: #f6f8ff;
  font-size: clamp(2.7rem, 3.35vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-shadow: 0 20px 44px rgba(1, 5, 15, 0.48);
}

body.theme-darkpurple .hero-content p {
  color: #d5defe;
  font-size: 1.04rem;
}

body.theme-darkpurple .section-label,
body.theme-darkpurple .eyebrow {
  color: #93a0ff;
  font-weight: 700;
  letter-spacing: 0.16em;
}

body.theme-darkpurple .single-column h2,
body.theme-darkpurple #projetos h2 {
  color: #f0f4ff;
  font-size: clamp(1.85rem, 1.25vw + 1rem, 2.45rem);
}

body.theme-darkpurple .single-column p {
  color: #9da9d2;
  font-size: 1.02rem;
}

body.theme-darkpurple .about-surface {
  background: linear-gradient(
    160deg,
    rgba(7, 13, 27, 0.94),
    rgba(15, 24, 48, 0.88)
  );
  border-color: rgba(122, 136, 255, 0.16);
  box-shadow: 0 28px 60px rgba(1, 5, 15, 0.34);
  backdrop-filter: blur(16px);
}

body.theme-darkpurple .about-intro {
  border-bottom-color: rgba(122, 136, 255, 0.12);
}

body.theme-darkpurple .about-figure {
  border-color: rgba(122, 136, 255, 0.18);
  box-shadow: 0 20px 42px rgba(1, 5, 15, 0.3);
}

body.theme-darkpurple .about-photo {
  filter: saturate(1.02) contrast(1.08) brightness(0.94);
}

body.theme-darkpurple .about-name {
  color: #f4f7ff;
}

body.theme-darkpurple .about-role {
  color: #b2bee4;
}

body.theme-darkpurple .about-chips li {
  background: rgba(17, 25, 50, 0.82);
  border-color: rgba(122, 136, 255, 0.18);
  color: #d0d9ff;
}

body.theme-darkpurple .about-copy p,
body.theme-darkpurple .about-skills-intro {
  color: #9da9d2;
}

body.theme-darkpurple .about-copy h3,
body.theme-darkpurple .about-skills-pane h3 {
  color: #eef2ff;
}

body.theme-darkpurple .about-skills-pane {
  border-left-color: rgba(122, 136, 255, 0.12);
}

body.theme-darkpurple .skills-visual-card {
  background: linear-gradient(
    160deg,
    rgba(11, 18, 36, 0.94),
    rgba(20, 31, 62, 0.84)
  );
  box-shadow: 0 18px 34px rgba(1, 5, 15, 0.28);
}

body.theme-darkpurple .skills-visual-name {
  color: #c2cded;
}

body.theme-darkpurple .about-skills li {
  background: linear-gradient(
    160deg,
    rgba(11, 18, 36, 0.94),
    rgba(18, 29, 58, 0.9)
  );
  border-color: rgba(122, 136, 255, 0.16);
}

body.theme-darkpurple .about-skills li::before {
  background: linear-gradient(
    160deg,
    rgba(18, 27, 53, 0.94),
    rgba(34, 45, 84, 0.9)
  );
  box-shadow: inset 0 0 0 1px rgba(122, 136, 255, 0.14);
}

body.theme-darkpurple .about-skills span {
  color: #9da9d2;
}

body.theme-darkpurple .project-preview {
  background-color: #0d1630;
}

body.theme-darkpurple .project-card {
  background: linear-gradient(
    180deg,
    rgba(11, 18, 36, 0.96),
    rgba(15, 24, 50, 0.92)
  );
  border-color: rgba(122, 136, 255, 0.16);
  box-shadow:
    0 22px 48px rgba(1, 5, 15, 0.36),
    0 0 0 1px rgba(122, 136, 255, 0.08);
}

body.theme-darkpurple .project-card:hover,
body.theme-darkpurple .project-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(122, 136, 255, 0.36);
  box-shadow:
    0 30px 62px rgba(1, 5, 15, 0.42),
    0 0 0 1px rgba(122, 136, 255, 0.18),
    0 0 28px rgba(122, 136, 255, 0.14);
}

body.theme-darkpurple .project-body h3 {
  color: #eef2ff;
  font-size: 1.32rem;
  font-weight: 700;
}

body.theme-darkpurple .project-body p {
  color: #9da9d2;
  font-size: 1rem;
  line-height: 1.7;
}

body.theme-darkpurple .project-links a {
  color: #cad3ff;
  border-color: rgba(122, 136, 255, 0.24);
  background: rgba(122, 136, 255, 0.12);
}

body.theme-darkpurple .project-links a:hover,
body.theme-darkpurple .project-links a:focus-visible {
  background: rgba(122, 136, 255, 0.2);
  border-color: rgba(149, 162, 255, 0.34);
}

body.theme-darkpurple .contact-description {
  color: #9da9d2;
}

body.theme-darkpurple .contact-card {
  background: linear-gradient(
    160deg,
    rgba(11, 18, 36, 0.94),
    rgba(16, 26, 52, 0.9)
  );
  border-color: rgba(122, 136, 255, 0.16);
  box-shadow: 0 18px 38px rgba(1, 5, 15, 0.32);
}

body.theme-darkpurple .contact-card:hover,
body.theme-darkpurple .contact-card:focus-visible {
  border-color: rgba(122, 136, 255, 0.34);
  box-shadow: 0 24px 44px rgba(1, 5, 15, 0.42);
}

body.theme-darkpurple .contact-card .contact-kicker {
  color: #96a4ff;
}

body.theme-darkpurple .contact-icon {
  background: rgba(122, 136, 255, 0.14);
  color: #aab6ff;
}

body.theme-darkpurple .contact-card strong {
  color: #f0f4ff;
}

body.theme-darkpurple .contact-card em {
  color: #9da9d2;
}

body.theme-darkpurple .site-footer {
  border-top-color: rgba(122, 136, 255, 0.12);
  background: linear-gradient(
    180deg,
    rgba(5, 9, 21, 0.84),
    rgba(8, 14, 30, 0.96)
  );
}

body.theme-darkpurple .footer-role,
body.theme-darkpurple .footer-copy {
  color: #9da9d2;
}

body.theme-darkpurple .footer-button {
  color: #fff;
  background: linear-gradient(135deg, #5368ff, #7f73ff);
  box-shadow: 0 14px 28px rgba(78, 92, 255, 0.24);
}

body.theme-darkpurple .footer-copy {
  border-top-color: rgba(122, 136, 255, 0.12);
}

.cursor-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.48;
  filter: blur(56px);
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(
    circle,
    rgba(183, 134, 255, 0.34),
    rgba(183, 134, 255, 0)
  );
}

body.theme-darkpurple .cursor-glow {
  opacity: 0.54;
  background: radial-gradient(
    circle,
    rgba(107, 118, 255, 0.3),
    rgba(107, 118, 255, 0)
  );
}

body.theme-darkpurple .hero {
  position: relative;
  overflow: clip;
}

body.theme-darkpurple .hero.section {
  padding: 4.1rem 0 0.55rem;
}

body.theme-darkpurple .hero .container {
  min-height: clamp(360px, 29vw, 425px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}

body.theme-darkpurple .hero::before,
body.theme-darkpurple .hero .container::after {
  content: none;
}

body.theme-darkpurple .hero-layout {
  width: min(100%, 76rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  grid-template-areas:
    "heading visual"
    "brand brand"
    "content content";
  align-items: start;
  column-gap: clamp(2.5rem, 4vw, 5rem);
  row-gap: 34px;
}

body.theme-darkpurple .hero-heading {
  grid-area: heading;
  max-width: 32rem;
  padding-top: 0;
  align-self: start;
  padding-bottom: 0.18rem;
  margin-top: 0;
}

body.theme-darkpurple .hero-visual {
  grid-area: visual;
  position: relative;
  isolation: isolate;
  --hero-visual-y: -0.55rem;
  width: clamp(700px, 53vw, 900px);
  max-width: 100%;
  aspect-ratio: 1.66 / 1;
  background-image: url("imagens/desenhoellen.png");
  background-repeat: no-repeat;
  background-position: center var(--hero-visual-y);
  background-size: contain;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 94%,
    rgba(0, 0, 0, 0.94) 97%,
    rgba(0, 0, 0, 0.18) 99.4%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 94%,
    rgba(0, 0, 0, 0.94) 97%,
    rgba(0, 0, 0, 0.18) 99.4%,
    rgba(0, 0, 0, 0) 100%
  );
  filter: drop-shadow(0 14px 18px rgba(24, 34, 78, 0.08))
    drop-shadow(0 24px 30px rgba(24, 34, 78, 0.06));
}

body.theme-darkpurple .hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 2%,
    rgba(0, 0, 0, 0.92) 4.5%,
    rgba(4, 7, 18, 0.72) 7.5%,
    rgba(7, 12, 28, 0.42) 10.5%,
    rgba(10, 20, 48, 0.18) 13%,
    rgba(10, 20, 48, 0.04) 15.5%,
    rgba(10, 20, 48, 0) 18%,
    rgba(10, 20, 48, 0) 100%
  );
  -webkit-mask-image: url("imagens/desenhoellen.png");
  mask-image: url("imagens/desenhoellen.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center var(--hero-visual-y);
  mask-position: center var(--hero-visual-y);
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
  z-index: 1;
}

body.theme-darkpurple .hero-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.4rem;
  width: clamp(320px, 72%, 430px);
  height: 66px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 20, 48, 0.5) 0%,
    rgba(10, 20, 48, 0.24) 42%,
    rgba(10, 20, 48, 0.08) 68%,
    rgba(10, 20, 48, 0) 84%
  );
  filter: blur(18px);
  opacity: 0.76;
  pointer-events: none;
  z-index: 0;
}

body.theme-darkpurple .hero-content {
  grid-area: content;
  width: 100%;
  margin: 0 0 1rem;
  justify-self: stretch;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.3fr);
  grid-template-areas:
    "description support"
    "cta support";
  position: relative;
  z-index: 1;
  align-items: start;
  gap: 1.05rem 1.95rem;
  padding: 1.25rem 1.4rem 1.3rem;
  border: 1px solid rgba(122, 136, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(
    160deg,
    rgba(8, 13, 27, 0.62),
    rgba(15, 24, 49, 0.8)
  );
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 46px rgba(1, 5, 15, 0.3);
}

body.theme-darkpurple .hero-content p {
  color: #d5defe;
  line-height: 1.62;
}

body.theme-darkpurple .hero-description {
  grid-area: description;
  margin: 0 0 0.65rem;
  display: flex;
  align-items: flex-start;
  max-width: 28rem;
  justify-self: center;
  padding-right: 0;
}

body.theme-darkpurple .hero-support {
  grid-area: support;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0.42rem;
}

body.theme-darkpurple .hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.88rem;
  max-width: none;
}

body.theme-darkpurple .hero-benefits li {
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 2.8rem;
  background: rgba(12, 19, 39, 0.84);
  border-color: rgba(122, 136, 255, 0.16);
  box-shadow: 0 18px 34px rgba(1, 5, 15, 0.24);
  color: #cad4f5;
  padding: 0.45rem 0.68rem;
  border-radius: 16px;
  font-size: 0.9rem;
}

body.theme-darkpurple .hero-benefits li:last-child {
  grid-column: 1 / -1;
}

body.theme-darkpurple .hero-content .btn {
  grid-area: cta;
  position: relative;
  align-self: start;
  justify-self: center;
  margin-top: 0.42rem;
  padding: 0.68rem 0.98rem;
  padding-inline: 0.98rem;
  border: 1px solid rgba(167, 179, 255, 0.24);
  background: linear-gradient(135deg, #5b70ff, #8b7bff 58%, #9d89ff 100%);
  box-shadow:
    0 14px 26px rgba(66, 84, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    filter 0.22s ease;
}

body.theme-darkpurple .hero-content .btn:hover,
body.theme-darkpurple .hero-content .btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(205, 214, 255, 0.38);
  box-shadow:
    0 18px 30px rgba(66, 84, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  filter: saturate(1.05);
}

body.theme-darkpurple .hero-brand {
  grid-area: brand;
  width: clamp(700px, 53vw, 900px);
  max-width: 100%;
  justify-self: center;
  display: grid;
  gap: 12px;
}

body.theme-darkpurple .hero-divider {
  width: 100%;
  margin: 0;
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(122, 136, 255, 0.34),
    transparent
  );
  opacity: 0.9;
}

body.theme-darkpurple .hero-logo-row {
  width: 100%;
  margin: 0;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(10, 20, 48, 0.62);
  border: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.theme-darkpurple .hero-logo-row .hero-logo {
  width: min(100%, 640px);
  box-shadow: none;
}

body.theme-darkpurple .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(122, 136, 255, 0.28),
    transparent
  );
}

@media (max-width: 920px) {
  body.theme-darkpurple .hero.section {
    padding: 1.2rem 0 2.2rem;
  }

  body.theme-darkpurple .hero .container {
    min-height: auto;
    justify-content: center;
    padding: 0;
  }

  body.theme-darkpurple .hero-layout {
    width: min(100%, 34rem);
    margin: 0 auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "heading"
      "brand"
      "content";
    gap: 1.35rem;
    justify-items: center;
  }

  body.theme-darkpurple .hero-heading {
    max-width: min(100%, 31rem);
    padding-top: 0;
    justify-items: center;
    text-align: center;
    margin-top: -0.22rem;
  }

  body.theme-darkpurple .hero-visual {
    width: min(100%, 42rem);
    margin-top: -0.45rem;
    margin-bottom: -0.55rem;
    --hero-visual-y: -0.4rem;
  }

  body.theme-darkpurple .hero-brand {
    width: min(100%, 42rem);
  }

  body.theme-darkpurple .hero-content {
    width: min(100%, 26rem);
    margin: 0.28rem auto 0.9rem;
    grid-template-columns: 1fr;
    grid-template-areas:
      "description"
      "cta"
      "support";
    gap: 1rem;
    padding: 1.3rem 1.18rem 1.24rem;
    justify-items: center;
    text-align: center;
  }

  body.theme-darkpurple .hero-support {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  body.theme-darkpurple .hero-benefits {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  body.theme-darkpurple .hero-benefits li:last-child {
    grid-column: auto;
  }

  body.theme-darkpurple .hero-content .btn {
    margin-top: 0.2rem;
    justify-self: center;
  }

  .skills-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-intro {
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: start;
  }

  .about-figure {
    width: 170px;
  }

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

  .about-skills-pane {
    border-left: 0;
    border-top: 1px solid rgba(24, 46, 90, 0.12);
    padding-left: 0;
    padding-top: 0.85rem;
  }

  body.theme-darkpurple .about-skills-pane {
    border-top-color: rgba(122, 136, 255, 0.12);
  }

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

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

@media (max-width: 700px) {
  .section {
    padding: 4rem 0;
  }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    box-shadow: 0 8px 20px rgba(10, 8, 20, 0.18);
  }

  body.theme-darkpurple .site-header {
    border-bottom-color: rgba(122, 136, 255, 0.14);
    background: rgba(5, 10, 24, 0.94);
  }

  .header-wrap {
    min-height: auto;
    padding: 0.52rem 0 0.58rem;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "nav nav";
    gap: 0.45rem 0.65rem;
  }

  .brand {
    grid-area: brand;
    font-size: 0.96rem;
  }

  .main-nav {
    grid-area: nav;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 0.38rem;
    overflow: visible;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0.52rem 0.3rem;
    white-space: normal;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 18px rgba(24, 46, 90, 0.08);
    transition:
      background 0.22s ease,
      border-color 0.22s ease,
      color 0.22s ease,
      opacity 0.22s ease;
  }

  .main-nav a + a {
    padding-left: 0;
  }

  .main-nav a + a::before {
    content: none;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    transform: none;
  }

  .main-nav a::after {
    display: none;
  }

  body.theme-darkpurple .main-nav {
    background: transparent;
    border: 0;
    backdrop-filter: none;
  }

  body.theme-darkpurple .main-nav a {
    background: rgba(14, 22, 46, 0.9);
    border: 1px solid rgba(122, 136, 255, 0.16);
    color: #b3bee6;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  }

  body.theme-darkpurple .main-nav a:hover,
  body.theme-darkpurple .main-nav a:focus-visible {
    color: #f5f8ff;
    background: rgba(24, 36, 70, 0.98);
    border-color: rgba(149, 162, 255, 0.34);
    transform: none;
  }

  .lang-toggle {
    grid-area: toggle;
    min-width: 2.65rem;
    height: 1.82rem;
    padding: 0 0.62rem;
    font-size: 0.72rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 0.8rem;
    padding: 1.2rem 0.1rem 1rem;
  }

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

  .contact-main-btn {
    width: fit-content;
  }

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

  .cursor-glow {
    display: none;
  }

  body.theme-darkpurple .hero .container {
    min-height: auto;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
  }

  body.theme-darkpurple .hero-layout {
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "visual"
      "brand"
      "content";
    gap: 1.15rem;
    justify-items: center;
  }

  body.theme-darkpurple .hero-heading {
    max-width: min(100%, 21rem);
    margin-top: -0.18rem;
  }

  body.theme-darkpurple .hero-visual {
    width: min(100%, 29rem);
    margin-top: -0.35rem;
    margin-bottom: -0.45rem;
    --hero-visual-y: -0.28rem;
  }

  body.theme-darkpurple .hero-brand {
    width: min(100%, 29rem);
  }

  body.theme-darkpurple .hero-visual::after {
    width: min(60%, 196px);
    height: 24px;
    bottom: -0.18rem;
    opacity: 0.52;
    filter: blur(10px);
  }

  body.theme-darkpurple .hero-content {
    max-width: min(100%, 22.5rem);
    margin: 0.22rem auto 0.8rem;
    grid-template-columns: 1fr;
    grid-template-areas:
      "description"
      "cta"
      "support";
    gap: 0.95rem;
    padding: 1.16rem 1.04rem 1.18rem;
    justify-items: center;
    text-align: center;
    background: linear-gradient(
      160deg,
      rgba(8, 13, 27, 0.76),
      rgba(15, 24, 49, 0.9)
    );
  }

  body.theme-darkpurple .hero-benefits li {
    width: 100%;
  }

  body.theme-darkpurple .hero-benefits {
    display: grid;
    justify-items: center;
  }

  body.theme-darkpurple .hero-benefits li:last-child {
    grid-column: auto;
  }

  .skills-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.58rem;
  }

  .skills-visual-card {
    min-height: 88px;
    padding: 0.75rem;
  }

  .about-surface {
    padding: 1rem;
    border-radius: 18px;
  }

  .about-intro {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0.75rem;
    padding-bottom: 0.85rem;
  }

  .about-figure {
    width: 112px;
    border-radius: 14px;
  }

  .about-photo {
    object-position: 50% 22%;
    transform: scale(1.02);
  }

  .about-lead {
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .about-meta {
    gap: 0.25rem 0.6rem;
  }

  .about-name {
    font-size: 0.94rem;
  }

  .about-role {
    font-size: 0.67rem;
    letter-spacing: 0.1em;
  }

  .about-chips {
    gap: 0.3rem;
  }

  .about-chips li {
    font-size: 0.68rem;
    padding: 0.24rem 0.48rem;
  }

  .about-copy p,
  .about-skills-intro {
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .about-copy h3,
  .about-skills-pane h3 {
    font-size: 1.12rem;
  }

  .about-skills li {
    padding: 0.74rem 0.78rem;
    border-radius: 12px;
  }

  .about-skills strong {
    font-size: 0.9rem;
  }

  .about-skills span {
    font-size: 0.86rem;
    line-height: 1.52;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none;
  }

  .project-card {
    transition: none;
  }
}
