/* =========================================================
   Nucleo - estilos do site
   ---------------------------------------------------------
   Organização:
     1. Fontes
     2. Variáveis (cores, fontes, espaçamentos)
     3. Base (reset e estilos gerais)
     4. Barra superior
     5. Menu
     6. Principal (#main)
     7. Quem Somos (#about)
     8. O que fazemos (#offers)
     9. Pessoas (#people)
    10. Contato (#contact)
    11. Rodapé / voltar ao topo
    12. Portfolio (#portfolio)

   Telas: o estilo base é para CELULAR. As regras dentro de
   "@media (min-width: 740px), (orientation: landscape)" valem para
   tablet/computador (era o "above_mobile_portrait" do site antigo).
   ========================================================= */


/* ---------- 1. Fontes ---------- */
@font-face { font-family: 'Raleway'; src: url('fonts/Raleway.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('fonts/Raleway-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Bebas Neue'; src: url('fonts/BebasNeue.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Bebas Neue'; src: url('fonts/BebasNeueBold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Bebas Neue Regular'; src: url('fonts/BebasNeueRegular.woff2') format('woff2'); font-weight: 400; font-display: swap; }


/* ---------- 2. Variáveis ---------- */
:root {
  /* cores */
  --bg-header: #0a2a3b;       /* barra superior */
  --black: #0a0a0a;
  --white: #fff;
  --text-white: #d9d9d9;      /* texto claro sobre fundo escuro */
  --gray-light: #d1cfcd;
  --gray: #3d3d3d;
  --blue-greenish: #13928a;
  --green: #00968f;
  --green-menu: rgba(0, 150, 143, 0.9);
  --yellow: #fcca00;
  --button-blue: #05b0df;     /* botão Enviar */

  /* fontes */
  --font-body: 'Raleway', 'Helvetica Neue', Roboto, 'Segoe UI', sans-serif;
  --font-title: 'Bebas Neue', 'Helvetica Neue', Roboto, 'Segoe UI', sans-serif;
  --font-title-2: 'Bebas Neue Regular', 'Bebas Neue', 'Helvetica Neue', Roboto, 'Segoe UI', sans-serif;
  --title-letter-spacing: 6px;

  /* espaçamentos (celular) - mudam no bloco @media de cada seção */
  --side: 20px;               /* margem lateral */
  --vertical: 20px;           /* margem vertical das seções */
  --header-height: 61px;
}
@media (min-width: 740px), (orientation: landscape) {
  :root {
    --side: 75px;
    --vertical: 70px;
  }
}


/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.42857;
  color: #333;
  background: var(--white);
}
html.noscroll { overflow: hidden; }

img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: var(--green); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
h1, h2, h3 { margin: 20px 0 10px; line-height: 1.1; font-weight: 500; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
p { margin: 0 0 10px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* seções da página */
section {
  padding-left: var(--side);
  padding-right: var(--side);
}
section .content {
  width: 900px;
  max-width: 100%;
  margin: auto;
  padding-top: var(--vertical);
  padding-bottom: var(--vertical);
}


/* ---------- 4. Barra superior ---------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: var(--bg-header);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--side);
}
#header .current { display: flex; align-items: center; }
#header .current img { display: block; margin-right: 15px; }
#header .current-page { display: none; }
#header .current-page a {
  color: var(--yellow);
  text-transform: uppercase;
  text-decoration: none;
}
body.portfolio-open #header .current-page { display: block; }
#header .menu { display: flex; align-items: center; }
#header .open-menu img { display: block; margin-left: 15px; }
/* com o portfolio aberto, o ícone do menu dá lugar aos botões do portfolio */
#header .sub-menu-links { display: none; }
#header .sub-menu-links img { display: block; margin-left: 15px; }
body.portfolio-open #header .sub-menu-links { display: flex; }
body.portfolio-open #header .open-menu { display: none; }
#header .open-related-portfolio { display: none; }
body.portfolio-open.viewing-project #header .open-related-portfolio { display: block; }
/* botão de idioma (EN/PT): discreto, ao lado do ícone do menu */
#header .lang-switch {
  display: block;
  padding: 4px 2px 0;
  font-family: var(--font-title);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--gray-light);
  text-decoration: none;
  opacity: 0.8;
}
#header .lang-switch:hover,
#header .lang-switch:focus-visible { color: var(--yellow); opacity: 1; }


/* ---------- 5. Menu ---------- */
#menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 1001;
  overflow: auto;
  background-color: var(--green-menu);
  transform: translateX(120vw);
  transition: transform 0.5s ease-out;
  visibility: hidden;
}
#menu.shown {
  transform: translateX(0);
  visibility: visible;
}
#menu:not(.shown) { transition: transform 0.5s ease-out, visibility 0s 0.5s; }
#menu .close-menu {
  float: right;
  margin: 13px var(--side);
}
#menu .close-menu img { display: block; }
#menu ul {
  clear: both;
  float: right;
  margin: var(--vertical) var(--side) 0 0;
  padding: 0;
  list-style: none;
}
#menu ul:last-child { margin-bottom: calc(2 * var(--vertical)); }
#menu li { text-align: right; }
#menu li:not(:last-child) { margin-bottom: 20px; }
#menu li a {
  display: inline-block;
  margin-right: -10px;
  padding: 5px 5px 0 15px;
  font-family: var(--font-title);
  font-size: 50px;
  line-height: 50px;
  letter-spacing: var(--title-letter-spacing);
  color: var(--gray-light);
  text-decoration: none;
}
#menu li a:hover { color: var(--white); }
#menu .social a { margin-right: 0; padding: 0; }
#menu .menu-heading {
  clear: both;
  float: right;
  width: 100%;
  margin: var(--vertical) var(--side) 0 0;
  padding-right: 0;
  font-family: var(--font-title);
  font-size: 22px;
  letter-spacing: 3px;
  text-align: right;
  color: var(--white);
}
#menu ul.packages { margin-top: 10px; }
#menu ul.packages li:not(:last-child) { margin-bottom: 4px; }
#menu ul.packages li a { font-size: 28px; line-height: 32px; }

