/* ---------- fontes (hospedadas no site, só com os caracteres do português) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fontes/inter-300.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fontes/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fontes/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fontes/jetbrains-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fontes/jetbrains-mono-500.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fontes/jetbrains-mono-700.woff2") format("woff2");
}

/* =========================================================
   Portfólio — Marco Aurélio
   Paleta 60-30-10:
   60% verde-floresta escuro · 30% creme · 10% dourado âmbar
   ========================================================= */

:root {
  /* 60% — verde predominante (fundo e superfícies) */
  --verde-900: #071710;   /* painel de código */
  --verde-800: #0b2018;   /* miniaturas */
  --verde-700: #0c231a;   /* fundo da página */
  --verde-600: #0f2b20;   /* faixa de projetos */
  --verde-500: #143427;   /* cartões */
  --verde-400: #25483a;   /* bordas, tags */
  --verde-300: #3b6350;   /* detalhes */

  /* 30% — creme (texto e superfícies claras) */
  --creme: #f0e8d6;
  --creme-escuro: #cfc7b3;
  --texto-suave: #cfd3bf;
  --texto-mudo: #9fad9c;
  --texto-no-creme: #2f4a3d;
  --texto-no-creme-mudo: #4a6155;

  /* 10% — dourado (destaques) */
  --dourado: #e3a83b;

  /* tipografia */
  --fonte: "Inter", system-ui, -apple-system, sans-serif;
  --fonte-mono: "JetBrains Mono", ui-monospace, monospace;

  /* forma */
  --raio-sm: 8px;
  --raio-md: 12px;
  --raio-lg: 16px;
  --raio-pilula: 9999px;
  --container: 1200px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fonte);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  color: var(--creme);
  background: var(--verde-700);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}

/* texto selecionado nas cores do site: fundo dourado, letra verde-escura */
::selection {
  background: var(--dourado);
  color: var(--verde-700);
}

a { color: var(--dourado); }
a:hover { color: var(--creme); }

h1, h2, h3, p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
}

.rotulo {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--dourado);
}

.titulo-secao {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.96px;
}

.tnum { font-feature-settings: "tnum"; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--raio-pilula);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}

.btn--primario {
  background: var(--dourado);
  color: var(--verde-700);
}
.btn--primario:hover { background: var(--creme); color: var(--verde-700); }

.btn--secundario {
  background: rgba(12, 35, 26, 0.4);
  color: var(--creme);
  border: 1px solid var(--creme);
}
.btn--secundario:hover { border-color: var(--dourado); color: var(--dourado); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn svg.icone-whatsapp { width: 18px; height: 18px; }

.link-seta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}
.link-seta svg { width: 16px; height: 16px; transition: transform .2s; }
.link-seta:hover svg { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__fundo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 70% at 4% 0%, rgba(37, 72, 58, 0.9) 0%, rgba(37, 72, 58, 0) 70%),
    radial-gradient(45% 65% at 58% -10%, rgba(47, 107, 82, 0.55) 0%, rgba(47, 107, 82, 0) 72%),
    radial-gradient(42% 75% at 92% 6%, rgba(63, 133, 102, 0.5) 0%, rgba(63, 133, 102, 0) 70%),
    radial-gradient(30% 50% at 102% 60%, rgba(227, 168, 59, 0.22) 0%, rgba(227, 168, 59, 0) 70%),
    var(--verde-700);
}

.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(12, 35, 26, 0) 0%, var(--verde-700) 100%);
}

/* nav */
/* o menu fica fixo no topo da tela o tempo todo */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding-top: 20px;
}

/* logo + "pílula" com as seções, centralizados */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* logo: no topo da página mostra ">m4_ marco aurélio" solto;
   quando a página desce (.menu-rolado), o nome some e o >m4_ fica num círculo */
.nav__marca {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 54px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  background: transparent;
  text-decoration: none;
  transition: padding .35s ease, border-color .35s, background-color .35s, transform .25s;
}
.nav__nome {
  display: inline-block;
  max-width: 160px;
  margin-left: 12px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.2px;
  color: var(--creme);
  opacity: 1;
  transition: max-width .35s ease, margin .35s ease, opacity .25s ease;
}
.menu-rolado .nav__marca {
  padding: 0;
  border-color: rgba(227, 168, 59, 0.55);
  background: var(--verde-700);
}
.menu-rolado .nav__nome { max-width: 0; margin-left: 0; opacity: 0; }
.menu-rolado .nav__logo { font-size: 17px; }
.menu-rolado .nav__marca:hover { border-color: var(--dourado); transform: rotate(-6deg); }

