/* Variáveis de cores */
:root {
  --primary-color: #0066cc;
  --primary-dark: #004080;
  --secondary-color: #00cc99;
  --accent-color: #ff6600;
  --light-color: #f5f5f5;
  --dark-color: #333333;
  --white-color: #ffffff;
  --gray-color: #666666;
  --light-gray: #e0e0e0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color);
}

p {
  margin-bottom: 20px;
}

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

ul {
  list-style: none;
}

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

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white-color);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
}

.site-title a {
  color: var(--white-color);
}

.site-description {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
  color: var(--white-color);
}

/* Navegação */
.main-navigation {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin-left: 30px;
}

.menu a {
  color: var(--white-color);
  font-weight: 500;
  font-size: 16px;
  padding: 10px 0;
  display: block;
  position: relative;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--white-color);
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white-color);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white-color);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  object-fit: cover;
  z-index: 1;
  filter: blur(1px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: var(--white-color);
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  color: var(--white-color);
}

.hero-divider {
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  margin: 0 auto 30px;
  border-radius: 2px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 16px;
}

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

.btn-primary:hover {
  background-color: var(--light-gray);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white-color);
  border: 2px solid var(--white-color);
}

.btn-secondary:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Seções */
.section {
  padding: 80px 0;
}

.bg-gray {
  background-color: var(--light-color);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

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

.section-subtitle {
  font-size: 18px;
  color: var(--gray-color);
  max-width: 700px;
  margin: 10px auto 0;
}

/* Flex Container */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

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

.features-list {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.feature-item i {
  font-size: 24px;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-item p {
  margin: 0;
}

.image-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.image-container img {
  width: 100%;
  height: auto;
}

/* Grid */
.grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
  background-color: var(--white-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 22px;
  margin-bottom: 15px;
}

.card-text {
  color: var(--gray-color);
  margin-bottom: 0;
  flex: 1;
}

.card-content ul {
  list-style: disc;
  padding-left: 20px;
}

.card-content ul li {
  margin-bottom: 10px;
  color: var(--gray-color);
}

/* Features */
.feature-box {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  background-color: var(--white-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.feature-text {
  color: var(--gray-color);
  margin: 0;
}

/* Image Full */
.image-full {
  margin-top: 50px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.image-full img {
  width: 100%;
  height: auto;
}

/* Tabela Comparativa */
.table-responsive {
  overflow-x: auto;
  margin-top: 40px;
  margin-bottom: 40px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.comparison-table th {
  background-color: var(--primary-color);
  color: var(--white-color);
  font-weight: 600;
}

.comparison-table tbody tr:nth-child(even) {
  background-color: rgba(0, 102, 204, 0.05);
}

.comparison-table tbody tr:hover {
  background-color: rgba(0, 102, 204, 0.1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white-color);
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--white-color);
}

.cta-text {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--white-color);
  background-color: var(--white-color);
}

.form-control::placeholder {
  color: var(--gray-color);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  text-align: center;
}

.form-submit .btn {
  min-width: 200px;
}

/* Footer */
.site-footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 60px 0 30px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-widget-title {
  color: var(--white-color);
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-widget p {
  color: var(--light-gray);
  line-height: 1.8;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget ul li a {
  color: var(--light-gray);
  transition: all 0.3s ease;
}

.footer-widget ul li a:hover {
  color: var(--white-color);
  padding-left: 5px;
}

.footer-widget ul li i {
  margin-right: 10px;
  color: var(--primary-color);
  width: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white-color);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-gray);
}

.footer-bottom p {
  margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    margin: 10px 0;
  }

  .menu a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section {
    padding: 50px 0;
  }

  .flex-container {
    flex-direction: column;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px;
    font-size: 14px;
  }
}
