/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(to right, #6a0dad, #ffd60a);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  z-index: 1000;
}

.logo-menu img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

/* Menu */
.menu {
  display: flex;
  list-style: none;
  gap: 24px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}

.menu a:hover {
  color: #0d1b2a;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -10px;
  background: #0d1b2a;
  padding: 12px 0;
  border-radius: 10px;
  min-width: 220px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Social */
.social-top {
  display: flex;
  gap: 16px;
}

.social-top a {
  color: white;
  font-size: 21px;
}

/* =========================
   HERO
========================= */
.hero {
  background: #2c0e4e;
  color: white;
  text-align: center;
  padding: 140px 20px 100px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.hero p {
  max-width: 800px;
  margin: auto;
  font-size: 1.1rem;
}

/* =========================
   GRID DE PROJETOS
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  justify-content: center;
  gap: 40px;
  max-width: 1300px;
  margin: 40px auto;
  padding: 20px 0;
}

.card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.4s;
}

.card:hover {
  transform: translateY(-12px);
}

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

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 20px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: white;
  text-align: center;
}

.overlay h3 {
  margin: 0 0 8px 0;
  font-size: 1.4rem;
}

.overlay p {
  margin: 0;
  font-size: 14.5px;
}

/* =========================
   CTA
========================= */
.cta {
  background: linear-gradient(135deg, #0d1b2a, #4a0b7a);
  color: white;
  text-align: center;
  padding: 90px 20px;
}

.cta h2 {
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  background: var(--amarelo);
  color: #f1f508;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  margin: 8px;
}

.btn:hover {
  background: black;
  transform: translateY(-5px);
}

/* =========================
   WHATSAPP BUTTON
========================= */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none;
}

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

/* Footer */
footer {
  background: #12014e;
  color: white;
  text-align: center;
  padding: 40px 20px 30px;
}

/* =========================
   PÁGINA INTERNA DO PROJETO
========================= */

.container{
  max-width: 900px;
  margin: 120px auto 40px; /* espaço por causa do header fixo */
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* IMAGEM PRINCIPAL */
.img-projeto{
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin: 20px 0;
}

/* TEXTO */
.container p{
  line-height: 1.6;
  color: #444;
}

/* VIDEO */
.video{
  margin-top: 20px;
}

.video-thumb{
  width: 100%;
  height: 200px;
  background: #000;
  color: white;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  cursor:pointer;
}

/* GALERIA */
.galeria{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(120px,1fr));
  gap:10px;
  margin-top:20px;
}

.galeria img,
.galeria video{
  width:100%;
  height:120px;
  object-fit:cover;
  border-radius:8px;
  cursor:pointer;
  transition:0.3s;
}

.galeria img:hover,
.galeria video:hover{
  transform:scale(1.05);
}

/* BOTÕES */
.botoes{
  margin-top:25px;
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
}

.btn.matricula{
  background:#ff6b00;
  color:white;
}

.btn.whats{
  background:#25d366;
  color:white;
}

.btn.voltar{
  background:#ccc;
  color:#000;
}

/* MODAL */
.modal{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.modal img,
.modal iframe,
.modal video{
  max-width:90%;
  max-height:90%;
  border-radius:10px;
}