  :root {
      --primary: #5F2FEA;
      --dark: #121212;
      --light: #f4f4f4;
      --white: #fff;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Barlow', sans-serif;
    }

    body {
      color: var(--dark);
      line-height: 1.6;
    }

    /* Header */
    header {
      position: fixed;
      top: 0;
      width: 100%;
      background: var(--white);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 40px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      z-index: 1000;
    }

    .logo img {     
      width: 100%;
      max-width: 150px;
      height: auto;
      

    }

    .nav-links {
      display: flex;
      gap: 25px;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--dark);
      font-weight: 500;
      transition: color 0.3s;
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    .btn-especialista {
      background: #5E2EE9;
      color: var(--white);
      padding: 10px 18px;
      border-radius: 6px;
      text-decoration: none;
      transition: background 0.3s;
    }

    .btn-especialista:hover {
      background: #5F2FEA;
    }

    .menu-toggle {
      display: none;
      font-size: 1.8rem;
      cursor: pointer;
    }

    /* Hero */


.hero-content {
    display: flex; 
    margin-top: 150px; 
    padding: 20px 60px 10px 10px;
    margin-left: 40px;
}

.hero-text{
  background-color:var(--primary);
  width: 100%;
  height: 400px;
  border-radius: 40px 0px 0px 40px;
  padding: 50px;
}

.hero-text h1 {
  color: white;
  font-size: 2.6rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-img{
  background-color:var(--primary);
  width: 100%;
  height: 400px;
  position: relative;
  border-radius: 0px 40px 40px 0px;
}

.content-img{
  background-image: url(./assets/png-homem.png);
  width: 850px;
  height: 500px; 
  position: absolute;
  top: -100px;
  right: -80px;

}

.hero-text p {
  color:white;
  font-size: 1.1rem;
  line-height: 1.6;
}


/* Responsivo */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 5%;
  }

  .hero-image {
    margin-top: 20px;
  }
}

    /* Form */
.form-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

form {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 150vh;
  
  
}

form h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f5f9fc;
  font-size: 14px;
}

form button {
  background: #5a28e8;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 14px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

form button:hover {
  background: #451bb5;
}

/* RESPONSIVO */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}
    /* Two columns */
    .two-cols {
      display: flex;
      height: 700px;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
      padding: 10px 50px 80px 10%;
      flex-wrap: wrap;
      
    }

    .two-cols .text {
      flex: 1;
    }

    .two-cols h2 {
      max-width: 600px;
      font-size: 2.5rem;
      margin-bottom: 15px;
      line-height: 2.5rem;
    }

    .two-cols h3 {
      max-width: 600px;
      font-size: 1.3rem;
      margin-bottom: 20px;
      color: #5F2FEA;
    }

    .two-cols p {
      max-width: 600px;
      margin-bottom: 20px;
      font-size: 1.1rem;
      color: #444;
    }

    
    .two-cols button {
      padding: 12px 20px;
      border: none;
      background: #584fe3;
      color: var(--light) ;
      border-radius: 8px;
      cursor: pointer;
      transition: 0.3s;
      box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.45);
    }

    .two-cols button:hover,
    .btn-cta:hover {
      background: #584fe3;
      color: var(--white);
      border: 1px solid #fff;
    }

    .two-cols .image {
      width: 100%; 
      max-width: 600px; 
      height: auto; 
      display: block; 
      margin: 0 auto;
    }

    .image img{
      width: 100%;
    }

    .reverse {
      flex-direction: row-reverse;
      
    }

    .funcion-block{
        background-color: #584fe3;
        color: #ffffff;   
        border-radius: 20px;
        justify-content: center;   /* Centraliza horizontalmente */
        align-items: center;       /* Centraliza verticalmente */  
        height: 40vh;  
        padding: 50px 50px 20px;
        
    }

    .btn-cta{
      background-color: var(--light);
      color: #584fe3;

    }

    .funcion-block p {
      color: white;
      max-width: 500px;
    }

   
    /* CARROSSEL MODIFICADO - 3 CARDS POR VEZ */
    .section-4-right {
      flex: 1;
      overflow: hidden;
      position: relative;
      
    }

    .carousel-container {
      position: relative;
      width: 100%;
      overflow: hidden;
    }

    .carousel-track {
      display: flex;
      transition: transform 0.5s ease;
      gap:30px;
    }

    .carousel-card {
      flex: 0 0 calc(100% / 3);
      padding:  30px 20px;
      text-align: left;
      box-sizing: border-box;
      box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
      border-radius: 20px;
      
    }

    .carousel-card img {
      width: 50px;
      margin-bottom: 15px;
    }

    .carousel-card h3 {
      font-size: 1rem;
      margin-bottom: 10px;
      color: #404040;;
    }

    .carousel-card p {
      font-size: 1rem;
      color: #555;
    }

    .carousel-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(108, 99, 255, 0.7);
      color: white;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 1.2rem;
      cursor: pointer;
      z-index: 10;
      transition: background 0.3s;
    }

    .carousel-nav:hover {
      background: rgba(108, 99, 255, 1);
    }

    .carousel-nav.prev {
      left: 10px;
    }

    .carousel-nav.next {
      right: 10px;
    }

    .carousel-indicators {
      display: flex;
      justify-content: center;
      margin-top: 15px;
      gap: 8px;
    }

    .carousel-indicators button {
      width: 10px;
      border-radius: 20px;
      border: none;
      background: #ccc;
      cursor: pointer;
    }

    .carousel-indicators button.active {
      background: #6c63ff;
    }






  

    /* FOOTER */
    .footer {
  background-color: var(--primary);/* roxo */
  color: #fff;
  padding: 40px;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.footer-container {

  gap: 40px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  justify-content: space-between;
  flex: 1;
  min-width: 250px;
}

.footer h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.footer h4 {
  font-size: 16px;
  margin-bottom: 10px;
  margin-right: 20px;
}

.footer p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
  text-align: right;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.social-icons a:hover {
  opacity: 0.7;
}

.selo {
  height: 50px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .selo {
    margin-top: 15px;
  }
}
