.home main {
    padding: 0;
}

.home main>section {
    min-height: calc(5rem + 60vh);
    display: flex;

}

.home .criatividade {
    background: var(--theme-color-preto) url('/assets/ilustra.svg') no-repeat 140% -100% / 50%;
    color: var(--theme-color-amarelo);
    display: flex;
    flex-flow: column nowrap;
    align-items: start;
    justify-content: center;
}

.criatividade h2 {
    font-family: var(--font-h1);
    font-weight: normal;
    color: var(--theme-color-amarelo);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin: 0;
}

.criatividade p {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    max-width: 40rem;
    margin-top: 1rem;
    line-height: 1.4;
    padding-right: 2rem;
    font-family: var(--font-title);
    color: #fff;
}

.cover h3 {
    text-shadow: 1px 2px 2px #0000009c;
    font-size: clamp(1.25rem, 7.5vw, 2rem);
    font-family: var(--font-title);
    font-style: italic;
    line-height: 1.15;
    padding: 0 2rem;
    color: #fff;
}

.home .cover {
    background: url('/assets/montanhas.svg') no-repeat -10% 110% / calc(12% + 10rem),
        url('/assets/ilustra.svg') no-repeat 170% 90% / 60%,
        var(--theme-color-azul) url('/assets/folhas.svg') no-repeat 40% -6rem / calc(10% + 10rem);
    text-align: center;
    color: white;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

.home h1 img {
    width: calc(10rem + 30vw);
    height: auto;
    vertical-align: middle;
}

.home .agencias {
    margin: 0;
    background-color: var(--theme-color-ciano);
    background: url('/assets/montanhas.svg') no-repeat 100% 103% / calc(12% + 10rem),
        url('/assets/ilustra.svg') no-repeat -92% 90% / 60%,
        var(--theme-color-ciano) url('/assets/folhas.svg') no-repeat 40% -6rem / calc(10% + 10rem);
    padding-left: max(calc(60vw - 17.5rem), 1rem);
}

.home .agencias h2 {
    font-family: var(--font-h1);
    font-weight: normal;
    color: #fff;
    text-shadow: 1px 1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000, -1px -1px 0px #000, 2px 2px 0px #000, 3px 3px 0px #000, 4px 4px 1px #000, 5px 5px 1px #000, 6px 6px 1px #000, 7px 7px 0px #000;
    font-size: clamp(3rem, 7vw, 4rem);
    transform: skewX(-3deg);
    line-height: 1;
    letter-spacing: -2px;
}

.home .agencias h3 {
    color: #ff0;
    filter: drop-shadow(1px 1px 1px #000a);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-top: 0;
    margin-bottom: 2rem;
    font-family: var(--font-title);
}

.home .agencias .submit {
    background-color: var(--theme-color-carmim);
    font-size: 1.1em;
}

@media (max-width: 640px) {
    .home .agencias {
        text-align: center;
    }

    .home .agencias .buttons {
        align-items: stretch;
    }

    .home .agencias .button {
        border: none;
    }
}

.carrossel {
    width: 100%;
    height: 80vh;
    overflow: hidden;
    position: relative;
}

.carrossel figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carrossel figure.active {
    opacity: 1;
}

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

.carrossel figcaption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    border-radius: 5px;
    font: 500 2.25em 'EugeneSans', sans-serif;
    color: var(--colibri-amarelo);
}

.carrossel .nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carrossel .nav button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1.25vmax;
    height: calc(1.5vh + 1.5vw + 1vmax);
    width: calc(1.5vh + 1.5vw + 1vmax);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    font-family: none;
}

.carrossel .nav button:active,
.carrossel .nav button:hover {
    background-color: rgba(0, 0, 0, 1);
    opacity: 1;
}

.carrossel progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.25em;
    appearance: none;
}

.carrossel progress::-webkit-progress-bar {
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease-in-out;
}

.carrossel progress::-webkit-progress-value {
    background-color: var(--colibri-amarelo);
    transition: width 0.3s ease-in-out;
}

.carrossel progress::-moz-progress-bar {
    background-color: #eee;
    transition: width 0.3s ease-in-out;
}

.carrossel .buttons {
    position: absolute;
    bottom: 2rem;
    right: 0;
    width: 100%;
    padding: inherit;
    padding-bottom: 0;
    justify-content: flex-end;
    margin: 0;
}

.carrossel .buttons .button {
    margin-left: 1rem;
    font-size: 1.35em;
    font-size: clamp(1.5rem, 1.5vw, 1.75rem);
    border: 2px solid #fff;
}

@media (max-width: 640px) {
    .carrossel figcaption {
        bottom: 4rem;
        left: 1rem;
        right: 1rem;
        text-align: center;
    }

    .carrossel .buttons {
        bottom: 0.5rem;
        padding: 0rem;
    }

}

.home .informativo {
    background-color: var(--surface-color);
    text-align: center;
}
.home .informativo h2 {
    font-family: var(--font-h1);
    font-weight: normal;
    color: var(--theme-color-bege);
    text-shadow: 1px 1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000, -1px -1px 0px #000, 2px 2px 0px #000, 3px 3px 0px #000, 4px 4px 1px #000, 5px 5px 1px #000, 6px 6px 1px #000;
    font-size: clamp(2.25rem, 6vw, 3rem);
    transform: skewX(-3deg);
    line-height: 1;
    letter-spacing: -2px;
}
.home .informativo p {
    max-width: 36rem;
    margin: 0 auto;
}
.home .informativo h3 {
    color: var(--color-accent);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.home .informativo .logos-agencias {
    height: 5rem;
    position: relative;
    margin: 1rem 0;
}

.home .informativo .logos-agencias .marquee {
    background-color: var(--surface-color);
    position: absolute;
    height: 100%;
    width: 100vw;
    top: 0;
    left: calc(50vw - 37.5rem);
    left: min(calc((50vw - 37.5rem) * -1), -1rem);
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.track {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
}

.track div {
    padding-right: 0.1rem;
    /* espaço entre palavras */
    font-size: 1.5rem;
    font-weight: 600;
    display: inline-block;
}

.track span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--theme-color-ciano);
    color: white;
    border-radius: 5px;
}

.track span:nth-child(6n+1) {
    background-color: var(--theme-color-rosa);
}

.track span:nth-child(6n+2) {
    background-color: var(--theme-color-azul);
}

.track span:nth-child(6n+3) {
    background-color: var(--theme-color-laranja);
}

.track span:nth-child(6n+4) {
    background-color: var(--theme-color-carmim);
}

.track span:nth-child(6n+5) {
    background-color: var(--theme-color-preto);
}

.track span:nth-child(6n+6) {
    background-color: var(--theme-color-ciano);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}