/* ===== Importação de fontes e reset global ===== */
@import url("https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&family=Pixelify+Sans:wght@400..700&display=swap");



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden; 
  overflow-y: auto;
}



/* ===== MENU PRINCIPAL ===== */
.container_menu {
  margin-top: -2.5rem;
  display: flex;
  justify-content: center;
}

.bloco_botoes {
  display: grid;
  grid-template-areas:
    "sobre contatos"
    "precos trabalhos";
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  justify-items: center;
  align-items: center;

  background-image: url("../assets/imagens/menu.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 55%;
  margin-top: 0;
  filter: drop-shadow(2px 2px 2px rgba(18, 20, 173, 0.4));
}

/* ===== Blocos internos ===== */
.b_sobre,
.b_contatos,
.b_precos,
.b_trabalhos {
  display: flex;
  flex-direction: column;
  position: relative;
}

.b_sobre {
  grid-area: sobre;
  align-items: flex-end;
  margin-top: 5rem;
  margin-right: 2rem;
}
.b_contatos {
  grid-area: contatos;
  align-items: flex-start;
  margin-top: 5rem;
  padding-top: 5rem;
  padding-left: 5rem;
  margin-left: 5rem;
}
.b_precos {
  grid-area: precos;
  align-items: flex-end;
  padding-bottom: 5rem;
}
.b_trabalhos {
  grid-area: trabalhos;
  align-items: flex-start;
  padding-bottom: 6rem;
  margin-bottom: 5rem;
  padding-left: 4rem;
  margin-left: 4rem;
}

/* Imagens dos blocos */
.b_sobre img,
.b_contatos img,
.b_precos img,
.b_trabalhos img {
  height: auto;
  display: block;
  filter: drop-shadow(1px 1px 3px rgb(172, 140, 207));
}
.b_sobre img {
  max-width: 50%;
}
.b_contatos img {
  max-width: 55%;
}
.b_precos img,
.b_trabalhos img {
  max-width: 65%;
}
/* ===== Botões gerais (Inversão Azul/Amarelo) ===== */
.btn_menu {
  border: 2px solid #4b2d8a; /* Borda roxa para definir o botão no fundo azul */
  background-color: #8ccfe2; /* Azul claro do Tamagotchi */
  color: #fff4a8;            /* Texto Amarelo vibrante */
   text-shadow: 
    -1px -1px 0 #2a3d66, 
     1px -1px 0 #2a3d66, 
    -1px  1px 0 #5088e6, 
     3px  3px 0 #2d5aa7;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-family: "Pixelify Sans", sans-serif;
  cursor: pointer;
  padding: 1.5rem 1rem;
  border-radius: 6px;
  /* Sombras internas ajustadas para o tom azul */
  box-shadow: inset 2px 2px 0 #b3e5f4, inset -2px -2px 0 #5088e6;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s;
  position: absolute;
  width: clamp(6rem, 20vw, 10rem);
  filter: drop-shadow(2px 2px 0px rgba(13, 22, 79, 0.4));
}

.btn_menu::before {
  content: "";
  position: absolute;
  top: 0.1rem;
  left: 0.1rem;
  height: 1rem;
  width: 97%;
  background-color: #5088e6; /* Azul um pouco mais escuro (faixa superior) */
  border-bottom: 2px solid #4b2d8a; /* Divisória roxa */
}

.btn_menu::after {
  content: "×";
  position: absolute;
  top: 0.2rem;
  right: 0.3rem;
  font-weight: bold;
  font-size: 0.8rem;
  color: #4b2d8a;            /* X em tom escuro para contraste */
  background-color: #fff4a8; /* Fundo do X em Amarelo */
  border: 2px solid #4b2d8a;
  border-radius: 3px;
  width: 0.8rem;
  height: 0.6rem;
  line-height: 0.5rem;
  text-align: center;
  user-select: none;
}

/* --- Estados de Interação --- */

.btn_menu:hover {
  background-color: #aae4f5; /* Azul mais brilhante no hover */
  border-color: #4b2d8a;
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #4b2d8a;
}

.btn_menu:hover::after {
  background-color: #ffffff; /* X brilha no hover */
  border-color: #4b2d8a;
}

.btn_menu:active {
  background-color: #5088e6; /* Escurece o azul ao clicar */
  border-color: #4b2d8a;
  transform: scale(0.96);
  box-shadow: inset 0 0 8px rgba(13, 22, 79, 0.3);
}

/* Posicionamento individual dos botões */
.b_sobre .btn_menu {
  top: 30%;
  right: 10%;
}
.b_contatos .btn_menu {
  top: 70%;
  left: 20%;
}
.b_precos .btn_menu {
  top: 20%;
  right: 10%;
}
.b_trabalhos .btn_menu {
  top: 30%;
  left: 20%;
}

.secoes{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

/* --- CONTAINER PRINCIPAL --- */
.window-xp.container{
  background: #60B7FF; /* Azul Base */
  border: 3px solid #5088e6;
  padding: 0;
  max-width: 850px;
  margin: 2rem auto;
  box-shadow: 6px 6px 0px rgba(13, 22, 79, 0.3);
}

/* --- TOPO PERSONALIZADO --- */
.window-xp .top {
  background: linear-gradient(to bottom, #0058e9 0%, #3e88f6 45%, #0058e9 100%);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #5088e6;
}

.titulo_bytesized {
  font-family: "Bytesized", sans-serif;
  font-size: 2rem;
  color: #fff4a8; /* Texto Amarelo */
  text-shadow: 2px 2px 0px #2a3d66;
  margin: 0;
  background: #5088e6;
  padding: 5px 40px;
  border-radius: 20px 20px 5px 5px;
  border: 2px solid #88E1FF;
}
.line1{
  position: relative;
  border-radius: 1rem 1rem 0 0;
  padding: 0.8rem 1rem 0.5rem 1rem;
  margin-bottom: -1rem;
  z-index: 1;
}


.icon_dot {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: start;
  justify-content: start;
  height: 1.5rem;
}

.icon_dot .dot {
  width: 4px;
  height: 4px;
  background-color: #fff3b3; /* PONTOS EM AMARELO */
  filter: drop-shadow(0 0 1px #e6c200);
  border-radius: 0;
}
/* --- BARRA DE FERRAMENTAS --- */
.toolbar_custom {
  background: #7BA2FF; /* Azul intermediário */
  padding: 3px 15px;
  border-bottom: 1px solid #5088e6;
  font-family: "Tahoma", sans-serif;
  font-size: 11px;
  color: #fff;
}

.toolbar_custom span { margin-right: 12px; }

/* --- CABEÇALHO --- */
.email-header-xp {
  background: #ffffff;
  padding: 15px;
  border-bottom: 2px solid #5088e6;
}

.header-row {
  display: flex;
  font-family: "Tahoma", sans-serif;
  font-size: 13px;
  margin-bottom: 3px;
}

.header-row .label { width: 70px; color: #5088e6; font-weight: bold; }

/* --- CORPO DO E-MAIL (AZUL CLARO + TEXTO) --- */
.email-body-area {
  background: linear-gradient(180deg, #eefbff 20%, #d1f3ff 80%);
  margin: 12px;
  padding: 30px;
  border: 2px solid #5088e6;
  min-height: 300px;
}

.sobre-texto {
  font-family: "Pixelify Sans", sans-serif; /* Sua fonte de pixel */
  color: #2a3d66; /* Azul Escuro para leitura */
  display: block !important; /* Garante que o texto apareça */
}

.sobre-texto h2 {
  font-size: 2.5rem;
  color: #5088e6;
  margin-bottom: 15px;
}

.sobre-texto p {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.sobre-texto strong {
  color: #ca2596; /* Rosa para destaque */
  background: #fff4a8; /* Fundo amarelo estilo marca-texto */
  padding: 0 4px;
}

/* --- BOTÕES XP --- */
.title-bar-controls button {
  width: 22px;
  height: 22px;
  border: 1px solid white;
  background: #ff9aa2; /* Coral */
  margin-left: 2px;
  cursor: pointer;
  position: relative;
}

.btn_xp_close::after { content: "×"; color: white; font-weight: bold; position: absolute; top: 0; left: 5px; }

/* --- RODAPÉ --- */
.line4 {
  background: #5088e6;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.status-text {
  font-family: "Pixelify Sans";
  color: #fff4a8;
  font-size: 0.9rem;
}

.icon_star {
  width: 30px;
  filter: drop-shadow(0 0 5px #ffee00);
}

/* ===== Seção contatos ===== */
/* --- JANELA MSN --- */
.window-msn {
  max-width: 400px; /* Janelas de MSN eram mais estreitas */
  margin: 2rem auto;
  background: linear-gradient(180deg, #67d9ff 0%, #eefbff 100%);
  border: 3px solid #5088e6;
  border-radius: 10px 10px 2px 2px;
  box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

/* --- CABEÇALHO DO PERFIL --- */
.msn-my-profile {
  display: flex;
  padding: 15px;
  background: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid #5088e6;
  align-items: center;
  gap: 15px;
}

.avatar-frame {
  width: 60px;
  height: 60px;
  border: 2px solid #5088e6;
  background: #fff;
  padding: 2px;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.avatar-frame img { width: 100%; height: 100%; }

.my-status { display: flex; flex-direction: column; }
.my-name { font-family: "Pixelify Sans"; font-weight: bold; color: #2a3d66; font-size: 1.1rem; }
.my-subtext { font-family: "Tahoma"; font-size: 0.75rem; color: #5088e6; font-style: italic; }

/* --- CORPO DA LISTA --- */
.msn-body {
  background: #ffffff;
  margin: 5px 10px 10px 10px;
  border: 1px solid #5088e6;
  height: 350px;
  overflow-y: auto;
  padding: 10px;
}

.group-title {
  display: block;
  font-family: "Tahoma";
  font-weight: bold;
  font-size: 0.8rem;
  color: #2a3d66;
  border-bottom: 1px solid #eefbff;
  margin-bottom: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  text-decoration: none;
  transition: background 0.1s;
}

.contact-item:hover {
  background-color: #fff4a8; /* Amarelo no hover */
  outline: 1px solid #5088e6;
}

.status-icon { width: 12px; height: 12px; }
.social-icon { width: 30; height: 30px; }

.contact-info { display: flex; flex-direction: column; }
.contact-name { font-family: "Pixelify Sans"; font-size: 0.95rem; color: #2a3d66; font-weight: bold; }
.contact-msg { font-family: "Tahoma"; font-size: 0.7rem; color: #7BA2FF; }

/* --- RODAPÉ --- */
.msn-search-bar {
  background: #fff;
  border: 1px solid #5088e6;
  flex-grow: 1;
  font-size: 0.7rem;
  padding: 2px 8px;
  color: #aca899;
}

.msn-ad-icon { width: 20px; margin-left: 10px; }

/* --- SEU TÍTULO BYTESIZED --- */
.titulo_bytesized {
  font-family: "Bytesized", sans-serif;
  font-size: 1.2rem;
  color: #fff4a8;
  margin: 0;
  text-shadow: 1px 1px 0px #0d164f;
}

/* ===== RESPONSIVIDADE ===== */

/* 1450px */
@media (max-width: 1400px) {

  .secoes{
  flex-direction: column;}
  
  .conteudo {
    margin: 0;
    padding: 0;
  }


  .window-xp.container{
    margin: 1rem;
  }

.window-msn {
  width: 100vh;
  margin: 2rem auto;
}


}

/* 1150px */
@media (max-width: 1250px) {
  .secao_sobre {
    margin-left: 4rem;
  }
}


/* 850px *
/* 600px */
@media (max-width: 650px) {


  .bloco_botoes {
    display: grid;
    grid-template-areas:
      "sobre"
      "contatos"
      "precos"
      "trabalhos";
    grid-template-columns: 1fr;
    gap: 0;
    height: 50rem;
    justify-items: center;
    align-items: center;
    background-image: url("../assets/imagens/menu_mobile.png");
    background-size: 50rem;
    background-repeat: no-repeat;
    background-position: 50% top;
    margin-top: 5rem;
  }

  .btn_menu {
    width: 8rem;
  }

  .b_sobre img {
    max-width: 60%;
    transform: rotate(15deg);
  }
  .b_sobre .btn_menu {
    display: none;
  }

  .b_contatos {
    top: 20%;
    transform: translate(-50%, -70%);
  }
  .b_contatos img {
    max-width: 70%;
  }
  .b_contatos .btn_menu {
    top: 40%;
    left: 70%;
  }

  .b_precos img {
    max-width: 70%;
    transform: scaleX(-1) translate(-50%, -100%);
  }

  .b_trabalhos {
    transform: translate(-30%, -150%);
  }
  .b_trabalhos img {
    max-width: 70%;
    transform: scaleX(-1);
  }

  .b_precos .btn_menu {
    top: -70%;
    right: 20%;
  }
  .b_trabalhos .btn_menu {
    top: 10%;
    left: 50%;
  }

  .secao_sobre {
    margin: 0;
  }

  .window-msn {
  width: 50vh;
  margin: 2rem auto;
}
}

/* 600px */
@media (max-width: 450px) {

  .bloco_botoes {
    display: grid;
    grid-template-areas:
      "sobre"
      "contatos"
      "precos"
      "trabalhos";
    grid-template-columns: 1fr;
    gap: 0;
    height: 50rem;
    justify-items: center;
    align-items: center;
    background-image: url("../assets/imagens/menu_mobile.png");
    background-size: 50rem;
    background-repeat: no-repeat;
    background-position: 50% top;
    margin-top: 5rem;
  }

  .btn_menu {
    width: 8rem;
  }

  .b_sobre img {
    max-width: 60%;
    transform: rotate(15deg);
  }
  .b_sobre .btn_menu {
    display: none;
  }

  .b_contatos {
    top: 20%;
    transform: translate(-50%, -50%);
  }
  .b_contatos img {
    max-width: 100%;
  }
  .b_contatos .btn_menu {
    top: 40%;
    left: 70%;
  }

  .b_precos img {
    max-width: 100%;
    transform: scaleX(-1) translate(-50%, -50%);
  }

  .b_trabalhos {
    transform: translate(-30%, -130%);
  }
  .b_trabalhos img {
    max-width: 100%;
    transform: scaleX(-1);
  }

  .b_precos .btn_menu {
    top: -40%;
    right: 20%;
  }
  .b_trabalhos .btn_menu {
    top: 10%;
    left: 50%;
  }

}
