/**
 * Estilos dos ACF Blocks e Header - Menin Theme
 */


/* block-home-hero */

.block-home-hero{
    position: relative;
    min-height: 100vh;
    padding-top: 98px;
}

@media (max-width: 991px) {
	.block-home-hero{
		padding-top: 88px;
	}
}

.home-hero__media{
    position: absolute;
    inset: 0;
}

.home-hero__image,
.home-hero__video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-home-hero__content{
    padding-top: 158px;
    position: relative;
    z-index: 1;
    height: 100%;
}

.home-hero__title{
    color: #EEDFCD;
}

/* block-home-about */

.block-home-about {
position: relative;
}

@media (max-width: 991px) {
	.block-home-about__image img{
        height: 700px;
        object-fit: cover;
    }
}

.block-home-about__image-inner{
position: relative;
z-index: 1;
}

.block-home-about__image-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    color: white; 

    svg {
        display: block;
        width: 100%;
        height: 100%;
    }
}

.block-home-about__image-overlay-svg{
    display: block;
    width: 100%;
    height: 100%;
}

.block-home-about__image-overlay .block-home-about__image-overlay-svg--mobile{
    display: none;
}

@media (max-width: 991px) {
	.block-home-about__image-overlay .block-home-about__image-overlay-svg--desktop{
		display: none;
	}

	.block-home-about__image-overlay .block-home-about__image-overlay-svg--mobile{
		display: block;
	}
}


.block-home-about__image-content{
    position: relative;
    z-index: 1;
    margin-top: -100px;
}


@media (max-width: 991px) {
	.block-home-about__image-content{
		margin-top: -53px;
	}
}

.block-home-about__title-inner{
    position: relative;
    background-color: white;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    text-align: center;
    padding: 14px 0 8px;
}

.block-home-about__title-inner::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 100%;
    width: 30px;
    aspect-ratio: 1;
    background-image: radial-gradient(
      circle at 100% 100%,
      transparent 71%,
      #ffffff 51%
    );
    background-repeat: no-repeat;
    transform: rotate(180deg);
  }

  .block-home-about__title-inner::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 100%;
    width: 30px;
    aspect-ratio: 1;
    background-image: radial-gradient(
      circle at 100% 100%,
      transparent 71%,
      #ffffff 51%
    );
    background-repeat: no-repeat;
    transform: rotate(270deg);
  }

.block-home-about__background{
    background-color: white;
    width: 100%;
    height: 40px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

@media (max-width: 991px) {
	.block-home-about__background{
		display: none
	}
}

.block-home-about__content{
    position: relative;
    z-index: 1;
    padding: 132px 0 173px;
    overflow: hidden;
}

@media (max-width: 991px) {
	.block-home-about__content{
		padding: 57px 0 163px;
	}
}

.block-home-about__content-images{
    position: relative;
    margin: 93px 0 93px;
}

@media (max-width: 991px) {
	.block-home-about__content-images{
		margin: 114px 0 93px;
	}
}

.block-home-about__secondary-title{
    font-family: 'Canela Deck', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    line-height: 1.2;
    font-style: italic;
    color: #AD644E;
    margin-bottom: 88px;
}

@media (max-width: 991px) {
	.block-home-about__secondary-title{
		font-size: 22px;
		margin-bottom: 38px;
        text-align: left;
        max-width: 70%;
	}
}

.block-home-about__secondary-description{
    margin-top: 40px;
    margin-bottom: 64px;
}

@media (max-width: 991px) {
	.block-home-about__secondary-description{
        margin-top: 0;
		margin-bottom: 65px;
	}
}

.block-home-about__secondary-logo{
    max-width: 306px;
}

@media (max-width: 991px) {
	.block-home-about__secondary-logo{
		display: none;
	}
}

.block-home-about__overlay-images{
    position: relative;
    z-index: 1;
}

.block-home-about__overlay-images--outside{
    display: none;
}

.block-home-about__overlay-image-secondary{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 50px 50px 50px 130px;
    z-index: 1;
}

@media (max-width: 991px) {
	.block-home-about__overlay-image-secondary{
		padding: 100px 20px 60px 20px;
        object-fit: cover;
        height: 100%;
	}
}

@media (max-width: 991px) {
	.block-home-about__overlay-images--inside{
		display: none;
	}

	.block-home-about__overlay-images--outside{
		display: block;
	}
}

@media (max-width: 991px) {
	.block-home-about__overlay-image{
		object-fit: cover;
        height: 508px;
	}
}

.block-home-about__image-left-content{
    position: relative;
    z-index: 1;
}

.block-home-about__text p{
    margin-bottom: 0;
}

.block-home-about__image-left{
    height: 532px;
    width: 100%;
    object-fit: contain;
    object-position: right;
    transform: rotate(-3deg);
    margin-right: -20px;
}

@media (max-width: 991px) {
	.block-home-about__image-left{
		position: relative;
        height: 325px;
        margin-right: 0;
        object-fit: cover;
        transform: rotate(0);
	}
}

.block-home-about__left-text{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 96px 30px;
    color: white;
    max-width: 292px;
}

@media (max-width: 991px) {
	.block-home-about__left-text{
		position: relative;
        color: #141414;
        max-width: 100%;
        padding: 132px 0 143px;
	}
}

.block-home-about__image-right{
    height: 680px;
    width: 478px;
    object-fit: cover;
    object-position: right;
    transform: rotate(3deg);
    margin-left: -20px;
}

@media (max-width: 991px) {
	.block-home-about__image-right{
        width: calc(100vw + 48px);
        max-width: none;
        margin-left: 0;
        position: relative;
        left: 50%;
        transform: translateX(-50%) rotate(3deg);
    }
}

/* block-home-sustainability */

.block-home-sustainability{
    position: relative;
    background-color: #FFFFFF;
}

.block-home-sustainability__title{
    position: relative;
    z-index: 1;
}

.block-home-sustainability__title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: 100%;
    background-color: #FFFFFF;
}


