/*
     SISTEMA DE ESCALA PROPORCIONAL 1920px
     Padronizacao Rendimento Solution Architecture - ULTRA UNIQUE CLASSES
  */
  #block-obras{
    --cec-s4-navy: #253064;
    --cec-s4-gold: #d89a14;
    --cec-s4-white: #ffffff;
    --cec-s4-black: #000000;
  }

  #block-obras, #block-obras *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
  }

  @font-face{
    font-family: "Lemon Milk";
    src: url("/fontes/lemonmilk-bold.woff2")
      format("woff2");
    font-weight: 700;
    font-display: swap;
  }
  @font-face{
    font-family: "Ekster";
    src: url("/fontes/ekster-regular.woff2")
      format("woff2");
    font-weight: 400;
    font-display: swap;
  }

  #block-obras .cec-s4-section{
    width: 100%;
    background: var(--cec-s4-white);
    position: relative;
    overflow: hidden;
    height: 900px;
  }

  #block-obras #cec-s4-scaling{
    width: 1920px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(1);
    transform-origin: top center;
    padding: 80px 140px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #block-obras .cec-s4-reveal{
    opacity: 0;
    filter: blur(12px);
    transition:
      opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
      filter 1s cubic-bezier(0.23, 1, 0.32, 1),
      transform 1s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(30px);
    will-change: opacity, filter, transform;
  }

  #block-obras .cec-s4-reveal.is-visible{
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  #block-obras .cec-s4-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-bottom: 50px;
  }

  #block-obras .cec-s4-tag{
    font-size: 18px;
    font-weight: 700;
    color: var(--cec-s4-gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
    display: block;
    font-family: "Ekster", sans-serif;
  }

  #block-obras .cec-s4-title{
    font-family: "Lemon Milk", sans-serif;
    font-size: 34px;
    line-height: 1.1;
    color: var(--cec-s4-navy);
    text-transform: uppercase;
  }

  #block-obras .cec-s4-nav{
    display: flex;
    gap: 15px;
  }

  #block-obras .cec-s4-nav-btn{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cec-s4-gold) !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--cec-s4-white) !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    user-select: none !important;
    -webkit-user-select: none !important;
    touch-action: manipulation !important;
    outline: none !important;
    box-shadow: none !important;
  }

  #block-obras .cec-s4-nav-btn:hover{
    background: #c28a12 !important;
    transform: scale(1.1);
  }

  #block-obras .cec-s4-nav-btn svg{
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
  }

  #block-obras .cec-s4-slider{
    width: 100%;
    overflow: visible;
  }

  #block-obras .cec-s4-track{
    display: flex;
    gap: 30px;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
  }

  #block-obras .cec-s4-card{
    flex: 0 0 440px;
    height: 460px;
    display: flex;
    flex-direction: column;
    background: var(--cec-s4-navy);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: none;
  }

  #block-obras .cec-s4-card-img{
    height: 260px;
    position: relative;
    overflow: hidden;
    background: #151c3d;
  }

  #block-obras .cec-s4-card-img img{
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center;
    display: block;
  }

  #block-obras .cec-s4-card-content{
    flex: 1;
    padding: 30px 35px;
    display: flex;
    flex-direction: column;
    color: var(--cec-s4-white);
    justify-content: flex-start;
  }

  #block-obras .cec-s4-card-title{
    font-family: "Lemon Milk", sans-serif;
    font-size: 19px;
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
  }

  #block-obras .cec-s4-card-meta{
    font-family: "Ekster", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
  }

  #block-obras .cec-s4-card-meta strong{
    color: var(--cec-s4-white);
    font-weight: 700;
  }

  @media (max-width: 1024px){
    #block-obras .cec-s4-section{
      height: auto !important;
      padding: 80px 0;
    }

    #block-obras #cec-s4-scaling{
      width: 100% !important;
      position: relative !important;
      left: auto !important;
      transform: none !important;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    #block-obras .cec-s4-header{
      display: contents;
    }

    #block-obras .cec-s4-header > div:first-child{
      order: 1;
      margin-bottom: 30px;
      padding: 0 20px;
    }

    #block-obras .cec-s4-title{
      font-size: 30px;
      max-width: 15ch;
      margin: 0 auto;
    }

    #block-obras .cec-s4-slider{
      order: 2;
      width: 100%;
      overflow: hidden;
    }

    #block-obras .cec-s4-nav{
      order: 3;
      margin: 35px auto 0;
      justify-content: center;
      display: flex;
      width: 100%;
    }

    #block-obras .cec-s4-track{
      gap: 0;
      padding: 0;
    }

    #block-obras .cec-s4-card{
      flex: 0 0 calc(100% - 68px);
      margin: 0 34px;
      height: auto;
      border-radius: 24px;
    }

    #block-obras .cec-s4-card-img{
      height: 220px;
    }

    #block-obras .cec-s4-card-content{
      padding: 35px 25px;
      text-align: center;
      align-items: center;
    }

    #block-obras .cec-s4-card-title{
      font-size: 17px;
      justify-content: center;
      min-height: 0;
    }
  }

  @media (max-width: 768px){
    #block-obras .cec-s4-section{
      padding: 60px 0;
    }

    #block-obras .cec-s4-tag{
      font-size: 11px;
    }

    #block-obras .cec-s4-title{
      font-size: 22px;
    }

    #block-obras .cec-s4-card-meta{
      font-size: 13px;
      line-height: 1.4;
    }
  }