html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* =========================================================
   TOKENS
========================================================= */
:root {
  --bg: #0b0a0a;
  --bg-soft: #131110;
  --sidebar-bg: #16130f;
  --sidebar-border: rgba(244, 239, 230, 0.08);

  --accent: #a5714f;
  --accent-dark: #875c3f;
  --accent-light: #cf9a70;

  --cream: #f4efe6;
  --muted: rgba(244, 239, 230, 0.62);
  --muted-strong: rgba(244, 239, 230, 0.8);

  --font-display: "Playfair Display", "Georgia", serif;
  --font-ui: "Inter", "Segoe UI", sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-ui);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

svg {
  width: 100%;
  height: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* =========================================================
   LAYOUT SHELL
========================================================= */
.page {
  position: relative;
  min-height: 100vh;
  padding: 24px clamp(24px, 6vw, 88px) 60px;
}

.topbar {
  position: fixed;
  left: 30%;
  width: 40%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  z-index: 1000;
}

.navbar {
  height: 60px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 6px 22px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  margin-right: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--cream);
  white-space: nowrap;
}

.brand-role {
  font-size: 9px;
  color: rgba(244, 239, 230, 0.75);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
}

/* Plain UI sans instead of the italic display serif — the italic
   Playfair treatment didn't match the Figma nav, which uses the
   same clean sans as the rest of the chrome. */
.nav-link {
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  color: rgba(244, 239, 230, 0.85);
  white-space: nowrap;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--cream);
  transition: width 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cream);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 30px;
  height: 30px;
  color: var(--cream);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--sidebar-border);
  color: var(--muted-strong);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lang-toggle:hover {
  border-color: var(--accent-light);
}

.lang-option {
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.lang-option.is-active {
  color: var(--accent-light);
}

.lang-sep {
  opacity: 0.4;
}

/* =========================================================
   SOCIAL SIDEBAR
   (icons pushed further apart per feedback — was 18px)
========================================================= */
.social-sidebar {
  position: fixed;
  left: clamp(14px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background: var(--sidebar-bg);
  border: 1px solid var(--sidebar-border);
  border-radius: var(--radius-pill);
  padding: 24px 14px;
  z-index: 20;
}

.social-icon {
  width: 20px;
  height: 20px;
  color: var(--cream);
  opacity: 0.8;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease);
}

.social-icon:hover {
  opacity: 1;
  color: var(--accent-light);
  transform: translateY(-2px);
}

/* Personal "M" mark — Ellipse 8.svg sits as the badge background,
   M.svg is layered on top and centered inside it. (Previously this
   used a magic top/left offset with no sizing on .circle, which is
   why it never sat right in the sidebar.) */
.social-icon-logo {
  position: relative;
  width: 26px;
  height: 26px;
}

.logo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.logo-mark {
  position: absolute;
  inset: 0;
  width: 55%;
  height: 55%;
  margin: auto;
}

/* =========================================================
   HERO
========================================================= */
.hero {
  display: grid;
  /* Second column is now capped instead of 1fr — an unbounded 1fr
     track left a large dead zone on the right since hero-content's
     own max-width never filled it. Capping it lets justify-content
     center the whole illustration + text block, nudging both the
     name and location further right/toward the middle instead of
     hugging the left edge. */
  grid-template-columns: minmax(260px, 420px) minmax(0, 640px);
  justify-content: center;
  align-items: center;
  gap: clamp(48px, 6vw, 110px);
  min-height: calc(100vh - 120px);
}

/* ---- illustration ---- */
.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 340px;
  justify-self: center;
}

.illustration-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
}

.illustration-frame img.illustration-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* If the exported image is missing, the frame still reads as an
   intentional shape rather than a broken image. Swap illustration-img's
   src for the PNG/SVG exported from Figma. */
.illustration-img:not([src]),
.illustration-img[src=""] {
  display: none;
}

/* ---- text content ---- */
.hero-content {
  max-width: 640px;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--muted-strong);
  margin-bottom: 18px;
}

.eyebrow-dot {
  color: var(--accent-light);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 108px);
  line-height: 1;
  color: var(--cream);
  margin-bottom: 26px;
}

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

