
/* =========================================
   PORTFÓLIO — DARK TECH PREMIUM 3.0
   PEDRO HENRIQUE BARBOSA
   ========================================= */

/* =========================================
   01. VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================= */

:root {
  color-scheme: dark;

  --ink: #f1f5f9;
  --muted: #a8b8cc;
  --accent: #38bdf8;
  --accent-light: #7dd3fc;

  --line: #26374f;
  --cream: #0e1728;
  --white: #0b1120;
  --dark: #080f1e;
  --surface: #111c30;

  --border: rgba(148, 163, 184, 0.18);

  --radius: 16px;
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.16);

  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.container {
  width: min(1320px, calc(100% - 64px));
  margin: auto;
}

::selection {
  background: #23698d;
  color: #fff;
}

/* =========================================
   02. NAVEGAÇÃO
   ========================================= */

.navwrap {
  background: rgba(9, 16, 30, 0.95);
  border-bottom: 1px solid var(--border);

  position: sticky;
  top: 0;
  z-index: 100;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.brand {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #f8fafc;
  white-space: nowrap;
}

.brand:hover {
  color: var(--accent);
}

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

  margin-left: auto;

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

.navlinks a {
  color: #cbd5e1;
  white-space: nowrap;
}

.navlinks a:hover {
  color: var(--accent);
}

/* =========================================
   03. SELETOR DE IDIOMAS
   ========================================= */

.language-switcher {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-left: 12px;
  flex-shrink: 0;
}

.language-switcher label {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--accent);
  font-size: 15px;
}

.language-switcher select {
  appearance: none;
  -webkit-appearance: none;

  min-width: 65px;

  padding: 9px 23px 9px 12px;

  border: 1px solid #38506b;
  border-radius: 8px;

  background-color: #142238;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;

  color: #e2e8f0;

  font-family: inherit;
  font-size: 12px;
  font-weight: 750;

  cursor: pointer;

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

.language-switcher select:hover {
  border-color: var(--accent);
  background-color: #1a2d47;
}

/* =========================================
   04. ELEMENTOS DE TEXTO
   ========================================= */

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;

  color: var(--accent);
  font-weight: 750;
}

/* =========================================
   05. APRESENTAÇÃO / HERO
   ========================================= */

.hero {
  padding: 104px 0 100px;

  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 85% 30%,
      rgba(14, 116, 144, 0.17),
      transparent 50%
    ),
    linear-gradient(
      115deg,
      #0b1120,
      #0e192d 65%,
      #101f35
    );

  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(56, 189, 248, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(56, 189, 248, 0.025) 1px,
      transparent 1px
    );

  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(270px, 0.65fr);

  gap: 70px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(48px, 5.6vw, 82px);
  letter-spacing: -0.06em;
  line-height: 1.05;

  margin: 20px 0;
  max-width: 800px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lead {
  font-size: 19px;
  max-width: 680px;

  color: #b5c5d8;
  line-height: 1.8;
}

/* =========================================
   06. BOTÕES
   ========================================= */

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;

  margin-top: 28px;
}

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

  min-height: 44px;
  padding: 12px 21px;

  border: 1px solid #38506b;
  border-radius: 9px;

  background: rgba(17, 28, 48, 0.55);

  font-size: 13px;
  font-weight: 750;

  color: #e2e8f0;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #061522;

  box-shadow:
    0 5px 22px rgba(56, 189, 248, 0.13);
}

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

  background: #17283f;
  border-color: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #061522;
}

/* =========================================
   07. FOTO DE PERFIL
   ========================================= */

.portrait,
.hero .portrait {
  min-height: 340px;
  padding: 30px 25px 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  overflow: hidden;

  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.23);

  background:
    radial-gradient(
      circle at center,
      rgba(56, 189, 248, 0.1),
      transparent 72%
    ),
    var(--surface);

  box-shadow: var(--shadow);
}

