:root {
  --blue: #0000ff;
  --text: #0b0b0b;
  --font-main: 'Raleway', sans-serif;
  --gap: 28px;
}

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

body {
  font-family: var(--font-main);
  color: var(--text);
  background: #fff;
  cursor: url('./files/cursor.svg'), auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Seleção */
::selection { background: #0d00ff; color: #fff; }

/* Animações */
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight{ from { opacity: 0; transform: translateX(60px);  } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn     { from { opacity: 0; transform: scale(0.8); }      to { opacity: 1; transform: scale(1); } }

/* HEADER */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 24px 32px;
  position: relative;
  z-index: 10;
  width: 100%;
}

.brand { display: inline-flex; align-items: center; }
.brand .logo { width: 100px; height: auto; display: block; }

.header-info {
  display: flex;
  gap: 60px;
  align-items: center;
  font-size: 12px;
  font-weight: 300;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  will-change: opacity, transform;
}

.status { display: flex; align-items: center; gap: 10px; }
.status-text { position: relative; }
.status-text:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: .6;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); display: inline-block; }

/* NAV */
.main-nav ul {
  display: flex;
  gap: 62px;
  list-style: none;
  font-weight: 300;
  font-size: 12px;
}
.main-nav a {
  color: var(--text);
  text-decoration: none;
  letter-spacing: .06em;
  transition: all .25s ease;
  position: relative;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background: var(--blue);
  transition: width .3s ease;
}
.main-nav a:hover:after { width: 100%; }

/* === Botão de Menu (novo) === */
.nav-toggle {
  display: none;              /* escondido no desktop */
  background: transparent;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 34px;
  padding: 0;
}
.icon-burger {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}

/* MAIN CONTAINER */
.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 50px;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding-left: 96px;
  transform: scale(0.9);
  transform-origin: center top;
}

.about-left { max-width: 264px; margin-top: 40px; animation: slideInLeft .8s ease forwards; }
.about-image {
  margin: 0 100px; margin-top: 20px; flex-shrink: 0;
  animation: scaleIn .9s ease .2s forwards; opacity: 0;
}
.about-image img { width: 590px; height: 721px; object-fit: cover; }
.about-right { max-width: 400px; margin-right: 32px; margin-top: 40px; animation: slideInRight .8s ease .1s forwards; opacity: 0; }

/* Typography */
.section-title { font-weight: 400; font-size: 24px; color: var(--blue); margin-bottom: 20px; }
p { font-weight: 300; font-size: 16px; margin-bottom: 20px; }
.no-margin { margin-bottom: 0; }
.blue { color: var(--blue); margin-bottom: 3px; display: block; }
.year { font-style: italic; margin-bottom: 16px; }
.section-title-projhigh { font-weight: 400; font-size: 24px; color: var(--blue); margin-bottom: 24px; }

.socials-links a {
  color: var(--text);
  text-decoration: underline;
  font-weight: 300;
  font-size: 16px;
  transition: color .25s ease;
  display: block;
  margin-bottom: 0;
}
.socials-links a:hover { color: var(--blue); }

/* ===== Responsive ===== */
@media (max-width: 1440px) {
  .about-container { padding-left: 60px; padding-top: 40px; }
  .about-image { margin: 0 80px; }
  .about-image img { width: 520px; height: 635px; }
}

@media (max-width: 1199px) {
  .about-container {
    transform: none;
    padding: 50px 20px;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .about-left, .about-right { margin: 0; max-width: 100%; width: 100%; text-align: center; }
  .about-left { max-width: 560px; margin-bottom: 40px; order: 1; }
  .about-image { margin: 30px 0; order: 2; }
  .about-image img { width: 420px; height: 510px; }
  .about-right { max-width: 680px; margin-top: 40px; order: 3; }
}

@media (max-width: 767px) {
  /* Mostrar botão e colapsar menu no mobile */
  .nav-toggle { display: flex; align-items: center; justify-content: center; align-self: flex-end; }

  .main-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .25s ease, opacity .25s ease, visibility .25s ease;
  }
  .main-nav.open {
    max-height: 260px; /* suficiente para 3 links */
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul { flex-direction: column; align-items: flex-end; gap: 0; padding-top: 8px; }
  .main-nav a { padding: 14px 0; }

  .about-container { padding: 32px 16px; }
  .about-image img { width: 320px; height: 380px; }
  .section-title, .section-title-projhigh { font-size: 20px; margin-bottom: 16px; }
  p { font-size: 15px; margin-bottom: 16px; }
}

@media (max-width: 479px) {
  .site-header { flex-direction: column; gap: 16px; padding: 12px; }
  .main-nav ul { gap: 16px; } /* não interfere com o colapso quando fechado */
  .about-container { padding: 20px 8px; }
  .about-image img { width: 240px; height: 290px; }
  .section-title, .section-title-projhigh { font-size: 16px; margin-bottom: 12px; }
  p { font-size: 13px; margin-bottom: 12px; }
}

/* Respeita preferências */
@media (prefers-reduced-motion: reduce){
  .nav-toggle, .main-nav{ transition: none !important; }
}

