/*!
Theme Name: rafaelbruns-v2
Theme URI: https://webrain.com.br
Author: Webrain
Author URI: https://webrain.com.br
Description: Template Rafael Bruns (v2 - paleta azul)
Version: 2.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rafaelbruns
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
/* Header top: evita colisão em telas intermediárias */
@media (max-width: 1200px){
  .site-header .header-wrapper .row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
  }

  /* Logo ocupa a linha toda */
  .site-header .header-wrapper .logo{
    flex:0 0 100%;
    max-width:100%;
    margin-bottom:10px;
  }

  /* Os 3 blocos restantes ficam na segunda linha */
  .site-header .header-wrapper .phone.unidade,
  .site-header .header-wrapper .cta-consulta{
    flex:0 0 33.333%;
    max-width:33.333%;
  }
}

/* Em telas menores, CTA vai para baixo */
@media (max-width: 900px){
  .site-header .header-wrapper .phone.unidade{
    flex:0 0 50%;
    max-width:50%;
  }
  .site-header .header-wrapper .cta-consulta{
    flex:0 0 100%;
    max-width:100%;
    margin-top:10px;
  }
}


/* Pin do atendimento (garante renderização do pseudo-elemento) */
.header-content .dropdown-toggle::before{
  content: "" !important;
  display: inline-block !important;

  width: 20px !important;
  height: 24px !important;
  margin-right: 16px !important;

  background-image: none !important;

  -webkit-mask-image: url("https://www.rafaelbruns.com.br/wp-content/uploads/2025/11/icon-map.svg") !important;
          mask-image: url("https://www.rafaelbruns.com.br/wp-content/uploads/2025/11/icon-map.svg") !important;

  -webkit-mask-repeat: no-repeat !important;
          mask-repeat: no-repeat !important;

  -webkit-mask-position: center !important;
          mask-position: center !important;

  -webkit-mask-size: contain !important;
          mask-size: contain !important;

  background-color: #032561 !important; /* cor do ícone */
}

