/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.elementor-loop-container .e-con {
    height: 100%;
}

.elementor-loop-container .e-con-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.data-post-container{
    flex-grow:0 !important;
    height:auto !important;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.btn-chanfro .elementor-button, .btn-chanfro .elementor-button:hover, .wpforms-submit, .wpforms-submit:hover  {
  clip-path: polygon(
    0 0,
    calc(100% - 22px) 0,
    100% 22px,
    100% 100%,
    0 100%
  );
}

.btn-chanfro .elementor-button{
  position: relative;
  padding: 14px 28px;
  border: 2px solid #a79d60;
  background: #a79d60;
  color: #fff;
  clip-path: polygon(
    0 0,
    calc(100% - 22px) 0,
    100% 22px,
    100% 100%,
    0 100%
  );
}

.wpforms-submit {
    padding-right: 30px !important;
}

.wpforms-submit:hover {
    background: #ffffff !important;
    color: #A09857 !important;
    border: 1px solid #A09857 !important;
}

/* container */
.foto-moldura{
  position: relative;
  display:inline-block;
}

/* remove espaços do elementor */
.foto-moldura .elementor-widget-container{
  padding:0 !important;
  margin:0 !important;
}

/* imagem */
.foto-moldura img{
  display:block;
  position:relative;
  z-index:2;

  /* sombra moderna */
  box-shadow:
    0 20px 35px rgba(0,0,0,0.12),
    0 8px 15px rgba(0,0,0,0.08);
}

/* barra esquerda (mais curta) */
.foto-moldura::before{
  content:"";
  position:absolute;
  top:40px;
  left:-16px;
  width:12px;
  height:calc(100% - 80px);
  background:#A09857;
  z-index:1;
}

/* barra inferior (mais curta) */
.foto-moldura::after{
  content:"";
  position:absolute;
  left:40px;
  bottom:-16px;
  width:calc(100% - 80px);
  height:12px;
  background:#A09857;
  z-index:1;
}

/* chanfro */
.foto-chanfro img{
  clip-path: polygon(
    0 0,
    calc(100% - 60px) 0,
    100% 60px,
    100% 100%,
    0 100%
  );
}

.divisor-fade .elementor-divider-separator{
border-top-style:solid;
border-top-width:1px;
border-image:linear-gradient(
  to right,
  transparent,
  #A09857,
  transparent
) 1;
}

.timeline{
    position:relative;
    max-width:1100px;
    margin:auto;
}

/* linha central */

.timeline::before{
    content:"";
    position:absolute;
    left:50%;
    top:0;
    width:2px;
    height:100%;
    background:linear-gradient(
    to bottom,
    transparent,
    #A09857,
    #A09857,
    transparent
    );
    transform:translateX(-50%);
}

/* item */

.timeline-item{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
    margin:40px 0;
    position:relative;
}

/* ponto da timeline */

.timeline-item::before{
    content:"";
    position:absolute;
    left:50%;
    width:14px;
    height:14px;
    background:#A09857;
    border-radius:50%;
    transform:translate(-50%);
    box-shadow:0 0 0 6px #ffffff;
}

/* inverter lados */

.timeline-item.reverse .timeline-content{
    order:2;
}

.timeline-item.reverse .timeline-image{
    order:1;
}


.timeline-item::before{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:14px;
    height:14px;
    background:#A09857;
    border-radius:50%;
    transform:translate(-50%, -50%);
    box-shadow:0 0 0 6px #ffffff;
    z-index:2;
}

/* texto */

.timeline-year{
    font-size:42px;
    font-weight:700;
    color:#A09857;
    margin-bottom:10px;
}

.timeline-text{
    font-size:16px;
    line-height:1.7;
    color:#444;
    }

/* ano gigante em background */
.timeline-year-bg * {
    font-size:130px !important;
    font-weight:700;
    color:rgba(160,152,87,0.08) !important;
    line-height:0.6 !important;
    letter-spacing:3px;
    margin-bottom:-70px;
    pointer-events:none;
    display:block;
}

/* garante que o conteúdo fique acima */

.timeline-content{
    position:relative;
    z-index:1;
}

/* imagem */

.timeline-image img{
width:100%;
box-shadow:
0 20px 40px rgba(0,0,0,0.12);
}



@media(max-width:768px){

    .timeline::before{
    left:20px;
    }
    
    .timeline-item{
    grid-template-columns:1fr;
    gap:25px;
    padding-left:40px;
    }
    
    .timeline-item::before{
    left:20px;
    }
    
    .timeline-image{
    order:2;
    }
    
    .timeline-content{
    order:1;
    }

}

.ekit-accordion-title em {
    font-style: italic;

    /* suavização */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* melhora visual */
    text-rendering: optimizeLegibility;

    /* evita serrilhado exagerado */
    display: inline-block;

    /* leve ajuste óptico */
    transform: translateY(0.02em);
}

.hero{
    position:relative;
    width:100%;
    overflow:hidden;
    isolation:isolate; 
}


.hero::before{
    content:"";
    position:absolute; inset:0;
    background:
      linear-gradient(
        95deg,
        rgba(10,58,57,1)     0%,
        rgba(10,58,57,1)    42%,
        rgba(10,58,57,.88)  52%,
        rgba(10,58,57,.45)  62%,
        rgba(10,58,57,.12)  74%,
        rgba(10,58,57,0)    85%
      );
    z-index:1;
    pointer-events:none;
}

.hero::after{
    content:"";
    position:absolute; inset:0;
    background:
      linear-gradient(115deg, transparent 0 54%, rgba(194,164,99,.42) 54%, rgba(194,164,99,.42) calc(54% + 1px), transparent calc(54% + 1px) 100%),
      linear-gradient(115deg, transparent 0 61%, rgba(194,164,99,.30) 61%, rgba(194,164,99,.30) calc(61% + 1px), transparent calc(61% + 1px) 100%),
      linear-gradient(180deg, transparent 60%, rgba(6,38,38,.55) 100%);
    z-index:2;
    pointer-events:none;
}

/* hero content */
.hero-inner{
    position:relative;
    z-index:3;
    margin:0 auto;
    display:grid;
    gap:64px;
    align-items:start;
}

.hero-inner-page{
    position:relative;
    z-index:3;
    display:grid;
    gap:64px;
    align-items:start;
}


.features::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 38, 38, .92) 0%, rgba(6, 38, 38, .95) 100%);
    z-index: 1;
}

@media (max-width: 1100px){
  .hero-inner{
    grid-template-columns: 1fr;
    padding: 48px 40px 80px;
  }
  /* mobile: cobertura quase total p/ legibilidade do texto branco */
  .hero::before{
    background: linear-gradient(
      180deg,
      rgba(10,58,57,.94) 0%,
      rgba(10,58,57,.90) 50%,
      rgba(10,58,57,.88) 100%
    );
  }
}

@media (max-width: 600px){
  .hero-inner{ padding: 36px 24px 64px; }
}