/* =========================================================
   HERO — LAYOUT PROFISSIONAL (IMAGEM À ESQUERDA REAL)
========================================================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
}

/* imagem ocupa a esquerda da viewport */
.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55vw;
  height: 100%;
  background-image: url("../images/hero.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;

  /* 🔑 FEATHER REAL */
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 55%,
    rgba(0, 0, 0, 0.8) 65%,
    rgba(0, 0, 0, 0.4) 75%,
    rgba(0, 0, 0, 0) 100%
  );

  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 55%,
    rgba(0, 0, 0, 0.8) 65%,
    rgba(0, 0, 0, 0.4) 75%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Edge / Chromium fallback */
@supports not (-webkit-mask-image: linear-gradient(black, transparent)) {
  .hero-image {
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.85; /* fallback elegante */
  }
}


/* gradiente para fundir imagem com o fundo preto */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.95) 30%,
      rgba(0, 0, 0, 0.75) 45%,
      rgba(0, 0, 0, 0.45) 60%,
      rgba(0, 0, 0, 0.2) 75%,
      rgba(0, 0, 0, 0) 100%
    );
  pointer-events: none;
}


/* conteúdo textual */
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: flex-start;

  padding-left: 8vw;    /* 🔑 margem elegante à esquerda */
  padding-top: 24vh;    /* controla altura do título */
}

.hero-text {
  max-width: 880px;
}

.hero-accent {
  display: block;
  width: 100px;
  height: 15px;
  background: #ff7a18;
  margin-bottom: 1.5rem;
  margin-top: -0.8rem;
}


.hero-title {
  display: flex;
  align-items: baseline; /* 🔑 chave do alinhamento */
  gap: 0.6rem;
  line-height: 1.1;
  margin-left: 1.5rem;
}

.hero-intro {
  font-size: 2.6rem;
  font-weight: 500;
  opacity: 0.85;
  color: #fff;
}

.hero-name {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}


.hero-subtitle {
  font-size: 2.2rem;
  font-style: italic;
  margin-left: 5rem;
  color: #fff;
  opacity: 0.9;
  margin-top: 10rem;
}

.hero-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 15rem;
}

.hero-links img {
  width: 32px;
  height: 32px;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-links a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}


/* =========================================================
   HEADER — LANGUAGE SWITCH
========================================================= */

.header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}

.header-right {
  display: flex;
  justify-content: flex-end;
  padding: 1.5rem 2.5rem;
}

.lang-switch {
  pointer-events: auto;
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.lang-switch a {
  color: #ff7a18;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-switch span {
  margin: 0 0.4rem;
  color: #ff7a18;
  opacity: 0.6;
}

.lang-switch a:hover {
  opacity: 1;
  transform: translateY(-1px);
}


/* =========================================================
   ABOUT SECTION
========================================================= */

.about-section {
  padding: 10px 8vw;
  background: #fff;
  color: #111;
}

.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-header h2 {
  font-size: 2.6rem;
  font-weight: 700;
}

.section-accent {
  display: block;
  width: 48px;
  height: 4px;
  background: #ff7a18;
  margin: 0.8rem auto 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  max-width: 1600px;
  margin: 0 auto;
}

.about-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.about-content p {
  line-height: 1.7;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: #444;
}

.about-meta p {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.about-languages {
  margin-top: 1.5rem;
}

.about-languages h4 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.about-languages p {
  font-size: 1.2rem;
  color: #444444;
  margin: 0.2rem 0;
}


/* SKILLS */

.about-skills .skill {
  margin-bottom: 1.6rem;
}

.about-skills h3 {
  font-size: 1.6rem;
}

.about-skills .skill span {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
}

.about-skills .skill span:last-child {
  float: right;
}

.skill-bar {
  width: 100%;
  height: 10px;
  background: #eee;
  margin-top: 0.5rem;
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar div {
  height: 100%;
  background: #ff7a18;
}

/* =========================================================
   JOURNEY SECTION
   Version: v1.1.0
   Description: Education & Experience journey + Certifications subsection
========================================================= */

.journey-section {
  padding: 0 max(6vw, 2rem);
  background: #fff;
  color: #111;
}

/* ================= HEADER ================= */

.journey-header {
  text-align: center;
  margin-bottom: 4rem;
}

.journey-header h2 {
  font-size: 2.6rem;
  font-weight: 700;
}

/* ================= MAIN JOURNEY GRID ================= */

.journey-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  max-width: 1400px;
  margin: 0 auto 4rem auto;
}

.journey-column {
  align-self: start;
}

.journey-title {
  font-size: 1.4rem;
  text-align: left;
  margin-bottom: 2rem;
  color: #1f3cff;
}

/* ================= TIMELINE ================= */

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid #eee;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: -11px;
  top: 0.15rem;
  width: 14px;
  height: 14px;
  background: #ff7a18;
  border-radius: 50%;
}

/* ================= TEXT ================= */

.timeline-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  margin-left: 0.5rem;
}