@media (min-width: 740px), (orientation: landscape) {
  /* no computador o menu só ocupa a altura do conteúdo */
  #menu { height: auto; max-height: 100vh; }
}


/* ---------- 6. Principal (#main) ---------- */
#main {
  margin-top: var(--header-height);
  padding-top: 10px;
  text-align: center;
  overflow: hidden;
}
/* mosaico: mostra 4 das 5 fileiras, para o topo inteiro caber numa tela */
#main::before {
  content: "";
  display: block;
  height: 232px;
  background: url('img/pattern-nucleo-header.png') no-repeat top center;
  background-size: auto 294px;
}
#main .content {
  display: flow-root;
  text-align: center;
}
#main h1, #main h2, #main h3 { font-family: var(--font-body); }
#main h1 { float: left; width: 100%; margin: 16px 0 6px; }
#main h1 img { max-width: 240px; height: auto; }
#main h2, #main h3 {
  float: right;
  width: 100%;
  margin: 10px 0 0;
  padding: 0;
  font-weight: 400;
  text-align: center;
}
#main h2 { color: #333; padding: 0 20px; font-size: 20px; line-height: 1.3; text-wrap: balance; }
#main h3 { padding: 0 20px; color: var(--blue-greenish); font-size: 15px; line-height: 1.45; }
/* botões: mesma largura e altura; empilhados no celular, lado a lado no computador */
#main .more {
  clear: both;
  float: right;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 0 30px;
}
#main .more a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  min-height: 46px;
  padding: 6px 16px;
  border: 3px solid var(--gray-light);
  border-top: none;
  color: var(--black);
  font-size: 1.05em;
  line-height: 1.3em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}
