header {
  background-color: #111633;
  padding: 10px 0;
  text-align: center;

  a {
    color: #fff;
    text-decoration: underline;

    &:hover {
      color: #fbfbfb;
    }
  }
}

.logo {
  /* max-height: 40px; */
}

section {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero {
  min-height: 650px;

  ul {
    color: #fff;
  }
}

h1 {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 50px;
  color: #fff;
}

h2 {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: normal;
}

p {
  font-weight: 400;
  font-size: 18px;
  font-weight: 24px;
  font-family: 'Jost', sans-serif;
}

.texto-inicio {
  p {
    color: #fff;
  }
}

a.cta {
  background: transparent;
  font-weight: 600;
  font-family: "Montserrat";
  text-transform: uppercase;
  color: #fff;
  padding: 18px 48px;
  border: 1px solid #fff;
  border-radius: 40px;
  width: max-content;

  &.filled {
    background: linear-gradient(to right, #235BDD, #183a8b);
  }
}

.video {
  position: relative;
  margin-top: 64px;

  img.thumbnail {
    height: 50svh;
    object-fit: cover;
    box-shadow: 0 4px 100px #2965F1;
  }

  .espacar {
    gap: 88px;
  }

  .content {
    &::before {
      content: '';
      height: 115%;
      background: linear-gradient(to bottom, #D0802F, #E89E2F, #C97C29);
      width: 5px;
      position: absolute;
      left: -49px;
      top: -8%;
    }
  }
}

section.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: #fff;
  margin-bottom: 2rem;
}

iframe {
  width: 100%;
}

.video-thumbnail {
  position: relative;
  cursor: pointer;
}

.video-thumbnail .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 32px;
  transition: background 0.3s ease;
}

.video-thumbnail .play-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.texto-sobre {
  background-color: #153b68;

  & h2,
  p {
    color: #d9d9d9;
  }
}

.processo {
  .card-custom {
    background-color: #242424;
    box-shadow: 0 4px 40px 4px #143057;
    border-radius: 4px;
    padding: 26px 18px;
    text-align: start;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    gap: 0.5em;

    &:hover {
      transform: translateY(-5px);
    }

    h5 {
      color: #fff;
      font-weight: 600;
      font-size: 18px;
      font-family: 'Josefin Sans', sans-serif;
    }

    p {
      color: #fff;
      font-weight: 400;
      font-size: 14px;
      text-transform: capitalize;
    }
  }
}

section.atencao {
  .secao-bg {
    background: url('../img/reginaldo-bg.jpg');
    min-height: 600px;
  }
}

.cards-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.card {
  background: #fff;
  padding: 1.5rem;
  border: none;

  h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #b8860b;
    margin-bottom: 0.75rem;
  }

  p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
  }
}

.icon-box {
  font-size: 30px;
  color: #c6a14d;
  aspect-ratio: 1 / 1;
  border: 2px solid #c6a14d;
  padding: 8px;
}

.direitos {
  background: linear-gradient(to right, rgba(21, 59, 104), rgba(0, 44, 97));

  h2 {
    color: #fff;
  }

  ul {
    li {
      color: #fff;
      font-size: 20px;
      font-style: italic;
      margin-top: 1rem;

      &::marker {
        color: #c6a14d;
      }
    }

    span {
      color: #c6a14d;
      font-style: normal;
    }
  }
}

.diagnostico-section {
  padding: 60px 20px;
  background: url("../img/reginaldo-bg.jpg") no-repeat center center;
  background-size: cover;

  .diagnostico-grid {
    margin: 0 auto;
  }

  .diagnostico-card {
    background: rgba(0, 34, 68, 0.8);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    width: 100%;

    @media (min-width: 768px) {
      width: calc(50% - 20px);
      ;
    }

    h3 {
      font-size: 1.2rem;
      margin: 12px 0;
      font-weight: 600;
    }

    p {
      font-size: 0.95rem;
      line-height: 1.6;
      opacity: 0.9;
    }
  }

  .diagnostico-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
    display: inline-block;
  }

}

.aprendizado-section {
  padding: 60px 20px;
  background: #111;
  color: #fff;
  text-align: center;

  .aprendizado-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 600;

    span {
      color: #00e676; // verde destaque
    }
  }

  .aprendizado-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;

    @media (min-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }

    .aprendizado-item {
      background: #1c1c1c;
      border-radius: 12px;
      padding: 16px 20px;
      display: flex;
      align-items: center;
      gap: 12px;
      text-align: left;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      transition: transform 0.2s ease, box-shadow 0.2s ease;

      &:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
      }

      p {
        margin: 0;
        font-size: 1rem;
        line-height: 1.5;
      }

      .icon {
        font-size: 1.3rem;
        color: #00e676;
        flex-shrink: 0;
      }
    }
  }
}

