:root {
  --brand-primary: #00566F; /* Azul Petróleo */
  --brand-primary-dark: #004d61; /* variação mais escura p/ hover/gradiente */
  --brand-primary-darker: #003845; /* variação ainda mais escura */
  --brand-primary-rgb: 0, 86, 111;
  --brand-secondary: #00B3A6; /* Ciano / Verde Água */
  --brand-secondary-rgb: 0, 179, 166;
  --brand-secondary-dark: #009487;
  --text-color: #222;
  --muted: #757575; /* Cinza médio */
  --bg: #FFFFFF; /* Branco */
  --bg-muted: #F5F5F5; /* Cinza claro */
  --border: #e0e0e0; /* Divisórias neutras */
  --success: #28A745;
  --danger: #DC3545;
  --info: #17A2B8;
}

body {
  font-family: system-ui;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background: #fff;
}

header, footer {
  padding: 1rem 2rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

/* Header branco (topbar) */
header {
  background: var(--bg);
  color: var(--text-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 50px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

@media (max-width: 768px) {
  header {
    position: static;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .logo {
    height: 40px;
    max-width: 200px;
  }
  
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  nav a {
    margin: 0;
    padding: 0.5rem 1rem;
    background: var(--brand-primary);
    color: #fff;
    border-radius: 6px;
    font-size: 0.9rem;
  }
}

header h1 {
  margin: 0;
  color: var(--brand-primary);
}

/* Links de navegação com contraste em fundo claro */
nav a {
  margin: 0 .5rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
}

.hero {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #fff;
}

.hero h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.section {
  padding: 3rem 2rem;
  max-width: 960px;
  margin: auto;
}

.section h2 {
  text-align: center;
  color: var(--brand-primary);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(var(--brand-primary-rgb), 0.12);
  border-color: rgba(var(--brand-primary-rgb), 0.25);
}
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.price {
  padding: 2rem;
  border: 2px solid var(--brand-primary);
  border-radius: 14px;
  background: #fff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.price:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(var(--brand-primary-rgb), 0.18);
  border-color: var(--brand-primary-dark);
}
.price h3 {
  margin: 0 0 1rem;
  color: var(--brand-primary);
}

.price .valor {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
}

.price small {
  color: #555;
}

.modules {
  margin-top: 1.5rem;
  text-align: left;
}

.modules .mod {
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: .6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.modules .mod:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary);
  box-shadow: 0 6px 16px rgba(var(--brand-primary-rgb), .12);
}
/* System Gallery */
.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  font-weight: 400;
}

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

.system-item {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.system-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(var(--brand-primary-rgb), 0.15);
}

.system-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.system-item h3 {
  color: var(--brand-primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.system-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1rem;
}

.btn:hover {
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary-darker));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.3);
}

footer {
  text-align: center;
  font-size: .9rem;
  color: #555;
}

.contact-form {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 2rem;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
  border: 1px solid #ddd;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(var(--brand-primary-rgb), .15);
}

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

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-info p {
  margin: 0;
}

/* Media Queries para Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }
  
  .hero p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .price-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
    text-align: center;
  }
  
  .card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .price {
    padding: 2rem 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
    margin: 0 1rem 2rem;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .modules .mod {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  header, footer {
    padding: 1rem 0.5rem;
  }
  
  .logo {
    height: 35px;
    max-width: 180px;
  }
  
  .hero {
    padding: 2.5rem 1rem;
  }
  
  .hero h2 {
    font-size: 1.6rem;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  .section {
    padding: 2.5rem 1rem;
  }
  
  .section h2 {
    font-size: 1.6rem;
  }
  
  .card {
    padding: 1.2rem;
  }
  
  .card h3 {
    font-size: 1.2rem;
  }
  
  .card p {
    font-size: 0.9rem;
  }
  
  .contact-form {
    margin: 0 0.5rem 1.5rem;
    padding: 1.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.8rem;
    font-size: 1rem;
  }
  
  .btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
  }
  
  nav a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .price {
    padding: 1.5rem;
  }
  
  .modules .mod {
    padding: 0.8rem;
    font-size: 0.85rem;
  }

  .system-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .system-item {
    padding: 1rem;
  }

  .system-item img {
    height: 160px;
  }

  .system-item h3 {
    font-size: 1rem;
  }

  .system-item p {
    font-size: 0.85rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}
nav a:hover {
  color: var(--brand-primary);
}

/* Botão secundário (mais claro) para contraste no hero */
.btn-secondary {
  background: var(--brand-secondary);
  color: #003845; /* texto escuro para melhor contraste */
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-secondary-dark));
  box-shadow: 0 4px 12px rgba(var(--brand-secondary-rgb), 0.25);
}

/* Animação de entrada ao rolar (aplicada a todos os cards) */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}