/* 
       SISTEMA DE ESCALA PROPORCIONAL 1920px (Espelhado de Sobre Nós)
    */
  #block-hero{
    --base-width: 1920;
    --navy: #253064;
    --gold: #d89a14;
    --white: #ffffff;
    --black: #000000;
  }

  @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;
  }
  @font-face{
    font-family: "Ekster";
    src: url("/fontes/ekster-medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
  }
  @font-face{
    font-family: "Ekster";
    src: url("/fontes/ekster-bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
  }

  #block-hero, #block-hero *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  #block-hero,
#block-hero{
    margin: 0;
    padding: 0;
    background: var(--white);
    font-family: "Ekster", sans-serif;
  }

  #block-hero .apc-s1-wrapper{
    width: 100%;
    height: 85vh;
    position: relative;
    overflow: hidden;
  }

  /* REVEAL APENAS BLUR (SEM MOVIMENTO) */
  #block-hero .apc-s1-reveal{
    opacity: 0;
    filter: blur(12px);
    transition:
      opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
      filter 0.8s ease;
    will-change: opacity, filter;
    transition-delay: var(--reveal-delay, 0s);
  }

  #block-hero .apc-s1-reveal.is-visible{
    opacity: 1;
    filter: blur(0);
  }

  #block-hero #apc-s1-scaling{
    width: 1920px;
    height: 1080px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    background: var(--white);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }

  #block-hero .apc-s1-section{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 140px;
    gap: 120px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  }

  #block-hero .apc-s1-left{
    width: 660px;
    flex: none;
    position: relative;
    z-index: 10;
    overflow: visible;
    transition:
      opacity 0.6s ease,
      transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
      width 0.8s cubic-bezier(0.23, 1, 0.32, 1),
      margin 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }

  #block-hero .apc-s1-inner-left{
    width: 660px;
    flex-shrink: 0;
  }

  #block-hero .apc-s1-tag{
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 5px;
    display: block;
  }

  #block-hero .apc-s1-title{
    font-family: "Lemon Milk", sans-serif;
    font-size: 34px;
    line-height: 1.1;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
    display: block;
  }

  #block-hero .apc-s1-text{
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--black);
  }

  #block-hero .apc-s1-text p{
    margin-bottom: 25px;
  }

  /* LADO DIREITO: VÍDEO */
  #block-hero .apc-s1-right{
    width: 860px;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 20;
  }

  #block-hero .apc-s1-video-container{
    width: 860px;
    height: 520px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    background: #000;
    position: relative;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100;
  }

  /* CONTROLES AGRUPADOS NO LADO DIREITO */
  #block-hero .apc-s1-controls-group{
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 150;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }

  #block-hero .apc-s1-video-container:hover .apc-s1-controls-group,
#block-hero .apc-s1-video-container.controls-active .apc-s1-controls-group{
    opacity: 1;
    pointer-events: all;
  }

  #block-hero .apc-s1-btn{
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
  }

  /* BARRA DE PROGRESSO REFINADA */
  #block-hero .apc-s1-progress-container{
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    z-index: 110;
    cursor: pointer;
    transition:
      height 0.3s ease,
      opacity 0.5s ease;
    opacity: 0;
  }

  #block-hero .apc-s1-video-container:hover .apc-s1-progress-container,
#block-hero .apc-s1-video-container.controls-active .apc-s1-progress-container{
    opacity: 1;
  }

  #block-hero .apc-s1-progress-container:hover{
    height: 14px;
  }

  #block-hero .apc-s1-progress-bar{
    height: 100%;
    width: 0%;
    background: var(--gold);
    box-shadow: 0 0 15px rgba(216, 154, 20, 0.6);
    transition: width 0.1s linear;
  }

  #block-hero .apc-s1-btn:hover{
    background: var(--gold);
    transform: scale(1.1);
  }

  #block-hero .apc-s1-btn svg{
    width: 24px;
    height: 24px;
    fill: white;
    transition: transform 0.3s;
  }

  #block-hero .apc-s1-btn:active svg{
    transform: scale(0.9);
  }

  #block-hero .apc-s1-sound-toggle.is-playing svg{
    animation: hero__apcSpeakerPulse 1.5s infinite ease-in-out;
  }

  @keyframes hero__apcSpeakerPulse{
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
  }

  #block-hero .apc-s1-video-container video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
  }

  #block-hero .apc-s1-instruction{
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;
  }

  /* MODO EXPANDIDO 90% - PRETO SUAVE */
  #block-hero #apc-s1-scaling.is-expanded{
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(15px);
    z-index: 99999;
    width: 100vw !important;
    height: 100vh !important;
  }

  #block-hero #apc-s1-scaling.is-expanded .apc-s1-section{
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: transparent;
  }

  #block-hero #apc-s1-scaling.is-expanded .apc-s1-left{
    opacity: 0;
    pointer-events: none;
    width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transform: translateX(-350px);
  }

  #block-hero #apc-s1-scaling.is-expanded .apc-s1-instruction{
    display: none;
  }

  #block-hero #apc-s1-scaling.is-expanded .apc-s1-right{
    width: 90vw;
    height: 90vh;
    flex: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  #block-hero #apc-s1-scaling.is-expanded .apc-s1-video-container{
    width: 90vw;
    height: 90vh;
    border-radius: 50px;
    box-shadow: 0 50px 150px rgba(0, 0, 0, 0.9);
    background: #000;
    border: none;
  }

  #block-hero #apc-s1-scaling.is-expanded video{
    object-fit: cover;
    border-radius: 50px;
    width: 100%;
    height: 100%;
  }

  /* ── MOBILE ─────────────────────────────────────────── */
  @media (max-width: 768px){
    #block-hero .apc-s1-wrapper{
      height: auto;
      min-height: 100svh;
      overflow: visible;
    }

    #block-hero #apc-s1-scaling{
      position: relative !important;
      width: 100% !important;
      height: auto !important;
      top: auto !important;
      left: auto !important;
      transform: none !important;
      transition: none !important;
    }

    #block-hero .apc-s1-section{
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 52px 24px 48px;
      gap: 32px;
      height: auto;
      min-height: 100svh;
    }

    #block-hero .apc-s1-left{
      width: 100%;
      text-align: center;
      order: 1;
    }

    #block-hero .apc-s1-inner-left{
      width: 100%;
    }

    #block-hero .apc-s1-tag{
      font-size: 11px;
      letter-spacing: 2px;
      margin-bottom: 10px;
    }

    #block-hero .apc-s1-title{
      font-size: 26px;
      line-height: 1.2;
      margin-bottom: 18px;
    }

    #block-hero .apc-s1-text{
      font-size: 14px;
      line-height: 1.65;
      text-align: left;
    }

    #block-hero .apc-s1-text p{
      margin-bottom: 14px;
    }

    #block-hero .apc-s1-right{
      width: 100%;
      order: 2;
      gap: 10px;
    }

    #block-hero .apc-s1-video-container{
      width: 100%;
      height: 56vw;
      border-radius: 18px;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }

    #block-hero .apc-s1-video-container video{
      border-radius: 18px;
    }

    #block-hero .apc-s1-instruction{
      font-size: 10px;
      letter-spacing: 0.8px;
      color: #aaa;
    }

    #block-hero .apc-s1-fullscreen-btn{
      display: none !important;
    }

    #block-hero .apc-s1-controls-group{
      bottom: 12px;
      right: 12px;
    }

    #block-hero .apc-s1-sound-toggle{
      width: 38px;
      height: 38px;
    }

    #block-hero .apc-s1-sound-toggle svg{
      width: 17px;
      height: 17px;
    }
  }