/*
Theme Name: Dinâmica Facilities
Theme URI: https://www.dinamicafacilities.com.br
Description: Tema filho do "Hello Elementor" desenvolvido para o site da Dinâmica Facilities.
Author: Atma Interativa
Author URI: https://www.atmainterativa.com.br
Template: hello-elementor
Version: 1.0.0
Text Domain: dinamica
*/

/* ==================================================
   ROOT VARIABLES
================================================== */
:root {
  --light-color: #ffffff;
  --dark-color: #000000;
  --primary-color: #0f96be;
  --primary-dark: #231973;
  --secondary-color: #41c8cd;
  --border-radius-md: 12px;
  --transition-default: all 0.3s ease;
}

/* ==================================================
   VARIOUS
================================================== */
.d-none {
  display: none !important;
}

/* ==================================================
   STICKY MENU
================================================== */
#stickyMenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  opacity: 0;
  transform: translateY(-100%);
  transition: var(--transition-default);
}

#stickyMenu.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   TEXT SELECTION
================================================== */
::selection {
  background: var(--secondary-color);
  color: var(--light-color);
}

::-moz-selection {
  background: var(--secondary-color);
  color: var(--light-color);
}

.no-select {
  user-select: none;
}

/* ==================================================
   RECAPTCHA
================================================== */
.grecaptcha-badge {
  position: fixed !important;
  left: 0 !important;
  bottom: 20px !important;
  width: 70px !important;
  overflow: hidden !important;
  opacity: 1 !important;
  z-index: 9999 !important;
  transition: var(--transition-default) !important;
}

.grecaptcha-badge:hover {
  width: 256px !important;
}

/* ==================================================
   BANNER ALIGNMENT
================================================== */

/* LEFT */
.banner-text-align-left {
  justify-content: flex-start;
}

.banner-text-align-left .banner-content {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  align-items: flex-start;
}

.banner-text-align-left .elementor-button-wrapper {
  display: flex;
  justify-content: flex-start;
}

/* CENTER */
.banner-text-align-center {
  justify-content: center;
}

.banner-text-align-center .banner-content {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}

.banner-text-align-center .elementor-button-wrapper {
  display: flex;
  justify-content: center;
}

/* RIGHT */
.banner-text-align-right {
  justify-content: flex-end;
}

.banner-text-align-right .banner-content {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  align-items: flex-end;
}

.banner-text-align-right .elementor-button-wrapper {
  display: flex;
  justify-content: flex-end;
}

/* Shared text alignment */
.banner-text-align-left .banner-content .elementor-heading-title,
.banner-text-align-left .banner-content .elementor-widget-text-editor,
.banner-text-align-left .banner-content .elementor-button-wrapper {
  text-align: left;
}

.banner-text-align-center .banner-content .elementor-heading-title,
.banner-text-align-center .banner-content .elementor-widget-text-editor,
.banner-text-align-center .banner-content .elementor-button-wrapper {
  text-align: center;
}

.banner-text-align-right .banner-content .elementor-heading-title,
.banner-text-align-right .banner-content .elementor-widget-text-editor,
.banner-text-align-right .banner-content .elementor-button-wrapper {
  text-align: right;
}

/* ==================================================
   BANNER BUTTON
================================================== */
.banner-dynamic-align .elementor-button {
  background-color: var(--secondary-color);
  color: var(--light-color);
  border: none;
  padding: 16px 32px;
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1.2;
  transition: var(--transition-default);
  margin-top: 25px;
}

.banner-dynamic-align .elementor-button:hover,
.banner-dynamic-align .elementor-button:focus {
  background-color: var(--light-color);
  color: var(--secondary-color);
  border: none;
}

.banner-dynamic-align .elementor-button:hover svg,
.banner-dynamic-align .elementor-button:focus svg {
  fill: var(--secondary-color);
}

/* ==================================================
   MOBILE: ALWAYS CENTER
================================================== */
@media (max-width: 767px) {
  .banner-dynamic-align {
    justify-content: center !important;
  }

  .banner-dynamic-align .banner-content {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    align-items: center !important;
  }

  .banner-dynamic-align .banner-content .elementor-heading-title,
  .banner-dynamic-align .banner-content .elementor-widget-text-editor,
  .banner-dynamic-align .banner-content .elementor-widget-shortcode {
    text-align: center !important;
  }

  .banner-dynamic-align .elementor-button-wrapper {
    display: flex !important;
    justify-content: center !important;
  }
}