.timeline-item p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.3rem;
}

.timeline-date {
  font-size: 0.8rem;
  color: #999;
}

/* ================= INTERACTIONS ================= */

.timeline-item:hover h4 {
  color: #1f3cff;
}

/* =========================================================
   CERTIFICATIONS SUBSECTION
========================================================= */

.journey-certifications {
  max-width: 1400px;
  margin: 0 auto;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.cert-group h5 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  color: var(--text-muted, #000000);
}

.cert-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cert-group li {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.cert-group li span {
  font-size: 0.8rem;
  color: #444;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .journey-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .certifications-grid {
    grid-template-columns: 1fr;
  }
}



/* =========================================================
   PROJECTS SECTION
   Version: v1.0.0
   Description: Projects grid with filters and hover overlay
========================================================= */

.projects-section {
  padding: 0 max(6vw, 2rem);
  background: #fff;
}

/* ================= HEADER ================= */

.projects-header {
  text-align: center;
  margin-bottom: 3rem;
}

.projects-header h2 {
  font-size: 2.6rem;
  font-weight: 700;
}

/* ================= FILTERS ================= */

.projects-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.projects-filters button {
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem 1.1rem;
  border-radius: 20px;
  color: #555;
  transition: background 0.2s ease, color 0.2s ease;
}

.projects-filters button.active,
.projects-filters button:hover {
  background: #ff7a18;
  color: #fff;
}

/* ================= GRID ================= */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

/* ================= CARD ================= */

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 260px;
  background: #000;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

/* ================= OVERLAY ================= */

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

/* ================= TEXT ================= */

.project-overlay h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.project-description {
  font-size: 0.85rem;
  line-height: 1.35;
  opacity: 0.9;
  margin: 0.3rem 0;
}

.project-tags {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-bottom: 0.8rem;
}

/* ================= LINKS ================= */

.project-links {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.8rem;
}

.project-links a {
  font-size: 0.75rem;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.project-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-overlay {
    padding: 1.2rem;
  }
}


/* =========================================================
   DIVIDER SECTION
========================================================= */


.section-divider {
  width: 80%;
  height: 3px;
  margin: 3rem auto;
  background: linear-gradient(
    to right,
    transparent,
    #ccc,
    transparent
  );
  opacity: 0.8;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  text-align: center;
}


/* =========================================================
   HERO — MOBILE
========================================================= */

@media (max-width: 768px) {

  .hero {
    height: auto;
    min-height: 75svh;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.75;

    background-image: url("../images/hero.jpeg");
    background-size: cover;
    background-position: center 30%;

    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .hero-overlay {
    background: rgba(0, 0, 0, 0.65);
  }

  .hero-content {
    padding: 0 2rem;
    padding-top: 22vh;
  }

  .hero-title {
    flex-direction: column;
    margin-left: 0;
  }

  .hero-subtitle {
    margin-top: 2rem;
  }

  .hero-links {
    margin-top: 3rem;
  }
}