.block-home-sustainability__title::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    background-color: #FFFFFF;
}

@media (max-width: 991px) {
	.block-home-sustainability__title::before {
		width: 10%;
	}
	.block-home-sustainability__title::after {
		width: 10%;
	}
}

.block-home-sustainability__title-inner{
    position: relative;
    text-align: center;
    padding: 14px 0 8px;
}

.block-home-sustainability__title-inner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    aspect-ratio: 1;
    background-image: radial-gradient(
      circle at 100% 100%,
      transparent 71%,
      #ffffff 51%
    );
    background-repeat: no-repeat;
    transform: rotate(90deg);
}

.block-home-sustainability__title-inner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    aspect-ratio: 1;
    background-image: radial-gradient(
      circle at 100% 100%,
      transparent 71%,
      #ffffff 51%
    );
    background-repeat: no-repeat;
    transform: rotate(0);
}

.block-home-sustainability__white-box-primary{
    background-color: white;
    width: 100%;
    height: 100%;
    border-bottom-right-radius: 24px;
}

.block-home-sustainability__white-box-secondary{
    background-color: white;
    width: 100%;
    height: 100%;
    border-bottom-left-radius: 24px;
}

.block-home-sustainability__content{
    position: relative;
    z-index: 1;
    padding: 132px 0 551px;
}

@media (max-width: 991px) {
	.block-home-sustainability__content{
		padding: 71px 0 660px;
	}
}

.block-home-sustainability__content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    aspect-ratio: 1;
    background-image: radial-gradient(
      circle at 100% 100%,
      transparent 71%,
      #ffffff 51%
    );
    background-repeat: no-repeat;
    transform: rotate(0);
}

@media (max-width: 991px) {
	.block-home-sustainability__content::after {
        content: none;
	}
}

.block-home-sustainability__content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    aspect-ratio: 1;
    background-image: radial-gradient(
      circle at 100% 100%,
      transparent 71%,
      #ffffff 51%
    );
    background-repeat: no-repeat;
    transform: rotate(90deg);
}

@media (max-width: 991px) {
	.block-home-sustainability__content::before {
		content: none;
	}
}


.block-home-sustainability__image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


.block-home-sustainability__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-sustainability__title{
    color: #AD644E;
    margin-bottom: 32px;
}

@media (max-width: 991px) {
	.home-sustainability__title{
		margin-bottom: 24px;
        max-width: 70%;
	}
}

.home-sustainability__subtitle{
    color: #8E9166;
    margin-bottom: 32px;
}

@media (max-width: 991px) {
	.home-sustainability__subtitle{
		max-width: 70%;
	}
}

.home-sustainability__text{
    color: #141414;
}



/* block-home-brands */

.block-home-brands__title{
    position: relative;
    color: #FFFFFF;
    z-index: 1;
}

.block-home-brands__title-background{
    background-color: #141414;
    width: 100%;
    height: 144px;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
	.block-home-brands__title-background{
		height: 84px;
	}
}

.block-home-brands__title-content{
    position: relative;
    z-index: 1;
}

.block-home-brands__title-content .container{
    position: relative;
}

.block-home-brands__title-content .container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 100%;
    width: max(0px, calc((100vw - 100%) / 2));
    height: 100%;
    background-color: #141414;
}

.block-home-brands__title-content::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    aspect-ratio: 1;
    background-color: #141414;
}


.block-home-brands__title-inner{
    position: relative;
    text-align: center;
    padding: 14px 0 8px;
}

.block-home-brands__title-inner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    aspect-ratio: 1;
    background-image: radial-gradient(
      circle at 100% 100%,
      transparent 71%,
      #141414 51%
    );
    background-repeat: no-repeat;
    transform: rotate(90deg);
}

.block-home-brands__title-inner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    aspect-ratio: 1;
    background-image: radial-gradient(
      circle at 100% 100%,
      transparent 71%,
      #141414 51%
    );
    background-repeat: no-repeat;
    transform: rotate(0);
}

