:root {
  --fundo: #FAE1DF;
  --fundo2: #E4C3AD;
  --texto: #0D1F2D;
  --texto-suave: #3a3830;
  --acento: #546A7B;
  --acento-hover: #3d5566;
  --cinza: #9EA3B0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
html {
  scroll-behavior: smooth;
}
 
body {
    background-color: var(--fundo);
    color: var(--texto);
    font-family: Georgia, 'Times New Roman', Times, serif
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--texto);
    position: fixed;
    width: 100%;
    background-color:rgba(250, 225, 223, 0.8);
}

.logo {
  font-weight: bold;
  color: var(--acento);
  letter-spacing: 2px;
}

.menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.menu a {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--texto);
    position: relative;
    font-size: 0.8rem;
}

.menu a:after {
  content: '';           
  position: absolute;     
  bottom: -2.5px;           
  left: 0;                
  width: 100%;            
  height: 1px;            
  background-color: var(--texto); 
  transform-origin: left; 
  transition: transform 0.3s ease; 
  transform: scaleX(0); 
}

.menu a:hover::after {
  transform: scaleX(1);
}

#sobre,
#habilidades,
#projetos,
#contato {
  scroll-margin-top: 4.37rem; 
}

.sobre {
  background-color: var(--fundo2);
  margin: 1rem auto;
  max-width: 1000px;
  border-radius: 0.75rem ;

}

.habilidades {
  background-color: var(--fundo);
}

.projetos {
  background-color: var(--fundo2);
  margin: 1rem auto;
  max-width: 1000px;
  border-radius: 0.75rem;
}

.contato {
  background-color: var(--fundo);
}

.hero {
  background-color: var(--fundo);
  padding-top: 4rem;
}

.hero-perfil {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-texto {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-texto h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: normal;
  line-height: 1.1;
}

.frontend {
  font-family: sans-serif;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--acento);
}

.detalhe {
    color: var(--acento);
    font-style: italic;
}

.hero-texto p:last-child {
    font-family: sans-serif;
    line-height: 1.8;
    color: var(--texto-suave); 
}

.hero-links {
  grid-column: 1;
  grid-row: 2;
}

.hero-foto img {
  width: 18.75rem;
  height: 23.75rem;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.5rem;
}

.hero-foto {
  grid-column: 2;
  grid-row: 1 / 3; 
  display: flex;
  justify-content: flex-end;
}