/* logo >m4_ (o cursor dourado pisca) */
.nav__logo {
  display: inline-flex;
  align-items: flex-end;
  font-family: var(--fonte-mono);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  transition: font-size .35s ease;
  line-height: 1;
  color: var(--creme);
}
.nav__prompt {
  color: var(--dourado);
  font-weight: 500;
  margin-right: 0.08em;
}
.nav__cursor {
  display: block;
  width: 0.42em;
  height: 0.11em;
  margin-left: 0.07em;
  margin-bottom: 0.14em;
  background: var(--dourado);
  animation: piscar 1.1s steps(1) infinite;
}
@keyframes piscar {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__cursor { animation: none; }
}

/* pílula das seções: no topo da página fica sem fundo e sem contorno;
   o contorno aparece quando a página desce (classe .menu-rolado, em js/menu.js) */
.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 54px;
  padding: 0 10px;
  box-sizing: border-box;
  border-radius: var(--raio-pilula);
  border: 1px solid transparent;
  background: transparent;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.menu-rolado .nav__links {
  background: rgba(12, 35, 26, 0.78);
  border-color: var(--verde-400);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--fonte-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--texto-mudo);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.nav__links a:hover { color: var(--creme); }

/* seção atual: texto claro + pontinho dourado embaixo */
.nav__links a.ativo { color: var(--creme); font-weight: 700; }
/* o pontinho que indica a seção: um só, que "pula" entre os links (js/menu.js) */
.nav__ponto {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--dourado);
  box-shadow: 0 0 8px rgba(227, 168, 59, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.nav__ponto.visivel { opacity: 1; }

/* conteúdo do hero */
.hero { padding-top: 84px; }   /* espaço do menu fixo */

/* rolagem normal (celular): as seções não ficam escondidas atrás do menu */
main section[id] { scroll-margin-top: 96px; }

.hero__conteudo {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 64px;
  padding-top: 88px;
  padding-bottom: 104px;
}

.hero__texto {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}



/* nome grande, na fonte de código, em duas linhas ("Aurélio" recuado) */
.hero h1 {
  font-family: var(--fonte-mono);
  font-size: clamp(64px, 8.4vw, 120px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -0.045em;
  color: var(--creme);
}
.hero h1 span { display: block; }
.hero h1 span + span { padding-left: .8em; }

.hero__lead {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--texto-suave);
}

.hero__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.hero__visual {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* painel de código */
.codigo {
  background: var(--verde-900);
  border: 1px solid var(--verde-400);
  border-radius: var(--raio-lg);
  box-shadow: rgba(0, 0, 0, 0.35) 0 16px 40px, rgba(0, 0, 0, 0.2) 0 2px 6px;
  overflow: hidden;
}

.codigo__barra {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--verde-400);
}

.codigo__luzes { display: flex; gap: 6px; }
.codigo__luzes span {
  width: 10px;
  height: 10px;
  border-radius: var(--raio-pilula);
}
.codigo__luzes span:nth-child(1) { background: var(--dourado); }
.codigo__luzes span:nth-child(2) { background: var(--creme); }
.codigo__luzes span:nth-child(3) { background: var(--verde-300); }

.codigo__arquivo {
  font-family: var(--fonte-mono);
  font-size: 12px;
  color: var(--texto-mudo);
}

.codigo pre {
  margin: 0;
  padding: 22px 22px 56px;
  font-family: var(--fonte-mono);
  font-size: 14px;
  line-height: 1.75;
  color: var(--creme);
  overflow-x: auto;
}

.c-comentario { color: var(--texto-mudo); }
.c-palavra    { color: var(--dourado); }
.c-chave      { color: #9fd0b4; }
.c-texto      { color: var(--creme); }
.c-numero     { color: var(--dourado); }

/* mini cartões do hero */
.mini-cartoes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: -36px;
  padding: 0 20px;
}

.mini-cartao {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--creme);
  color: var(--verde-700);
  border-radius: var(--raio-md);
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 24px, rgba(0, 0, 0, 0.12) 0 2px 6px;
}

.mini-cartao__rotulo {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--texto-no-creme-mudo);
}

.mini-cartao__valor {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.22px;
}

.mini-cartao__nota {
  font-size: 13px;
  font-weight: 400;
  color: var(--texto-no-creme-mudo);
}