#main .more a:hover { background-color: var(--gray-light); }
#main .more a.cta-primary { background: var(--blue-greenish); border-color: var(--blue-greenish); color: var(--white); }
#main .more a.cta-primary:hover { opacity: 0.85; }

@media (min-width: 740px), (orientation: landscape) {
  #main { padding-top: 0; }
  #main .content { max-width: min(860px, 100%); padding-top: 24px; }
  #main h1 { width: 50%; margin-top: 8px; }
  #main h1 img { max-width: 100%; }
  #main h2, #main h3 { width: 50%; padding: 0 0 0 30px; text-align: left; }
  #main h2 { margin-top: 0; font-size: 24px; }
  #main h3 { clear: right; margin-top: 16px; }
  #main .more { flex-direction: row; flex-wrap: wrap; align-items: stretch; width: 50%; margin-top: 22px; padding: 0 0 0 30px; }
  #main .more a { flex: 1 1 auto; width: auto; max-width: none; padding: 6px 8px; font-size: 0.95em; white-space: nowrap; }
}


/* ---------- 7. Quem Somos (#about) ---------- */
#about {
  background-color: var(--black);
  color: var(--white);
}
#about h2 {
  margin-top: 20px;
  color: var(--yellow);
  font-family: var(--font-title);
  font-size: 65px;
  font-weight: 400;
  letter-spacing: var(--title-letter-spacing);
  text-align: left;
}
#about .text {
  margin-top: var(--vertical);
  padding-top: 50px;
  background: url('img/pattern-about.png') no-repeat top center;
  background-size: 135px auto;
}
#about .text p { color: var(--text-white); }
#about .text p.eyebrow { margin: 0 0 10px; color: var(--yellow); font-family: var(--font-title); font-size: 24px; letter-spacing: 3px; text-transform: uppercase; }
#about .about-points { margin: 20px 0 0; padding-left: 20px; color: var(--text-white); }
#about .about-points li { margin-bottom: 8px; }
#about strong {
  font-family: var(--font-title-2);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--white);
}

@media (min-width: 740px), (orientation: landscape) {
  #about .text {
    padding-top: 0;
    padding-left: 160px;
    background-position: top left;
  }
}


/* ---------- 8. Pacotes (#offers) ---------- */
#offers { padding-left: 0; padding-right: 0; }
#offers .content { width: 100%; padding: 0; }
#offers ul.offer-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
#offers .offer-list > li {
  position: relative;
  width: 100%;
  overflow: hidden;
}
#offers .offer-list > li:nth-child(1) { background-color: rgb(229, 229, 229); }
#offers .offer-list > li:nth-child(2) { background-color: rgb(201, 201, 201); }
#offers .offer-list > li:nth-child(3) { background-color: rgb(226, 226, 226); }
#offers .offer-list > li:nth-child(4) { background-color: rgb(17, 135, 128); }

#offers a { color: var(--black); text-decoration: none; }
#offers li.product { display: flex; flex-direction: column; padding: 8% 10% 10%; }
/* o cartão é uma coluna: título e texto em cima, links dos pacotes no rodapé */
#offers .product-container { display: flex; flex: 1; flex-direction: column; max-width: 95%; text-align: left; }
#offers .title { display: flex; align-items: center; min-height: 54px; margin-bottom: 20px; }
#offers .title img { flex: none; }
#offers .title > * {
  font-family: var(--font-body);
  text-transform: uppercase;
}
#offers .title img { height: 54px; width: auto; }
#offers h3 { margin: 0; padding-left: 15px; font-size: 20px; line-height: 1.2; }
#offers .text {
  font-size: 14px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
}

