.banner-newsletter {
    position: relative;
    height: 220px;
    background: url('../newsletter/modulo-60-banner-newsletter.webp') no-repeat center;
    background-size: cover;
    background-position: 50% 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-newsletter {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.banner-newsletter.animate {
    opacity: 1;
}

@media (max-width: 1200px) {

    .banner-newsletter {
        height: 180px;
    }
}

@media (max-width: 768px) {

    .banner-newsletter {
        height: 80px;
    }

    .container-centered {
        padding: 0 10px;
    }
}


.content-grid p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon {
    width: 20px;
    height: 20px;
}


.banner-newsletter-2 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* vídeo como fundo */
.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0;
}


.banner-title,
.sidebar-overlay {
    z-index: 1;
}

.contact-info-section {
    padding-top: 0;
}

.banner-roma-imperial {
    position: relative;
    height: 350px;
    background: url('../newsletter/modulo-60-st004-03.webp') no-repeat center;
    background-size: cover;
    background-position: 50% 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-roma-imperial {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.banner-roma-imperial .animate {
    opacity: 1;
}

.banner-doors-polyrey,
.banner-doors-match,
.banner-doors-innovus,
.banner-roma-imperial h1 {
    color: white;
}

.banner-doors-polyrey p {
    color: white;
    font-size: 14px;
}

.banner-doors-match p {
    color: white;
    font-size: 14px;
}

.banner-doors-innovus p {
    color: white;
    font-size: 14px;
}

.banner-roma-imperial p {
    color: white;
    font-size: 14px;
}

@media (max-width: 1280px) {
    .section-green-grid .icon {
      display: none;
    }

    .content-grid p {
        display: block;
    }
  }

  .form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: .9rem;
    display: none;
    text-align: center;
  }

  .form-message--success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }

  .form-message--error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }

  /* SPLIT SECTION: VIDEO + FORM */

.split-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
}

/*BANNER / IMAGEM*/

.video-side {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.video-side video,
.video-side-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/*FORMULÁRIO*/

.form-side {
  width: 100%;
  padding: 80px 20px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-centered {
  width: 100%;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

/*MOBILE*/

@media (max-width: 768px) {

  .video-side {
      height: 220px;
  }

  .form-side {
      padding: 40px 20px;
  }

  .container-centered {
      padding: 0 10px;
  }
}

  .floating-label-group .form-input {
    border: 1px solid var(--light-grey);
    border-radius: 30px;
    padding: 16px 25px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    color: var(--dark-grey);
    padding-top: 16px;
    padding-bottom: 16px;
    line-height: 1.2;
    height: 56px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 3%);
  }

  .floating-label-group label {
    position: absolute;
    left: 40px;
    top: -9px;
    color: var(--dark-grey);
    font-size: 12px;
    pointer-events: none;
    padding: 0 12px;
    transition: 0.2s ease all;
    z-index: 2;
    line-height: 1;
  }

  .floating-label-group .form-input:focus+label,
  .floating-label-group .form-input:not(:placeholder-shown)+label,
  .floating-label-group select.form-input:valid+label {
    top: -9px;
    left: 40px;
    font-size: 12px;
    color: var(--dark-grey);
  }

  /*MADERALIA — LOCALIZAÇÃO / DATAS / STAND */
.maderalia-location {
  width: 100%;
  background: #f5fbf9;
  padding: 90px 40px 100px;
  box-sizing: border-box;
}

.maderalia-location-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/*TÍTULO*/
.maderalia-location h2 {
  margin: 0 auto 75px;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 35px;
  line-height: 1.08;
  font-weight: 400;
  color: var(--dark-grey);
}

.maderalia-location h2 strong {
  font-weight: 700;
}

/*GRID*/
.maderalia-location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  align-items: start;
}

/*CADA BLOCO*/
.maderalia-location-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*CÍRCULO DOS ÍCONES*/
.maderalia-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 45px;
}

/* SVG */
.maderalia-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

/*TÍTULOS DOS BLOCOS*/
.maderalia-location-item h3 {
  margin: 0 0 18px;
  font-family: var(--font-primary);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 600;
  color: var(--dark-grey);
}

/*TEXTO*/
.maderalia-location-item p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--secondary-grey);
}


/*DATAS / STAND EM DESTAQUE*/
.maderalia-location-item p strong {
  font-weight: 700;
}

.maderalia-location-item .stand-number {
  color: #50bd87;
}

/*TABLET*/
@media (max-width: 1000px) {

  .maderalia-location {
      padding: 70px 30px 80px;
  }

  .maderalia-location h2 {
      font-size: 44px;
      margin-bottom: 60px;
  }

  .maderalia-location-grid {
      gap: 30px;
  }

  .maderalia-icon {
      width: 100px;
      height: 100px;
      margin-bottom: 35px;
  }

  .maderalia-icon img {
      width: 60px;
      height: 60px;
  }
}

/*MOBILE*/
@media (max-width: 700px) {

  .maderalia-location {
      padding: 60px 20px 70px;
  }

  .maderalia-location h2 {
      font-size: 34px;
      line-height: 1.1;
      margin-bottom: 50px;
  }

  .maderalia-location-grid {
      grid-template-columns: 1fr;
      gap: 55px;
  }
}

/* Erro campos obrigatórios */
.contact-form.was-validated .form-input:required:invalid {
  border-color: #d32f2f;
  box-shadow: 0 0 0 1px #d32f2f;
}

/* Label dos campos com erro */
.contact-form.was-validated .floating-label-group:has(.form-input:required:invalid) label {
  color: #d32f2f;
}

/* Asterisco */
.required {
  color: #d32f2f;
}

/*save the date*/
/* ================================
   MADERALIA — HERO / SAVE THE DATE
   ================================ */

   .video-side {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.video-side-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
}

.save-the-date {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;

    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;

    font-family: var(--font-primary);
    color: #ffffff;
    text-align: center;
}

.maderalia-title {
    margin: 0;
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 3px;
}

.save-the-date p {
    margin: 18px 0 0;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 5px;
    color: #ffffff;
}


/* ================================
   MOBILE
   ================================ */

@media (max-width: 768px) {

    .video-side {
        height: 220px;
    }

    .maderalia-title {
        font-size: 27px;
        letter-spacing: 2px;
    }

    .save-the-date p {
        margin-top: 12px;
        font-size: 11px;
        letter-spacing: 3px;
    }
}