/* ============================================================
   SEMYS PORTFOLIO — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,500;0,700;1,400;1,500&display=swap');

/* ---- Tokens ---- */
:root {
  --bg:            #fff6f5;
  --white:         #ffffff;
  --cta-bg:        #feece6;
  --orange:        #f9482f;
  --navy:          #1a0d4c;
  --navy-2:        #332d4e;
  --navy-3:        #464257;
  --navy-4:        #5e5973;
  --navy-5:        #e3e2e9;
  --green-online:  #58e942;
  --green-online-bg: #ddfbd9;

  /* Tag colours */
  --tag-orange-bg:  #ffdad5; --tag-orange-text:  #f9482f;
  --tag-green-bg:   #d8ffc2; --tag-green-text:   #183b02;
  --tag-purple-bg:  #debfff; --tag-purple-text:  #22023b;
  --tag-pink-bg:    #fecee3; --tag-pink-text:    #740a17;
  --tag-yellow-bg:  #f8f6bd; --tag-yellow-text:  #3b3a02;
  --tag-blue-bg:    #cbf4ff; --tag-blue-text:    #022f3b;
  --tag-brown-bg:   #ebe5e4; --tag-brown-text:   #3b0902;
  --tag-neutral-bg: #eeeef2; --tag-neutral-text: #332c4e;
  --tag-gray-bg:    #e1e1e1; --tag-gray-text:    #303030;

  --sidebar-w:    264px;
  --gap:           72px;
  --font:         'Atkinson Hyperlegible', sans-serif;
  --font-poppins: 'Poppins', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--navy-2);
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   LAYOUT
   ============================================================ */

/* Mobile header — only visible on mobile */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-header-logo span {
  font-size: 13px;
  color: var(--navy-4);
  line-height: 1.3;
}

.mobile-header-logo strong {
  display: block;
  font-size: 15px;
  color: var(--navy-2);
}

.mobile-logo-mark {
  font-family: var(--font);
  font-weight: 700;
  font-size: 26px;
  color: var(--orange);
  line-height: 1;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-2);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 61px;
  background: var(--bg);
  z-index: 99;
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }

/* Page layout */
.page-layout {
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
  max-width: 1920px;
  margin: 0 auto;
  padding: 32px 180px 32px 192px;
}

/* ---- Sidebar ---- */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  position: sticky;
  top: 32px;
  align-self: flex-start;
}

.sidebar-card {
  background: var(--bg);
  border-radius: 32px;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Profile block */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 0.5px solid var(--orange);
  box-shadow: 1px 1px 4px rgba(0,0,0,0.25);
}

.profile-name {
  font-size: 20px;
  color: var(--orange);
  font-weight: 400;
  line-height: normal;
}
.profile-handle {
  font-size: 14px;
  color: var(--navy-2);
  margin-top: -8px;
}
.profile-bio {
  font-size: 16px;
  color: var(--navy-2);
  letter-spacing: 0.16px;
  line-height: normal;
}

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-online-bg);
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 14px;
  color: #4a3b39;
}
.online-dot {
  width: 13px;
  height: 13px;
  background: var(--green-online);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Nav */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 20px 0 16px;
  border-radius: 16px;
  font-size: 18px;
  color: var(--navy-2);
  transition: background 0.15s;
}
.nav-item:hover { background: rgba(0,0,0,0.04); }
.nav-item.active { color: var(--orange); }

.nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Social links in sidebar */
.sidebar-social {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ---- Main content ---- */
.main-content {
  flex: 1;
  min-width: 0;
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 16px;
  font-size: 18px;
  white-space: nowrap;
}
.tag svg { width: 24px; height: 24px; flex-shrink: 0; }

.tag--orange  { background: var(--tag-orange-bg);  color: var(--tag-orange-text); }
.tag--green   { background: var(--tag-green-bg);   color: var(--tag-green-text); }
.tag--purple  { background: var(--tag-purple-bg);  color: var(--tag-purple-text); }
.tag--pink    { background: var(--tag-pink-bg);    color: var(--tag-pink-text); }
.tag--yellow  { background: var(--tag-yellow-bg);  color: var(--tag-yellow-text); }
.tag--blue    { background: var(--tag-blue-bg);    color: var(--tag-blue-text); }
.tag--brown   { background: var(--tag-brown-bg);   color: var(--tag-brown-text); }
.tag--neutral { background: var(--tag-neutral-bg); color: var(--tag-neutral-text); }
.tag--gray    { background: var(--tag-gray-bg);    color: var(--tag-gray-text); }

/* Smaller tags (for project cards) */
.tag--sm {
  font-size: 16px;
  padding: 4px 14px;
  gap: 6px;
  border-radius: 13px;
}
.tag--sm svg { width: 20px; height: 20px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  font-size: 18px;
  font-family: var(--font);
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 24px; height: 24px; flex-shrink: 0; }

.btn--primary {
  background: var(--orange);
  color: var(--bg);
  border: 1px solid var(--orange);
}
.btn--primary:hover { opacity: 0.9; }

.btn--outline {
  background: transparent;
  color: var(--navy-2);
  border: 1.5px solid var(--navy-2);
}
.btn--outline:hover { background: rgba(0,0,0,0.03); }

.btn--outline-green {
  background: transparent;
  color: #d8ffc2;
  border: 1.5px solid #d8ffc2;
}

.btn--icon-only {
  width: 50px;
  padding: 0;
  justify-content: center;
}

/* Section heading */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 0.75px solid var(--navy-2);
}
.section-heading h2 {
  font-size: 32px;
  font-weight: 400;
  white-space: nowrap;
}