/* botão "Veja nosso trabalho" com o colchete desenhado em volta */
#offers .actions a {
  position: relative;
  font-family: var(--font-title-2);
  letter-spacing: 2px;
}
#offers .actions a::before {
  content: "";
  position: absolute;
  top: 40%;
  left: -10px;
  right: -10px;
  height: 80%;
  border: 2px solid var(--black);
  border-top: none;
}
#offers li.product .actions { position: absolute; right: 40px; bottom: 20px; }
#offers .pkg-links { display: block; margin: auto 0 0; padding: 28px 0 0; list-style: none; }
#offers .pkg-links li { position: static; width: auto; margin: 0 0 6px; background: none; overflow: visible; }
#offers .pkg-links a { font-family: var(--font-title-2); font-size: 20px; letter-spacing: 2px; text-decoration: underline; }
#offers .pkg-links a::after { content: "\00a0\2192"; }
#offers .pkg-links a:hover { opacity: 0.75; }

/* cartão verde "Nosso Portfolio" */
#offers li.more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5%;
  text-align: center;
}
#offers li.more .more-container { width: 100%; }
#offers li.more { padding: 8% 5%; }
#offers li.more .actions { margin-top: 30px; }
#offers li.more .actions a { color: var(--white); }
#offers li.more .actions a::before { border-color: var(--white); left: -15px; right: -15px; }

#offers a:hover .text, #offers .actions a:hover { opacity: 0.75; }

@media (min-width: 740px), (orientation: landscape) {
  #offers li.product { width: 27%; padding: 3% 4% 4%; }
  #offers li.more { width: 19%; padding: 2%; }
}
/* telas médias: cartões estreitos, então o título vai embaixo do ícone */
@media (min-width: 740px) and (max-width: 1099px), (orientation: landscape) and (max-width: 1099px) {
  #offers .title { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 112px; }
  #offers h3 { padding-left: 0; font-size: 17px; }
  #offers .pkg-links a { font-size: 17px; letter-spacing: 1px; }
}


/* ---------- 9. Quem conduz (#people) ---------- */
#people h2 {
  color: var(--gray);
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 700;
}
#people .founder { display: flow-root; margin-top: 20px; }
#people .avatar { float: left; margin: 0 20px 10px 0; }
#people .avatar img { display: block; width: 120px; height: auto; }
#people .avatar .initials {
  display: flex; align-items: center; justify-content: center;
  width: 110px; height: 110px; border-radius: 50%;
  background: #e5e5e5; color: #9a9a9a;
  font-family: var(--font-title); font-size: 44px; letter-spacing: 2px;
}
#people .details > * { display: block; }
#people .name { font-family: var(--font-title); font-size: 40px; line-height: 1; font-weight: 400; color: var(--green); }
#people .summary { margin: 4px 0 12px; font-family: var(--font-title); font-size: 20px; color: var(--green); }

@media (min-width: 740px), (orientation: landscape) {
  #people .avatar img { width: 190px; }
  #people .avatar .initials { width: 150px; height: 150px; font-size: 60px; }
}


/* ---------- 10. Contato (#contact) ---------- */
#contact {
  overflow: hidden;
  color: var(--white);
  font-family: var(--font-title);
  background: #000 url('img/weather-no-forecast-bg-mobile.png') no-repeat bottom center;
  background-size: cover;
}
#contact .content { display: flow-root; position: relative; padding-bottom: 80px; }
#contact h2 { margin: 40px 0; font-weight: 400; }

#contact .contact-form { margin-bottom: 40px; }
#contact .form-group { margin-bottom: 15px; }
#contact label {
  display: inline-block;
  margin-bottom: 5px;
  font-weight: 700;
  letter-spacing: 1px;
}
#contact input, #contact select, #contact textarea {
  display: block;
  width: 100%;
  padding: 7px;
  border: 1px solid var(--white);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
}
#contact textarea { resize: vertical; }
#contact select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 45px;
  background: url('img/icon-down-white.png') no-repeat right center;
}
#contact select option { background: #111; color: #fff; }
#contact input[type="submit"] {
  border: none;
  background-color: var(--button-blue);
  font-family: var(--font-title);
  font-size: 18px;
  letter-spacing: 2px;
  cursor: pointer;
}
#contact input[type="submit"]:hover { background-color: #0490b6; }
#contact input[type="submit"]:disabled { opacity: 0.6; cursor: wait; }
/* mensagem após o envio: caixa branca, para não sumir na foto de fundo */
#contact .form-status {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-left: 8px solid var(--blue-greenish);
  background: var(--white);
  color: var(--bg-header);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
