/* ==========================================
   WS SOLUÇÕES DIGITAIS
   Folha de Estilos Principal
   ========================================== */

/* Reset básico para remover margens e espaçamentos padrões */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Configurações globais da página */
body{
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: #f8fafc;
  line-height: 1.6;
}

/* Remove sublinhado dos links */
a{
  text-decoration: none;
  color: inherit;
}

/* Centralizador padrão */
.container{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================
   HEADER
   ========================================== */

.header{
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

/* Organização interna do cabeçalho */
.header .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Logo */
.logo img{
  height: 55px;
}

/* Menu */
nav ul{
  display: flex;
  list-style: none;
  gap: 30px;
}

/* Links do menu */
nav a{
  color: #e2e8f0;
  font-weight: 500;
  transition: .3s;
}

/* Efeito ao passar o mouse */
nav a:hover{
  color: #3b82f6;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;

/* Fundo com gradiente */
  background:
  linear-gradient(
    135deg,
    #0f172a 0%,
    #111827 50%,
    #1e3a8a 100%
  );
  padding: 120px 20px 60px;
}

/* Badge superior */
.badge{
  display: inline-block;
  background: rgba(59,130,246,.15);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,.30);
  padding: 10px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  font-size: .9rem;
}

/* Título principal */
.hero h1{
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

/* Palavra destacada */
.hero h1 span{
  color: #3b82f6;
}

/* Texto */
.hero p{
  max-width: 700px;
  margin: auto;
  color: #94a3b8;
  font-size: 1.1rem;
}

/* Container dos botões */
.hero-buttons{
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats{
    display:flex;
    justify-content:center;
    gap:40px;
    margin-top:50px;
    flex-wrap:wrap;
}

.hero-stats strong{
    display:block;
    color:#3b82f6;
    font-size:1.2rem;
}

.hero-stats span{
    color:#94a3b8;
}

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

/* Botão principal */
.btn-primary{
  background: #2563eb;
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 600;
  transition: .3s;
}

/* Hover botão principal */
.btn-primary:hover{
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* Botão secundário */
.btn-secondary{
  border: 1px solid #3b82f6;
  color: #3b82f6;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 600;
  transition: .3s;
}

/* Hover botão secundário */
.btn-secondary:hover{
  background: #3b82f6;
  color: white;
}

/* ==========================================
   SERVIÇOS
   ========================================== */

.services{
  padding: 100px 0;
  background: #111827;
}

/* Título da seção */
.services h2{
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* Grade de cards */
.cards{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 25px;
}

/* Card individual */
.card{
  background: #1e293b;
  padding: 30px;
  border-radius: 15px;
  transition: .3s;
  border: 1px solid rgba(255,255,255,.05);
}

/* Efeito hover */
.card:hover{
  transform: translateY(-8px);
  border-color: #2563eb;
}

/* Título do card */
.card h3{
  margin-bottom: 15px;
  color: #3b82f6;
}

/* Texto do card */
.card p{
  color: #94a3b8;
}

/* ==========================================
   PORTFÓLIO
   ========================================== */

.portfolio{
    padding: 100px 0;
    background: #111827;
}

.portfolio h2{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Grid dos projetos */

.portfolio-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Card do projeto */

.portfolio-card{
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,.05);

    transition: all .3s ease;
}

.portfolio-card:hover{
    transform: translateY(-8px);
    border-color: #2563eb;
    box-shadow: 0 10px 30px rgba(37,99,235,.15);
}

/* Imagem do projeto */

.portfolio-card img{
    width: 100%;
    height: 220px;
    object-fit: cover;

    transition: .4s;
}

.portfolio-card:hover img{
    transform: scale(1.05);
}

/* Conteúdo */

.portfolio-content{
    padding: 25px;
}

.portfolio-content h3{
    color: #f8fafc;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.portfolio-content p{
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Tecnologias */

.tech-stack{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 20px;
}

.tech-stack span{
    background: rgba(37,99,235,.15);
    color: #60a5fa;

    border: 1px solid rgba(37,99,235,.25);

    padding: 6px 12px;
    border-radius: 50px;

    font-size: .85rem;
    font-weight: 500;
}

/* Botões */

.portfolio-actions{
    display: flex;
    gap: 10px;
}

.portfolio-actions a{
    flex: 1;
    text-align: center;
}

/* Badge */

.project-badge{
    position: absolute;
    top: 15px;
    right: 15px;

    background: #2563eb;
    color: white;

    padding: 6px 12px;
    border-radius: 50px;

    font-size: .75rem;
    font-weight: 600;
}

/* Container da imagem */

.portfolio-image{
    position: relative;
    overflow: hidden;
}

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

.about{
  padding: 100px 0;
  text-align: center;
  background: #0f172a;
}

.about-content{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: center;
}

.section-tag{
  display: inline-block;
  color: #60a5fa;
  background: rgba(59,130,246,.15);
  border: 1px solid rgba(59,130,246,.30);
  padding: 8px 15px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.about h2{
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about p{
  color: #94a3b8;
  margin-bottom: 15px;
}

.about ul{
  list-style: none;
  margin-top: 20px;
}

.about ul li{
  margin-bottom: 10px;
}

.about-card{
  background: #1e293b;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.05);
}

.about-card h3{
  margin-bottom: 15px;
  color: #3b82f6;
}

.stats{
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.stats div{
  text-align: center;
}

.stats strong{
  display: block;
  font-size: 1.8rem;
  color: #3b82f6;
}

.stats span{
  color: #94a3b8;
}

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

.contact{
  padding: 100px 0;
  text-align: center;
  background: #111827;
}

.contact h2{
  font-size: 2.5rem;
  margin: 20px 0;
}

.contact-description{
  max-width: 700px;
  margin: auto;
  color: #94a3b8;
}

.contact-grid{
  margin: 50px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 25px;
}

.contact-card{
  background: #1e293b;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.05);
  transition: .3s;
}

.contact-card:hover{
  transform: translateY(-5px);
  border-color: #2563eb;
}

.contact-card h3{
  color: #3b82f6;
  margin-bottom: 10px;
}

.contact-card p{
  color: #94a3b8;
}

/* Formulário */

.contact-form{
    background: #1e293b;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.05);
}

.form-group{
    margin-bottom: 20px;
}

.form-group label{
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea{
    width: 100%;
    padding: 14px;

    background: #0f172a;
    color: #f8fafc;

    border: 1px solid #334155;
    border-radius: 10px;

    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    outline: none;
    border-color: #2563eb;
}

.form-button{
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* ==========================================
   ANIMÇÃO
   ========================================== */

.card,
.contact-card,
.portfolio-card,
.about-card{
  transition: all .3s ease;
}

.card:hover,
.contact-card:hover,
.portfolio-card:hover,
.about-card:hover{
  transform: translateY(-8px);
}

/* ==========================================
   FAQ
   ========================================== */

.faq{
    padding: 100px 0;
    background: #0f172a;
}

.faq h2{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.faq-item{
    background: #1e293b;

    padding: 25px 30px;
    margin-bottom: 20px;

    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.05);

    transition: .3s;
}

.faq-item:hover{
    border-color: #2563eb;
    transform: translateY(-3px);
}

.faq-item h3{
    color: #3b82f6;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.faq-item p{
    color: #94a3b8;
    line-height: 1.7;
}

/* ==========================================
   FAQ COLLAPSIBLE (OPCIONAL)
   ========================================== */

.faq-item summary{
    cursor: pointer;
    list-style: none;
    color: #3b82f6;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker{
    display: none;
}

.faq-item summary::after{
    content: '+';
    float: right;
    font-size: 1.3rem;
}

.faq-item[open] summary::after{
    content: '-';
}

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

footer{
  background: #020617;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* Texto do rodapé */
footer p{
  color: #94a3b8;
  margin: 5px 0;
}

/* ==========================================
   WhatsApp Flutuante
   ========================================== */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: white;

    border-radius: 50%;
    font-size: 28px;

    box-shadow: 0 4px 15px rgba(0,0,0,.3);

    z-index: 999;
    transition: .3s;
}

.whatsapp-float:hover{
    transform: scale(1.1);
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */

@media(max-width:768px){

/* Menu abaixo da logo */
.header .container{
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  height: auto;
  padding: 15px 0;
}

nav ul{
  gap: 15px;
}

.hero{
  padding-top: 180px;
}

.hero h1{
  font-size: 2.5rem;
}

.hero-buttons{
  flex-direction: column;
  align-items: center;
}

.btn-primary,
.btn-secondary{
  width: 100%;
  max-width: 300px;
}

.about-content{
  grid-template-columns: 1fr;
}

.stats{
  flex-direction: column;
  gap: 20px;
}

.portfolio{
  padding: 80px 0;
}

.portfolio h2{
  font-size: 2rem;
}

.portfolio-grid{
  grid-template-columns: 1fr;
}

.portfolio-card img{
  height: 200px;
}

.contact-wrapper{
  grid-template-columns: 1fr;
}

.contact-form{
  padding: 25px;
}

.faq h2{
  font-size: 2rem;
}

.faq-item{
  padding: 20px;
}

}