.hero-links a {
    text-decoration: none;
    text-transform: uppercase;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.link-projeto {
    background-color: var(--acento);
    color: var(--fundo);
    padding: 0.75rem 2rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    font-family: sans-serif;
    transition: transform 0.3s ease;
}

.link-contato {
    background: transparent;
    color: var(--texto);
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    border-radius: 0.25rem;
    border: 1px solid var(--texto);
    font-family: sans-serif;
    transition: transform 0.3s ease;
}

.link-projeto:hover {
    background-color: var(--texto);
    color: var(--fundo);
    border: 1px solid var(--texto);
}

.link-contato:hover {
    background-color: var(--texto);
    color: var(--fundo);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.secao-titulo h2 {
    font-style: italic;
    font-weight: 100;
}

.sobre-descricao {
    padding: 3rem 0rem;
}

.sobre-descricao p {
    font-family: sans-serif;
    margin-top: 1.2rem;
    font-size: 1rem;
    color: var(--texto-suave);
    line-height: 1.8;
}

.habilidades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.habilidades {
    padding: 3rem 2rem;
}

.habilidades h2 {
    font-style: italic;
    font-weight: 100;
}

.habilidades-subtitulo {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-family: sans-serif;
    margin-bottom: 1.5rem;
    margin-top: 1.8rem;
}

.habilidades-subtitulo::after {
 content: '';
  display: block;
  width: 2.188rem;
  height: 2px;
  background: var(--acento);
  margin-top: 6px;
}


.skill-icone {
    color: var(--acento);
    font-size: 1.1rem;
    font-family: monospace;
}

.habilidades-card h3 {
    color: var(--texto);
    font-size: 1rem;
}

.habilidades-card p {
    color: var(--texto-suave);
    font-family: sans-serif;
    font-size: 0.85rem;
    line-height: 1.7;
}

.habilidades-card {
  background: #f7f7f7;
  border: 1px solid var(--fundo2);
  padding: 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 0 0 transparent; 
  transition: box-shadow 0.3s ease; 
}

.habilidades-card:hover {
    border: 1.2px solid var(--texto);
    box-shadow: 4px 4px 0px var(--acento);
}

.projetos-titulo {
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.projetos-titulo h2 {
  font-style: italic;
  font-weight: 100;
}

.projetos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.projetos {
  padding: 3rem 2rem;
}

.projetos-ecobag {
  background: #f7f7f7;
  border: 1px solid var(--fundo2);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 0 0 transparent; 
  transition: box-shadow 0.3s ease; 
}

.projetos-ecobag:hover {
  border: 1.2px solid var(--texto);
  box-shadow: 4px 4px 0px var(--acento);
}


.projetos-link a {
    text-decoration: none;
    text-transform: uppercase;
}

.projetos-link {
    display: flex;
    gap: 0.75rem;
}

.ver-site {
    background-color: var(--acento);
    color: var(--fundo);
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-family: sans-serif;
    transition: transform 0.3s ease;
}

.ver-codigo {
    background: transparent;
    color: var(--texto);
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    border-radius: 0.25rem;
    border: 1px solid var(--texto);
    font-family: sans-serif;
    transition: transform 0.3s ease;
}

.ver-site:hover {
    background-color: var(--texto);
    color: var(--fundo);
    border: 1px solid var(--texto);
}

.ver-codigo:hover {
    background-color: var(--texto);
    color: var(--fundo);
}

.projetos-ecobag p {
  font-size: 0.75rem;
}

.projetos-ecobag p:last-child {
  color: var(--texto-suave);
}

.projetos-ecobag img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
  object-position: top; 
  border-radius: 0.5rem 0.5rem 0 0; 
}

.projetos-ecobag-info {
  padding: 2rem; 
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.projeto-tag {
  font-size: 0.75rem;
  color: var(--acento);
  letter-spacing: 1px;
  font-family: monospace;
}

.projeto-descricao {
  font-size: 0.88rem;
  color: var(--texto-suave);
  line-height: 1.8;
  font-family: sans-serif;
}

.projetos-ecobag-info h3 {
  font-size: 1rem;
  font-weight: 100;
}

.projetos-andamento {
  border-radius: 8px;
  min-height: 18.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--texto-suave);
  font-family: sans-serif;
  font-size: 0.8rem;
}

.contato {
  padding: 3rem 2rem;
  margin: 0;
  line-height: 1.5rem;

}

.contato h2 {
  font-style: italic;
  font-weight: 100;
}

.contato-descricao {
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.links {
  display: flex;
  gap: 0.75rem;
}

.links a {
  text-decoration: none;
  text-transform: uppercase;
}

.linkedin {
  background: var(--acento);
  color: var(--fundo);
  padding: 0.5rem 1.25rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
  font-family: sans-serif;
  transition: transform 0.3s ease;
}

.link-secundario {
  background: transparent;
  color: var(--texto);
  padding: 0.5rem 1.25rem;
  border-radius: 0.25rem;
  border: 1px solid var(--texto);
  font-size: 0.8rem;
  font-family: sans-serif;
  transition: transform 0.3s ease;
}

.linkedin:hover {
  background: var(--texto);
}

.link-secundario:hover {
  background: var(--texto);
  color: var(--fundo);
}

.contato p {
  font-family: sans-serif;
  margin-bottom: 1rem;
  font-size: 1em;
  color: var(--texto-suave);
}

.rodape {
  text-align: center;
  background: var(--texto);
  font-family: sans-serif;
  color: var(--fundo);
  padding: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .habilidades-grid {
    grid-template-columns: 1fr;
  }

.hero-foto img {
  max-width: 100%;
  height: auto;
}

.hero-foto {
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
}

.hero-texto {
  grid-column: 1;
  grid-row: 2; 
}

.hero-links {
  grid-column: 1;
  grid-row: 3;
}

.projetos-grid {
  grid-template-columns: 1fr;
}

.header {
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem;
}

.hero-perfil {
  margin-top: 1rem;
  grid-template-columns: 1fr;
}
}



