* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: 'Poppins', sans-serif;
}

body {
   background-color: #0d0d0d;
   color: #fff;
   overflow-x: hidden;
}

/* Header principal */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: top 0.4s ease;
    z-index: 100;
    padding: 0px 0;
    text-align: center;
    margin: -40px;
}

header h1 {
    font-size: 2.2rem;
    color: #00ffb7;
    letter-spacing: 1px;
    animation: floatText 3s ease-in-out infinite;
    padding-top: 50px;
}

header p {
    font-size: 1.1rem;
    color: #aaa;
}

@keyframes floatText {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
                                             /* HEADER LINKS */
/* 🌟 Header Links e Destaques */
.header-links {
    position: absolute;        /* permite posicionar no topo */
    top: 20px;                 /* sobe pro topo do header */
    right: 0px;               /* afasta um pouco da direita */
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

/* 🔹 Links de navegação */
.header-links a.portfolio-link,
.header-links a.contact-link {
    position: relative;  
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s, transform 0.3s;
    left: 200px;
    padding-bottom: 60px;
    white-space: nowrap;
}

.header-links a:hover {
    color: #cccccc;
    transform: scale(1.05);
}

/* 🔧 Correção das âncoras do header */
.header-links {
    z-index: 101; /* acima do fundo, mas não bloqueia a página */
}

.header-links a {
    position: relative;
    z-index: 102; /* garante que seja clicável */
    display: inline-block; /* amplia a área clicável */
    padding: 5px 10px; /* área de clique maior, sem alterar layout */
    cursor: pointer; /* mostra a maozinha ao passar o mouse */
}

/* Evita que o header cubra as seções ao rolar */
section[id] {
    scroll-margin-top: 120px; /* altura aproximada do seu header */
}

/* 🔹 Letreiro */
.header-links .sales-highlight {
    font-weight: bold;
    font-size: 1.2rem;
    color: #ffffff;
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    text-align: right;
    padding-top: 90px;
}

.header-links .sales-highlight span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

                                        /* CONTAINER */

.container {
   margin-top: 130px;
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 40px;
   padding: 40px 10%;
   flex-wrap: wrap;
}

                                /* IMAGEM MINHA COM INFORMAÇÕES */

.image-box {
   flex: 1;
   min-width: 250px;
}

.image-box img {
   width: 100%;
   border-radius: 10px;
   box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.description {
   flex: 2;
   animation: fadeIn 2s ease;
}

@keyframes fadeIn {
   from { opacity: 0; transform: translateY(20px); }
   to { opacity: 1; transform: translateY(0); }
}

.description h2 {
   color: #00ffb7;
   margin-bottom: 15px;
}

.description p {
   line-height: 1.8;
   color: #ccc;
}
                                    /* TABELA COM VALORES */
table {
   width: 90%;
   margin: 60px auto;
   border-collapse: collapse;
   background-color: #1a1a1a;
   border-radius: 10px;
   overflow: hidden;
   animation: fadeIn 2s ease;
}

th, td {
   border: 1px solid #333;
   padding: 15px;
   text-align: center;
}

th {
   background-color: #00ffb7;
   color: #000;
   font-weight: bold;
}

tr:nth-child(even) {
   background-color: #141414;
}

                                   /* BOTÃO DO WHATSAP */

.whatsapp-btn {
   display: block;
   width: 250px;
   margin: 40px auto;
   padding: 15px 20px;
   background-color: #25D366;
   color: #fff;
   border: none;
   border-radius: 50px;
   font-size: 1.2rem;
   font-weight: bold;
   text-align: center;
   text-decoration: none;
   transition: transform 0.3s ease, background 0.3s ease;
}

.whatsapp-btn:hover {
   transform: scale(1.05);
   background-color: #20b85c;
}

                                   /* 🎬 SEÇÃO DO PORTFÓLIO */

.portfolio-section {
   text-align: center;
   background-color: #111;
   padding: 60px 20px;
   margin-top: 40px;
   border-top: 2px solid #00ffb7;
   animation: fadeIn 1.5s ease;
}

.portfolio-section h2 {
   color: #00ffb7;
   font-size: 2rem;
   margin-bottom: 15px;
}

.portfolio-section p {
   color: #ccc;
   font-size: 1.1rem;
   margin-bottom: 25px;
}

.portfolio-btn {
   display: inline-block;
   padding: 15px 30px;
   background-color: #00ffb7;
   color: #000;
   font-weight: bold;
   text-decoration: none;
   border-radius: 50px;
   font-size: 1.1rem;
   transition: transform 0.3s ease, background-color 0.3s ease;
}

.portfolio-btn:hover {
   background-color: #00cc94;
   transform: scale(1.05);
}

                                  /* RODAPÉ INFORMAÇÃO */
footer {
   text-align: center;
   color: #777;
   font-size: 0.9rem;
   margin: 40px 0 20px;
}

/* =========================================
   RESPONSIVIDADE
========================================= */

                                                          /* 📱 Header Principal – Responsivo */
/* 📱 RESPONSIVIDADE DO HEADER */

/* --- Celular (até 768px) --- */
/* --- Celular (até 768px) --- */
@media (max-width: 768px) {

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(20, 20, 20, 0.9);
        backdrop-filter: blur(8px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        transition: top 0.4s ease, opacity 0.4s ease; /* anima suavemente o sumir */
        z-index: 100;
        padding: 5px 0;
        height: auto;
        margin: 0;
        right: 10px;
        overflow: hidden; /* 🔹 garante que o conteúdo saia junto ao subir */
       padding-right: 30px;
    }

    header.hide {
        top: -150px; /* 🔹 sobe tudo */
        opacity: 0; /* 🔹 some visualmente */
        pointer-events: none; /* evita clique quando oculto */
    }

    header h1,
    header p,
    .header-links {
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    header.hide h1,
    header.hide p,
    header.hide .header-links {
        opacity: 0;
        transform: translateY(-40px); /* 🔹 sobe o conteúdo junto */
    }

    header h1 {
        font-size: 1.4rem;
        padding-top: 20px;
        color: #00ffb7;
        letter-spacing: 1px;
        animation: floatText 3s ease-in-out infinite;
    }

    header p {
        font-size: 0.9rem;
        padding-top: 5px;
        color: #fff;
    }

    .header-links {
        position: relative;
        justify-content: center;
        align-items: center;
        gap: 0px;
        top: 10;
        right: 125px;
        z-index: 101;
        right: 139px;
    }

    .header-links portfolio-link a {
        position: relative;
        font-size: 0.85rem;
        padding: 0;
        gap: 10px;
        bottom: 10px;
        cursor: pointer;
    }

    .header-links .sales-highlight {
        position: relative;
        font-size: 0.9rem;
        padding-top: 20px;
        text-align: center;
        bottom: 05px;
        color: #ffffff;
        left: 15px;
    }
}

/* 🔧 mesmo efeito de ocultar/mostrar o header no scroll (para celular e tablet) */
@keyframes floatText {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ===== SECTION (CONTAINER) RESPONSIVO ===== */
@media (max-width: 768px) {
   .container {
      position: relative;
      flex-direction: column;
      text-align: center;
      padding: 30px;
      margin: 0 auto;       /* 🔹 centraliza horizontalmente */
      align-items: center;  /* 🔹 garante alinhamento no centro */
      justify-content: center; /* 🔹 deixa tudo centralizado verticalmente */
      padding-right: 60px;
      top: 170px;
   }

   .image-box {
      max-width: 300px;
      margin: 0 auto; /* 🔹 garante que a imagem fique centralizada */
   }

   .container p {
      color: #fff;
   }

   .description {
      margin-top: 25px;
   }
}


/* ===== TABELA RESPONSIVA ===== */
@media (max-width: 768px) {
   table, thead, tbody, th, td, tr {
      display: block;
      width: 100%;
      top: 30px;
   }

   tr {
      margin-bottom: 50px;
   }

   td {
      text-align: left;
      padding: 10px;
      position: relative;
   }

   th {
      display: none;
   }

   td::before {
      content: attr(data-label);
      font-weight: bold;
      display: block;
      color: #00ffb7;
      margin-bottom: 5px;
   }
}

/* ===== BOTÃO WHATSAPP RESPONSIVO ===== */
@media (max-width: 768px) {
   .whatsapp-btn {
      width: 200px;
      font-size: 1rem;
      padding: 12px 15px;
   }
   #contato {
      padding-right: 25px;
   }
}

/* 📱 RESPONSIVIDADE - PORTFÓLIO */
@media (max-width: 768px) {
   .portfolio-section {
      position: relative;
      padding: 50px 15px;
      right: 20px;
   }

   .portfolio-section h2 {
      font-size: 1.8rem;
   }

   .portfolio-btn {
      font-size: 1rem;
      padding: 12px 25px;
   }
}

@media (max-width: 480px) {
   /* Celular */
   .portfolio-section {
      padding: 40px 10px;
   }

   .portfolio-section h2 {
      font-size: 1.5rem;
   }

   .portfolio-section p {
      font-size: 1rem;
   }

   .portfolio-btn {
      font-size: 0.95rem;
      padding: 10px 22px;
   }
}



/* ===== FOOTER RESPONSIVO ===== */
@media (max-width: 768px) {
   footer {
      position: relative;
      font-size: 0.8rem;
      padding: 10px;
      right: 15px;
   }
}