/* Footer */
.page-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 0;
  font-size: 16px;
  color: var(--navy-4);
}
.page-footer strong { color: var(--navy-2); font-weight: 400; }

/* ============================================================
   HOME PAGE
   ============================================================ */

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.hero-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 48px;
  color: var(--navy);
  text-align: center;
  font-weight: 400;
}

.hero-logo {
  max-width: 745px;
  width: 100%;
  height: auto;
}

.hero-subtitle {
  font-size: 24px;
  color: var(--navy-4);
  text-align: center;
  letter-spacing: 0.3px;
  max-width: 762px;
  line-height: 1.4;
}

.hero-cta {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* Body sections */
.body-sections {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Project card */
.project-card {
  background: #060c13;
  border-radius: 18px;
  padding: 36px 40px;
  display: flex;
  gap: 36px;
  align-items: center;
  overflow: hidden;
}

.project-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.project-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.project-title {
  font-family: var(--font-poppins);
  font-size: 35px;
  line-height: 1.2;
  letter-spacing: -0.7px;
  color: #00cc76;
}
.project-title strong { font-weight: 700; font-style: normal; }
.project-title em { font-style: italic; font-weight: 500; }

.project-desc {
  font-size: 18px;
  color: #e3e2e9;
  line-height: 1.2;
  letter-spacing: -0.35px;
}

.project-card-image {
  width: 280px;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.project-card-image img {
  height: 100%;
  width: auto;
  display: block;
}

/* Project list (projetos page) */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 36px;
}

.project-card--link {
  display: flex;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.project-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.project-card--upcoming {
  opacity: 0.6;
  cursor: default;
}

.tag--coming-soon {
  background: rgba(255,255,255,0.12);
  color: #e3e2e9;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.3px;
}

/* Skills */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ============================================================
   SOBRE / CONTATO PAGES
   ============================================================ */

.sobre-hero {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  width: 100%;
}

.sobre-content {
  flex: 0 0 43%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.sobre-title {
  font-size: 64px;
  font-weight: 700;
  color: var(--orange);
  line-height: normal;
}

.sobre-bio {
  font-size: 20px;
  color: var(--navy-4);
  line-height: 1.5;
}
.sobre-bio p + p { margin-top: 1em; }

.sobre-photo-wrap {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  min-height: 500px;
  border-radius: 64px 8px 8px 64px;
  overflow: hidden;
}

.sobre-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.sobre-actions {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

/* CTA Section */
.cta-section {
  background: var(--cta-bg);
  border-radius: 18px 98px 98px 18px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.cta-headline-wrap {
  position: relative;
  text-align: center;
}

.cta-headline {
  font-size: 36px;
  color: var(--navy-3);
  line-height: normal;
  white-space: nowrap;
}

.cta-palavra {
  position: relative;
  display: inline-block;
  color: var(--navy-2);
  font-style: italic;
  font-weight: 500;
}

.cta-wave {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 10px;
  display: block;
  pointer-events: none;
  overflow: visible;
}

.cta-circle {
  position: absolute;
  left: -14px;
  top: -10px;
  width: calc(100% + 28px);
  height: calc(100% + 20px);
  display: block;
  pointer-events: none;
  overflow: visible;
}

.cta-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-social-label {
  font-size: 24px;
  color: var(--navy-3);
  font-style: italic;
}
.cta-social-btns {
  display: flex;
  gap: 23px;
}
.cta-social-btns .btn img {
  width: 24px;
  height: 24px;
}

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

.contato-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contato-title {
  font-size: 64px;
  font-weight: 700;
  color: var(--orange);
  line-height: normal;
}

.contato-subtitle {
  font-size: 20px;
  color: var(--navy-4);
  line-height: 1.5;
  max-width: 560px;
}

.contato-layout {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.contato-form-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contato-form-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-2);
  padding-bottom: 12px;
  border-bottom: 0.75px solid var(--navy-2);
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 14px;
  color: var(--navy-4);
  font-family: var(--font);
  letter-spacing: 0.1px;
}

.form-input,
.form-textarea {
  background: var(--white);
  border: 1px solid var(--navy-5);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--navy-2);
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,72,47,0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--navy-5);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.input-prefix-wrap {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--navy-5);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: border-color 0.15s, box-shadow 0.15s;
  overflow: hidden;
}
.input-prefix-wrap:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,72,47,0.08);
}
.input-prefix {
  padding: 13px 0 13px 16px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--navy-5);
  white-space: nowrap;
  user-select: none;
}
.input-prefix-wrap .form-input {
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding-left: 2px;
  flex: 1;
  width: auto;
}
.input-prefix-wrap .form-input:focus {
  border: none;
  box-shadow: none;
}
.input-prefix-wrap.prefix-hidden .input-prefix {
  display: none;
}

