/* Estilos personalizados - Maestria */

/* Fontes */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Variáveis de cores */
:root {
  --primary: #2c5282;
  --primary-dark: #1a365d;
  --primary-light: #4299e1;
  --secondary: #c53030;
  --secondary-dark: #9b2c2c;
  --secondary-light: #f56565;
  --neutral-100: #ffffff;
  --neutral-200: #f7fafc;
  --neutral-300: #edf2f7;
  --neutral-400: #e2e8f0;
  --neutral-500: #a0aec0;
  --neutral-600: #718096;
  --neutral-700: #4a5568;
  --neutral-800: #2d3748;
  --neutral-900: #1a202c;
  --primary-font: 'Poppins', sans-serif;
  --heading-font: 'Playfair Display', serif;
  --text-color: #1A202C;
  --muted-color: #555;
  --light-bg: #f9f9f9;
}

/* Reset e estilos base */
body {
  font-family: var(--primary-font);
  color: var(--neutral-800);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
  color: var(--neutral-900);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 1.5rem;
  color: var(--neutral-700);
}

/* Tipografia melhorada */
.lead {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--neutral-700);
}

.display-5 {
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 3rem;
}

/* Transições e efeitos */
a, button, .card, .btn {
  transition: all 0.3s ease;
}

/* Botões */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(44, 82, 130, 0.2);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--neutral-800);
  border-color: var(--neutral-800);
}

.btn-dark:hover, .btn-dark:focus {
  background-color: var(--neutral-900);
  border-color: var(--neutral-900);
  box-shadow: 0 4px 12px rgba(26, 32, 44, 0.2);
  transform: translateY(-2px);
}

.btn-danger {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-danger:hover, .btn-danger:focus {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  box-shadow: 0 4px 12px rgba(197, 48, 48, 0.2);
  transform: translateY(-2px);
}

.btn-outline-dark {
  color: #1A202C;
  border: 1px solid var(--neutral-500);
  background-color: transparent;
}

.btn-outline-dark:hover {
  background-color: #1A202C;
  color: white;
  border-color: #1A202C;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 32, 44, 0.1);
}

.btn {
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  border-radius: 4px;
}

/* Cards e elementos */
.card {
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

/* Navegação */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--primary) !important;
}

.nav-link {
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

.nav-link:hover {
  color: var(--primary) !important;
}

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

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

section:nth-of-type(even) {
  background-color: var(--neutral-200);
}
section:nth-of-type(odd) {
  background-color: var(--neutral-100);
}

/* Barra de oferta especial */
#special-offer-bar {
  background-color: #1A202C !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 12px rgba(26, 32, 44, 0.1);
  position: relative;
}

#special-offer-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

#special-offer-bar .btn-danger {
  background-color: rgba(220, 53, 69, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

#special-offer-bar .btn-danger:hover {
  background-color: rgba(220, 53, 69, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}

#special-offer-bar .small {
  color: #ffffff;
  font-weight: 500;
  margin: 0;
}

#special-offer-bar .btn-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#special-offer-bar .btn-close:hover {
  opacity: 1;
}

/* Hero section */
header.py-5 {
  background: linear-gradient(135deg, var(--neutral-200) 0%, var(--neutral-100) 100%);
  border-bottom: 1px solid var(--neutral-300);
}

/* Formulário de contato */
.form-control {
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--neutral-400);
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.2rem rgba(66, 153, 225, 0.25);
}

/* Footer */
footer {
  background-color: var(--neutral-900) !important;
}

footer h5 {
  color: var(--neutral-200);
  font-weight: 600;
}

footer .text-muted {
  color: var(--neutral-400) !important;
}

/* Utilitários */
.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07) !important;
}

.bg-light {
  background-color: var(--neutral-200) !important;
}

.bg-dark {
  background-color: var(--neutral-900) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.badge.bg-primary {
  background-color: var(--primary) !important;
}

.badge.bg-danger {
  background-color: var(--secondary) !important;
}

/* Animações e transições */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.7s ease forwards;
}

/* Responsividade */
@media (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .display-5 {
    font-size: 2.25rem;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* Acessibilidade */
:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

/* Personalização específica para Maestr7a */
.text-secondary {
  color: var(--secondary) !important;
}

.testimonial-quote {
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-quote::before {
  content: """;
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 2rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
}

/* Elemento decorativo para títulos de seção */
.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Melhorias para ícones */
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--neutral-200);
  margin-bottom: 1.25rem;
}

.icon-wrapper i {
  color: var(--primary);
  font-size: 1.5rem;
}

/* Melhorando contrastes em fundos escuros */
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
  color: white;
}

.bg-dark .text-muted {
  color: var(--neutral-400) !important;
}

/* High-contrast mode para acessibilidade */
@media (prefers-contrast: high) {
  body {
    color: #1A202C;
    background-color: #fff;
  }
  
  .btn-primary, .btn-dark, .btn-danger {
    background-color: #1A202C;
    border-color: #1A202C;
    color: #fff;
  }
  
  a {
    color: #1A202C;
    text-decoration: underline;
  }
  
  .text-muted, .text-white, .text-light {
    color: #1A202C !important;
  }
  
  .bg-dark, .bg-primary, .bg-secondary {
    background-color: #fff !important;
    color: #1A202C !important;
    border: 1px solid #1A202C;
  }
}

.text-dark {
  color: #1A202C !important;
} 