/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Poppins', sans-serif;
  background: #050505;
  color: #e5e7eb;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

/* HEADER */
.header {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at top, #0f172a, #000);
  overflow: hidden;
}

/* LOGO COMO FUNDO */
.header::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("img/logo.png") center center / 60% no-repeat;
  opacity: 0.06;
  z-index: 1;
}

/* EFEITO LUZ */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(37,99,235,0.25), transparent 70%);
  z-index: 1;
}

/* HEADER CONTENT */
.header-content {
  position: relative;
  z-index: 2;
}

/* TITULO */
.header h1 {
  font-size: 52px;
  font-weight: 600;
  background: linear-gradient(45deg, #2563eb, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* SUBTITULO */
.header p {
  margin-top: 15px;
  color: #94a3b8;
  font-size: 18px;
}

/* BOTÃO */
.btn-primary {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 30px;
  border-radius: 10px;
  background: linear-gradient(45deg, #2563eb, #dc2626);
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(220,38,38,0.6);
}

/* TITULOS */
h2 {
  font-size: 30px;
  margin-bottom: 20px;
  border-left: 4px solid #2563eb;
  padding-left: 12px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* CARD */
.card {
  background: rgba(255,255,255,0.03);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(220,38,38,0.2);
}

/* IMAGEM */
.card-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.card:hover img {
  transform: scale(1.05);
}

/* CONTEÚDO */
.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 10px;
}

.card-content p {
  color: #9ca3af;
  font-size: 14px;
}

/* BOTÕES */
.actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.actions a,
.actions button {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
}

/* BOTÃO LINK */
.actions a {
  background: linear-gradient(45deg, #2563eb, #dc2626);
  color: white;
  text-decoration: none;
}

/* BOTÃO VIDEO */
.actions button {
  background: #111827;
  color: #e5e7eb;
}

.actions button:hover {
  background: #dc2626;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal video {
  width: 80%;
  max-width: 900px;
  border-radius: 10px;
}

.modal span {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  cursor: pointer;
  color: white;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  color: #6b7280;
}

/* LINKEDIN SECTION */
.linkedin {
  background: linear-gradient(135deg, #020617, #000);
  text-align: center;
  padding: 80px 20px;
  position: relative;
}

/* CAIXA */
.linkedin-box {
  max-width: 700px;
  margin: auto;
}

/* TITULO */
.linkedin h2 {
  font-size: 32px;
  margin-bottom: 15px;
  border: none;
}

/* TEXTO */
.linkedin p {
  color: #94a3b8;
  margin-bottom: 30px;
}

/* BOTÃO LINKEDIN */
.btn-linkedin {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  color: white;

  background: linear-gradient(45deg, #2563eb, #0a66c2);

  transition: 0.3s;
}

.btn-linkedin:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(37,99,235,0.5);
}
.rotating-text {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 500;

  background: linear-gradient(45deg, #60a5fa, #f87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  min-height: 28px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #22c55e;
  color: white;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
}

/* RESPONSIVO */
@media (max-width: 768px) {

  .header::before {
    background: url("img/lo.jpeg") center / 90% no-repeat;
    opacity: 0.18;
  }

  .header h1 {
    font-size: 34px;
  }

  .header p {
    font-size: 14px;
  }

  .container {
    padding: 30px 15px;
  }
}