/* -----------------------------------------------------------
   RESET E ESTILOS GLOBAIS
----------------------------------------------------------- */
* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
}

html,
body {
      /*height: 100%;*/
      background: #736DA6;
      color: #fff;
}

html,
body,
* {
      font-family: 'Montserrat', sans-serif !important;
}

.site-root {
      background: #000;
      color: #fff;
}

/* -----------------------------------------------------------
   UTILITÁRIOS DE VISIBILIDADE (Desktop/Mobile)
----------------------------------------------------------- */
.only-desktop {
      display: flex !important;
}

.only-mobile {
      display: none !important;
}

.section-mobile-only {
      display: block !important;
}

.section-desktop-only {
      display: none !important;
}

@media screen and (max-width: 1000px) {
      .only-desktop {
            display: none !important;
      }

      .only-mobile {
            display: block !important;
      }
}

/* Media Query principal para alternar seções de cabeçalho */
@media (min-width: 1080px) {
      .section-mobile-only {
            display: none !important;
      }

      .section-desktop-only {
            display: flex !important;
      }
}

/* -----------------------------------------------------------
   ESTRUTURAS GERAIS DE SEÇÃO
----------------------------------------------------------- */
.section-container {
      background-color: #6e6ca0;
      /* Roxo padrão (sobrescrito inline quando necessário) */
      display: flex;
      justify-content: center;
      padding: 50px 20px 0px 20px;
}

@media (max-width: 768px) {
      .section-container {
            padding: 40px 20px;
      }
}

.content-wrapper {
      display: flex;
      flex-wrap: wrap;
      max-width: 1400px;
      gap: 40px;
      width: 100%;
}

/* -----------------------------------------------------------
   BLOCO SEGURO (Seção Bege 2 em 1)
----------------------------------------------------------- */
.bloco-seguro {
      background-color: #F5DEC8;
      padding: 60px 0;
      display: flex;
      justify-content: center;
      position: relative;
}

.conteudo {
      display: flex;
      align-items: center;
      gap: 50px;
      max-width: 1200px;
      width: 90%;
}

.coracao-canto {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 600px;
}

.lado-esquerdo .foto {
      width: 600px;
      height: auto;
      border-radius: 20px;
      object-fit: cover;
}

.lado-direito h2 {
      font-size: 32px;
      font-weight: 700;
      color: #736DA6;
      margin-bottom: 10px;
}

.lado-direito p {
      font-size: 18px;
      font-weight: 400;
      color: #736DA6;
      max-width: 450px;
      line-height: 1.5;
}

@media (min-width: 1100px) and (max-width: 1500px) {
      .coracao-canto {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 450px;
      }
}

@media (max-width: 1100px) {
      .conteudo {
            flex-direction: column-reverse;
            text-align: center;
            gap: 25px;
      }

      .lado-esquerdo .foto {
            width: 100%;
            max-width: 350px;
      }

      .lado-direito h2 {
            font-size: 24px;
      }

      .lado-direito p {
            font-size: 16px;
            max-width: 90%;
            margin: 0 auto;
      }

      .coracao-canto {
            width: 300px;
      }
}

/* -----------------------------------------------------------
   GRID CONFORTO (Berço com tela)
----------------------------------------------------------- */
.grid-conforto {
      display: grid;
      grid-template-columns: 4fr 6fr;
      grid-template-rows: auto auto;
      gap: 20px;
      width: 100%;
      max-width: 1100px;
}

.item-texto-topo {
      grid-column: 1;
      grid-row: 1;
      align-self: end;
      margin-bottom: 40px;
}

.item-imagem-central {
      grid-column: 2;
      grid-row: 1 / span 2;
      display: flex;
      align-items: center;
      justify-content: center;
}

.item-texto-baixo {
      grid-column: 1;
      grid-row: 2;
      align-self: start;
      position: relative;
}

.titulo-amarelo {
      color: #FAE400;
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 15px;
      line-height: 1.2;
}

.texto-branco {
      color: #FDEDDD;
      font-size: 18px;
      line-height: 1.5;
      font-weight: 400;
}

.seta-rosa {
      position: absolute;
      top: 170px;
      right: -400px;
      width: 400px;
      display: block;
}