.mark-accent {
  color: var(--accent);
  font-style: italic;
  margin-left: 8px;
}

.hero-desc {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--muted-strong);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(165, 113, 79, 0.35);
}

/* =========================================================
   SOBRE MIM
========================================================= */

.about-page {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  padding: 40px 0 70px;
}

.about-container {
  width: min(100%, 930px);
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;

  gap: 90px;
}


/* =========================================================
   TÍTULO
========================================================= */

.section-heading {
  margin-bottom: 44px;
}

.section-heading>span {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #F7DFB8;
  margin-bottom: 18px;
}

.section-heading h1 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #F7DFB8;
}


/* =========================================================
   TEXTO
========================================================= */

.about-text {
  max-width: 470px;
}

.about-text p {
  font-family: var(--font-display);

  font-size: 19px;
  font-weight: 700;

  line-height: 1.08;

  color: var(--cream);

  margin-bottom: 28px;
}

.about-text p span {
  color: var(--accent);
}


/* =========================================================
   INFORMAÇÕES
========================================================= */

.about-info {
  display: flex;
  flex-direction: column;

  gap: 42px;

  margin-top: 68px;
}

.info-item {
  display: flex;
  align-items: center;
}

.info-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}


.info-item strong {
  display: block;

  font-family: var(--font-display);

  font-size: 14px;
  font-weight: 700;

  line-height: 1.05;

  color: var(--cream);
}


/* =========================================================
   CERTIFICADOS
========================================================= */

.certificates {
  position: relative;
  min-height: 600px;
}

.certificates>h2 {
  font-family: var(--font-display);

  font-size: 18px;
  font-weight: 700;

  color: #F7DFB8;

  margin-bottom: 20px;
}


/* =========================================================
   LISTA DE CERTIFICADOS
========================================================= */

.certificate-list {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.certificate {
  display: flex;
  align-items: start;
}

.certificate-icon {
  width: 32px;
  height: 32px;
}

.certificate-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.certificate-info h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  line-height: 0.95;
}

#informatica-text{
  position: relative;
  right: 10px;
}

#Alura-text{
  position: relative;
  right: 15px;
}

#hashtag-text {
  position: relative;
  right: 15px;
}

#Alura-text-2 {
  position: relative;
  right: 15px;
}

.certificate-info span {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  margin-top: 7px;
  text-align: left;
}

.harvard-logo{
  width: 10%;
  position: relative;
}

#IAazure-text h3{
  position: relative;
  margin-right: 50px;
}

/* =========================================================
   BOTÃO PROJETOS
========================================================= */

.projects-button {
  position: absolute;
  right: 0;
  bottom: -50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 32px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease);
}

.projects-button:hover {
  transform: translateY(-2px);
  background: var(--accent-light);
}

.section-projects {
  min-height: calc(100vh - 100px);
  display: block;
  align-items: center;
  padding: 180px clamp(10px, 4vw, 88px) 90px;
  width: min(100%, 930px);
  margin: 0 auto;
  gap: 90px;
  color: #F7DFB8;
}


.section-projects span {
  display: block;
}

/* =========================================================
   PROJETOS
========================================================= */

.cards-projetos {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    transform: translateY(-390px); /* sobe bastante */
}


/* =========================================================
   CARD 1 E CARD 2
========================================================= */

.card-1,
.card-2 {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 25%;
    background-color: #000000;
    border-radius: 20px;
    align-items: center;
    overflow: hidden;
}


/* =========================================================
   IMAGENS CARD 1
========================================================= */

.imagens-card-1,
.imagens-card-2 {
    position: relative;
    width: 100%;
    height: 300px;
}


/* Imagem PC */

.img-pc-1,
.img-pc-2 {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.img-pc-1 img,
.img-pc-2 img {
    width: 100%;
    display: block;
}


/* Imagem Mobile */

.img-mobile-1,
.img-mobile-2 {
    position: absolute;
    width: 45%;
    z-index: 1;
    right: 0;
    bottom: 0;
}

.img-mobile-1 img,
.img-mobile-2 img {
    width: 60%;
    display: block;
    margin-left: 85px;
}


/* =========================================================
   TÍTULO E DESCRIÇÃO
========================================================= */

.titulo-card-1,
.titulo-card-2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
}

