/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #e6f3ff;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* Estilização da Navegação */
header nav {
    width: 100%;
    max-width: 1200px; /* Opcional: limita a largura em telas grandes */
    margin: 0 auto;    /* Centraliza o conteúdo da navegação */
    display: flex;
    justify-content: space-between; /* Coloca o logo na esquerda e os links na direita */
    align-items: center; /* Alinha verticalmente o logo e os links */
}

/* Estilização do Logo */
#logo img {
    height: 55px; /* Defina uma altura fixa para o logo */
    width: auto;   /* A largura se ajustará automaticamente */
    display: block; /* Remove qualquer espaço extra abaixo da imagem */
    transition: transform 0.3s ease; /* Adiciona uma transição suave */
}

/* Efeito sutil ao passar o mouse sobre o logo */
#logo:hover img {
transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #004c80;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0077cc;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;   
}

.hero-text {
  flex: 1;
  padding-right: 40px;
  padding-top: 0px;
}

.hero-text h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 2.1rem;
    margin-bottom: 25px;
    color: #f0f8ff;
}


/* Estiliza o vídeo para cobrir todo o fundo */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Cria a camada de cor (overlay) por cima do vídeo */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 144, 255, 0.6); 
    z-index: 1;
}

/* Garante que o conteúdo fique visível */
.hero-text, .form-box {
    position: relative;
    z-index: 2;
}

/* Form */
.form-box {
  flex: 1;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
}

.form-box h2 {
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
  color: #004c80;
}

.form-box label {
  font-weight: bold;
  font-size: 14px;
  color: #004c80;
  display: block;
  margin-bottom: 6px;
}

.form-box input,
.form-box textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
}

.form-box textarea {
  resize: none;
  height: 100px;
}

.form-box button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #0077cc;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-box button:hover {
  background: #005fa3;
}

/* Seções */
section {
  padding: 80px 40px;
  text-align: center;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #004c80;
}

section p {
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
  color: #004c80;
  margin-bottom: 18px;
  font-size: 1.6rem;
  font-weight: 700;
}


.card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card.highlight {
  background: #cce6ff;
}

/* Serviços specifics */
#servicos .card {
  padding: 40px 30px;
  border-radius: 16px;
}

#servicos .icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #004c80;
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #004c80;
  text-align: center;
}

#servicos .card h3 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 15px;
}

#servicos .card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

/* FAQ */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cce6ff;
  background: #ffffff;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: #004c80;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #007a7a;
}

.faq-question span {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #f7fbff;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin: 15px 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 15px 20px;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* Video Section (Styles Remanescentes) */
.video-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 102, 153, 0.65);
  z-index: -1;
}

.video-content {
  max-width: 900px;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 12px;
}

.video-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.video-content .intro {
  font-size: 1.3rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.steps {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.steps p {
  margin-bottom: 15px;
}

.steps strong {
  color: #00e6a7;
}

.cta-button {
  background-color: #00b894;
  color: #fff;
  padding: 15px 45px;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #008060;
}

/* Rodapé */
footer {
  background-color: #1E90FF;
  padding: 20px;
  text-align: center;
  color: white;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  font-size: 40px;
  margin: 0 15px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a.instagram { color: #E1306C; }
.social-icons a.facebook { color: #1877F2; }
.social-icons a.youtube { color: #FF0000; }
.social-icons a.whatsapp { color: #25D366; }

.social-icons a:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

/* Botão WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1100;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
}

/* Estilo para o crédito do desenvolvedor no rodapé */
.developer-credit {
  font-size: 0.9rem; /* Tamanho de fonte um pouco menor */
  margin: 8px 0;   /* Espaçamento acima e abaixo */
  color: #e0e0e0;  /* Cor do texto um pouco mais sutil */
}

.developer-credit a {
  color: #ffffff;      /* Cor do link em branco */
  font-weight: bold;  /* Deixa o nome em negrito */
  text-decoration: none; /* Remove o sublinhado */
  transition: text-decoration 0.3s ease;
}

/* Adiciona o sublinhado quando o mouse passa por cima */
.developer-credit a:hover {
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;

  }

  .hero-text {
    padding-right: 0;
    margin-bottom: 30px;
  }

  nav ul {
    display: none;
  }
}