/* Estilos inspirados no site Nova 381 - Pedágio Eletrônico */

/* Cores principais baseadas no site original */
:root {
  --nova381-primary: #150F3E;
  --nova381-secondary: #ffdbcc;
  --nova381-accent: #351000;
  --nova381-logo-orange: #FF6B35;
  --nova381-background: #f9f9f9;
  --nova381-surface: #ffffff;
  --nova381-text-primary: #1a1c1c;
  --nova381-text-secondary: #47464e;
  --nova381-error: #ba1a1a;
  --nova381-success: #2e7d32;
  --nova381-warning: #f57c00;
}

/* Header Nova 381 */
.nova381-header {
  background: linear-gradient(135deg, var(--nova381-primary) 0%, #4a4a78 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nova381-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nova381-logo {
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--nova381-logo-orange);
}

.nova381-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nova381-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nova381-nav a:hover {
  opacity: 0.8;
}

/* Cards informativos */
.nova381-card {
  background: var(--nova381-surface);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--nova381-primary);
}

.nova381-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.nova381-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--nova381-text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nova381-card-content {
  color: var(--nova381-text-secondary);
  line-height: 1.6;
}

/* Seção principal */
.nova381-hero {
  background: linear-gradient(135deg, var(--nova381-primary) 0%, #4a4a78 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.nova381-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.nova381-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Botões */
.nova381-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.nova381-btn-primary {
  background: var(--nova381-logo-orange);
  color: white;
}

.nova381-btn-primary:hover {
  background: #e55a2b;
  transform: translateY(-1px);
}

.nova381-btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.nova381-btn-outline:hover {
  background: white;
  color: var(--nova381-primary);
}

/* Seções de conteúdo */
.nova381-section {
  padding: 3rem 0;
}

.nova381-section-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--nova381-text-primary);
}

.nova381-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Formulários */
.nova381-form-group {
  margin-bottom: 1.5rem;
}

.nova381-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--nova381-text-primary);
}

.nova381-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.nova381-input:focus {
  outline: none;
  border-color: var(--nova381-primary);
}

/* Status badges */
.nova381-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.nova381-badge-success {
  background: rgba(46, 125, 50, 0.1);
  color: var(--nova381-success);
}

.nova381-badge-warning {
  background: rgba(245, 124, 0, 0.1);
  color: var(--nova381-warning);
}

.nova381-badge-error {
  background: rgba(186, 26, 26, 0.1);
  color: var(--nova381-error);
}

/* Footer */
.nova381-footer {
  background: var(--nova381-text-primary);
  color: white;
  padding: 2rem 0;
  margin-top: 4rem;
}

.nova381-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.nova381-footer-section h3 {
  margin-bottom: 1rem;
  color: var(--nova381-secondary);
}

.nova381-footer-section p,
.nova381-footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 1.6;
}

.nova381-footer-section a:hover {
  color: var(--nova381-secondary);
}

/* Responsividade */
@media (max-width: 768px) {
  .nova381-nav {
    display: none;
  }
  
  .nova381-hero h1 {
    font-size: 2rem;
  }
  
  .nova381-grid {
    grid-template-columns: 1fr;
  }
  
  .nova381-header .container {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nova381-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Utilitários */
.nova381-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nova381-text-center {
  text-align: center;
}

.nova381-mb-2 {
  margin-bottom: 1rem;
}

.nova381-mb-4 {
  margin-bottom: 2rem;
}

.nova381-mt-4 {
  margin-top: 2rem;
}

/* Integração com Material Icons */
.nova381-icon {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}