.contato-aside {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 4px;
}

.contato-aside-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contato-aside-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-2);
}

.btn--dark {
  background: var(--navy-2);
  color: #fff;
  border: 1.5px solid var(--navy-2);
  font-size: 16px;
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  justify-content: flex-start;
  gap: 10px;
}
.btn--dark:hover { opacity: 0.85; }

.btn--book {
  background: transparent;
  border: 1.5px solid var(--navy-5);
  color: var(--navy-2);
  font-size: 16px;
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  gap: 10px;
}
.btn--book:hover { background: rgba(0,0,0,0.03); }

.contato-social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contato-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border: 1.5px solid var(--navy-5);
  border-radius: 14px;
  font-size: 16px;
  color: var(--navy-2);
  background: transparent;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}
.contato-social-link:hover { background: rgba(0,0,0,0.03); border-color: var(--navy-4); }
.contato-social-link svg { width: 20px; height: 20px; flex-shrink: 0; }

@media (max-width: 900px) {
  .contato-title { font-size: 48px; }
  .contato-layout { flex-direction: column; gap: 40px; }
  .contato-aside { flex: none; width: 100%; }
}

/* ============================================================
   PROJETO PAGE
   ============================================================ */

.projeto-hero {
  background: var(--navy-2);
  border-radius: 16px;
  padding: 36px 41px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.projeto-hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.projeto-hero-tags {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.projeto-hero-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 72px;
  font-weight: 900;
  color: #c4f25a;
  line-height: 1.2;
  letter-spacing: -1.44px;
}

.projeto-hero-subtitle {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-style: italic;
  color: #c4f25a;
  line-height: 1.2;
  letter-spacing: -0.96px;
}

.projeto-hero-desc {
  font-size: 18px;
  color: #f6f6f6;
  line-height: 1.2;
  max-width: 500px;
  margin-top: 12px;
}

.projeto-hero-mockup {
  position: absolute;
  right: -20px;
  top: -103px;
  width: 340px;
  z-index: 0;
  transform: rotate(5.36deg);
}

/* Content sections */
.projeto-sections {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.projeto-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.projeto-section h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--navy-2);
  padding-bottom: 12px;
  border-bottom: 0.75px solid var(--navy-2);
  margin-bottom: 32px;
}

.projeto-section p {
  font-size: 18px;
  color: var(--navy-4);
  line-height: 1.5;
}
.projeto-section p + p { margin-top: 16px; }