.block-home-brands__title-box-primary{
    background-color: #141414;
    width: 100%;
    height: 100%;
    border-bottom-right-radius: 24px;
}
.block-home-brands__title-box-secondary{
    background-color: #141414;
    width: 100%;
    height: 100%;
    border-bottom-left-radius: 24px;
}

.block-home-brands__title-image{
    margin-top: -64px;
    position: relative;
}

.block-home-brands__title-image img{
    width: 100%;
    height: 740px;
    object-fit: cover;
}

@media (max-width: 991px) {
	.block-home-brands__title-image img{
		height: 680px;
	}
}

.block-home-brands__title-image-overlay{
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    color: white; 
}

.block-home-brands__title-image-overlay-svg{
    width: 100%;
    height: auto;
    display: block;
}

.block-home-brands__title-image-overlay-svg--mobile{
    display: none;
}

@media (max-width: 991px) {
    .block-home-brands__title-image-overlay-svg--desktop{
        display: none;
    }

    .block-home-brands__title-image-overlay-svg--mobile{
        display: block;
    }
}

.block-home-brands__content{
    position: relative;
    z-index: 1;
    padding: 8px 0 72px;
}

@media (max-width: 991px) {
	.block-home-brands__content{
		padding: 97px 0 48px;
	}
}

.home-brands__card{
    position: relative;
    z-index: 1;
    margin-bottom: 56px;
}

@media (max-width: 991px) {
	.home-brands__card:first-child{
		margin-bottom: 157px;
	}

	.home-brands__card:nth-child(2){
		margin-bottom: 0;
	}
}

.home-brands__card .home-brands__image{
    transition: transform 0.75s ease;
    transform-origin: center center;
}

.home-brands__image--after-logo{
    transition: none;
}

@media (hover: hover) and (pointer: fine){
    /* 1.ª, 3.ª… marcas: -90° | 2.ª, 4.ª… : +90° */
    .home-brands__card:nth-child(odd):hover .home-brands__image--desktop{
        transform: rotate(-90deg);
    }
    .home-brands__card:nth-child(even):hover .home-brands__image--desktop{
        transform: rotate(90deg);
    }
}

@media (prefers-reduced-motion: reduce){
    .home-brands__card .home-brands__image{
        transition: none;
    }
    .home-brands__card:hover .home-brands__image--desktop{
        transform: none;
    }
}

.home-brands__card-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    height: 100%;
}

.home-brands__image{
    max-height: 700px;
}

/* Mobile: roda 90°; limites cqi/cqb para a caixa rodada caber no retângulo (evita cortes). */
@media (max-width: 767px) {
	.home-brands__image-rotary{
		position: relative;
		width: 100%;
		max-width: min(100%, 420px);
		margin-inline: auto;
		align-self: stretch;
		min-height: 0;
		/* Menos alto que 3/4: reduz faixas vazias em cima/baixo com a foto rodada. */
		aspect-ratio: 5 / 6;
		max-height: min(100vw, 250px);
		overflow: hidden;
		container-type: size;
		container-name: home-brands-image-rotary;
	}

	.home-brands__image-rotary .home-brands__image{
		position: absolute;
		top: 50%;
		left: 50%;
		width: auto;
		height: auto;
		object-fit: contain;
		transform: translate(-50%, -50%) rotate(90deg);
		transform-origin: center center;
		max-height: 72vw;
		max-width: 118vmin;
	}

	.home-brands__card:nth-child(even) .home-brands__image-rotary .home-brands__image{
		transform: translate(-50%, -50%) rotate(-90deg);
	}

	@supports (max-height: 1cqi){
		.home-brands__image-rotary .home-brands__image{
			max-height: 100cqi;
			max-width: 100cqb;
		}
	}
}

.page-privacy-policy {
	padding: 200px 0 232px;
}

.page-privacy-policy__header {
	margin-bottom: 32px;
}

.page-privacy-policy__title {
	margin: 0;
	font-size: clamp(2rem, 1.5rem + 1.25vw, 3rem);
	line-height: 1.1;
}

.page-privacy-policy__content {
	font-size: 1rem;
	line-height: 1.75;
	color: #141414;
}

.page-privacy-policy__content > *:first-child {
	margin-top: 0;
}

.page-privacy-policy__content > *:last-child {
	margin-bottom: 0;
}

.page-privacy-policy__content h2,
.page-privacy-policy__content h3,
.page-privacy-policy__content h4 {
	margin-top: 2rem;
	margin-bottom: 0.8rem;
}

.page-privacy-policy__content p,
.page-privacy-policy__content ul,
.page-privacy-policy__content ol {
	margin-bottom: 1rem;
}

@media (max-width: 991px) {
	.page-privacy-policy {
		padding: 156px 0 176px;
	}

	.page-privacy-policy__header {
		margin-bottom: 24px;
	}
}

@media (max-width: 767px) {
	.page-privacy-policy {
		padding: 136px 0 156px;
	}

	.page-privacy-policy__title {
		font-size: clamp(1.75rem, 1.25rem + 2.8vw, 2.3rem);
		line-height: 1.15;
	}

	.page-privacy-policy__content {
		line-height: 1.65;
	}
}
