/* Estilos gerais */
body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #222222 !important;
}

.accordion-button:not(.collapsed) {
    color: #222222 !important;
}

.bg-dark {
  background-color: #222222 !important;
}

.btn-light {
  background-color: #fff;
  border-radius: 8px !important;
  font-weight: 600;
}

.btn-light:hover {
  background-color: #fff;
}

.btn-dark {
  background-color: #000;
  border-radius: 8px !important;
  font-weight: 600;
}

.btn-dark:hover {
  background-color: #000;
}

/* Como funciona */
section.como-funciona .rounded {
  border-radius: 12px !important;
  background-color: #eee;
  padding: 15px 15px 0 20px;
}

section.como-funciona .rounded h5,
section.como-funciona .rounded p {
  color: #222;
  font-size: 16px;
}

/* Por que escolher o UGUINCHOBR? */
section.porque-escolher .card {
  border-radius: 12px;
  border-color: #ccc;
}

section.porque-escolher .card .card-body {
  color: #222222;
}

/* Suporte */
section.suporte {
  background-color: #eee;
}

section.suporte .card {
  border-radius: 12px;
}

/* Qrcodes */
section.qrcodes h3 {
  font-size: 42px;
  font-weight: 700;
  line-height: 72px;
}

section.qrcodes p {
  font-size: 24px;
  color: #222222;
}

section.qrcodes small {
  font-size: 18px;
  color: #222222;
}

section.qrcodes .border .rounded {
  border-radius: 12px !important;
}

footer .copy-and-links p,
footer .copy-and-links a {
  color: #cccccc !important;
}

/* Navbar */
.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

#mainNavbar .navbar-nav .nav-item .nav-link {
  color: white;
  font-weight: 600;
}

/* Hero Section */
section.bg-light h1 {
  font-size: 2.2rem;
  line-height: 1.3;
}

section.bg-light img {
  max-height: 450px;
}

/* Cards de "Como funciona" */
section .border {
  transition: transform 0.3s ease;
}
section .border:hover {
  transform: translateY(-5px);
}

/* Seção experiência */
.bg-dark h2 {
  font-size: 1.8rem;
}

/* Botões */
.btn-dark {
  border-radius: 30px;
  padding: 10px 20px;
}

.btn-light {
  border-radius: 30px;
  padding: 10px 20px;
}

/* Contato */
form .form-control {
  border-radius: 8px;
}

form button {
  border-radius: 8px;
  font-weight: bold;
}

/* CSS customizado para o banner de história */
.hero-historia {
  /* Garante que o overlay seja posicionado em relação a esta section */
  position: relative;
}

.hero-overlay {
  /* Posiciona o overlay para cobrir a section inteira */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Cor preta com 40% de opacidade. Ajuste o 0.4 para mais escuro ou mais claro */
  background-color: rgba(0, 0, 0, 0.4);
}

/* Footer */
footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
