:root {
  --background: #faf8fc;
  --surface: #ffffff;
  --surface-soft: #f2ebf5;
  --text: #29232e;
  --text-soft: #6d6472;
  --primary: #713f78;
  --primary-dark: #4f2856;
  --accent: #c894aa;
  --border: #e7dce9;
  --shadow: 0 20px 50px rgba(75, 42, 82, 0.12);
  --max-width: 1180px;
}

/* TEMA ESCURO */

body.dark-theme {
  --background: #18131d;
  --surface: #211a26;
  --surface-soft: #302438;
  --text: #f7f0f8;
  --text-soft: #cbbdce;
  --primary: #d3a1dc;
  --primary-dark: #f0c9f5;
  --accent: #d89ab1;
  --border: #44344b;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

body.dark-theme {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(216, 154, 177, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 10% 70%,
      rgba(179, 116, 191, 0.12),
      transparent 25%
    ),
    var(--background);
}

body.dark-theme .header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(24, 19, 29, 0.9);
}

body.dark-theme .decorative-shape {
  background:
    linear-gradient(
      145deg,
      rgba(121, 69, 132, 0.95),
      rgba(161, 91, 119, 0.82)
    );
}

body.dark-theme .contact-box {
  background:
    linear-gradient(
      135deg,
      #312039,
      #603765
    );
}

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

html {
  scroll-behavior: smooth;
}


html,
body {
  max-width: 100%;
  overflow-x: clip;
}


body {
  min-height: 100vh;
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(200, 148, 170, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 10% 70%,
      rgba(113, 63, 120, 0.1),
      transparent 25%
    ),
    var(--background);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}


.navigation {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  font-family: "Allura", cursive;
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  color: var(--primary-dark);
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.logo:hover {
  transform: translateY(-1px);
  color: var(--primary);
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.menu a:hover {
  color: var(--primary);
}

.menu a:hover::after {
  width: 100%;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 80px;
  padding: 80px 0;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--primary-dark);
}

.hero h2 {
  margin-top: 22px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text);
}

.hero-description {
  max-width: 650px;
  margin-top: 24px;
  font-size: 1.08rem;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 12px 24px rgba(113, 63, 120, 0.22);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  color: var(--primary);
  background: transparent;
}

.button-secondary:hover {
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(75, 42, 82, 0.08);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.decorative-shape {
  position: absolute;
  width: 390px;
  height: 460px;
  border-radius: 48% 52% 45% 55% / 52% 40% 60% 48%;
  background:
    linear-gradient(
      145deg,
      rgba(113, 63, 120, 0.95),
      rgba(200, 148, 170, 0.82)
    );
  transform: rotate(7deg);
  box-shadow: var(--shadow);
}

.profile-card {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.profile-initials {
  width: 125px;
  height: 125px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--accent)
    );
}

.profile-card h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
}

.profile-card p {
  margin-top: 8px;
  color: var(--text-soft);
}

.highlights {
  padding: 32px 0 90px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.highlight-item {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 35px rgba(75, 42, 82, 0.06);
}

.highlight-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
}

.highlight-item span {
  font-size: 0.94rem;
  color: var(--text-soft);
}

@media (max-width: 900px) {
.hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 60px;
  }

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

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 470px;
  }

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

.about-section {
  padding: 110px 0;
  background: var(--surface);
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.section-heading {
  max-width: 780px;
}

.section-eyebrow {
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
  max-width: 980px;
}


.hero h1,
.hero h2,
.section-heading h2 {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}


.skills-section .section-heading h2 {
  max-width: 900px;
}

@media (max-width: 560px) {
  .section-heading h2 {
    font-size: clamp(1.7rem, 8.5vw, 2.5rem);
  }

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .highlight-item {
    padding: 22px 20px;
  }
}

.about-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-soft);
}

.about-text p:first-child {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text);
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--background);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.about-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 35px rgba(75, 42, 82, 0.08);
}

.about-card-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.about-card h3 {
  margin-bottom: 7px;
  font-size: 1.08rem;
  color: var(--primary-dark);
}

.about-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .about-section {
    padding: 85px 0;
  }

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

