/*
 Theme Name: DAV Theme
 Theme URI: https://example.com/dav-theme
 Author: Você
 Author URI: https://example.com
 Description: Tema independente baseado nos templates enviados (login, registro, dashboard) e no CPT "diretiva".
 Version: 1.0.0
 Requires at least: 6.2
 Tested up to: 6.6
 Requires PHP: 7.4
 Text Domain: dav
 License: GPL-2.0-or-later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Helpers over Bootstrap */
.dav-container { max-width: 1080px; }
.badge.pendente_admin, .badge.pendente_medico { background: #ffc107; }
.badge.aprovado { background: #28a745; }
.badge.rejeitado { background: #dc3545; }
.badge.pendente_admin, .badge.pendente_medico, .badge.aprovado, .badge.rejeitado { color:#fff; }

.dav-register-feedback .button {
  border-radius: 8px;
  padding: 8px 14px;
}
/* coloque no seu style.css */
.navbar.fixed-top { transition: transform .15s ease-out; }
body.admin-bar .navbar.fixed-top { top: 32px; }          /* desktops */
@media (max-width: 782px) {
  body.admin-bar .navbar.fixed-top { top: 46px; }        /* mobile */
}

/* Garante que collapse feche mesmo se algum CSS externo atrapalhar */
.navbar .collapse:not(.show) { display: none !important; }
.navbar .collapsing { height: 0; overflow: hidden; transition: height .35s ease; }

header a.nav-link:hover {
  color: #725EED;
}
.bg-novo {
  background-color: #1f0d76 !important;
}
.camp {
  width: 100%;
  border: 1px solid #FFFFFF;
  padding: 7px;
  color: #000000;
  font-size: 12px;
  margin-bottom: 5px;
  border-radius: 8px;
}
.camp2 {
  border: 1px solid #725EED;
  padding: 4px 15px;
  width: 100%;
  color: #FFFFFF;
  background: #725EED;
  transition: all 0.2s ease-in-out;
  border-radius: 8px;
}
.camp2:hover {
  background: #5e50a1;
}
.wpcf7-form p {
  margin-bottom: 0;
}
.texto-final {
  font-size: 12px;
}
.foot {
  padding: 50px 0 10px 0;
  width: 100%;
  height: auto;
  float: left;
  position: relative;
}

.banner-videofull {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  color: white;
  font-family: 'Nunito Sans', sans-serif;
  overflow: hidden;
  &::before {
    content: '';
    position: absolute;
    top:0;
    bottom: 0;
    right:0;
    left:0;
    background: rgba(0,0,0,.5);
    z-index:1;
  }
}

h2.tit-full {
 font-size: 3.7em;
 margin: 0 0 0.3em;
}


button.but-full {
  padding: 15px 36px;
  border: 2px solid white;
  background: transparent;
  border-radius: 25px;
  font-size: 1.05em;
  color: inherit;
  cursor: pointer;
  transition: background .3s ease-in-out;
}

button.but-full:hover {
  background: rgba(255,255,255,0.3);
}

.banner-videofull {
  position: relative;
  width: 100%;
  height: 100vh; /* no desktop ocupa 100% da altura da tela */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff; /* garante contraste sobre o vídeo */
  z-index: 1;
}

.banner-videofull .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* fica atrás do conteúdo */
}

.banner-videofull h2,
.banner-videofull p,
.banner-videofull .but-full {
  position: relative;
  z-index: 2; /* garante que o texto fique acima do vídeo */
}

/* Ajuste específico para telas menores (ex: até 768px) */
@media (max-width: 768px) {
  .banner-videofull {
    height: 70vh; /* reduz a altura da seção inteira */
  }

  .banner-videofull .video-background {
    height: 70vh; /* vídeo acompanha a altura da seção */
  }
}
.quem-somos {
  width: 100%;
  height: auto;
  float: left;
  position: relative;
  padding: 35px 0;
}
.arredonda {
  border-radius: 8px;
}
.acesso {
  font-size: 13px;
  color: #000000;
}
.acesso span {
  font-size: 35px;
  font-weight: bold;
  color: #2D236D;
}
.blocos-meio {
  background: #725EED;
  width: 100%;
  height: auto;
  float: left;
  position: relative;
  padding: 70px 0;
}
.foto img {
  border-radius: 8px;
}
.bloco-txt {
  padding: 10px;
  background: #FFFFFF;
}
.bloco-txt h3 {
  font-size: 22px;
}
.bloco-txt p {
  font-size: 14px;
}
.conteudo-interno {
  width: 100%;
  height: auto;
  float: left;
  position: relative;
  padding: 50px 0;
}
.bloco-amarelo {
  background: #FFFAB2;
  padding: 15px 25px;
  border-radius: 5px;
  min-height: 400px;
}
.bloco-amarelo h3 {
  font-size: 22px;
}
.bloco-amarelo p {
  font-size: 14px;
}
.img-faca img {
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}
.txt-faca h3 {
  font-size: 22px;
}
.txt-faca p {
  font-size: 14px;
}
.btn-cta a {
  border: 2px solid #7088d1;
  padding: 8px 45px;
  font-size: 16px;
  border-radius: 25px;
  text-decoration: none;
  color: #7088d1;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}
.btn-cta a:hover {
  background: #7088d1;
  color: #FFFFFF;
}
@media (max-width: 768px) {
  .blocos-meio {
    padding: 30px 0;
  }
  .bloco-amarelo {
     min-height: auto;
  }
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #725eed !important;
    --bs-btn-border-color: #725eed !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #725eed !important;
    --bs-btn-hover-border-color: #725eed !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #725eed !important;
    --bs-btn-active-border-color: #725eed !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #725eed !important;
    --bs-btn-disabled-border-color: #725eed !important;
}
.btn-link {
    --bs-btn-font-weight: 400;
    --bs-btn-color: #725eed !important;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #725eed !important;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: #725eed !important;
    --bs-btn-active-border-color: transparent;
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-border-color: transparent;
    --bs-btn-box-shadow: 0 0 0 #000;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    text-decoration: underline;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #FFFFFF !important;
    background-color: #725eed !important;
}
.nav-link {
  color: #725eed !important;
}
.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: #1f0d76 !important;
    border-color: #1f0d76 !important;
}
header a.nav-link:hover {
    color: #1f0d76 !important;
}