/* - - - - - BANNER - - - - - */

/*
Medidas tiradas direto do vetor do XD (artboard 1920px):
  banner: 1920x865
  caixa:  x:0 y:505 w:837 h:240, fill navy 59% opacity, raio 0 10 10 0
  título: x:395 y:578, Myriad Pro Bold Condensed 60px branco (2ª linha laranja #FF8529)
  texto:  x:395 y:676, Myriad Pro Condensed 22px branco
*/

.banner_home {
    width: 100%;
    height: 710px;
    position: relative;
    overflow: hidden;
}

.banner_home_carousel,
.banner_home_carousel li {
    width: 100%;
    height: 100%;
}

.banner_home_carousel li {
    position: relative;
    overflow: hidden;
}

.banner_home_imagem {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .bloco genérico (reset.css) + modificador de contexto do banner */
.texto_banner {
    width: 890px;
    height: 240px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 355px;
    z-index: 2;
    align-content: center;
    padding: 0 40px 0 395px;
}

/* fundo azul translúcido: before do .bloco, não da caixa de conteúdo */
.texto_banner:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 48, 148, .59);
    border-radius: 0 10px 10px 0;
    z-index: 0;
}

.texto_banner>* {
    position: relative;
    margin-bottom: 10px;
    z-index: 1;
    font-family: var(--font-alt);
}

.texto_banner .titulo {
    font-size: 50px;
}

.texto_banner .descricao {
    font-size: 17px;
}

.texto_banner .destaque {
    display: block;
    color: #FF8529;
}


/* - - - - - BANNER - - - - - */

/* - - - - - SERVIÇOS - - - - - */

.servicos {
    width: 100%;
    padding: 0 0 80px;
    margin-top: -54px;
    position: relative;
    z-index: 2;
}

.servicos_lista {
    display: flex;
    gap: 79px;
    padding: 0 60px;
}

.servico_card {
    width: calc(50% - 39.5px);
    height: 465px;
    position: relative;
    display: block;
    transition: transform .4s ease, box-shadow .4s ease;
}

.servico_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .22);
}

.servico_card_imagem {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;
    border: 10px solid var(--white);
}

/* .bloco genérico (reset.css) + modificador de contexto do card */
.servico_card_texto {
    width: 100%;
    height: 266px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    bottom: 0;
    align-content: flex-end;
    justify-content: center;
    padding: 0 30px 40px;
    text-align: center;
}

/* gradiente: before do .bloco, não da imagem */
.servico_card_texto:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(32, 47, 88, 0) 0%, var(--secondary) 100%);
    z-index: 0;
    transition: background .4s ease;
}

.servico_card:hover .servico_card_texto:before {
    background: linear-gradient(to bottom, rgba(32, 47, 88, .1) 0%, var(--secondary) 100%);
}

.servico_card_texto>* {
    position: relative;
    z-index: 1;
}

.servico_card_texto .titulo {
    font-weight: 400;
}

.servico_card_texto .titulo strong {
    font-weight: 700;
}

.servico_card_mais {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    box-sizing: border-box;
    background: var(--secondary);
    border: 3px solid var(--white);
    color: var(--white);
    font-family: var(--font-headers);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    transition: var(--transition);
}

.servico_card:hover .servico_card_mais {
    background: var(--primary);
    transform: translate(-50%, 50%) rotate(45deg);
}

/* - - - - - SERVIÇOS - - - - - */

/* - - - - - SOBRE - - - - - */

/*
Medidas tiradas do vetor do XD:
  section: 1920x730, fundo #414040 (--gray-dark)
  texto:   metade esquerda, coluna começa em x:431 (padding-left)
  eyebrow: Montserrat Medium 18px laranja #FF8529
  título:  MAZZIOTTI, Montserrat ExtraBold 60px branco
  materiais: pills 170x50, transparente, borda 1px #828181, raio 10px, gap 46x22
  frase:   Myriad Semibold Italic 22px laranja
  botão:   116x32, transparente, borda 1px #787878, raio 7px, 11px, deslocado à direita (x:729, ou seja 298px além da margem do texto)
*/

.sobre {
    width: 100%;
    position: relative;
    background: var(--gray-dark);
}

/* .bloco genérico (reset.css) + modificador de contexto do sobre */
/* texto vai dentro do .central (guias do XD em x:360/1560 = exatamente o max-width:1200 centralizado),
   por isso o padding-left é 71px (431 medido no XD, menos os 360 do próprio .central) */
.sobre_texto {
    width: 50%;
    box-sizing: border-box;
    padding: 116px 60px 60px 71px;
}

.sobre_materiais {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 22px 46px;
}

.sobre_material {
    width: 170px;
    height: 50px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #828181;
    border-radius: 10px;
}