@media (max-width: 560px) {
  .about-section {
    padding: 70px 0;
  }

  .about-container {
    gap: 42px;
  }

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

.experience-section {
  padding: 110px 0;
  background: var(--background);
}

.timeline {
  position: relative;
  margin-top: 70px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 206px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 70px;
  padding-bottom: 58px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  top: 8px;
  left: 197px;
  z-index: 1;
  width: 20px;
  height: 20px;
  border: 5px solid var(--background);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-period {
  padding-top: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
  color: var(--primary);
}

.timeline-content {
  padding: 30px 34px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 14px 35px rgba(75, 42, 82, 0.06);
}

.timeline-company {
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.timeline-content h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  color: var(--primary-dark);
}

.timeline-content > p:last-of-type {
  color: var(--text-soft);
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.timeline-tags span {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--surface-soft);
}

@media (max-width: 760px) {
  .experience-section {
    padding: 85px 0;
  }

  .timeline {
    margin-top: 52px;
  }

  .timeline::before {
    left: 9px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 38px;
    padding-bottom: 42px;
  }

  .timeline-marker {
    left: 0;
  }

  .timeline-period {
    text-align: left;
  }

  .timeline-content {
    padding: 24px;
  }
}

.cases-section {
  padding: 110px 0;
  background: var(--surface);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 70px;
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--background);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(75, 42, 82, 0.1);
}

.case-number {
  display: block;
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
}

.case-card h3 {
  margin-bottom: 14px;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--primary-dark);
}

.case-card p {
  margin-bottom: 24px;
  color: var(--text-soft);
}

.case-card a {
  margin-top: auto;
  font-weight: 800;
  text-decoration: none;
  color: var(--primary);
}

.case-card a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .cases-section {
    padding: 64px 0;
  }

  .cases-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
  }

  .case-card {
    min-height: 0;
    height: auto;
    padding: 24px 22px;
  }

  .case-number {
    margin-bottom: 14px;
    font-size: 1.5rem;
  }

  .case-card h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
    line-height: 1.35;
  }

  .case-card p {
    margin-bottom: 16px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .case-card a {
    margin-top: 0;
    font-size: 0.96rem;
  }
}

.skills-section {
  padding: 110px 0;
  background: var(--background);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 70px;
}

.skill-card {
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 14px 35px rgba(75, 42, 82, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(75, 42, 82, 0.1);
}

.skill-number {
  display: block;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
}

.skill-card h3 {
  margin-bottom: 24px;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--primary-dark);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tags span {
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--surface-soft);
}

@media (max-width: 980px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .skills-section {
    padding: 80px 0;
  }

  .skills-grid {
    margin-top: 50px;
  }

  .skill-card {
    padding: 24px;
  }
}

.education-section {
  padding: 110px 0;
  background: var(--surface);
}

.education-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 56px;
  align-items: start;
}

.education-column {
  display: flex;
  flex-direction: column;
}

.education-subtitle {
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  color: var(--primary-dark);
}

.education-list,
.course-list {
  display: grid;
  gap: 18px;
}

.education-list {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.course-list {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.education-card {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 22px;
  min-height: 0;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--background);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.education-card:hover,
.course-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(75, 42, 82, 0.09);
}

.education-year {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.education-institution {
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.education-card h4,
.course-card h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--primary-dark);
}

.education-card p,
.course-card p {
  color: var(--text-soft);
}

.course-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
  min-height: 0;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--background);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.course-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--primary);
  background: var(--surface-soft);
}

.course-card-highlight {
  background:
    linear-gradient(
      135deg,
      rgba(113, 63, 120, 0.08),
      rgba(200, 148, 170, 0.12)
    ),
    var(--background);
}

@media (max-width: 900px) {
  .education-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 620px) {
  .education-section {
    padding: 80px 0;
  }

  .education-content {
    margin-top: 50px;
  }

  .education-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px;
  }

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

.contact-section {
  padding: 110px 0;
  background: var(--background);
}

.contact-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  padding: 64px;
  border-radius: 32px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--primary-dark),
      var(--primary)
    );
  box-shadow: 0 24px 60px rgba(75, 42, 82, 0.2);
}

.contact-content .section-eyebrow {
  color: var(--accent);
}

