/* ============================================
   MANUAL DA MARCA - FREIXO DE ESPADA À CINTA
   CSS Implementation based on Brand Guidelines
   ============================================ */

/* ============ COLOR PALETTE ============ */
:root {
  /* Primary Colors from Brand Guidelines */
  --brand-primary: #ffd02d;    /* Amarelo (Color Name #ffd02d) */
  --brand-secondary: #684c71;  /* Roxo (Gradient #684c71) */
  --brand-white: #ffffff;      /* Branco (Color Name #fffff) */
  
  /* Additional Color Variations */
  --brand-primary-light: rgba(255, 208, 45, 0.1);
  --brand-primary-dark: #e6b900;
  --brand-secondary-light: rgba(104, 76, 113, 0.1);
  --brand-secondary-dark: #4a3650;
  
  /* Neutral Colors */
  --neutral-dark: #1a1a1a;
  --neutral-gray: #666666;
  --neutral-light: #f5f5f5;
  --neutral-white: #ffffff;
}

.civitas-ocorr-submit-btn {
    background: #1abc9c;
    width: 100% !important;
    color: white;
    border: none;
    padding: 0px 15px 25px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
}

/* ============ TYPOGRAPHY ============ */
/* Ekster font family - Brand typography */
@font-face {
  font-family: 'Ekster';
  src: url('fonts/Ekster-Regular.woff2') format('woff2'),
       url('fonts/Ekster-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ekster';
  src: url('fonts/Ekster-Bold.woff2') format('woff2'),
       url('fonts/Ekster-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Typography hierarchy */
body {
  font-family: 'Ekster', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--neutral-dark);
  line-height: 1.6;
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Ekster', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: bold;
  color: var(--brand-secondary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.25px;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p, span, li, a {
  font-family: 'Ekster', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
}

/* Special brand heading */
.brand-heading {
  font-family: 'Ekster', serif;
  color: var(--brand-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

/* ============ LOGO USAGE RULES ============ */
/* Logo container */
.logo-container {
  position: relative;
  display: inline-block;
}

/* Logo variations */
.logo-full {
  /* Full logo with text */
  color: var(--brand-secondary);
}

.logo-mark {
  /* Logomark only (graphic element) */
  fill: var(--brand-primary);
}

.logo-vertical {
  /* Vertical logo variation */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo color variations */
.logo-primary {
  color: var(--brand-secondary);
  fill: var(--brand-primary);
}

.logo-white {
  color: var(--brand-white);
  fill: var(--brand-white);
}

.logo-black {
  color: var(--neutral-dark);
  fill: var(--neutral-dark);
}

/* Logo minimum size (example) */
.logo-container {
  min-width: 150px;
  min-height: 50px;
}

/* ============ EXCLUSION ZONE ============ */
/* Clear space around logo */
.logo-exclusion-zone {
  padding: 20px;
  position: relative;
}

.logo-exclusion-zone::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  pointer-events: none;
}

/* Safe area for logo placement */
.logo-safe-area {
  padding: 2rem;
  background-color: transparent;
}

/* ============ BACKGROUNDS ============ */
/* Background variations for logo usage */
.background-light {
  background-color: var(--neutral-white);
}

.background-dark {
  background-color: var(--neutral-dark);
}

.background-brand-primary {
  background-color: var(--brand-primary);
}

.background-brand-secondary {
  background-color: var(--brand-secondary);
}

/* Pattern backgrounds (if applicable) */
.background-pattern {
  background-image: linear-gradient(45deg, var(--brand-primary-light) 25%, transparent 25%),
                    linear-gradient(-45deg, var(--brand-primary-light) 25%, transparent 25%),
                    linear-gradient(45deg, transparent 75%, var(--brand-primary-light) 75%),
                    linear-gradient(-45deg, transparent 75%, var(--brand-primary-light) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* ============ BUTTONS ============ */
.btn-brand {
  background-color: var(--brand-primary);
  color: var(--neutral-dark);
  border: none;
  padding: 12px 24px;
  font-family: 'Ekster', sans-serif;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-brand:hover {
  background-color: var(--brand-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-brand-secondary {
  background-color: var(--brand-secondary);
  color: var(--brand-white);
  border: none;
  padding: 12px 24px;
  font-family: 'Ekster', sans-serif;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-brand-secondary:hover {
  background-color: var(--brand-secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ============ COMPONENTS ============ */
/* Card with brand styling */
.brand-card {
  background-color: var(--neutral-white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-top: 4px solid var(--brand-primary);
}

/* Header with brand colors */
.brand-header {
  background-color: var(--brand-white);
  border-bottom: 3px solid var(--brand-primary);
  padding: 1rem 2rem;
}

/* Footer with brand colors */
.brand-footer {
  background-color: var(--brand-secondary);
  color: var(--brand-white);
  padding: 2rem;
}

/* Navigation */
.brand-nav {
  font-family: 'Ekster', sans-serif;
}

.brand-nav a {
  color: var(--brand-secondary);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.brand-nav a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* ============ UTILITY CLASSES ============ */
.text-brand-primary {
  color: var(--brand-primary);
}

.text-brand-secondary {
  color: var(--brand-secondary);
}

.bg-brand-primary {
  background-color: var(--brand-primary);
}

.bg-brand-secondary {
  background-color: var(--brand-secondary);
}

.border-brand-primary {
  border-color: var(--brand-primary);
}

.border-brand-secondary {
  border-color: var(--brand-secondary);
}

/* ============ RESPONSIVE ADJUSTMENTS ============ */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .logo-container {
    min-width: 120px;
    min-height: 40px;
  }
  
  .logo-exclusion-zone {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .logo-container {
    min-width: 100px;
    min-height: 35px;
  }
  
  .btn-brand,
  .btn-brand-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ============ PRINT STYLES ============ */
@media print {
  .brand-header,
  .brand-footer {
    background-color: transparent !important;
    color: #000 !important;
  }
  
  .btn-brand,
  .btn-brand-secondary {
    border: 1px solid #000 !important;
    background-color: transparent !important;
    color: #000 !important;
  }
  
  .brand-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

.civitas-ocorr-real-button {
    background: var(--brand-purple) !important;
    color: var(--brand-white) !important;
    border: 2px solid var(--brand-purple) !important;
    padding: 12px 25px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 2px 5px rgba(104, 76, 113, 0.2) !important;
}

.civitas-ocorr-real-button:hover {
    background: var(--purple-dark) !important;
    border-color: var(--purple-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(104, 76, 113, 0.3) !important;
}