.progresso {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
}
.progresso span {
  height: 6px;
  border-radius: var(--raio-pilula);
  background: var(--creme-escuro);
}
.progresso span.feito { background: var(--verde-700); }

/* ---------- sobre e formação (layout em 2 colunas) ---------- */
.duas-colunas {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
}

.duas-colunas__titulo {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.duas-colunas__corpo {
  flex: 1.4 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sobre { position: relative; padding-top: 72px; padding-bottom: 96px; }
.sobre > :not(.faixa-binaria) { position: relative; z-index: 1; }   /* texto por cima do fundo de 0/1 */
.sobre .duas-colunas__corpo { gap: 20px; }

.sobre__destaque {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.2px;
}

.sobre__texto {
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto-suave);
}

/* ---------- projetos ---------- */
/* o fundo de Projetos se funde aos poucos com o verde da página, em cima e embaixo */
.projetos {
  background: linear-gradient(to bottom, var(--verde-700) 0, var(--verde-600) 160px, var(--verde-600) calc(100% - 160px), var(--verde-700) 100%);
}

.projetos__interno {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.projetos__topo {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
}

.projetos__topo > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}

.projetos__grade {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.projeto {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--verde-500);
  border: 1px solid var(--verde-400);
  border-radius: var(--raio-md);
  transition: transform .2s, box-shadow .2s;
}
.projeto:hover {
  transform: translateY(-3px);
  box-shadow: rgba(0, 0, 0, 0.3) 0 12px 28px;
}

.projeto__thumb {
  height: 208px;
  padding: 24px 24px 0;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(63, 133, 102, 0.55) 0%, rgba(63, 133, 102, 0) 70%),
    var(--verde-800);
}
.projeto:nth-child(3) .projeto__thumb {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(63, 133, 102, 0.55) 0%, rgba(63, 133, 102, 0) 70%),
    var(--verde-800);
}

.projeto__corpo {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 32px 32px;
}

.projeto__tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--raio-pilula);
  background: var(--verde-400);
  color: var(--creme);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.projeto h3 {
  font-size: 26px;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.26px;
}

.projeto p,
.modal-projeto__info p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--texto-suave);
}

.techs { display: flex; flex-wrap: wrap; gap: 8px; }
.techs span {
  padding: 4px 10px;
  border-radius: var(--raio-pilula);
  border: 1px solid var(--verde-300);
  color: var(--texto-suave);
  font-size: 13px;
  font-weight: 400;
}

.projeto .link-seta,
.modal-projeto__info .link-seta { margin-top: auto; }
/* cartões lado a lado: as tecnologias e o link ficam juntos no pé do cartão,
   alinhados entre os cartões mesmo com descrições de tamanhos diferentes */
.projeto:not(.projeto--destaque) .techs { margin-top: auto; }
.projeto:not(.projeto--destaque) .techs + .link-seta { margin-top: 0; }

/* ---------- projeto em destaque ---------- */
/* cartão horizontal: imagem numa "janela de navegador" + texto ao lado */
.projeto--destaque {
  flex-basis: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(227, 168, 59, 0.10) 0%, rgba(227, 168, 59, 0) 60%),
    var(--verde-500);
  border: 1px solid rgba(227, 168, 59, 0.35);
}
.projeto--destaque:hover { box-shadow: rgba(0, 0, 0, 0.3) 0 12px 28px, 0 0 0 1px rgba(227, 168, 59, 0.25); }

.destaque__visual {
  flex: 1.15 1 440px;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 32px 0 32px 32px;
}
.janela {
  width: 100%;
  overflow: hidden;
  background: var(--verde-900);
  border: 1px solid var(--verde-400);
  border-radius: var(--raio-md);
  box-shadow: rgba(0, 0, 0, 0.35) 0 16px 36px;
}
.janela__barra {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--verde-400);
}
.janela__endereco {
  font-family: var(--fonte-mono);
  font-size: 12px;
  color: var(--texto-mudo);
}
.janela img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .4s ease;
}

.projeto--destaque .projeto__corpo {
  flex: 1 1 380px;
  padding: 36px 40px 36px 36px;
}
.projeto--destaque .projeto__tag { background: var(--dourado); color: var(--verde-700); }
.projeto--destaque h3 { font-size: 30px; letter-spacing: -0.6px; }

