/* Paleta de Cores baseada na Logo Tera Infor */
:root {
  --primary-blue: #1B4B73;
  --secondary-blue: #2A5F8A;
  --light-blue: #E8F2FF;
  --accent-blue: #0F3A5C;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #6C757D;
  --dark-gray: #343A40;
  --success-green: #28A745;
  --gradient-primary: linear-gradient(135deg, #1B4B73 0%, #2A5F8A 100%);
  --gradient-light: linear-gradient(135deg, #E8F2FF 0%, #FFFFFF 100%);
}

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

body {
  font-family: 'Arial Narrow', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 2rem;
  line-height: 1.4;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--medium-gray);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.logo-container {
  flex: 0 0 auto;
}

.logo {
  max-height: 80px;
  width: auto;
}

.header-text {
  flex: 1;
  min-width: 300px;
}

.header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header .subtitle {
  font-size: 1.3rem;
  color: var(--light-blue);
  font-weight: normal;
  margin-bottom: 0;
}

/* Hero Section */
.hero {
  background: var(--gradient-light);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent 0%, var(--white) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary-blue);
  max-width: 800px;
  margin: 0 auto 3rem;
  position: relative;
  padding: 0 2rem;
}

.hero-quote::before,
.hero-quote::after {
  content: '"';
  font-size: 4rem;
  color: var(--secondary-blue);
  position: absolute;
  top: -1rem;
  opacity: 0.3;
}

.hero-quote::before {
  left: 0;
}

.hero-quote::after {
  right: 0;
}

/* Cards Section */
.cards-section {
  padding: 5rem 0;
  background: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(27, 75, 115, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--light-blue);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(27, 75, 115, 0.2);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.cta-section p {
  color: var(--light-blue);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--white);
  color: var(--primary-blue);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  background: var(--light-blue);
}

/* Footer */
.footer {
  background: var(--accent-blue);
  color: var(--light-blue);
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  color: var(--light-blue);
  margin: 0;
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .hero-quote {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero-quote {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}

/* Efeitos especiais */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(27, 75, 115, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(27, 75, 115, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(27, 75, 115, 0);
  }
}