.contact-content h2 {
  max-width: 670px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.contact-content > p:last-of-type {
  max-width: 640px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button-light {
  border-color: #ffffff;
  color: var(--primary-dark);
  background: #ffffff;
}

.button-light:hover {
  background: var(--surface-soft);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
  background: transparent;
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.contact-links a,
.contact-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.contact-links a:hover,
.contact-link:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.12);
}

.contact-links span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-links strong {
  font-size: 0.95rem;
  word-break: break-word;
  color: #ffffff;
}

.footer {
  padding: 32px 0;
  color: var(--text-soft);
  background: var(--surface);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .contact-box {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px;
  }
}

@media (max-width: 620px) {
  .contact-section {
    padding: 80px 0;
  }

  .contact-box {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

.profile-image-wrapper {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.profile-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 24px 35px rgba(75, 42, 82, 0.22));
}

@media (max-width: 900px) {
  .profile-image-wrapper {
    width: min(100%, 340px);
  }

  .profile-image {
    max-height: 500px;
  }
}

@media (max-width: 560px) {
  .profile-image-wrapper {
    width: min(100%, 290px);
  }

  .profile-image {
    max-height: 430px;
  }
}

/* CONTROLES DO CABEÇALHO */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--primary);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(75, 42, 82, 0.08);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px) rotate(8deg);
  border-color: var(--accent);
  color: var(--primary-dark);
}

.theme-toggle span {
  font-size: 1.35rem;
  line-height: 1;
}

@media (max-width: 900px) {
  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .logo {
    font-size: 2.3rem;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }
}

/* CONTRASTE FINAL DO TEMA ESCURO */

body.dark-theme .highlight-item {
  background: #2b2230 !important;
  border-color: #4b394f !important;
}

body.dark-theme .highlight-item strong {
  color: #e8b8f0 !important;
}

body.dark-theme .highlight-item span {
  color: #d7c9da !important;
}

body.dark-theme .button-light {
  color: #43274b !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
}

body.dark-theme .button-light:hover {
  color: #2d1833 !important;
  background: #f4eaf6 !important;
}

body.dark-theme .button-outline-light {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  background: transparent !important;
}

body.dark-theme .about-card,
body.dark-theme .timeline-content,
body.dark-theme .case-card,
body.dark-theme .skill-card,
body.dark-theme .education-card,
body.dark-theme .course-card {
  color: var(--text) !important;
  background: var(--surface) !important;
  border-color: var(--border) !important;
}

body.dark-theme .about-card p,
body.dark-theme .timeline-content p,
body.dark-theme .case-card p,
body.dark-theme .education-card p,
body.dark-theme .course-card p {
  color: var(--text-soft) !important;
}

/* MENU RESPONSIVO */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(75, 42, 82, 0.08);
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* GARANTE O LAYOUT CORRETO NO DESKTOP */

