/* ===== RESET E VARIÁVEIS ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cor-primaria: #0a2540;
  --cor-secundaria: #0066cc;
  --cor-destaque: #00b4d8;
  --cor-texto: #1a1a1a;
  --cor-texto-suave: #555;
  --cor-fundo: #ffffff;
  --cor-fundo-alt: #f5f7fa;
  --cor-borda: #e1e6ed;
  --sombra: 0 4px 20px rgba(10, 37, 64, 0.08);
  --raio: 12px;
  --transicao: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--cor-texto);
  background: var(--cor-fundo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cor-secundaria);
  text-decoration: none;
  transition: color var(--transicao);
}

a:hover {
  color: var(--cor-destaque);
}

/* ===== CABEÇALHO ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cor-borda);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav__logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity var(--transicao);
}

.nav__logo-img:hover {
  opacity: 0.85;
}

.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  color: var(--cor-texto);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cor-secundaria);
  transition: width var(--transicao);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  background: var(--cor-secundaria);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
}

.nav__link--cta:hover {
  background: var(--cor-primaria);
  color: #fff;
}

.nav__link--cta::after {
  display: none;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--cor-primaria);
  transition: var(--transicao);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--cor-primaria) 0%, #0d3b66 100%);
  color: #fff;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cor-destaque);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transicao);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--cor-destaque);
  color: var(--cor-primaria);
}

.btn--primary:hover {
  background: #fff;
  color: var(--cor-primaria);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ===== SEÇÕES ===== */
.section {
  padding: 5rem 1.5rem;
}

.section--alt {
  background: var(--cor-fundo-alt);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.container--narrow {
  max-width: 700px;
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cor-primaria);
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--cor-destaque);
  border-radius: 2px;
}

/* ===== SOBRE ===== */
.sobre__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.sobre__text p {
  margin-bottom: 1.2rem;
  color: var(--cor-texto-suave);
}

.sobre__card {
  background: #fff;
  border: 1px solid var(--cor-borda);
  border-radius: var(--raio);
  padding: 1.8rem;
  box-shadow: var(--sombra);
}

.sobre__card h3 {
  color: var(--cor-primaria);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.sobre__list {
  list-style: none;
}

.sobre__list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cor-borda);
  font-size: 0.95rem;
  color: var(--cor-texto-suave);
}

.sobre__list li:last-child {
  border-bottom: none;
}

.sobre__list strong {
  color: var(--cor-secundaria);
}

/* ===== CARDS DE COMPETÊNCIAS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--cor-borda);
  border-radius: var(--raio);
  padding: 1.8rem;
  transition: all var(--transicao);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra);
  border-color: var(--cor-destaque);
}

.card__title {
  color: var(--cor-primaria);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.card__text {
  color: var(--cor-texto-suave);
  font-size: 0.9rem;
}

/* ===== EXPERIÊNCIA ===== */
.job {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--cor-borda);
}

.job:last-child {
  border-bottom: none;
}

.job__header {
  margin-bottom: 1rem;
}

.job__title {
  color: var(--cor-primaria);
  font-size: 1.15rem;
}

.job__company {
  color: var(--cor-secundaria);
  font-weight: 500;
  font-size: 0.95rem;
}

.job__period {
  color: var(--cor-texto-suave);
  font-size: 0.85rem;
  font-style: italic;
}

.job__list {
  list-style: none;
  padding-left: 0;
}

.job__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--cor-texto-suave);
  font-size: 0.95rem;
}

.job__list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cor-destaque);
  font-weight: bold;
}

/* ===== FORMAÇÃO ===== */
.edu {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.edu__item {
  background: #fff;
  border-left: 4px solid var(--cor-destaque);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--raio) var(--raio) 0;
  box-shadow: var(--sombra);
}

.edu__item h3 {
  color: var(--cor-primaria);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.edu__item p {
  color: var(--cor-texto-suave);
  font-size: 0.9rem;
}

.edu__item em {
  color: var(--cor-secundaria);
}

/* ===== CONTATO ===== */
.contato__intro {
  color: var(--cor-texto-suave);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contato__list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.contato__list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cor-borda);
  font-size: 1rem;
}

.contato__list strong {
  color: var(--cor-primaria);
  display: inline-block;
  min-width: 100px;
}

/* ===== RODAPÉ ===== */
.footer {
  background: var(--cor-primaria);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer a {
  color: var(--cor-destaque);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== ANIMAÇÃO DE ENTRADA ===== */
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__logo-img {
    height: 40px;
  }

  .nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    border-bottom: 1px solid var(--cor-borda);
    box-shadow: var(--sombra);
    transform: translateY(-150%);
    transition: transform var(--transicao);
  }

  .nav__list.is-open {
    transform: translateY(0);
  }

  .nav__list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cor-borda);
  }

  .nav__list li:last-child {
    border-bottom: none;
  }

  .nav__link--cta {
    display: inline-block;
    text-align: center;
    width: 100%;
  }

  .sobre__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .section {
    padding: 3.5rem 1.5rem;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}