/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:        #ffffff;
  --color-bg-alt:    #f7f8fa;
  --color-sidebar:   #f0f2f5;
  --color-surface:   #ffffff;
  --color-border:    #e4e7ec;
  --color-border-subtle: #f0f0f0;
  --color-line-title: #9ca3af;;
  --color-primary:   #2563eb;
  --color-primary-h: #1d4ed8;
  --color-accent:    #7c3aed;
  --color-whatsapp:  #25d366;
  --color-text:      #374151;
  --color-muted:     #6b7280;
  --color-heading:   #111827;

  --font-main: 'Inter', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-img: 10px;

  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 0 0 56px;
}

.section:last-child {
  padding-bottom: 0;
}

.section__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--color-primary-h);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  background: #eff6ff;
}

.btn--whatsapp {
  background-color: var(--color-whatsapp);
  color: #fff;
}

.btn--whatsapp:hover {
  background-color: #1ebe5a;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.navbar__logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.02em;
}

.navbar__links {
  display: flex;
  gap: 28px;
}

.navbar__links a {
  font-size: 0.88rem;
  color: var(--color-muted);
  transition: color var(--transition);
}

.navbar__links a:hover {
  color: var(--color-heading);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 120px 0 72px;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.hero__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
}

.hero__photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
}

.hero__greeting {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__name {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.15;
  margin: 6px 0 10px;
}

.hero__role {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 400;
  color: var(--color-muted);
  margin-bottom: 28px;
}

.accent {
  color: var(--color-accent);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 640px) {
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__photo {
    width: 160px;
    height: 160px;
  }
}

/* ============================================
   LAYOUT DUAS COLUNAS
   ============================================ */
.layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 0;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 72px;
}

.layout__main {
  padding-right: 56px;
  border-right: 1px solid var(--color-border);
}

/* ============================================
   SOLUÇÕES
   ============================================ */
.solution__card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.solution__card:first-of-type {
  padding-top: 0;
}

.solution__card:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.solution__icon {
  font-size: 1.2rem;
  color: var(--color-primary);
  min-width: 28px;
  padding-top: 3px;
}

.solution__info h3 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 4px;
}

.solution__info p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ============================================
   PROJETOS
   ============================================ */
.project__card {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.project__card:first-of-type {
  padding-top: 0;
}

.project__card:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.project__card-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.project__icon {
  font-size: 1.2rem;
  color: var(--color-primary);
  min-width: 28px;
  padding-top: 3px;
}

.project__info h3 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 6px;
}

.project__info p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.project__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-img);
  margin: 16px 0 14px;
  border: 1px solid var(--color-border);
}

/* ============================================
   REPOSITÓRIO
   ============================================ */
.repo__card {
  padding: 20px 0;
}

.repo__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.repo__icon {
  font-size: 1.4rem;
  color: var(--color-heading);
}

.repo__header h3 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 4px;
}

.repo__tag {
  font-size: 0.72rem;
  color: var(--color-primary);
  background: #eff6ff;
  padding: 2px 10px;
  border-radius: var(--radius-lg);
  font-weight: 500;
}

.repo__desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ============================================
   SIDEBAR
   ============================================ */
.layout__sidebar {
  position: sticky;
  top: 80px;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
}

.sidebar__section {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.sidebar__section:first-child {
  padding-top: 0;
}

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

.sidebar__title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.sidebar__title i {
  color: var(--color-primary);
  font-size: 0.8rem;
}

.sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar__list li {
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 32px;
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-heading);
}

.footer__sub {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer__socials {
  display: flex;
  gap: 20px;
  margin: 14px 0;
}

.footer__socials a {
  font-size: 1.2rem;
  color: var(--color-muted);
  transition: color var(--transition), transform var(--transition);
}

.footer__socials a:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer__socials a[href*="wa.me"]:hover {
  color: var(--color-whatsapp);
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--color-border);
  margin-top: 6px;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .layout__main {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 40px;
  }

  .layout__sidebar {
    position: static;
    padding-left: 0;
    padding-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0 32px;
  }

  .navbar__links {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   PAGE HEADER (quemsou.html)
   ============================================ */
.page-header {
  padding: 100px 0 56px;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg);
}

.page-header__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
}

.page-header__photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

/* ============================================
   SOBRE — PARÁGRAFOS
   ============================================ */
.about__paragraph {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__paragraph:last-child {
  margin-bottom: 0;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.timeline__item:first-child {
  padding-top: 0;
}

.timeline__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline__marker {
  width: 10px;
  height: 10px;
  min-width: 10px;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin-top: 7px;
}

.timeline__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline__period {
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.timeline__title {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--color-heading);
  margin: 2px 0 6px;
}

.timeline__desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* Lista principal de entregas dentro de um item da timeline */
.timeline__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 4px;
}

/* Cada entrega da lista principal */
.timeline__list > li {
  padding-left: 14px;
  border-left: 2px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.75;
}

/* Rótulo em negrito de cada entrega */
.timeline__list > li > b {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 4px;
}

/* Sublista de ferramentas (Pandas, Power BI, etc.) */
.timeline__sublist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  padding-left: 12px;
}

.timeline__sublist > li {
  font-size: 0.85rem;
  color: var(--color-muted);
  padding-left: 10px;
  position: relative;
}

.timeline__sublist > li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-border);
}

/* Links dentro da timeline */
.timeline__desc a,
.timeline__list a {
  color: var(--color-primary);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.timeline__desc a:hover,
.timeline__list a:hover {
  border-bottom-color: var(--color-primary);
}

/* Lista de publicações (Graduação) */
.timeline__publications {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.timeline__publications > li {
  font-size: 0.88rem;
  color: var(--color-muted);
  padding-left: 14px;
  border-left: 2px solid var(--color-border);
  line-height: 1.6;
}

.timeline__publications > li a {
  color: var(--color-primary);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.timeline__publications > li a:hover {
  border-bottom-color: var(--color-primary);
}

/* ============================================
   NAVBAR — LINK ATIVO
   ============================================ */
.navbar__link--active {
  color: var(--color-heading) !important;
  font-weight: 500;
}

/* ============================================
   RESPONSIVO — PAGE HEADER
   ============================================ */
@media (max-width: 640px) {
  .page-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header__photo {
    width: 130px;
    height: 130px;
  }
}

/* ============================================
   AGE PROGRESS BAR
   ============================================ */
.age-bar__wrapper {
  margin-top: 12px;
}

.age-bar__labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.age-bar__labels span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
}

.age-bar__track {
  position: relative;
  height: 6px;
  background-color: var(--color-border);
  border-radius: 3px;
  overflow: visible;
}

.age-bar__fill {
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 3px;
  transition: width 1s ease;
}

.age-bar__ticks {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2px;
  pointer-events: none;
}

.age-bar__ticks span {
  display: block;
  width: 1px;
  height: 10px;
  background-color: var(--color-bg);
  opacity: 0.6;
  flex-shrink: 0;
}