/* em telas estreitas, a imagem fica em cima e o texto embaixo */
@media (max-width: 860px) {
  .destaque__visual { padding: 24px 24px 0; }
  .projeto--destaque .projeto__corpo { padding: 24px 24px 28px; }
}

/* ---------- carrossel de imagens dos projetos (js/carrossel.js) ---------- */
.carrossel { position: relative; overflow: hidden; }
.projeto__thumb.carrossel { padding: 0; }
.carrossel__trilho {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.carrossel__trilho::-webkit-scrollbar { display: none; }
.carrossel__trilho:focus-visible { outline: 2px solid var(--dourado); outline-offset: -2px; }
.carrossel__slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* setas: aparecem ao passar o mouse; em telas de toque ficam sempre visíveis */
.carrossel__seta {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(240, 232, 214, 0.25);
  border-radius: 50%;
  background: rgba(12, 35, 26, 0.78);
  color: var(--creme);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .25s ease, background .2s ease, border-color .2s ease;
}
.carrossel__seta svg { width: 16px; height: 16px; }
.carrossel__seta--ant { left: 10px; }
.carrossel__seta--prox { right: 10px; }
.carrossel__seta:hover { background: var(--verde-700); border-color: var(--dourado); }
.carrossel__seta:focus-visible { opacity: 1; outline: 2px solid var(--dourado); outline-offset: 2px; }
.carrossel:hover .carrossel__seta { opacity: 1; }
@media (hover: none) { .carrossel__seta { opacity: 1; width: 30px; height: 30px; } }

/* pontinhos: o atual vira um tracinho dourado */
.carrossel__pontos {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 5px 8px;
  border-radius: var(--raio-pilula);
  background: rgba(12, 35, 26, 0.6);
  transform: translateX(-50%);
}
.carrossel__pontos button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: var(--raio-pilula);
  background: rgba(240, 232, 214, 0.45);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.carrossel__pontos button[aria-current="true"] { width: 18px; background: var(--dourado); }

/* slide com print: a tela "sai" de baixo, como um monitor visto de cima */
.thumb--print { padding: 24px 24px 0; }
.thumb--print img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border: 1px solid var(--verde-400);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
}

/* slide com vídeo do projeto funcionando (mesmo enquadramento das prints) */
.thumb--video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: var(--verde-900);
  border: 1px solid var(--verde-400);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
}

/* botão de tocar/pausar: só aparece quando o vídeo não toca sozinho
   ("reduzir movimento" ou "economia de dados" ligados), no lugar dos controles do navegador,
   que ficavam embaixo dos pontinhos do carrossel */
.thumb--video { position: relative; }
.video__tocar {
  position: absolute;
  left: 50%;
  top: calc(50% + 12px);           /* centro da área visível do vídeo (o slide tem 24px de respiro em cima) */
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--dourado);
  border-radius: 50%;
  background: rgba(7, 23, 16, 0.78);
  color: var(--dourado);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background .2s, opacity .2s;
}
.video__tocar:hover { background: var(--verde-700); }
.video__tocar:focus-visible { outline: 2px solid var(--dourado); outline-offset: 3px; }
.video__tocar svg { width: 20px; height: 20px; }
.video__tocar[aria-pressed="true"] { opacity: 0; }                     /* tocando: some, volta ao passar o mouse */
.thumb--video:hover .video__tocar[aria-pressed="true"],
.video__tocar[aria-pressed="true"]:focus-visible { opacity: 1; }
.carrossel--modal .video__tocar { top: 50%; width: 68px; height: 68px; }

/* slide com logo, centralizado sobre o verde do cartão */
.thumb--logo {
  display: grid;
  place-items: center;
  padding: 24px 28px;
  background: radial-gradient(60% 70% at 50% 55%, rgba(63, 133, 102, 0.45) 0%, rgba(63, 133, 102, 0) 70%);
}
.thumb--logo > img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}
.thumb--raincife img { image-rendering: pixelated; }
/* logo do Polaris montada em HTML: ícone em SVG (vetor) + nome em texto */
.logo-polaris {
  display: flex;
  align-items: center;
  gap: 28px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}
.logo-polaris img {
  width: auto;
  height: 116px;
  transform: translateY(8px);   /* compensa a estrelinha embaixo do ícone */
}
.logo-polaris span {
  font-family: var(--fonte);
  font-weight: 500;
  font-size: 46px;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #ffffff;
}

@media (max-width: 480px) {
  .logo-polaris { gap: 18px; }
  .logo-polaris img { height: 88px; }
  .logo-polaris span { font-size: 36px; }
}