.portrait::after,
.hero .portrait::after {
  content: "SQL / PYTHON / POWER BI";

  position: absolute;

  bottom: 22px;
  left: 0;
  right: 0;

  text-align: center;

  font-size: 11px;
  letter-spacing: 0.12em;

  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.profile-photo,
.hero .portrait .profile-photo {
  width: 235px;
  height: 235px;
  max-width: 100%;

  aspect-ratio: 1 / 1;
  flex: 0 0 auto;

  object-fit: cover;
  object-position: center 38%;

  border-radius: 50%;
  border: 4px solid #28435d;

  box-shadow:
    0 0 0 6px rgba(56, 189, 248, 0.07),
    0 12px 35px rgba(0, 0, 0, 0.3);

  display: block;
  margin: 0;

  transition: transform 0.3s;
}

.portrait:hover .profile-photo {
  transform: scale(1.035);
}

.monogram {
  font-size: 100px;
  letter-spacing: -0.1em;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

/* =========================================
   08. SEÇÕES
   ========================================= */

.section {
  padding: 94px 0;
  background: var(--white);
}

.section.alt {
  background: var(--cream);
}

.section-heading {
  margin: 0 0 36px;
}

.section-heading h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -0.05em;
  line-height: 1.1;

  margin: 11px 0;

  color: #f8fafc;
}

.section-heading p {
  color: var(--muted);
  max-width: 740px;
}

/* =========================================
   09. SOBRE MIM
   ========================================= */

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

.about p {
  font-size: 16px;
  color: #b8c7d7;

  margin-top: 0;
  line-height: 1.9;
}

.subhead {
  font-size: 18px;
  margin: 0 0 16px;
  color: #f1f5f9;
}

/* =========================================
   10. COMPETÊNCIAS
   ========================================= */

.skill-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}

.skill {
  border-bottom: 1px solid var(--line);

  padding: 12px 0;

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

  color: #d0dbea;

  transition:
    color 0.2s,
    padding-left 0.2s;
}

.skill:hover {
  color: var(--accent);
  padding-left: 4px;
}

/* =========================================
   11. FORMAÇÃO
   ========================================= */

.education {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 30px;
}

.education strong {
  display: block;
}

.education span {
  color: var(--muted);
  font-size: 14px;
}

/* =========================================
   12. GRID DE PROJETOS
   ========================================= */

.projects {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 32px;
}

/* =========================================
   13. CARDS DE PROJETOS
   ========================================= */

.project {
  min-width: 0;

  display: flex;
  flex-direction: column;

  background: var(--surface);

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

  padding: 18px 18px 25px;

  box-shadow: var(--shadow);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.project:hover {
  transform: translateY(-5px);

  border-color: rgba(56, 189, 248, 0.43);

  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.24);
}

.project-image {
  display: block;
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: #0b1525;
}

.project-image img {
  width: 100%;
  aspect-ratio: 16 / 10;

  object-fit: cover;
  object-position: top;

  display: block;

  transition: transform 0.35s;
}

.project-image:hover img,
.project:hover .project-image img {
  transform: scale(1.025);
}

.project .eyebrow {
  margin-top: 20px;
}

.project h3 {
  font-size: clamp(21px, 2vw, 26px);
  letter-spacing: -0.035em;
  line-height: 1.25;

  margin: 9px 0;

  color: #f1f5f9;
}

.project p {
  font-size: 14px;
  color: #b0c0d3;

  margin: 0 0 15px;
  line-height: 1.8;
}

.project-tech {
  font-size: 12px;
  color: #85d7f7;

  margin: 12px 0 15px;
  font-weight: 650;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 12px 22px;

  margin-top: auto;
  padding-top: 8px;
}

.project .textlink {
  align-self: flex-start;
}

