/**
 * Variáveis CSS do Tema Natal 2025
 * Estende as variáveis do Bootstrap 5 e define customizações do tema
 * 
 * Ordem de carregamento:
 * 1. Bootstrap (define variáveis base)
 * 2. Este arquivo (sobrescreve/customiza variáveis)
 * 3. Estilos customizados do tema
 */

:root {
	/* ============================================
	   FONTES DO TEMA
	   ============================================ */
	
	/* Família de fontes para títulos */
	--bs-font-sans-serif: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	
	/* Família de fontes para textos (parágrafos e demais) */
	--bs-font-monospace: 'Globotipo Rounded', 'Globotipo Web', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	
	/* Aplicação das fontes */
	--font-family-headings: var(--bs-font-sans-serif); /* Bricolage Grotesque para títulos */
	--font-family-body: var(--bs-font-monospace);      /* Globotipo Rounded para textos */
	--font-family-base: var(--font-family-body);       /* Fonte padrão do tema */
	
	/* Tamanhos de fonte customizados */
	--font-size-base: 1rem;
	--font-size-sm: 0.875rem;
	--font-size-lg: 1.125rem;
	--font-size-xl: 1.25rem;
	--font-size-xxl: 1.5rem;

	--font-size-title: 4rem;
	--font-size-description: 1.5rem;
	--font-size-title-mobile: 2.5rem;
	--font-size-description-mobile: 1.125rem;
	--font-size-hero-title: 6rem;
	--font-size-hero-title-mobile: 3rem;
	--font-size-hero-description: 2rem;
	--font-size-hero-description-mobile: 1.5rem;
	
	/* Pesos de fonte */
	--font-weight-normal: 400;
	--font-weight-medium: 500;
	--font-weight-semibold: 600;
	--font-weight-bold: 700;
	--font-weight-extrabold: 800;
	
	/* Altura de linha */
	--line-height-base: 1.5;
	--line-height-sm: 1.25;
	--line-height-lg: 1.75;

	--line-height-title: 1.1;
	--line-height-description: 1.25;
	--line-height-hero-title: 1.1;
	--line-height-hero-description: 1.6;
	--line-height-hero-title-mobile: 1.1;
	--line-height-hero-description-mobile: 1.6;
	--line-height-hero-title-mobile: 1.1;
	--line-height-hero-description-mobile: 1.6;
	--line-height-hero-title-mobile: 1.1;
	
	/* ============================================
	   CORES DO TEMA (Customizar conforme Figma)
	   ============================================ */

	/* Cores do tema */
	--color-primary: #E9477E;
	--color-secondary: #0C7003;
	--color-green: #41A151;
	--color-yellow: #FFC436;
	--color-text: var(--color-primary);
	--color-text-light: var(--bs-light);
	--color-bg-main: var(--color-primary);
	--color-bg-secondary: var(--color-green);
	
	/* Cores primárias - Ajustar conforme design do Figma */
	--bs-primary: var(--color-primary);   
	--bs-secondary: #6c757d;     /* Bootstrap default - substituir */
	--bs-success: var(--color-green);      
	--bs-danger: #dc3545;        /* Bootstrap default - substituir */
	--bs-warning: var(--color-yellow);        
	--bs-info: var(--color-secondary);          /* Bootstrap default - substituir */
	--bs-light: var(--color-text-light);         /* Bootstrap default - substituir */
	--bs-dark: var(--color-bg-main);          /* Bootstrap default - substituir */
	
	/* ============================================
	   ESPAÇAMENTOS (Customizar conforme Figma)
	   ============================================ */
	
	/* Espaçamentos base do Bootstrap - podem ser sobrescritos */
	--bs-spacer: 1rem;
	--spacer-1: calc(var(--bs-spacer) * 0.25);  /* 4px */
	--spacer-2: calc(var(--bs-spacer) * 0.5);   /* 8px */
	--spacer-3: var(--bs-spacer);               /* 16px */
	--spacer-4: calc(var(--bs-spacer) * 1.5);   /* 24px */
	--spacer-5: calc(var(--bs-spacer) * 3);     /* 48px */
	
	/* ============================================
	   BORDAS E SOMBRAS
	   ============================================ */
	
	--border-radius: 0.375rem;
	--border-radius-sm: 0.25rem;
	--border-radius-lg: 0.5rem;
	--border-radius-xl: 1rem;
	--border-radius-pill: 50rem;
	
	--box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	--box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	--box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
	
	/* ============================================
	   BREAKPOINTS (Bootstrap 5 + Custom)
	   ============================================ */
	
	--breakpoint-xs: 0;
	--breakpoint-sm: 576px;
	--breakpoint-md: 768px;
	--breakpoint-lg: 992px;
	--breakpoint-xl: 1200px;
	--breakpoint-1366: 1366px; /* Notebooks de tela pequena */
	--breakpoint-xxl: 1400px;
	
	/* ============================================
	   TRANSIÇÕES
	   ============================================ */
	
	--transition-base: all 0.2s ease-in-out;
	--transition-fast: all 0.15s ease-in-out;
	--transition-slow: all 0.3s ease-in-out;
}

/* ============================================
   APLICAÇÃO DAS FONTES NOS ELEMENTOS
   ============================================ */

/* Fonte base para body e elementos gerais */
body,
p,
span,
div,
a,
li,
td,
th,
label,
input,
textarea,
select,
button {
	font-family: var(--font-family-body); /* Globotipo Rounded */
}

/* Títulos - Bricolage Grotesque */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
	font-family: var(--font-family-headings); /* Bricolage Grotesque */
	font-weight: var(--font-weight-bold);
	line-height: var(--line-height-sm);
}

/* Ajustes específicos para títulos */
h1, .h1 {
	font-size: 2.5rem;
	font-weight: var(--font-weight-extrabold);
}

h2, .h2 {
	font-size: 2rem;
	font-weight: var(--font-weight-bold);
}

h3, .h3 {
	font-size: 1.75rem;
	font-weight: var(--font-weight-bold);
}

h4, .h4 {
	font-size: 1.5rem;
	font-weight: var(--font-weight-semibold);
}

h5, .h5 {
	font-size: 1.25rem;
	font-weight: var(--font-weight-semibold);
}

h6, .h6 {
	font-size: 1rem;
	font-weight: var(--font-weight-semibold);
}

/* Parágrafos e textos */
p {
	font-family: var(--font-family-body);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
	margin-bottom: var(--spacer-3);
}

/* Links */
a {
	font-family: var(--font-family-body);
	text-decoration: none;
	transition: var(--transition-base);
}

/* Botões - podem usar fonte de títulos se necessário */
.btn {
	font-family: var(--font-family-body);
	font-weight: var(--font-weight-semibold);
}

/* Cards e componentes */
.card-title {
	font-family: var(--font-family-headings);
	font-weight: var(--font-weight-bold);
}

.card-text {
	font-family: var(--font-family-body);
}

/* Navegação */
.navbar-brand,
.nav-link {
	font-family: var(--font-family-body);
}

/* ============================================
   UTILITÁRIOS CUSTOMIZADOS
   ============================================ */

/* Classes utilitárias para fontes */
.font-heading {
	font-family: var(--font-family-headings) !important;
}

.font-body {
	font-family: var(--font-family-body) !important;
}

/* Classes utilitárias para tamanhos customizados */
.text-xs {
	font-size: var(--font-size-sm);
}

.text-xxl {
	font-size: var(--font-size-xxl);
}