@media (min-width: 1101px) {
  .menu-toggle {
    display: none;
  }

  .menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

/* CELULAR E TABLET */

@media (max-width: 1100px) {
  .navigation {
    position: relative;
  }

  .nav-actions {
    margin-left: auto;
    gap: 12px;
  }

  .menu-toggle {
    display: flex;
    order: 1;
  }

  .theme-toggle {
    order: 2;
  }

  .menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 50;
    width: min(320px, calc(100vw - 28px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 20px 45px rgba(75, 42, 82, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease,
      transform 0.22s ease;
  }

  .menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .menu a::after {
    display: none;
  }

  .menu a:hover {
    background: var(--surface-soft);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 60px;
  }

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

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .menu-toggle,
  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .menu {
    top: calc(100% + 10px);
  }
}

body.dark-theme .menu-toggle,
body.dark-theme .menu {
  border-color: var(--border);
  background: var(--surface);
}

body.dark-theme .menu a:hover {
  background: var(--surface-soft);
}

/* MOVIMENTO DOS CARTÕES AO PASSAR O MOUSE */

.highlight-item,
.timeline-content {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.highlight-item:hover,
.timeline-content:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(75, 42, 82, 0.12);
}

/* SEÇÃO ATIVA NO MENU */

.menu a.active {
  color: var(--primary);
}

.menu a.active::after {
  width: 100%;
}

@media (max-width: 900px) {
  .menu a.active {
    color: var(--primary-dark);
    background: var(--surface-soft);
  }

  .menu a.active::after {
    display: none;
  }
}

body.dark-theme .menu a.active {
  color: #efbdf6;
}

/* TRANSIÇÃO ENTRE OS TEMAS */

body,
.header,
.logo,
.menu a,
.theme-toggle,
.menu-toggle,
.highlight-item,
.about-section,
.about-card,
.experience-section,
.timeline-content,
.timeline-tags span,
.cases-section,
.case-card,
.skills-section,
.skill-card,
.skill-tags span,
.education-section,
.education-card,
.course-card,
.contact-section,
.contact-box,
.contact-links a,
.footer {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

@media (min-width: 1101px) {
  .menu,
  body.dark-theme .menu {
    background: transparent;
    transition: none;
  }
}

/* PARTÍCULAS SUAVES NO FUNDO */

:root {
  --particle-color: rgba(199, 143, 181, 0.18);
  --particle-glow: rgba(255, 255, 255, 0.55);
}

body.dark-theme {
  --particle-color: rgba(238, 193, 233, 0.14);
  --particle-glow: rgba(255, 255, 255, 0.35);
}

.floating-particles {
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  pointer-events: none;
}

.floating-particles span {
  position: absolute;
  left: var(--x);
  top: -70px;
  width: var(--size);
  height: var(--size);
  opacity: 0;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 30% 30%,
      var(--particle-glow),
      var(--particle-color)
    );
  filter: blur(0.2px);
  animation: floatParticle var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.floating-particles span:nth-child(3n) {
  border-radius: 65% 35% 65% 35%;
}

@keyframes floatParticle {
  0% {
    transform: translate3d(0, -40px, 0)
      scale(0.75)
      rotate(0deg);
    opacity: 0;
  }

  12% {
    opacity: 0.4;
  }

  50% {
    transform: translate3d(
      18px,
      52vh,
      0
    )
    scale(1)
    rotate(120deg);

    opacity: 0.35;
  }

  100% {
    transform: translate3d(
      -16px,
      115vh,
      0
    )
    scale(0.85)
    rotate(260deg);

    opacity: 0;
  }
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  background: var(--background);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.footer-content p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.footer-note {
  font-size: 0.82rem;
  opacity: 0.9;
}

/* ANIMAÇÕES DE ENTRADA */

.reveal {
  opacity: 1;
  transform: none;
}

body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

body.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.reveal-ready .reveal-delay-1 {
  transition-delay: 0.08s;
}

body.reveal-ready .reveal-delay-2 {
  transition-delay: 0.16s;
}

body.reveal-ready .reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  body.reveal-ready .reveal,
  body.reveal-ready .reveal-delay-1,
  body.reveal-ready .reveal-delay-2,
  body.reveal-ready .reveal-delay-3 {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* CABEÇALHO FIXO */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(231, 220, 233, 0.8);
  background: rgba(250, 248, 252, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.dark-theme .header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(24, 19, 29, 0.94);
}

body {
  padding-top: 76px;
}

main section[id] {
  scroll-margin-top: 96px;
}

@media (max-width: 560px) {
  body {
    padding-top: 68px;
  }

  main section[id] {
    scroll-margin-top: 84px;
  }
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-soft);
}

.hero-location span {
  color: var(--accent);
}

.contact-actions {
  align-items: flex-start;
}

.contact-actions .button {
  width: auto;
}

@media (max-width: 620px) {
  .contact-actions .button {
    width: 100%;
  }
}

/* BOTÃO VOLTAR AO TOPO */

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 14px 32px rgba(75, 42, 82, 0.22);

  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--primary-dark);
  box-shadow: 0 18px 38px rgba(75, 42, 82, 0.3);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.back-to-top span {
  font-size: 1.4rem;
  line-height: 1;
}

body.dark-theme .back-to-top {
  color: #281a2d;
  background: var(--primary-dark);
}

body.dark-theme .back-to-top:hover {
  background: var(--accent);
}

@media (max-width: 560px) {
  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

/* E-MAIL COPIÁVEL */

.contact-link {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.contact-email {
  position: relative;
}

.copy-email-label {
  margin-top: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
}

.contact-email.is-copied {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}

.contact-email.is-copied .copy-email-label {
  color: #ffffff;
}

.contact-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Texto acessível, invisível visualmente */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

/* CARTÃO DE E-MAIL COM DUAS AÇÕES */

.contact-email {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.contact-email:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.12);
}

.contact-email-link {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
}

.contact-email-link span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-email-link strong {
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  color: #ffffff;
}

.contact-email-link small {
  margin-top: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
}

.copy-email-button {
  flex-shrink: 0;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  background: transparent;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.copy-email-button:hover,
.copy-email-button.is-copied {
  border-color: #ffffff;
  color: var(--primary-dark);
  background: #ffffff;
}

.contact-email-link:focus-visible,
.copy-email-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 560px) {
  .contact-email {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1100px) {
  .hero-location {
    width: 100%;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .contact-email {
    align-items: center;
    text-align: center;
  }

  .contact-email-link {
    align-items: center;
    text-align: center;
  }

  .copy-email-button {
    align-self: center;
  }
}

/* Mantém o movimento dos cards após o reveal */

.case-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

body.reveal-ready .case-card.reveal.is-visible:hover {
  transform: translateY(-8px) scale(1.01);
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
  will-change: opacity, transform;
}

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

/* Delays opcionais */

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ==================================================
   MOVIMENTO GERAL DOS CARDS
================================================== */

.case-card,
.about-card,
.highlight-item,
.skill-card,
.education-card,
.contact-link,
.timeline-content {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* Cards sem reveal */

.case-card:hover,
.about-card:hover,
.highlight-item:hover,
.skill-card:hover,
.education-card:hover,
.contact-link:hover,
.timeline-content:hover {
  transform: translateY(-8px);
}

/* Cards com reveal já concluído */

.case-card.reveal.is-visible:hover,
.about-card.reveal.is-visible:hover,
.highlight-item.reveal.is-visible:hover,
.skill-card.reveal.is-visible:hover,
.education-card.reveal.is-visible:hover,
.contact-link.reveal.is-visible:hover,
.timeline-content.reveal.is-visible:hover {
  transform: translateY(-8px);
}

@media (hover: none) {
  .case-card:hover,
  .about-card:hover,
  .highlight-item:hover,
  .skill-card:hover,
  .education-card:hover,
  .contact-link:hover,
  .timeline-content:hover {
    transform: translateY(0);
  }
}

/* Movimento dos cards da seção Formação */

#formacao article {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

#formacao article:hover,
#formacao article.reveal.is-visible:hover {
  transform: translateY(-8px) scale(1.01);
}

@media (hover: none) {
  #formacao article:hover,
  #formacao article.reveal.is-visible:hover {
    transform: translateY(0);
  }
}


@media (max-width: 900px) {
  .section-heading h2 {
    font-size: clamp(2rem, 7vw, 3rem);
  }
}


/* BORDAS INTERATIVAS — HOME */

.highlight-item,
.about-card,
.timeline-content,
.case-card,
.skill-card,
.education-card,
.course-card {
  border: 1px solid var(--border);
}

.highlight-item:hover,
.about-card:hover,
.timeline-content:hover,
.case-card:hover,
.skill-card:hover,
.education-card:hover,
.course-card:hover {
  border-color: var(--accent);
}

body.dark-theme .highlight-item,
body.dark-theme .about-card,
body.dark-theme .timeline-content,
body.dark-theme .case-card,
body.dark-theme .skill-card,
body.dark-theme .education-card,
body.dark-theme .course-card {
  border-color: var(--border) !important;
}

body.dark-theme .highlight-item:hover,
body.dark-theme .about-card:hover,
body.dark-theme .timeline-content:hover,
body.dark-theme .case-card:hover,
body.dark-theme .skill-card:hover,
body.dark-theme .education-card:hover,
body.dark-theme .course-card:hover {
  border-color: var(--accent) !important;
}



/* AJUSTE DE ÂNCORAS E TÍTULOS — HOME */

main section[id] {
  scroll-margin-top: 124px;
}

.section-heading,
.section-heading.scroll-target,
.contact-box.scroll-target {
  scroll-margin-top: 124px;
}

.hero h1,
.hero h2,
.section-heading h2 {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (min-width: 901px) {
  .section-heading h2 {
    font-size: clamp(2.8rem, 4vw, 4.6rem);
    line-height: 1.05;
    max-width: 1050px;
  }

  .experience-section .section-heading h2,
  .skills-section .section-heading h2 {
    max-width: 1100px;
  }
}

@media (max-width: 900px) {
  main section[id],
  .section-heading,
  .section-heading.scroll-target,
  .contact-box.scroll-target {
    scroll-margin-top: 116px;
  }
}

@media (max-width: 560px) {
  main section[id],
  .section-heading,
  .section-heading.scroll-target,
  .contact-box.scroll-target {
    scroll-margin-top: 104px;
  }
}



/* AJUSTES DEFINITIVOS — HERO, CASES E RETORNO */

.hero {
  min-height: auto;
  padding-top: 42px;
  padding-bottom: 70px;
}

.hero .eyebrow {
  margin-bottom: 8px;
}

.cases-section {
  padding-top: 72px;
}

.case-card {
  scroll-margin-top: 112px;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 32px;
    padding-bottom: 60px;
  }

  .cases-section {
    padding-top: 62px;
  }

  .case-card {
    scroll-margin-top: 104px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 24px;
    padding-bottom: 52px;
  }

  .cases-section {
    padding-top: 54px;
  }

  .case-card {
    scroll-margin-top: 96px;
  }
}

/* Projetos técnicos */

.projects-section {
  padding-top: 6rem;
}

.projects-grid {
  align-items: stretch;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-card > a,
.project-link-disabled {
  margin-top: auto;
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.project-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.4rem 0.75rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
}

.project-status-completed {
  color: #efb9e6;
  background: rgba(239, 185, 230, 0.08);
  border-color: rgba(239, 185, 230, 0.75);
}

.project-status-progress {
  color: #c8a7dc;
  background: rgba(200, 167, 220, 0.12);
  border-color: rgba(200, 167, 220, 0.75);
  border-style: dashed;
}

.project-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.project-technologies span {
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(139, 76, 203, 0.35);
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.2;
}

.project-link-disabled {
  display: inline-flex;
  width: fit-content;
  font-weight: 700;
  opacity: 0.65;
  cursor: default;
}

body:not(.dark-theme) .project-status-completed {
  color: #8b4f82;
  background: rgba(139, 79, 130, 0.08);
  border-color: rgba(139, 79, 130, 0.6);
}

body:not(.dark-theme) .project-status-progress {
  color: #76548c;
  background: rgba(118, 84, 140, 0.08);
  border-color: rgba(118, 84, 140, 0.6);
}

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

/* ==================================================
   CORREÇÕES FINAIS — DESTAQUES, SOBRE E PROJETOS
================================================== */

/* --------------------------------------------------
   DESTAQUES
-------------------------------------------------- */

.highlight-wrapper {
  position: relative;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
}

.highlight-item {
  min-width: 0;
  padding: 1.4rem 1.15rem;
}

.highlight-item strong {
  font-size: 1rem;
  line-height: 1.3;
}

.highlight-item span {
  font-size: 0.88rem;
  line-height: 1.55;
}

.highlight-nav,
.highlight-pagination {
  display: none;
}

/* --------------------------------------------------
   SOBRE
-------------------------------------------------- */

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 4rem;
  align-items: start;
}

.about-text {
  max-width: none;
  margin-bottom: 0;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.about-card {
  width: 100%;
}

/* --------------------------------------------------
   PROJETOS
-------------------------------------------------- */

.projects-grid {
  align-items: stretch;
}

.project-card {
  height: 100%;
}

/* --------------------------------------------------
   TABLET
-------------------------------------------------- */

@media (min-width: 761px) and (max-width: 1100px) {
  /* Sobre continua em duas colunas no tablet */

  .about-content {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 2.5rem;
  }

  /* Dois projetos na primeira linha e o terceiro centralizado */

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

  .projects-grid .project-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 560px);
    justify-self: center;
  }
}

/* --------------------------------------------------
   DESTAQUES RESPONSIVOS
-------------------------------------------------- */

@media (max-width: 900px) {
  .highlight-wrapper {
    position: relative;
    display: block;
    padding-inline: 1rem;
  }

  .highlight-grid {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scroll-padding-inline: 4%;
    scrollbar-width: none;
    padding: 0.75rem 4%;
  }

  .highlight-grid::-webkit-scrollbar {
    display: none;
  }

  .highlight-item {
    flex: 0 0 86%;
    min-width: 86%;
    min-height: 220px;
    margin: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .highlight-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--primary);
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
  }

  .highlight-nav-previous {
    left: 0;
  }

  .highlight-nav-next {
    right: 0;
  }

  .highlight-nav:disabled {
    opacity: 0.3;
    cursor: default;
  }

  .highlight-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .highlight-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    opacity: 0.3;
    cursor: pointer;
    transition:
      width 0.2s ease,
      opacity 0.2s ease;
  }

  .highlight-dot.is-active {
    width: 24px;
    opacity: 1;
  }

  .highlight-item:hover,
  .highlight-item.reveal.is-visible:hover {
    transform: none;
  }
}

/* --------------------------------------------------
   CELULAR
-------------------------------------------------- */

@media (max-width: 760px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 560px) {
  .highlight-wrapper {
    padding-inline: 0.25rem;
  }

  .highlight-grid {
    gap: 0.75rem;
  }

  .highlight-item {
    flex: 0 0 92%;
    min-width: 92%;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.35rem 1.2rem;
  }

  .highlight-nav {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
}
