/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
}

/* Branding (logo + texto) */
.branding {
  display: flex;
  align-items: center;
  gap: 0.8rem; /* espaço entre logo e texto */
  
}


.branding img {
  width: 60px; /* tamanho fixo para não ficar pequeno demais */
  height: auto;
}

.logo-text h1 {
  font-size: 1.2rem;
  margin: 0;
}

.logo-text span {
  font-size: 0.9rem;
  font-weight: normal;
  color: #ccc; /* cor mais suave que o título */
  display: block;
  margin-top: 2px;
}


/* Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.container img{
  width: 10%;
}

/* Header */
header {
  background: #111;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

header nav a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

header nav a:hover {
  color: #ffcc00;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #fff;
}

/* Hero */
.hero {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
    url('/images/detetive-bg.png') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  background: #ffcc00;
  color: #111;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: #e6b800;
}

/* Seções */
.section {
  padding: 3rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem; /* espaço entre os cards na mesma linha */
  justify-content: center;
}

/* Card individual */
.card {
  background-color: #f7f7f7;
  border-radius: 8px;
  flex: 1 1 300px; /* largura responsiva mínima */
  max-width: 350px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 2rem; /* espaçamento entre linhas de cards */
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.3rem;
}

.card p {
  color: #555;
  font-size: 0.95rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.regioes-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.regiao-card {
  background-color: #f7f7f7;
  border-radius: 8px;
  padding: 1.5rem;
  flex: 1 1 250px; /* ocupa espaço responsivo */
  max-width: 300px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.regiao-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.regiao-card p {
  font-size: 0.95rem;
  color: #555;
}

.regiao-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bg-light {
  background: #f4f4f4;
}

.btn {
  display: inline-block;
  background:  #ffcc00;
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  margin: 0.3rem;
  transition: background 0.3s;
}

.btn:hover {
  background:  #ffb700;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.faq-item {
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

footer .social-links {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

footer .social-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

footer .social-links a:hover {
  color: #e6b800; /* muda a cor ao passar o mouse */
}


@media (max-width: 768px) {
    /* Header container centralizado */
    header .container {
        flex-direction: column;
        align-items: center; /* centraliza horizontalmente */
        text-align: center;
        gap: 1rem;
    }

    /* Branding centralizado */
    .branding {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }

    .branding img {
        width: 50px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.85rem;
    }

    /* Menu centralizado */
    header nav {
        width: 100%;
        justify-content: center; /* centraliza os links */
         display: flex;
    }

    header nav ul {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center; /* centraliza os itens do menu */
    }

    header nav ul li {
        width: auto;
    }

}