.form-section {
  background: linear-gradient(135deg, #111633, #143057);
  padding: 60px 0;
  display: flex;
  justify-content: center;

  .container {
    .content {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;

      .image-side {
        img {
          width: 100%;
          border-radius: 12px;
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
        }
      }

      .form-side {
        background: #fff;
        border-radius: 10px;
        padding: 5px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        
        .texto {
            padding: 20px;
            padding-bottom: 0;
        }

        h2 {
          font-size: 1.8rem;
          font-weight: 700;
          margin-bottom: 10px;
          color: #111633;
        }

        p {
          font-size: 1.2rem;
          color: #333;
          margin-bottom: 20px;
        }

        form {
          display: flex;
          flex-direction: column;
          gap: 15px;

          label {
            font-size: 0.9rem;
            font-weight: 500;
            color: #333;

            span {
              color: red;
            }
          }

          input {
            padding: 10px;
            border-radius: 6px;
            border: 1px solid #ccc;
            font-size: 1rem;
          }

          button {
            margin-top: 10px;
            padding: 14px;
            border: none;
            border-radius: 6px;
            background: linear-gradient(90deg, #1f5eff, #001c64);
            color: #fff;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s ease;
            text-transform: uppercase;

            &:hover {
              opacity: 0.9;
            }
          }
        }
      }

      @media (max-width: 900px) {
        grid-template-columns: 1fr;

        .image-side {
          display: none;
        }
      }
    }
  }
}

.steps-section {
  color: #fff;
  padding: 80px 20px;

  .container {
    .content {
      text-align: center;

      .section-header {
        margin-bottom: 50px;

        h2 {
          font-size: 1.8rem;
          font-weight: 700;
          max-width: 800px;
          margin: 0 auto;
        }
      }

      .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        justify-items: stretch;
        align-items: start;

        .step {
          background: transparent;
          border: 1px solid #555;
          border-radius: 8px;
          padding: 25px;
          text-align: left;
          position: relative;

          &.intro {
            grid-column: span 1;
            border: none;
            text-align: left;

            p {
              font-size: 1rem;
              font-style: italic;
              line-height: 1.6;
              color: #ccc;
            }
          }

          .number {
            font-size: 2rem;
            font-weight: 700;
            display: block;
            margin-bottom: 10px;
            color: #fff;
          }

          p {
            font-size: 0.95rem;
            line-height: 1.4;
            color: #ddd;
          }
        }

        @media (max-width: 992px) {
          grid-template-columns: repeat(2, 1fr);
        }

        @media (max-width: 600px) {
          grid-template-columns: 1fr;
        }
      }
    }
  }
}


footer {
  background-color: #111633;
  h6 {
    font-family: 'Montserrat';
  }

  p {
    font-size: 16px;
    color: #fff;
  }

  .address p {
    font-size: 14px;
    color: #fff;
  }

  .address .cta {
    background: transparent;
    border: 2px solid #C6A14D;
    color: #C6A14D;
    font-weight: 700;
    padding: 12px 32px;
  }

}

.acao {
  h3 {
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 18px;
  }

  p {
    font-weight: 400;
    font-size: 14px;
    text-transform: capitalize;
    margin-top: 0.5em;
  }

  .card {
    flex: 1 1 calc(50% - 0.75rem);
  }
}

.processo {
  h3 {
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 20px;
  }

  p {
    font-weight: 400;
    font-size: 14px;
    text-transform: capitalize;
    margin-top: 0.5em;
  }

  .card {
    flex: 1 1 calc(50% - 0.75rem);
  }
}

.tempo {

  h5 {
    color: #4c4c4c;
    font-size: 14px;
  }

  .card-custom {
    display: flex;
    flex: 1 1 0;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    gap: 0.5em;
    border: 1px solid #153B68;
    background-color: #fffefa;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

.whatsapp-icon img {
  width: 30px;
  height: 30px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-popup {
  display: block;
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  font-family: Arial, sans-serif;
  transform: translateY(20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  visibility: hidden;
  pointer-events: none;
}

.whatsapp-popup.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.popup-header {
  background-color: #075E54;
  color: white;
  padding: 12px;
  display: flex;
  align-items: center;
}

.popup-header img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
}

.popup-body {
  background-repeat: repeat;
  padding: 12px;
}

.popup-message {
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  max-width: 90%;
}

.popup-body a {
  background-color: #25d366;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, box-shadow 0.3s;
  animation: buttonPulse 1.8s infinite;
}

.popup-body a:hover {
  background-color: #1ebe5d;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.7);
}

@keyframes buttonPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 1000px) {
  .acao {
    .card {
      flex: 1 0 100%;
    }
  }

  .tempo {
    .card-custom {
      flex: 1 1 100%;
    }
  }
}

@media (min-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  header img {
    max-height: 66px;
  }

  .hero {
    min-height: 530px;
  }

  h1 {
    font-size: 30px;
    line-height: 40px;
  }

  h2 {
    font-size: 28px;
  }

  p {
    font-size: 16px;
  }

  a.cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    img {
      filter: brightness(0.4);
    }
  }

  .quem-sou {
    h2 {
      margin-bottom: 1rem;
    }
  }

  .cards-grid {
    gap: 0;
  }

  .casos-vitoria {
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-popup {
    width: 260px;
  }

  .whatsapp-icon {
    width: 50px;
    height: 50px;
  }

  .whatsapp-icon img {
    width: 24px;
    height: 24px;
  }
}