body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: #0055a5;
  color: white;
  padding: 60px 20px;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.5;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  position: relative;
  padding-bottom: 55px; /* espaço para o suporte */
}

/* Tela do monitor */
.hero-image img {
  max-width: 90%;
  border-radius: 8px;
  border: 4px solid #2d2d2d; /* borda estilo monitor */
  background: #111;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Base grande do suporte */
.hero-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  
  width: 120px;
  height: 12px;

  background: #3b3b3b;
  border-radius: 6px;
  box-shadow: 
    0 3px 6px rgba(0,0,0,0.3),
    inset 0 -2px 3px rgba(255,255,255,0.1);
}

/* Haste do monitor */
.hero-image::before {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);

  width: 26px;
  height: 50px;

  background: #2f2f2f;
  border-radius: 4px;
  box-shadow: inset 0 -2px 3px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .hero-image {
    padding-bottom: 0;
    border: none; /* remove borda do container */
  }

  .hero-image img {
    max-width: 100%;
    box-shadow: none;

    /* borda aplicada na imagem */
    border: 4px solid #2d2d2d;
    border-radius: 8px;
  }

  .hero-image::after,
  .hero-image::before {
    display: none;
  }
}


.btn-primary {
  display: inline-block;
  margin-top: 20px;
  background: #00a859;
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #008f4b;
}

.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.section.alt {
  background: #f5f9ff;
}

.section h2 {
  text-align: center;
  color: #0055a5;
  margin-bottom: 40px;
  font-size: 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card i {
  font-size: 40px;
  color: #0055a5;
  margin-bottom: 15px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.image-side {
  flex: 1;
  text-align: center;
}

.image-side img {
  max-width: 90%;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.text-side {
  flex: 1;
}

.text-side ul {
  list-style: none;
  padding: 0;
}

.text-side li {
  font-size: 18px;
  margin-bottom: 15px;
}

.text-side i {
  color: #0055a5;
  margin-right: 10px;
}

.cta {
  background: #0055a5;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

footer {
  background: #002b5c;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

.card {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s;
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
}

/*Phone section*/
.phone-frame {
    width: 380px;
    height: 700px;
    margin: 0 auto;
    border-radius: 40px;
    border: 12px solid #000;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.phone-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {

    /* Remove a moldura no mobile */
    .phone-frame {
        width: 350px;
        height: 180px;
        border-radius: 0;
        box-shadow: none;
        margin: 0 auto;
        border-radius: 40px;
        border: 12px solid #000;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

    .phone-iframe {
        height: 100%;
        width: 100%;
        border: none;
    }
}

/* Em telas MUITO pequenas */
@media (max-width: 480px) {
    .phone-frame {
        height: 100vh;
    }
}