.titulo-card-1 h1,
.titulo-card-2 h1 {
    margin: 1px 10px 10px;
    color: white;
}

.titulo-card-1 span,
.titulo-card-2 span {
    color: #ccc;
    line-height: 1.2;
    text-align: justify;
    margin: 1px 10px 10px;
}


/* =========================================================
   ÍCONES
========================================================= */

.icons-tec,
.icons-tec-2 {
    width: 100%;
    margin-top: auto;
    padding: 15px 0 25px;
}

.icons,
.icons-2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding-left: 10px;
}

.icons img,
.icons-2 img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}


/* =========================================================
   BOTÕES
========================================================= */

.button-projetos,
.button-projetos-2 {
    position: absolute;
    right: 6px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 32px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: var(--cream);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 500;
    transition:
        transform 0.25s var(--ease),
        background 0.25s var(--ease);
}

.button-projetos a,
.button-projetos-2 a {
    color: var(--cream);
    text-decoration: none;
}

/* =========================================================
   CONTATO
========================================================= */

.section-contato {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
}

.contato-container {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 88px);

  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 6vw, 110px);
}

.contato-eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F7DFB8;
  margin-bottom: 14px;
}

.contato-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 44px;
}

.contato-list {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contato-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--cream);
}

.contato-icon svg {
  width: 20px;
  height: 20px;
}

.contato-label {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--accent-light);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.contato-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  transition: color 0.25s var(--ease);
}

.contato-value:hover {
  color: var(--accent-light);
}

/* ---- coluna direita: destaque / ilustração ---- */
.contato-showcase {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 420px;
}



.showcase-img {
  width: 100%;
  display: block;
}

/* Sem a ilustração exportada, o painel ainda lê como algo intencional
   em vez de imagem quebrada — mesmo tratamento usado em .illustration-img.
   Troque o src de .showcase-img pela arte exportada do Figma. */
.showcase-img:not([src]),
.showcase-img[src=""] {
  display: none;
}

.showcase-tag {
  position: absolute;
  top: 24px;
  left: -20px;
  max-width: 220px;
  background: rgba(11, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid var(--sidebar-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--cream);
}

.showcase-tag-eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 6px;
}

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

.site-footer {
  background: var(--sidebar-bg);
  border-top: 1px solid var(--sidebar-border);
}

.footer-container {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 56px clamp(24px, 6vw, 88px) 40px;

  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
}

.footer-brand span {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.footer-nav,
.footer-social,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-nav h3,
.footer-social h3,
.footer-contact h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 4px;
}

.footer-nav a {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted-strong);
  transition: color 0.25s var(--ease);
}

.footer-nav a:hover {
  color: var(--accent-light);
}

.footer-social a,
.footer-contact a {
  width: 20px;
  height: 20px;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

.footer-social a:hover,
.footer-contact a:hover {
  opacity: 1;
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid var(--sidebar-border);
  padding: 18px clamp(24px, 6vw, 88px);
}

.footer-bottom span {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--muted);
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 14px 2px rgba(207, 154, 112, 0.5);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease), opacity 0.2s var(--ease),
    background 0.2s var(--ease), width 0.2s var(--ease), height 0.2s var(--ease);
}

.cursor-dot.is-visible { opacity: 1; }

.cursor-dot.is-active {
  transform: translate(-50%, -50%) scale(1.8);
  background: var(--accent);
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-dot { display: none; }
}

.section-divider {
  width: min(100%, 930px);
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 88px);
  display: flex;
  align-items: center;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sidebar-border);
}

.divider-mark {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin: 0 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 500;
}

.back-to-top svg { width: 20px; height: 20px; }

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-3px); }

.stacks-section {
  padding: 40px 0 20px;
}

.stacks-container {
  width: min(100%, 930px);
  margin: 0 auto;
  padding: 0 clamp(10px, 4vw, 88px);
}

.stacks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 84px;
}

.stack-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--sidebar-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.stack-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.stack-item:hover .stack-icon {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(165, 113, 79, 0.3);
}

.stack-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-strong);
  text-align: center;
}