#contact .form-status:empty { display: none; }
#contact .form-status.error { border-left-color: #c62828; color: #8e1b1b; }

#contact .nucleo-info, #contact .links {
  position: relative;
  font-size: 20px;
  color: var(--white);
}
#contact .nucleo-info img { width: 100%; max-width: 60%; margin-bottom: 20px; }
#contact .links a { color: var(--white); text-decoration: none; }
#contact .contact-social { margin: 10px 0 0; padding: 0; list-style: none; font-size: 16px; }
#contact .schedule-btn {
  display: inline-block; margin: 10px 0 0 10px; padding: 7px 25px;
  border: 1px solid var(--white); color: var(--white);
  font-family: var(--font-title); font-size: 18px; letter-spacing: 2px; text-decoration: none;
}
#contact .schedule-btn:hover { background: rgba(255, 255, 255, 0.15); }

@media (min-width: 740px), (orientation: landscape) {
  #contact { background-image: url('img/weather-no-forecast-bg.png'); }
  #contact .content { padding-bottom: var(--vertical); }
  #contact h2 { margin: 0 0 70px; }
  #contact .contact-form { float: left; width: 75%; margin-bottom: 0; }
  #contact .form-inputs, #contact .form-actions { width: 70%; }
  #contact label { display: block; }
  #contact .form-group-btn { text-align: right; }
  #contact input[type="submit"] { display: inline-block; width: auto; padding: 7px 45px; }
  #contact .nucleo-info, #contact .links { float: right; width: 25%; }
  #contact .nucleo-info img { max-width: 100%; }
}


/* ---------- 11. Rodapé / voltar ao topo ---------- */
.back-to-top {
  position: fixed;
  z-index: 100;
  left: 20px;
  bottom: 20px;
  padding: 10px 5px;
  background: rgba(20, 20, 20, 0.7);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0s 0.3s;
}
.back-to-top a, .back-to-top img { display: block; }
.back-to-top img { max-height: 60px; width: auto; }
.back-to-top.cd-is-visible {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s;
}
/* depois de rolar bastante fica meio transparente */
.back-to-top.cd-fade-out { opacity: 0.5; }
.back-to-top.cd-fade-out:hover { opacity: 1; }
body.portfolio-open .back-to-top { display: none; }

@media (min-width: 740px), (orientation: landscape) {
  .back-to-top { left: var(--side); }
}


/* ---------- 12. Portfolio (#portfolio) ---------- */
/* tela branca que desliza da direita, por baixo da barra superior */
#portfolio {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  color: #333;
  transform: translateX(100vw);
  visibility: hidden;
  transition: transform 0.5s ease-out, visibility 0s 0.5s;
}
#portfolio.shown {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.5s ease-in;
}
#portfolio .content { width: 100%; padding: 0; }

/* grade de miniaturas */
#portfolio ul.projects {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
#portfolio .project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}
#portfolio .project-thumb > a {
  position: absolute;
  inset: 0;
  display: block;
  background-color: #eee;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}
#portfolio .project-thumb .info {
  display: none;
  position: absolute;
  inset: 0;
  background-color: rgba(0, 150, 143, 0.9);
}
#portfolio .project-thumb a:hover .info,
#portfolio .project-thumb a:focus-visible .info { display: block; }
#portfolio .project-thumb .name {
  width: 80%;
  margin: 20% auto 0;
  border-bottom: 1px solid var(--white);
  font-family: var(--font-title);
  font-size: 40px;
  color: var(--white);
}
#portfolio .project-thumb .producer {
  display: block;
  width: 80%;
  margin: 15px auto 0;
  font-size: 25px;
  line-height: 25px;
  color: var(--white);
}
#portfolio .nucleo { font-weight: 700; }