.sobre_frase {
    font-weight: 600;
}

.sobre_botao {
    width: auto;
    height: 32px;
    line-height: 28px;
    min-width: auto;
    box-sizing: border-box;
    padding: 0 18px;
    margin-left: 298px;
    background: transparent;
    color: var(--white);
    border: 1px solid #787878;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 400;
    transition: var(--transition);
}

.sobre_botao:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.sobre_imagem {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

.sobre_imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sobre_imagem .owl-stage-outer,
.sobre_imagem .owl-stage,
.sobre_imagem .owl-item,
.sobre_carousel_item {
    width: 100%;
    height: 100%;
}

/* - - - - - SOBRE - - - - - */

/* - - - - - DEPOIMENTOS - - - - - */

/*
Medidas tiradas do vetor do XD:
  section: sem fundo próprio (branco), padding ~100px 0 70px
  título:  "DEPOIMENTOS" Myriad Bold 26px #414040, subtítulo "O que nossos..." Myriad Regular 25px #A59D9D
  cards:   2x 477x300, raio 5px, fundo #EFEFEF, gap 33px (owl margin:30 já configurado no fn.js, bem próximo)
  aspas:   70x70, centralizado, 18px do topo do card
  texto:   Myriad Regular 15px #707070 (--gray-text)
  autor:   Bold #474545 (medidas variaram 22/18px entre os dois depoimentos do XD; padronizei 18px)
*/

.depoimentos {
    width: 100%;
    padding: 100px 0 70px;
}

.depoimentos_titulo {
    margin-bottom: 45px;
}

.depoimentos_titulo>* {
    margin-bottom: 0;
}

.depoimentos_subtitulo {
    color: #A59D9D;
}

.depoimentos_carousel,
.depoimentos_carousel li {
    width: 100%;
}

.depoimentos_carousel {
    max-width: 987px;
    margin: 0 auto;
}

.depoimento_card {
    height: 300px;
    box-sizing: border-box;
    padding: 35px 45px;
    background: #EFEFEF;
    border-radius: 5px;
    justify-content: center;
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

.depoimento_card:hover {
    background: var(--white);
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
}

/* especificidade igual à regra padrão do Owl (.owl-carousel .owl-item img), carregada depois, pra poder sobrescrever a largura */
.depoimentos_carousel .owl-item .depoimento_card_aspas {
    width: 70px;
    margin: 0 auto 25px;
}

.depoimento_card_autor {
    display: block;
    color: #474545;
    font-family: var(--font-headers);
    font-size: 18px;
    font-weight: 700;
}

/* - - - - - DEPOIMENTOS - - - - - */

/* - - - - - ÚLTIMAS PUBLICAÇÕES - - - - - */

/*
Medidas tiradas do vetor do XD:
  imagem de fundo: 1920x465, overlay preto em duas faixas de opacidade
           (.5 até 53.39% da largura / .65 dali pra frente — simulado com gradiente de corte duro)
  título:  "ÚLTIMAS" Light 45px branco / "PUBLICAÇÕES" Bold 45px #D4460A (--primary-hover)
  botão:   141x42, raio 10px, fundo #D4460A (--primary-hover)
  cards:   blog já existente (344x522, reutilizado) com variante --dark — mais alto que a imagem de fundo,
           por isso o bloco intro alinha pelo topo, na mesma linha do card, e não centralizado
*/

.publicacoes {
    width: 100%;
    position: relative;
    padding: 134px 0 70px;
    overflow: hidden;
}

/* imagem de fundo + faixa escura: before da section, com altura fixa de 465px (não acompanha a altura dos cards) */
.publicacoes:before {
    content: "";
    width: 100%;
    height: 465px;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(to right, rgba(6, 6, 6, .5) 0%, rgba(6, 6, 6, .5) 53.39%, rgba(6, 6, 6, .65) 53.39%, rgba(6, 6, 6, .65) 100%), url('../../imagens/publicacoes-bg.jpg') center / cover no-repeat;
    z-index: 1;
}

.publicacoes_central {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* .bloco genérico (reset.css) + modificador de contexto */
.publicacoes_intro {
    width: 34%;
    flex-shrink: 0;
}

.publicacoes_titulo {
    line-height: 1.15;
}

.publicacoes_titulo_leve {
    display: block;
    font-weight: 300;
}

.publicacoes_titulo_destaque {
    display: block;
    color: var(--primary-hover);
}

.publicacoes_botao {
    width: auto;
    background: var(--primary-hover);
    color: var(--white);
}

.publicacoes_botao:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.publicacoes_lista {
    display: flex;
    gap: 15px;
}

/* - - - - - ÚLTIMAS PUBLICAÇÕES - - - - - */