.textlink {
  display: inline-block;

  font-weight: 750;
  font-size: 13px;

  color: var(--accent);

  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.textlink:hover {
  color: var(--accent-light);
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: #cbd5e1;

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

.github-link:hover {
  color: var(--accent);
}

/* =========================================
   14. PROJETO PRINCIPAL — CYBERTHREAT
   ========================================= */

.featured-projects .project-featured {
  grid-column: 1 / -1;

  display: grid;

  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(0, 1fr);

  column-gap: 32px;

  align-content: start;

  padding: 24px;

  border-color: rgba(56, 189, 248, 0.32);

  background:
    radial-gradient(
      ellipse at 95% 5%,
      rgba(56, 189, 248, 0.065),
      transparent 60%
    ),
    var(--surface);
}

.project-featured .project-image {
  grid-column: 1;
  grid-row: 1 / span 5;

  align-self: stretch;
}

.project-featured .project-image img {
  width: 100%;
  height: 100%;
  min-height: 270px;

  aspect-ratio: auto;
  object-fit: cover;
  object-position: top;
}

.project-featured .eyebrow {
  margin-top: 8px;
}

.project-featured h3 {
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.18;

  margin: 12px 0 15px;
}

.project-featured p {
  font-size: 15px;
  line-height: 1.85;

  margin-bottom: 18px;
}

.project-featured .project-tech {
  margin: 12px 0 18px;
}

.project-featured .project-links {
  margin-top: auto;
}

/* =========================================
   15. PROJETOS SECUNDÁRIOS EM DESTAQUE
   ========================================= */

.featured-projects > .project:not(.project-featured) {
  border-color: rgba(148, 163, 184, 0.23);
}

.featured-projects > .project:not(.project-featured) h3 {
  font-size: clamp(23px, 2.2vw, 29px);
}

.featured-projects > .project:not(.project-featured):hover {
  border-color: rgba(56, 189, 248, 0.5);
}

/* =========================================
   16. OUTROS PROJETOS
   ========================================= */

.other-heading {
  margin-top: 76px;
  padding-top: 35px;

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

.other-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.other-projects .project h3 {
  font-size: clamp(20px, 2vw, 24px);
}

.other-projects .project-image img {
  aspect-ratio: 16 / 9;
}

.other-projects .project {
  background: #101b2d;
}

/* =========================================
   17. CONTATO
   ========================================= */

.contact {
  background:
    radial-gradient(
      ellipse at 90% 50%,
      rgba(56, 189, 248, 0.1),
      transparent 55%
    ),
    #0c1628;

  color: #fff;

  padding: 94px 0;

  border-top: 1px solid var(--border);
}

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

.contact h2 {
  font-size: clamp(33px, 4vw, 52px);
  line-height: 1.13;
  letter-spacing: -0.04em;

  margin: 13px 0;
}

.contact p {
  color: #b7c7d8;
  max-width: 680px;
}

.contact .btn {
  border-color: #38506b;
  color: #e2e8f0;
}

.contact .btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #061522;
}

.contact .btn.primary:hover {
  background: var(--accent-light);
  color: #061522;
}

.contact .btn:not(.primary):hover {
  border-color: var(--accent);
  color: #fff;
}

/* =========================================
   18. RODAPÉ
   ========================================= */

.footer {
  padding: 25px 0;

  font-size: 12px;
  color: var(--muted);

  background: var(--dark);

  border-top: 1px solid var(--border);
}

/* =========================================
   19. PÁGINAS INDIVIDUAIS DOS PROJETOS
   ========================================= */

.detail-head {
  padding: 76px 0 46px;

  background:
    linear-gradient(135deg, #0e192d, #111f35);

  border-bottom: 1px solid var(--border);
}

.detail-head h1 {
  font-size: clamp(37px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.05em;

  margin: 12px 0;

  color: #f8fafc;
}

.detail-head p {
  max-width: 770px;

  color: var(--muted);
  font-size: 17px;
}

/* =========================================
   20. GALERIA DE DASHBOARDS
   ========================================= */

.gallery {
  display: grid;
  gap: 42px;
}

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  display: block;

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

  box-shadow: var(--shadow);
}

.shot figcaption {
  padding: 11px 0;

  font-size: 13px;
  color: var(--muted);
}

.note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 30px;
}

.back {
  display: inline-block;

  margin-bottom: 24px;

  color: var(--accent);

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

/* =========================================
   21. ANÁLISES TÉCNICAS
   ========================================= */

.project-analysis {
  padding-top: 30px;
  padding-bottom: 54px;
}

.analysis-title {
  font-size: clamp(28px, 3.2vw, 39px);
  line-height: 1.18;

  margin: 10px 0;

  color: #f1f5f9;
}

.analysis-intro {
  max-width: 720px;

  color: #aebed0;

  margin: 0 0 28px;
}

.analysis-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 24px 36px;

  margin: 26px 0 32px;
}

.analysis-item {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.analysis-item h3 {
  font-size: 17px;

  margin: 0 0 8px;

  color: #e2e8f0;
}

.analysis-item p {
  line-height: 1.75;

  margin: 0;

  color: #b4c3d4;
}

.analysis-subtitle {
  font-size: 20px;

  margin: 30px 0 12px;

  color: #f1f5f9;
}

.metric-list {
  display: flex;
  flex-wrap: wrap;

  gap: 9px;

  list-style: none;
  padding: 0;
  margin: 0;
}

.metric-list li,
.tech-tags span {
  display: inline-block;

  padding: 9px 13px;

  border: 1px solid #2b4560;
  border-radius: 7px;

  background: #15253a;

  font-size: 13px;
  color: #b9dced;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* =========================================
   22. RESPONSIVIDADE — NOTEBOOK
   ========================================= */

@media (max-width: 1100px) {

  .nav {
    gap: 18px;
  }

  .navlinks {
    gap: 18px;
  }

  .hero-inner {
    gap: 45px;
  }

  .about {
    gap: 50px;
  }

  .featured-projects .project-featured {
    column-gap: 24px;
  }

}

/* =========================================
   23. RESPONSIVIDADE — TABLET
   ========================================= */

@media (max-width: 900px) {

  .container {
    width: calc(100% - 48px);
  }

  .hero-inner {
    gap: 35px;
  }

  .about {
    gap: 45px;
  }

  .projects {
    gap: 24px;
  }

  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .navlinks {
    gap: 16px;
    margin-left: auto;
  }

}

/* =========================================
   24. RESPONSIVIDADE — CELULAR
   ========================================= */

@media (max-width: 800px) {

  .hero-inner,
  .about {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    padding: 70px 0;
  }

  .hero .portrait {
    max-width: 360px;
    width: 100%;

    margin: 0 auto;
    min-height: 310px;
  }

  .section {
    padding: 68px 0;
  }

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

    max-width: 680px;
    margin: 0 auto;
  }

  .featured-projects .project-featured {
    display: flex;
    flex-direction: column;

    padding: 18px;
  }

  .project-featured .project-image {
    width: 100%;
  }

  .project-featured .project-image img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .project-featured h3 {
    font-size: clamp(24px, 5vw, 31px);
  }

  .other-heading {
    margin-top: 60px;
  }

  .contact {
    padding: 70px 0;
  }

}

/* =========================================
   25. RESPONSIVIDADE — CELULAR PEQUENO
   ========================================= */

@media (max-width: 600px) {

  .container {
    width: calc(100% - 32px);
  }

  .nav {
    gap: 12px;
    justify-content: space-between;
  }

  .brand {
    font-size: 14px;
  }

  .language-switcher {
    margin-left: auto;
  }

  .navlinks {
    order: 3;

    width: 100%;

    margin-left: 0;

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

    gap: 12px;

    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 52px);
  }

  .lead {
    font-size: 16px;
  }

  .skill-list {
    grid-template-columns: 1fr;
  }

  .project {
    padding: 14px 14px 22px;
  }

  .project h3 {
    font-size: 22px;
  }

  .project-featured h3 {
    font-size: 25px;
  }

  .btn {
    padding: 11px 16px;
  }

  .hero .portrait .profile-photo {
    width: 210px;
    height: 210px;
  }

  .other-heading {
    margin-top: 55px;
  }

}

/* =========================================
   26. RESPONSIVIDADE — TELAS ESTREITAS
   ========================================= */

@media (max-width: 380px) {

  .brand {
    font-size: 12px;
  }

  .navlinks {
    font-size: 11px;
    gap: 8px;
  }

  .language-switcher {
    gap: 4px;
  }

  .language-switcher select {
    min-width: 57px;
    padding: 8px 19px 8px 9px;
  }

  .project-featured {
    padding: 12px;
  }

  .project-links {
    gap: 10px;
  }

}

/* =========================================
   27. ACESSIBILIDADE
   ========================================= */

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

}

/* =========================================
   REFINAMENTO FINAL — PORTFÓLIO 3.1
   PEDRO HENRIQUE BARBOSA
   ========================================= */

/* 01. CYBERTHREAT — DESTAQUE PRINCIPAL */

@media (min-width: 801px) {

  .featured-projects .project-featured {
    display: grid;
    grid-template-columns:
      minmax(0, 1.08fr)
      minmax(0, 1fr);

    column-gap: 36px;
    align-content: center;

    padding: 24px;
  }

  .project-featured .project-image {
    grid-column: 1;
    grid-row: 1 / span 5;

    align-self: stretch;
  }

  .project-featured .project-image img {
    width: 100%;
    height: 100%;
    min-height: 290px;

    object-fit: cover;
    object-position: center top;
  }

  .project-featured .eyebrow {
    margin-top: 0;
    align-self: end;
  }

  .project-featured h3 {
    font-size: clamp(26px, 2.5vw, 35px);
    line-height: 1.2;
    margin: 12px 0 14px;
  }

  .project-featured p {
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 12px;
  }

  .project-featured .project-tech {
    margin: 10px 0 14px;
  }

  .project-featured .project-links {
    margin-top: 4px;
    padding-top: 8px;
  }

}

/* 02. NEUROINSIGHTS E GOIÁS EC */

.featured-projects > .project:not(.project-featured) {
  height: 100%;
  padding-bottom: 24px;
}

.featured-projects > .project:not(.project-featured)
.project-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

.featured-projects > .project:not(.project-featured) h3 {
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.25;
  margin: 11px 0;
}

.featured-projects > .project:not(.project-featured) p {
  line-height: 1.75;
  margin-bottom: 12px;
}

.featured-projects > .project:not(.project-featured)
.project-links {
  margin-top: auto;
  padding-top: 14px;
}

/* 03. OUTROS PROJETOS — CARDS COMPACTOS */

.other-heading {
  margin-top: 68px;
  padding-top: 32px;
  margin-bottom: 30px;
}

.other-projects {
  gap: 26px;
}

.other-projects .project {
  padding: 15px 15px 21px;
}

.other-projects .project-image img {
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  object-position: top;
}

.other-projects .project .eyebrow {
  margin-top: 17px;
}

.other-projects .project h3 {
  font-size: clamp(20px, 1.8vw, 23px);
  line-height: 1.3;
  margin: 8px 0;
}

.other-projects .project p {
  font-size: 13.5px;
  line-height: 1.75;
  margin-bottom: 10px;
}

.other-projects .project-tech {
  margin: 9px 0 12px;
}

.other-projects .project-links {
  padding-top: 10px;
  margin-top: auto;
}

/* 04. LINKS DOS PROJETOS */

.project-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.project-links .textlink,
.project-links .github-link {
  line-height: 1.5;
}

.project-links .textlink {
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.project-links .github-link:hover {
  color: var(--accent-light);
}

/* 05. CONTATO — FINALIZAÇÃO VISUAL */

.contact {
  padding: 88px 0 92px;

  background:
    radial-gradient(
      ellipse at 88% 40%,
      rgba(56, 189, 248, 0.12),
      transparent 55%
    ),
    linear-gradient(
      120deg,
      #0b1425,
      #0e1d31
    );
}

.contact .container {
  position: relative;
}

.contact h2 {
  margin: 12px 0 16px;
  letter-spacing: -0.045em;
}

.contact p {
  max-width: 600px;
  line-height: 1.85;
}

.contact .buttons {
  margin-top: 25px;
  gap: 12px;
}

/* 06. RESPONSIVIDADE */

@media (max-width: 800px) {

  .featured-projects .project-featured {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 18px;
  }

  .project-featured .project-image {
    width: 100%;
  }

  .project-featured .project-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
  }

  .project-featured .eyebrow {
    margin-top: 18px;
  }

  .project-featured h3 {
    font-size: clamp(24px, 5vw, 30px);
  }

  .other-projects {
    gap: 22px;
  }

  .other-heading {
    margin-top: 55px;
  }

  .contact {
    padding: 72px 0;
  }

}

@media (max-width: 480px) {

  .featured-projects > .project:not(.project-featured)
  .project-image img {
    aspect-ratio: 16 / 10;
  }

  .other-projects .project-image img {
    aspect-ratio: 16 / 9;
  }

  .other-projects .project {
    padding: 13px 13px 21px;
  }

  .other-projects .project p {
    font-size: 14px;
  }

  .project-links {
    gap: 10px 16px;
  }

  .contact h2 {
    font-size: 36px;
  }

}
