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

/*light mode*/

.light body {
  background-image: url(assets/bg-mobile-light.jpg);
}

.light p {
  color: black;
}

.light footer {
  color: black;
}
.light .victor {
  color: black;
  transition: 0.3 ease;
}

.light #switch button {
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  border: 0;
  background-image: url(assets/sun.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.light .victor:hover {
  text-shadow: 0 0 2px black;
  transform: scale(1.03);
}
.light .whatsapp {
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #25d366, #1ebe5d);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent; /* estado inicial */
}

.light .whatsapp:hover {
  border: none;
  background: linear-gradient(145deg, #1bd458, #0fba4d);
  transform: translateY(-2px);
  box-shadow: 0 0 8px 0.8px #25d366; /* GLOW visível */
}

.light .linkedin {
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #0077b5, #005f91);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

.light .linkedin:hover {
  border: none;
  background: linear-gradient(145deg, #0088cc, #006aa7);
  transform: translateY(-2px);
  box-shadow: 0 0 8px 0.8px #0077b5;
}

.light .insta {
  border: none;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

.light .insta:hover {
  border: none;
  background: linear-gradient(
    145deg,
    #ffe27a,
    /* mais viva que #feda75 */ #ff9233,
    /* mais vibrante que #fa7e1e */ #e02c7a,
    /* mais forte que #d62976 */ #a03de2,
    /* mais brilhante que #962fbf */ #5b6eff /* mais intensa que #4f5bd5 */
  );
  transform: translateY(-2px);
  box-shadow: 0 0 12px 2px rgba(144, 76, 255, 0.6);
}

.light .email {
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #d93025, #b9241b);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

.light .email:hover {
  border: none;
  background: linear-gradient(145deg, #e84136, #c62c24);
  transform: translateY(-2px);
  box-shadow: 0 0 8px 0.8px #d93025;
}

.light .github {
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #171515, #0e0e0e);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

.light .github:hover {
  border: none;
  background: linear-gradient(145deg, #1f1f1f, #000);
  transform: translateY(-2px);
  box-shadow: 0 0 8px 0.8px #000000cc;
}

/*light botton*/

.light #switch {
  width: 64px;
  position: relative;
  margin: 0 auto 12px auto;
}

.light #switch span {
  display: block;
  width: 64px;
  height: 28px;
  background: #d1d5db; /* cinza claro sofisticado */
  border-radius: 9999px;
  position: relative;
  transition: background 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 0.1px solid black;
}

.light #switch button {
  width: 32px;
  height: 32px;
  background: white;
  border: 0;
  border-radius: 50%;
  background-image: url("assets/sun.svg");
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: initial;
  transform: translateY(-50%);
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: 0 0 4px rgba(255, 193, 7, 0.4);
  animation: slide-in 0.3s ease forwards;
}

body {
  /* Background do site*/
  background-image: url(assets/bg-mobile.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  min-height: 100dvh; /* novo padrão */
  min-height: 100vh; /* fallback */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/*Background do site*/

body * {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: white;
  text-align: center;
}
#container {
  width: 100%;
  max-width: 588px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

#profile {
  text-align: center;
  padding: 24px;
}

#profile img {
  width: 112px;
}

#profile p {
  font-weight: 500;
  line-height: 24px;
  margin-top: 8px;
}

/*botão*/

#switch {
  width: 64px;
  position: relative;
  margin: 0 auto 12px auto;
}

#switch button {
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  border: 0;
  background-image: url(assets/moon-stars.svg);
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  z-index: 1;
  transform: translateY(-50%);
  top: 50%;
  left: 0;
  box-shadow: 0 0 6px rgba(7, 11, 255, 0.4);
  animation: slide-out 0.3s ease;
  display: block;
  margin: auto;
}

.light #switch button:hover {
  filter: drop-shadow(0 0 4px #ffd700);
  transition: filter 0.3s ease;
}

#switch button:hover {
  filter: drop-shadow(0 0 4px #01011a);
  transition: filter 0.3s ease;
}

#switch span {
  display: block;
  width: 64px;
  height: 24px;

  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.5);

  backdrop-filter: blur(4px);

  -webkit-backdrop-filter: blur(4px);

  border-radius: 9999px;
}

/*lista das coisas*/

ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.whatsapp {
  display: block;
  text-align: center;
  padding: 16px 24px;
  margin: 12px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: white;
  text-decoration: none;
  transition: 0.2s ease;
  border: 1.7px solid transparent;
  position: relative;
  list-style: none;
  background-clip: padding-box;
  backdrop-filter: blur(6px);
  will-change: transform;
}

.whatsapp:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: white;
  transform: scale(1.05);
}

.whatsapp .IconZap {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.95rem;
}

.linkedin {
  display: block;
  text-align: center;
  padding: 16px 24px;
  margin: 12px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: white;
  text-decoration: none;
  transition: 0.2s ease;
  border: 1.7px solid transparent;
  position: relative;
  will-change: transform;
}

.linkedin:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: white;
  transform: scale(1.05);
}

.linkedin .IconLink {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.67rem;
}
.insta {
  display: block;
  text-align: center;
  padding: 16px 24px;
  margin: 12px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: white;
  text-decoration: none;
  transition: 0.2s ease;
  border: 1.7px solid transparent;
  position: relative;
  will-change: transform;
}

.insta:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: white;
  transform: scale(1.05);
}

.insta .iconInsta {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.67rem;
}
.email {
  display: block;
  text-align: center;
  padding: 16px 24px;
  margin: 12px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: white;
  text-decoration: none;
  transition: 0.2s ease;
  border: 1.7px solid transparent;
  position: relative;
  will-change: transform;
}

.email:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: white;
  transform: scale(1.05);
}

.email .IconEmail {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.67rem;
}

.github {
  display: block;
  text-align: center;
  padding: 16px 24px;
  margin: 12px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: white;
  text-decoration: none;
  transition: 0.2s ease;
  border: 1.7px solid transparent;
  position: relative;
  will-change: transform;
}

.github:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: white;
  transform: scale(1.05);
}

.github .IconGit {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.67rem;
}

footer {
  margin: 40px 0;
  text-align: center;
  word-spacing: 2.5px;
}

.victor {
  display: inline-block;
  transition: 0.3s ease;
}

.victor:hover {
  text-shadow: 0 0 5px white;
  transform: scale(1.03);
  will-change: transform;
}

@media (min-width: 700px) {
  body {
    background-image: url(assets/bg-desktop.jpg);
  }

  .light body {
    background-image: url(assets/bg-desktop-light.jpg);
  }
}

@keyframes slide-in {
  from {
    left: 0;
  }
  to {
    left: 50%;
  }
}

@keyframes slide-out {
  from {
    left: 50%;
  }
  to {
    left: 0;
  }
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.fade-in {
  animation: fadeSlideIn 0.4s ease forwards;
}

.fade-out {
  animation: fadeSlideOut 0.4s ease forwards;
}

.email-texto {
  display: inline-block;
  transition: none; /* a gente vai usar keyframes agora */
}

.fade-in {
  animation: fadeSlideIn 0.3s ease forwards;
}

.fade-out {
  animation: fadeSlideOut 0.3s ease forwards;
}

.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: #00ffae;
  color: #000;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.toast.mostrar {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}

.ativo {
  transform: scale(0.97);
  filter: brightness(1.2);
}
