/* 
* Hyp3mob.com - Estilos Globais
* Este arquivo contém os estilos base para todo o site
*/

/* Variáveis CSS */
:root {
  /* Cores principais */
  --primary-color: #0072ce;
  --primary-dark: #0056b3;
  --primary-light: #e6f2ff;
  --secondary-color: #2c3e50;
  --accent-color: #00c6ff;
  
  /* Cores neutras */
  --dark: #333333;
  --medium: #666666;
  --light: #f5f5f5;
  --white: #ffffff;
  
  /* Cores de estado */
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;
  
  /* Tipografia */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  --button-font: 'Inter', sans-serif;
  
  /* Espaçamentos */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Bordas e sombras */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Transições */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

/* Layout e containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.flex {
  display: flex;
}

.espaco-entre {
  justify-content: space-between;
}

.itens-centro {
  align-items: center;
}

.texto-centro {
  text-align: center;
}

/* Grid system */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Seções */
.secao {
  padding: 5rem 0;
}

.secao-pequena {
  padding: 3rem 0;
}

.secao-alternada {
  background-color: var(--light);
}

.titulo-secao {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.titulo-secao::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.subtitulo-secao {
  font-size: 1.1rem;
  color: var(--medium);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Margens */
.margem-t-pequena { margin-top: 1rem; }
.margem-t-media { margin-top: 2rem; }
.margem-t-grande { margin-top: 3rem; }

.margem-b-pequena { margin-bottom: 1rem; }
.margem-b-media { margin-bottom: 2rem; }
.margem-b-grande { margin-bottom: 3rem; }

/* Botões */
.botao {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--button-font);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
}

.botao-primario {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 114, 206, 0.2);
}

.botao-primario:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 114, 206, 0.3);
}

.botao-secundario {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.botao-secundario:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.botao-grande {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Animações */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
}

.breadcrumbs-item:not(:last-child)::after {
  content: '/';
  margin: 0 0.5rem;
  color: var(--medium);
}

.breadcrumbs-link {
  color: var(--medium);
  font-size: 0.9rem;
}

.breadcrumbs-atual {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 255, 255, 0.9) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-pattern.svg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.1;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-titulo {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.hero-subtitulo {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--medium);
}

.hero-acoes {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-imagem img {
  max-width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
}

/* Responsividade */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-imagem {
    order: -1;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .secao {
    padding: 4rem 0;
  }
  
  .secao-pequena {
    padding: 2.5rem 0;
  }
  
  .hero {
    padding: 7rem 0 4rem;
  }
  
  .hero-titulo {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 15px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .titulo-secao {
    font-size: 1.75rem;
  }
  
  .hero-titulo {
    font-size: 2.25rem;
  }
  
  .hero-acoes {
    flex-direction: column;
  }
  
  .hero-acoes .botao {
    width: 100%;
  }
}

/* Utilitários */
.oculto {
  display: none !important;
}

.visivel {
  display: block !important;
}

.texto-primario {
  color: var(--primary-color);
}

.texto-secundario {
  color: var(--secondary-color);
}

.texto-destaque {
  font-weight: 700;
}

.texto-pequeno {
  font-size: 0.9rem;
}

.texto-grande {
  font-size: 1.2rem;
}

.texto-centro {
  text-align: center;
}

.texto-direita {
  text-align: right;
}

.texto-esquerda {
  text-align: left;
}

/* Acessibilidade */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.focus-visible:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Modo escuro (preparação) */
@media (prefers-color-scheme: dark) {
  :root {
    /* Variáveis para modo escuro podem ser definidas aqui */
  }
}