@media (max-width: 1100px) {
      .grid-conforto {
            display: flex;
            flex-direction: column;
            text-align: center;
            gap: 40px;
            max-width: 425px;
      }

      .item-texto-topo {
            order: 1;
            margin-bottom: 0;
      }

      .item-imagem-central {
            order: 2;
      }

      .item-texto-baixo {
            order: 3;
      }

      .titulo-amarelo {
            font-size: 24px;
      }

      .titulo-amarelo2 {
            margin-top: 60px;
      }

      .texto-branco {
            font-size: 16px;
            padding: 0 10px;
      }

      .seta-rosa {
            position: relative;
            top: auto;
            right: auto;
            margin: -80px auto 20px 160px;
            transform: rotate(292deg);
            display: block;
            width: 160px;
      }
}

/* -----------------------------------------------------------
   SEÇÃO TRANSPORTE (Bolsa)
----------------------------------------------------------- */
.section-transporte {
      background-color: #FFEDDA;
      padding: 80px 20px 0px 20px;
      display: flex;
      justify-content: center;
}

.wrapper-transporte {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      max-width: 1100px;
      width: 100%;
      gap: 50px;
}

.col-img-transporte {
      display: flex;
      justify-content: center;
}

.img-bolsa {
      width: 100%;
      max-width: 550px;
      height: auto;
      display: block;
}

.col-text-transporte {
      display: flex;
      flex-direction: column;
      justify-content: center;
}

.titulo-roxo-transporte {
      color: #736DA6;
      font-size: 32px;
      font-weight: 800;
      margin-bottom: 20px;
      line-height: 1.2;
}

.desc-roxo-transporte {
      color: #736DA6;
      font-size: 18px;
      line-height: 1.6;
      font-weight: 400;
}

@media (max-width: 900px) {
      .section-transporte {
            padding: 50px 20px 0px 20px;
      }

      .wrapper-transporte {
            display: flex;
            flex-direction: column-reverse;
            text-align: center;
            gap: 30px;
      }

      .titulo-roxo-transporte {
            font-size: 26px;
      }

      .desc-roxo-transporte {
            font-size: 16px;
            padding: 0 10px;
      }

      .img-bolsa {
            width: 100%;
            max-width: 450px;
      }
}

/* -----------------------------------------------------------
   GRID DETALHES (Montagem e Colchão)
----------------------------------------------------------- */
.grid-detalhes {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 40px;
      max-width: 1000px;
      width: 100%;
      position: relative;
}

.area-texto-top {
      grid-column: 1;
      grid-row: 1;
      align-self: center;
      justify-self: start;
      max-width: 420px;
}

.area-img-dobrada {
      grid-column: 2;
      grid-row: 1;
      align-self: center;
      justify-self: center;
}

.area-img-aberta {
      grid-column: 1;
      grid-row: 2;
      align-self: center;
      justify-self: center;
}

.area-texto-bottom {
      grid-column: 2;
      grid-row: 2;
      align-self: center;
      justify-self: start;
      max-width: 400px;
}

.seta-conector {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 250px;
      pointer-events: none;
      z-index: 1;
}

.titulo-amarelo-detalhe {
      color: #FAE400;
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 15px;
      line-height: 1.2;
}

.texto-branco-detalhe {
      color: #FDEDDD;
      font-size: 18px;
      line-height: 1.5;
      font-weight: 400;
}

@media (max-width: 1100px) {

      #d5,
      #d51 {
            max-width: 300px !important;
      }

      .grid-detalhes {
            display: flex;
            flex-direction: column;
            text-align: center;
            gap: 30px;
            max-width: 425px;
      }

      .area-texto-top {
            order: 1;
            justify-self: center;
            margin: 0 auto;
      }

      .area-img-dobrada {
            order: 2;
      }

      .seta-conector {
            order: 3;
            position: relative;
            top: auto;
            left: auto;
            transform: none;
            margin: -110px auto -90px 70px;
            width: 150px;
            transform: rotate(338deg);
      }

      .area-img-aberta {
            order: 4;
      }

      .area-texto-bottom {
            order: 5;
            justify-self: center;
            margin: 0 auto;
      }

      .titulo-amarelo-detalhe {
            font-size: 28px;
      }

      .texto-branco-detalhe {
            font-size: 16px;
            padding: 0 10px;
      }
}

/* -----------------------------------------------------------
   SEÇÃO FINAL
----------------------------------------------------------- */
.section-final {
      background-color: #FFF0E5;
      padding: 60px 20px;
      display: flex;
      justify-content: center;
      align-items: center;
}

.container-banner-final {
      width: 100%;
      max-width: 1200px;
      display: flex;
      justify-content: center;
}

.img-banner-final {
      width: 100%;
      height: auto;
      display: block;
}

@media (max-width: 900px) {
      .section-final {
            padding: 40px 20px;
      }
}