main {
    padding: 3rem 1rem;
    position: relative;
    min-height: 90vh;
    scroll-margin: 140px;
    overflow: hidden;
}
main .content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}
main .content .left {
    max-width: 500px;
}
main h1 {
    text-align: left;
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--azul);
    max-width: max-content;
    margin: 0 0 2rem;
    border-bottom: 2px solid var(--azul);
    letter-spacing: 1px;
}
main p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--azul);
    line-height: 1.8;
}
main p strong {
    font-weight: 800;
}
span.text-bg {
    position: absolute;
    bottom: 1rem;
    left: -1rem;
    overflow: hidden;
    font-size: 8rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    color: #eeeded;
    z-index: -1;
    pointer-events: none;
}
section.como-funciona {
    background-image: url("../img/clube/bg-como-funciona.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 3rem 1rem;
}
section.como-funciona h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    max-width: max-content;
    margin: 0 auto 2rem;
    border-bottom: 2px solid #ffffff;
    letter-spacing: 1px;
}
section.como-funciona p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.8;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
section.como-funciona p strong {
    font-weight: 800;
}
section.dinamica {
    padding: 3rem 1rem;
}
section.dinamica h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--azul);
    max-width: max-content;
    margin: 0 auto 2rem;
    border-bottom: 2px solid var(--azul);
    letter-spacing: 1px;
}
section.dinamica .items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto 4rem;
}
.item {
    background-color: var(--azul);
    color: #fff;
    padding: 2rem;
    position: relative;
}
.item:nth-child(2) {
    transition-delay: 1s;
}
.item:nth-child(3) {
    transition-delay: 2s;
}
.item:nth-child(4) {
    transition-delay: 3s;
}
.item:nth-child(2),
.item:nth-child(4) {
    background-color: var(--cinza);
}
.item span.number {
    position: absolute;
    top: 50%;
    left: -2rem;
    transform: translateY(-50%);
    font-size: 5rem;
    font-weight: 800;
    color: var(--amarelo);
}
.item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}
.item p {
    font-weight: 500;
}
.area-temas {
    position: relative;
}
.area-temas::before {
    content: '';
    width: 30%;
    height: 3px;
    background-color: var(--cinza);
    position: absolute;
    top: -2rem;
    left: -1rem;
    overflow: hidden;
}
.area-temas::after{
    content: '';
    width: 30%;
    height: 3px;
    background-color: var(--cinza);
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    overflow: hidden;
}
.area-temas ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}
.area-temas ul li {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--azul);
    list-style: disc;
}
section.concebido {
    background-image: url("../img/clube/bg-concebido.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 4rem 1rem;
}
section.concebido h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    max-width: max-content;
    margin: 0 auto 2rem;
    border-bottom: 2px solid #fff;
    letter-spacing: 1px;
}
section.concebido ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-content: center;
    align-items: center;
    max-width: 1050px;
    margin: 0 auto;
}
section.concebido ul li {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    list-style: disc;
}
section.desde {
    background-image: url("../img/clube/bg-desde.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 4rem 1rem;
}
section.desde h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--azul);
    max-width: max-content;
    margin: 0 auto 1rem;
    letter-spacing: 1px;
}
section.desde p.subtitle {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--azul);
    max-width: max-content;
    margin: 0 auto 2rem;
}
section.desde .values {
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-value h3 {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--azul);
    max-width: max-content;
    margin: 0 auto;
}
.item-value h3 span {
    display: block;
    font-size: 7rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--azul);
    line-height: 1;
}
.item-value:first-child {
    padding-right: 3rem;
    margin-right: 3rem;
    border-right: 3px solid var(--amarelo);
}

.gallery_wrapper {
	--img-size: calc(100px - 0.5rem / 2);
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(6, var(--img-size));
	grid-template-rows: repeat(4, var(--img-size));
}

.gallery_wrapper img {
	max-width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	grid-column: span 2;
	border-radius: 0.5rem;
	clip-path: path(
		"M 80 20 C 100 0 100 0 120 20 C 140 40 160 60 180 80 C 200 100 200 100 180 120 C 160 140 140 160 120 180 C 100 200 100 200 80 180 C 60 160 40 140 20 120 C 0 100 0 100 20 80 Z"
	);
	transition: filter 500ms, clip-path 500ms;
}

.gallery_wrapper img:nth-of-type(4),
.gallery_wrapper img:nth-of-type(9) {
	grid-column: 2 / span 2;
}

.gallery_wrapper img:hover {
	z-index: 2;
	clip-path: path(
		"M 0 0 C 100 0 100 0 200 0 C 200 50 200 50 200 80 C 200 100 200 100 200 120 C 200 150 200 150 200 200 C 100 200 100 200 0 200 C 0 150 0 150 0 120 C 0 100 0 100 0 80 Z"
	);
}

.gallery_wrapper img:not(:hover) {
	animation: zIndexFix 500ms;
}

.gallery_wrapper:hover > img {
	filter: brightness(0.5) saturate(0.5);
}

.gallery_wrapper > img:hover {
	filter: brightness(1) saturate(1.5);
}
@keyframes zIndexFix {
	0%,
	100% {
		z-index: 2;
	}
}
@media (max-width: 1750px) {
    section.dinamica .items {
        max-width: 1450px;
    }
}
@media (max-width: 1500px) {
    section.dinamica .items {
        max-width: 1250px;
    }
}
@media (max-width: 1350px) {
    section.dinamica .items {
        grid-template-columns: repeat(2, 1fr);
        max-width: calc(100% - 3rem);
        gap: 2.5rem;
    }
}
@media (max-width: 1150px) {
    main .content {
        flex-direction: column;
        gap: 2rem;
    }
    main .content .left {
        max-width: 100%;
    }
    main .content .right {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    span.text-bg {
        font-size: 4rem;
    }
}
@media (max-width: 800px) {
    .area-temas ul,
    section.concebido ul {
        grid-template-columns: 1fr;
        padding-left: 1.5rem;
    }
    section.desde .values {
        flex-direction: column;
    }
    .item-value h3 span {
        font-size: 4rem;
    }
    .item-value:first-child {
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
        border-bottom: 3px solid var(--amarelo);
    }
}
@media (max-width: 768px) {
    main h1,
    section.como-funciona h2,
    section.dinamica h2,
    section.concebido h2 {
        font-size: 1.2rem;
    }
}
@media (max-width: 600px) {
    main {
        scroll-margin-top: 90px;
    }
    section.dinamica .items {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    span.text-bg {
        font-size: 3rem;
    }
}