/* carrossel dentro da janela da Cecipurin: mesma proporção da imagem original */
.carrossel--janela { aspect-ratio: 1600 / 636; }
.carrossel--janela .carrossel__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

.projetos__intro { font-size: 16px; line-height: 1.5; color: var(--texto-suave); }

.projeto__papel strong { font-weight: 500; color: var(--creme); }

.projeto__destaques {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.projeto__destaques li {
  position: relative;
  padding-left: 16px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--texto-suave);
}
.projeto__destaques li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--dourado);
  font-weight: 500;
}

.projeto__links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: auto; }
.projeto__links .link-seta { margin-top: 0; }

/* ---------- habilidades ---------- */
.habilidades { padding-top: 40px; padding-bottom: 96px; }

/* cada grupo é uma linha: nome à esquerda, conteúdo à direita */
.hab-linha {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 24px 0;
  border-top: 1px solid var(--verde-400);
}
.hab-linha:last-child { border-bottom: 1px solid var(--verde-400); }

.hab-linha__titulo {
  flex: 0 0 124px;
  padding-top: 7px;
  font-family: var(--fonte-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: lowercase;
  color: var(--dourado);
}

/* etiquetas com o ícone de cada tecnologia */
.techs-icone {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.techs-icone li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 4px 14px 4px 10px;
  box-sizing: border-box;
  border: 1px solid var(--verde-400);
  border-radius: var(--raio-pilula);
  background: var(--verde-500);
  font-size: 15px;
  font-weight: 400;
  color: var(--creme);
  transition: border-color .2s, transform .2s;
}
.techs-icone li:hover { border-color: var(--verde-300); transform: translateY(-1px); }
.techs-icone img {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
}

/* onde a tecnologia foi usada, dentro da própria etiqueta */
.techs-icone__onde {
  margin-left: 2px;
  padding-left: 10px;
  border-left: 1px solid var(--verde-400);
  font-size: 13px;
  color: var(--texto-mudo);
}

/* estudando: etiquetas tracejadas e com ponto dourado, para não parecer o que já domino */
.techs-icone--estudando li {
  border-style: dashed;
  border-color: var(--verde-300);
  background: transparent;
  color: var(--texto-suave);
}
.techs-icone--estudando li:not(:has(img))::before {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 3px;
  border-radius: 50%;
  background: var(--dourado);
}

/* base: uma frase só, em vez da lista de disciplinas */
.hab-base {
  flex: 1 1 280px;
  min-width: 0;
  padding-top: 4px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--texto-suave);
}

/* ---------- formação ---------- */
.formacao { padding-bottom: 96px; }

.linha-tempo__item {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 32px;
  padding: 24px 0;
  border-top: 1px solid var(--verde-400);
}
.linha-tempo__item:last-child { border-bottom: 1px solid var(--verde-400); }

.linha-tempo__ano {
  flex: 0 0 132px;
  padding-top: 4px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.2px;
  color: var(--dourado);
  font-feature-settings: "tnum";
}

.linha-tempo__info {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.linha-tempo__info h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.linha-tempo__info p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--texto-suave);
}

/* ---------- contato ---------- */
.contato { padding-bottom: 96px; }

.contato__caixa {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 80px);
  background: var(--verde-500);
  border: 1px solid var(--verde-400);
  border-radius: var(--raio-lg);
}

.contato__brilho {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(63, 133, 102, 0.5) 0%, rgba(63, 133, 102, 0) 70%),
    radial-gradient(45% 65% at 100% 100%, rgba(227, 168, 59, 0.2) 0%, rgba(227, 168, 59, 0) 70%);
}

.contato__conteudo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
/* o texto fica numa coluna confortável de ler; os botões usam a largura toda da caixa
   (antes os quatro ficavam presos nos 620px e o LinkedIn caía sozinho para a linha de baixo) */
.contato__conteudo > .titulo-secao,
.contato__texto { max-width: 620px; }

.contato__texto {
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto-suave);
}

.contato__botoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

/* ---------- rodapé ---------- */
.rodape { border-top: 1px solid var(--verde-400); }

.rodape__interno {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 32px;
  padding-bottom: 40px;
}

.rodape__copy {
  font-size: 14px;
  font-weight: 400;
  color: var(--texto-mudo);
}

