/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* =========================================================
   BASE / RESET LEVE
   ========================================================= */

html{
  scroll-behavior: smooth;
}

body{
  overflow-x: hidden;
  width: 100%;
  background: var(--background);
  color: var(--foreground);
  font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Oculta scrollbar, mantém rolagem */
html, body {
  overflow-y: auto;
  overflow-x: hidden;
  -ms-overflow-style: none;  /* IE/Edge antigo */
  scrollbar-width: none;     /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

p, svg{
  margin-bottom: 0;
}

/* =========================================================
   DESIGN TOKENS (V0 / PROJETO)
   ========================================================= */

:root{
  --background: #FAFBFC;
  --foreground: #1A1F2E;

  --card: #FFFFFF;
  --card-foreground: #1A1F2E;

  --popover: #FFFFFF;
  --popover-foreground: #1A1F2E;

  --primary: #1E4F98;
  --primary-foreground: #FFFFFF;

  --secondary: #0D6933;
  --secondary-foreground: #FFFFFF;

  --muted: #F1F3F5;
  --muted-foreground: #5A6478;

  --accent: #48B058;
  --accent-foreground: #FFFFFF;

  --border: #E2E6EA;
  --input: #E2E6EA;
  --ring: #1E4F98;

  --radius: 0.75rem; /* 12px */

  /* Utilitários de layout (opcional) */
  --container-max: 1200px;

  /* sombras base */
  --shadow-1: 0 10px 30px rgba(16, 24, 40, .08);
  --shadow-2: 0 18px 60px rgba(16, 24, 40, .12);

  /* transições */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t: 220ms var(--ease);
}

/* =========================================================
   PONTE COM AS CORES GLOBAIS DO ELEMENTOR
   (mantém compatibilidade com widgets e seu CSS existente)
   ========================================================= */

:root{
  --e-global-color-primary: var(--primary);
  --e-global-color-secondary: var(--secondary);
  --e-global-color-accent: var(--accent);
  --e-global-color-text: var(--foreground);
}

/* =========================================================
   UTILITÁRIOS (aceleram a construção no Elementor)
   ========================================================= */


.ui-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.ui-card--hover{
  transition: transform var(--t), box-shadow var(--t);
}
.ui-card--hover:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.text-muted{
  color: var(--muted-foreground);
}

/* Botão padrão (aplique a classe no widget Button: btn-primary) */
.btn-primary .elementor-button{
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 999px;
  padding: 14px 22px;
  transition: filter var(--t), transform var(--t);
}
.btn-primary .elementor-button:hover{
  filter: brightness(.95);
  transform: translateY(-1px);
}

/* Botão secundário (opcional) */
.btn-secondary .elementor-button{
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 999px;
  padding: 14px 22px;
  transition: filter var(--t), transform var(--t);
}
.btn-secondary .elementor-button:hover{
  filter: brightness(.95);
  transform: translateY(-1px);
}

/* =========================================================
   G TRANSLATE (mantido)
   ========================================================= */

.gtranslate_wrapper{
  display: flex;
  gap: 4px;
}

a.glink img{
  border-radius: 4px;
}

/* =========================================================
   POPUP (mantido)
   ========================================================= */

.elementor-popup-modal .dialog-widget-content{
  background-color: transparent;
}

/* =========================================================
   SCROLLBAR (atualizado para tokens do projeto)
   ========================================================= */

/* Chrome, Edge e Safari */
body::-webkit-scrollbar{
  width: 10px;
}

body::-webkit-scrollbar-track{
  background: var(--muted);
}

body::-webkit-scrollbar-thumb{
  background-color: var(--primary);
  border-radius: 10px;
  border: 2px solid var(--primary);
}

/* Firefox */
@-moz-document url-prefix(){
  *{
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--muted);
    -moz-appearance: scrollbar;
  }
}

/* =========================================================
   SELECTION / FORM ACCENT (mantido + tokens)
   ========================================================= */

*::selection{
  color: #fff;
  background: var(--accent);
}

.elementor-field-option{
  accent-color: var(--accent);
}

/* =========================================================
   COMPONENTES ÚTEIS (opcional)
   ========================================================= */

/* Accordion estilo "flat" (use classe quick-acc no widget Accordion) */
.quick-acc .elementor-accordion-item{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff;
}

.quick-acc .elementor-tab-title{
  background: #fff;
  padding: 16px 18px;
}

/* Header com “glass” (use classe header-glass no container do header) */
.header-glass{
  background: rgba(250, 251, 252, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}

/* =========================================================
   RESPONSIVO BÁSICO
   ========================================================= */

@media (max-width: 767px){
  .container-max{
    padding-inline: 16px;
  }
}