/* Research stats */
.research-stats {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.research-chart {
  width: 100%;
  max-width: 810px;
  margin: 0 auto;
}

/* Persona */
.persona-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.persona-top {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.persona-photo-wrap {
  position: relative;
  flex: 0 0 509px;
}

.persona-photo {
  width: 509px;
  height: 171px;
  object-fit: cover;
  border-radius: 16px;
  object-position: center 30%;
}

.persona-name-tag {
  position: absolute;
  bottom: -8px;
  right: -4px;
  border: 1px solid var(--bg);
  border-radius: 16px;
  padding: 15px;
  background: transparent;
}

.persona-name-tag span {
  font-size: 32px;
  font-weight: 700;
  color: #ffdad5;
  letter-spacing: -0.47px;
  white-space: nowrap;
  line-height: 40px;
}

.persona-dados {
  border: 1px solid var(--navy-4);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.persona-dados h3 {
  font-size: 24px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--navy-2);
  letter-spacing: -0.47px;
}

.persona-dados p, .persona-dados ul {
  font-size: 16px;
  color: var(--navy-2);
  line-height: 1.75;
  letter-spacing: -0.47px;
}

.persona-cards {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.persona-card {
  border: 1px solid var(--navy-4);
  border-radius: 16px;
  padding: 16px;
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.persona-card h3 {
  font-size: 24px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--navy-2);
  letter-spacing: -0.47px;
}

.persona-card ul {
  font-size: 16px;
  color: var(--navy-2);
  line-height: 1.75;
  list-style: none;
}

/* Storyboard */
.storyboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  max-width: 904px;
}

.storyboard-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-number {
  background: var(--navy-2);
  color: var(--navy-5);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 500;
  border-radius: 15px;
  padding: 11px 15px;
  display: inline-block;
  line-height: 1;
  letter-spacing: -0.34px;
  width: fit-content;
}

.step-content {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.step-img {
  width: 200px;
  height: 158px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--navy-2);
  flex-shrink: 0;
}

.step-text {
  font-size: 16px;
  color: var(--navy-2);
  line-height: 1.625;
  letter-spacing: -0.39px;
}

/* Sitemap / flow */
.sitemap-wrap {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 16px;
}

.sitemap-nodes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  min-width: 900px;
}

.sitemap-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.sitemap-node {
  background: #3461d3;
  color: #f6f6f6;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  padding: 16px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: -0.16px;
}

.sitemap-node--circle {
  border-radius: 50%;
  width: 102px;
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sitemap-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #f6f6f6;
  font-size: 14px;
  text-align: center;
  background: rgba(52,97,211,0.3);
  padding: 8px 16px;
  border-radius: 8px;
  max-width: 180px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Final screens */
.screens-group {
  background: var(--navy-5);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.screens-row {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
}

.screen-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.screen-card img {
  width: 252px;
  height: 546px;
  object-fit: cover;
  border-radius: 16px;
}

.screen-label {
  font-size: 15px;
  color: var(--navy-4);
  font-weight: 400;
}

.screens-group .screen-label {
  text-align: center;
}

/* ============================================================
   MOBILE SIDEBAR NAV (inside mobile-nav overlay)
   ============================================================ */

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-profile .avatar {
  width: 56px;
  height: 56px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links .nav-item {
  font-size: 20px;
  height: 52px;
}

.mobile-nav-social {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1400px) {
  .page-layout { padding: 32px 80px; }
}

@media (max-width: 1100px) {
  .page-layout { padding: 32px 40px; }
  :root { --gap: 48px; }
  .sobre-hero { gap: 40px; }
  .sobre-content { flex: 0 0 43%; }
}

@media (max-width: 900px) {
  /* Switch to mobile layout */
  .mobile-header { display: flex; }
  .sidebar { display: none; }

  .page-layout {
    padding: 20px 20px 40px;
    gap: 0;
  }

  .main-content { padding-top: 24px; }

  /* Hero */
  .hero-eyebrow { font-size: 32px; }
  .hero-subtitle { font-size: 18px; }
  .hero-logo { max-width: 90vw; }

  /* Project card */
  .project-card {
    flex-direction: column-reverse;
    padding: 24px;
    gap: 24px;
  }
  .project-card-image {
    width: 100%;
    padding: 0;
  }
  .project-card-image img { max-width: 300px; margin: 0 auto; }
  .project-title { font-size: 28px; }

  /* Sobre */
  .sobre-hero {
    flex-direction: column;
    gap: 32px;
  }
  .sobre-content { flex: none; width: 100%; }
  .sobre-photo-wrap {
    width: 100%;
    height: 300px;
    border-radius: 24px;
    min-height: unset;
  }
  .sobre-photo {
    border-radius: 0;
  }
  .sobre-title { font-size: 48px; }
  .sobre-bio { font-size: 16px; }

  /* Projeto */
  .projeto-hero-title { font-size: 40px; }
  .projeto-hero-subtitle { font-size: 28px; }
  .projeto-hero-mockup { display: none; }
  .projeto-grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .storyboard-grid { grid-template-columns: 1fr; }
  .screen-card img { width: 180px; height: 390px; }
  .screens-row { gap: 12px; }

  /* CTA */
  .cta-headline { font-size: 26px; white-space: normal; text-align: center; }
  .cta-section { border-radius: 18px; padding: 32px 20px; }
  .cta-social-btns { flex-wrap: wrap; justify-content: center; }

  /* Section heading */
  .section-heading h2 { font-size: 24px; }
  .tag { font-size: 15px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .project-card { padding: 20px 16px; }
  .projeto-hero { padding: 24px 20px; }
  .projeto-hero-title { font-size: 32px; }
  .storyboard-item .step-content { flex-direction: column; }
  .step-img { width: 100%; }
  .persona-top { flex-direction: column; }
  .persona-photo-wrap { flex: none; width: 100%; }
  .persona-photo { width: 100%; }
  .sobre-actions { flex-direction: column; }
  .sobre-actions .btn { width: 100%; justify-content: center; }
}