.rodape__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.rodape__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--texto-mudo);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}
.rodape__links a:hover { color: var(--dourado); }
/* celular: tudo empilhado e centralizado, em vez de os links quebrarem em duas linhas tortas */
@media (max-width: 600px) {
  .rodape__interno { flex-direction: column; justify-content: center; text-align: center; gap: 4px; }
  .rodape__links { justify-content: center; gap: 0 18px; }
}

/* ---------- efeito binário no título (js/binario.js) ---------- */
/* com JavaScript ligado, o título fica invisível até começar a se montar */
.js [data-binario]:not(.bin-pronto) { visibility: hidden; }
.bin-palavra { white-space: nowrap; }
.bin-letra {
  display: inline-block;
  text-align: center;
  cursor: default;
  transition: color .12s ease;
}
/* a letra original reaparece suavemente */
.bin-letra.bin-surge { animation: bin-surge .32s ease-out; }
@keyframes bin-surge {
  from { opacity: .2; filter: blur(3px); }
  to   { opacity: 1;  filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .bin-letra.bin-surge { animation: none; }
}
.bin-letra.bin-ativa {
  font-family: var(--fonte-mono);
  font-weight: 500;
  color: var(--dourado);
}
/* quanto mais longe do cursor, mais fraco o dourado */
.bin-letra[data-nivel="1"] { color: rgba(227, 168, 59, 0.7); }
.bin-letra[data-nivel="2"] { color: rgba(227, 168, 59, 0.45); }
.bin-letra[data-nivel="3"] { color: rgba(227, 168, 59, 0.25); }
/* no título, os 0/1 ficam um pouco menores para caber no lugar das letras */
.titulo-secao .bin-letra.bin-ativa { font-size: .82em; }

/* ---------- faixa de 0 e 1 entre Habilidades e Formação (js/fundo-binario.js) ---------- */
.faixa-binaria {
  position: relative;
  height: 280px;
  margin: -120px 0 -140px;       /* avança um pouco sobre as duas seções, sem empurrar o conteúdo */
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  font-family: var(--fonte-mono);
  line-height: 1.55;
  color: var(--dourado);
  opacity: .22;
  /* some suavemente nas bordas: em cima, embaixo e nas laterais */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 35%, #000 65%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 7%, #000 34%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .15) 91%, #000 97%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to bottom, transparent 0, #000 35%, #000 65%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 7%, #000 34%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .15) 91%, #000 97%, transparent 100%);
          mask-composite: intersect;
}
.faixa-binaria__coluna {
  position: absolute;
  top: 50%;                      /* centralizada; o JS desloca em volta do centro */
  white-space: pre;
  will-change: transform;
}
/* versão de fundo: fica atrás de uma seção inteira, na largura da tela */
.faixa-binaria--fundo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: auto;
  margin: 0;
  transform: translateX(-50%);
  opacity: .14;                  /* mais discreta, porque fica atrás de texto */
  /* forte nas laterais e atrás do título (coluna da esquerda); quase some atrás dos parágrafos */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 7%, #000 34%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .15) 91%, #000 97%, transparent 100%);
          mask-image:
    linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 7%, #000 34%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .15) 91%, #000 97%, transparent 100%);
}
/* em uma coluna só (celular/tablet), o texto ocupa a largura toda: o fundo fica só nas bordas */
@media (max-width: 900px) {
  .faixa-binaria--fundo {
    opacity: .3;
    -webkit-mask-image:
      linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%),
      linear-gradient(to right, #000 0, rgba(0, 0, 0, .55) 22%, rgba(0, 0, 0, .55) 78%, #000 100%);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%),
      linear-gradient(to right, #000 0, rgba(0, 0, 0, .55) 22%, rgba(0, 0, 0, .55) 78%, #000 100%);
            mask-composite: intersect;
  }
}
/* celular: na Formação, a faixa de transição e o fundo se somavam atrás do título e das datas;
   ficam mais fracos ali e fortes só nas bordas */
@media (max-width: 900px) {
  .faixa-binaria:not(.faixa-binaria--fundo) {
    opacity: .12;
    -webkit-mask-image:
      linear-gradient(to bottom, transparent 0, #000 35%, #000 65%, transparent 100%),
      linear-gradient(to right, #000 0, rgba(0, 0, 0, .25) 18%, rgba(0, 0, 0, .25) 82%, #000 100%);
            mask-image:
      linear-gradient(to bottom, transparent 0, #000 35%, #000 65%, transparent 100%),
      linear-gradient(to right, #000 0, rgba(0, 0, 0, .25) 18%, rgba(0, 0, 0, .25) 82%, #000 100%);
  }
  .formacao .faixa-binaria--fundo {
    opacity: .22;
    -webkit-mask-image:
      linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%),
      linear-gradient(to right, #000 0, rgba(0, 0, 0, .3) 16%, rgba(0, 0, 0, .3) 84%, #000 100%);
            mask-image:
      linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%),
      linear-gradient(to right, #000 0, rgba(0, 0, 0, .3) 16%, rgba(0, 0, 0, .3) 84%, #000 100%);
  }
}
/* evita a barra de rolagem lateral que o 100vw criaria */
main { overflow-x: clip; }

/* o conteúdo das seções fica por cima da faixa */
.habilidades, .formacao { position: relative; z-index: 1; }

/* texto da Formação por cima do fundo de 0/1 */
.formacao > .container { position: relative; z-index: 1; }

/* ---------- acessibilidade ---------- */
:focus-visible {
  outline: 2px solid var(--dourado);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- celular ---------- */
/* celular e tablet: círculo da logo + seções em linha (rolando para o lado se faltar espaço) */
@media (max-width: 760px) {
  .nav-wrap { padding-top: 10px; padding-inline: 12px; }
  .nav { gap: 8px; }
  .nav { justify-content: flex-start; }
  .nav__marca,
  .menu-rolado .nav__marca {
    min-width: 46px;
    height: 46px;
    padding: 0;
    border-color: rgba(227, 168, 59, 0.55);
    background: var(--verde-700);
  }
  .nav__nome { display: none; }
  .nav__logo,
  .menu-rolado .nav__logo { font-size: 15px; }
  .nav__links {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding: 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { padding: 0 10px; font-size: 13px; }
  /* quando as seções não cabem, a borda que tem mais conteúdo esmaece (js/menu.js),
     mostrando que dá para arrastar para o lado */
  .nav__links {
    --fade-esq: 0px;
    --fade-dir: 0px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-esq), #000 calc(100% - var(--fade-dir)), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-esq), #000 calc(100% - var(--fade-dir)), transparent 100%);
  }
  .nav__links.mais-esq { --fade-esq: 28px; }
  .nav__links.mais-dir { --fade-dir: 36px; }
  .hero { padding-top: 64px; }
  main section[id] { scroll-margin-top: 76px; }
}
@media (max-width: 600px) {
  .hero__conteudo { padding-top: 40px; padding-bottom: 64px; gap: 40px; }
  .hero h1 { font-size: clamp(56px, 17vw, 80px); }
  .hero__lead { font-size: 16px; }
  .mini-cartoes { padding: 0 8px; }
}

/* ---------- janela de projeto (js/modal-projeto.js) ---------- */
/* clicar num cartão abre o projeto grande: imagens no centro, informações à direita */
.projeto--clicavel { cursor: pointer; }
.projeto--clicavel .carrossel__slide { cursor: zoom-in; }

.projeto__ampliar {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(240, 232, 214, 0.25);
  border-radius: 50%;
  background: rgba(12, 35, 26, 0.78);
  color: var(--creme);
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s ease, background .2s ease, border-color .2s ease;
}
.projeto__ampliar svg { width: 15px; height: 15px; }
.projeto__ampliar:hover { background: var(--verde-700); border-color: var(--dourado); }
.projeto__ampliar:focus-visible { opacity: 1; outline: 2px solid var(--dourado); outline-offset: 2px; }
.projeto:hover .projeto__ampliar { opacity: 1; }
@media (hover: none) { .projeto__ampliar { opacity: 1; width: 30px; height: 30px; } }

:root:has(.modal-projeto[open]) { overflow: hidden; }   /* a página de trás não rola */

.modal-projeto {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--creme);
  overflow: hidden;
}
.modal-projeto[open] { display: grid; place-items: center; }
.modal-projeto::backdrop {
  background: rgba(4, 12, 8, 0.84);
  backdrop-filter: blur(4px);
}

.modal-projeto__caixa {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  width: min(1320px, calc(100vw - 168px));
  height: min(820px, calc(100dvh - 64px));
  overflow: hidden;
  background: var(--verde-500);
  border: 1px solid var(--verde-400);
  border-radius: var(--raio-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform-origin: top left;     /* a animação de abrir/fechar parte do canto do cartão (js) */
}

/* ---------- animações da janela (classes colocadas pelo js/modal-projeto.js) ---------- */
/* fundo escuro e botões de fora aparecem/somem suavemente */
.modal-projeto::backdrop { opacity: 0; transition: opacity .35s ease; }
.modal-projeto.visivel::backdrop { opacity: 1; }
.modal-projeto__fechar,
.modal-projeto__nav { opacity: 0; }
.modal-projeto.visivel .modal-projeto__fechar,
.modal-projeto.visivel .modal-projeto__nav { opacity: 1; }

/* conteúdo entrando: a imagem surge com um leve zoom e as informações sobem uma a uma */
.modal-projeto.entrando .carrossel--modal {
  animation: modal-midia-entra .5s cubic-bezier(.2, .8, .2, 1) .14s both;
}
.modal-projeto.entrando .modal-projeto__info .projeto__corpo > * {
  animation: modal-info-entra .45s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(.2s + var(--ordem, 0) * 55ms);
}
@keyframes modal-midia-entra {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: none; }
}
@keyframes modal-info-entra {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.modal-projeto__midia {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: var(--verde-900);
}
.modal-projeto__info {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  border-left: 1px solid var(--verde-400);
}
.modal-projeto__info .projeto__corpo { padding: 32px 32px 36px; }
.modal-projeto__info h2 {
  font-size: 30px;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.6px;
}

/* carrossel grande: a imagem aparece inteira, sem recorte */
.carrossel--modal { height: 100%; }
.carrossel--modal .carrossel__slide {
  display: grid;
  place-items: center;
  padding: 28px;
  background: none;
  cursor: default;
}
.carrossel--modal .carrossel__slide > img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid var(--verde-400);
  border-radius: var(--raio-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.carrossel--modal .thumb--video > video {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid var(--verde-400);
  border-radius: var(--raio-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.carrossel--modal .thumb--logo > img { border: 0; box-shadow: none; max-width: 70%; }
.carrossel--modal .logo-polaris { transform: scale(1.5); }
.carrossel--modal .carrossel__seta { opacity: 1; width: 40px; height: 40px; }
.carrossel--modal .carrossel__seta--ant { left: 14px; }
.carrossel--modal .carrossel__seta--prox { right: 14px; }
.carrossel--modal .carrossel__pontos { bottom: 14px; }

/* botões fora da caixa: fechar no canto e trocar de projeto nas laterais */
.modal-projeto__fechar,
.modal-projeto__nav {
  position: fixed;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(240, 232, 214, 0.25);
  border-radius: 50%;
  background: rgba(12, 35, 26, 0.7);
  color: var(--creme);
  cursor: pointer;
  transition: opacity .3s ease, background .2s ease, border-color .2s ease;
}
.modal-projeto__fechar svg,
.modal-projeto__nav svg { width: 18px; height: 18px; }
.modal-projeto__fechar:hover,
.modal-projeto__nav:hover { background: var(--verde-500); border-color: var(--dourado); }
.modal-projeto__fechar:focus-visible,
.modal-projeto__nav:focus-visible { outline: 2px solid var(--dourado); outline-offset: 2px; }
.modal-projeto__fechar { top: 18px; right: 22px; }
.modal-projeto__nav { top: 50%; transform: translateY(-50%); }
.modal-projeto__nav--ant { left: 24px; }
.modal-projeto__nav--prox { right: 24px; }

/* celular e tablet: tela cheia, imagens em cima e texto embaixo */
@media (max-width: 860px) {
  .modal-projeto[open] { display: block; overflow-y: auto; }
  .modal-projeto__caixa {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    width: 100%;
    height: auto;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .modal-projeto__midia { aspect-ratio: 16 / 11; }
  .modal-projeto__info { overflow: visible; border-left: 0; border-top: 1px solid var(--verde-400); }
  .modal-projeto__info .projeto__corpo { padding: 24px 22px 40px; }
  .modal-projeto__info h2 { font-size: 26px; }
  .carrossel--modal .carrossel__slide { padding: 16px 16px 40px; }
  .carrossel--modal .carrossel__seta { width: 32px; height: 32px; }
  .carrossel--modal .logo-polaris { transform: none; }
  .modal-projeto__nav { display: none; }
  .modal-projeto__fechar { top: 10px; right: 10px; width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .modal-projeto::backdrop { transition: none; }
  .modal-projeto.entrando .carrossel--modal,
  .modal-projeto.entrando .modal-projeto__info .projeto__corpo > * { animation: none; }
}
