/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f9fc;
  color: #1a1a1a;
  margin-top: 90px;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2em 2em;
}
.logo {
  font-weight: bold;
  font-size: 1.4em;
  color: #1652f0;
  letter-spacing: 0.5px;
}
nav ul {
  display: flex;
  gap: 1.5em;
  list-style: none;
}
nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1em;
}
.btn-login {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}
.btn-demo {
  background-color: #16c172;
  color: white;
  padding: 0.6em 1.2em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6em 4em;
  width: 100%;
  height: 600px;
  background: linear-gradient(90deg, #ffffff 0%, #cce4ff 35%, #007bff 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.hero-text {
  max-width: 50%;
  padding: 2em;
  border-radius: 12px;
  color: #1652f0;
}
.tagline {
  color: #1652f0;
  text-transform: uppercase;
  font-size: 0.9em;
  margin-bottom: 1em;
}
.hero h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}
.hero p {
  font-size: 1.1em;
  margin-bottom: 1.5em;
}
.btn-primary {
  background-color: #1652f0;
  color: white;
  padding: 0.8em 1.5em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}
.hero-image img,
.section img {
  max-width: 500px;
  border-radius: 10px;
}

/* SECTION */
.section {
  padding: 4em 2em;
  text-align: center;
}
.section h2 {
  font-size: 2em;
  margin-bottom: 1em;
}
.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  margin-top: 2em;
}
.card {
  background: white;
  border-radius: 10px;
  padding: 2em;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}



/* FOOTER */
footer {
  background-color: #0a0f2c;
  color: white;
  padding: 1.5em;
  text-align: center;
  font-size: 0.9em;
}

.section img{
height: 200px!important;
}

.logo a {
  text-decoration: none;
  color: #1652f0;
}

/* css das paginas internas*/

.internal-page {
  max-width: 900px;
  margin: 4em auto;
  padding: 0 2em;
}
.page-header h1 {
  font-size: 2em;
  color: #1652f0;
  margin-bottom: 0.5em;
}
.page-header p {
  font-size: 1.1em;
  margin-bottom: 2em;
  color: #444;
}
.page-content h2 {
  margin-top: 2em;
  color: #1a1a1a;
}
.page-content p {
  margin-bottom: 1em;
  line-height: 1.6;
}


.demo-section {
  padding: 4em 2em;
  background-color: #0b1d33;
  color: white;
}
.demo-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}
.form-left {
  flex: 1;
  min-width: 300px;
  padding: 2em;
}
.form-left h2 {
  font-size: 1.8em;
  margin-bottom: 1.5em;
}
.form-left form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.form-left input,
.form-left select {
  padding: 0.8em;
  border: none;
  border-radius: 4px;
  font-size: 1em;
}
.form-left .dual-input {
  display: flex;
  gap: 1em;
}
.form-left .codigo {
  width: 100px;
}
.form-left button {
  background-color: #16c172;
  color: white;
  font-weight: bold;
  border: none;
  padding: 0.9em;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
}
.form-right {
  flex: 1;
  min-width: 300px;
  background-color: #f7f9fc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
}
.form-right img {
  max-width: 100%;
  border-radius: 8px;
}


.parceiros {
  background-color: #f5f9ff;
  padding: 4em 2em;
}

.container-parceiros {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.parceiros h2 {
  font-size: 1.8em;
  margin-bottom: 2rem;
}

.logo-parceiros {
  display: flex;
  justify-content: center;
  align-items: flex-end; /* alinha pela base */
  gap: 4rem;
}

.logo-parceiros img {
  height: 70px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.logo-parceiros img:hover {
  filter: none;
}

main {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.voltar-container {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.btn-voltar {
  background-color: #1652f0;
  color: white;
  padding: 0.8em 1.6em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

.btn-voltar:hover {
  background-color: #0a3db0;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 2em;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
}

.card:hover {
  transform: rotateY(7deg) rotateX(3deg) scale(1.03);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.card img {
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}