/* mensagem quando ainda não há projetos */
#portfolio .portfolio-empty {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px var(--side);
  text-align: center;
  font-size: 18px;
}
#portfolio .portfolio-empty strong {
  display: block;
  margin-bottom: 15px;
  font-family: var(--font-title);
  font-size: 65px;
  font-weight: 400;
  letter-spacing: var(--title-letter-spacing);
  color: var(--green);
}

/* detalhe de um projeto */
#portfolio .project-container { position: relative; padding: 0 25px var(--vertical); }
#portfolio .list-container { position: relative; max-width: 1200px; margin: auto; }
#portfolio .project-item {
  display: flow-root;
  width: 1080px;
  max-width: 100%;
  margin: auto;
  padding-top: var(--side);
  animation: fade-in 0.4s;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
#portfolio .project-item .info { padding-bottom: 5px; }
#portfolio .project-item .name { font-size: 45px; line-height: 1.1; }
#portfolio .project-item .producer { font-size: 25px; }
#portfolio .project-item .summary { margin-top: 10px; }
#portfolio .project-item .project-link { display: inline-block; margin-top: 5px; font-weight: 700; }
#portfolio .categories { padding-bottom: 10px; }
#portfolio .categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#portfolio .categories li { width: calc(25% - 5px); text-align: center; }
#portfolio .categories svg { display: block; width: 50px; height: auto; margin: auto; fill: #022a3a; }
#portfolio .categories span {
  display: block;
  color: var(--black);
  font-size: 0.7em;
  text-transform: uppercase;
  white-space: nowrap;      /* não quebra "PROGRAMAÇÃO" no meio */
  letter-spacing: -0.02em;
}
/* cor do ícone de cada categoria (a chave vem de src/_data/categories.json) */
#portfolio .category_design svg { fill: #004985; }
#portfolio .category_ux svg { fill: #fca103; }
#portfolio .category_content svg { fill: #6ac2e6; }
#portfolio .category_development svg { fill: #009436; }
#portfolio .category_front-end-dev svg { fill: #f77495; }
#portfolio .category_back-end-dev svg { fill: #fac800; }
#portfolio .category_mobile svg { fill: #63c7b8; }
#portfolio .category_internal-system svg { fill: #118780; }
#portfolio .category_automation svg { fill: #f77f00; }

#portfolio .project-item .image { clear: both; }
#portfolio .project-item .image img { display: block; width: 100%; margin-top: 20px; }

/* setas anterior / próximo */
#portfolio .actions .move-to-previous,
#portfolio .actions .move-to-next {
  position: fixed;
  top: 50vh;
  z-index: 5;
  padding: 5px;
  background: rgba(255, 255, 255, 0.7);
}
#portfolio .actions img { display: block; height: 40px; width: auto; }
#portfolio .actions .move-to-previous { left: 0; }
#portfolio .actions .move-to-next { right: 0; }
#portfolio .actions[hidden] { display: none; }

@media (min-width: 740px), (orientation: landscape) {
  #portfolio .project-thumb { width: 50%; }
  #portfolio .project-container { padding-left: var(--side); padding-right: var(--side); }
  #portfolio .project-item .info { float: left; width: 70%; padding-right: 10px; }
  #portfolio .categories { float: right; width: 30%; padding-bottom: 0; }
  #portfolio .categories li { margin-bottom: 10px; }
  #portfolio .categories span { margin-bottom: 5px; font-size: 9px; }
  #portfolio .actions .move-to-previous,
  #portfolio .actions .move-to-next { background: none; }
  #portfolio .actions img { height: auto; }
  #portfolio .actions .move-to-previous { left: 10px; }
  #portfolio .actions .move-to-next { right: 10px; }
}

/* quem prefere menos movimento na tela */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
