:root {
    --color-accent: #00A878;
    --color-accent-hover: #084B33;
    --color-main: #0D0D33;

    --color-border: #D6D0F5;

    --hero-items-gap: 4rem;
}

* { font-family: "Mukta", "Open Sans", sans-serif; }

/* .page-template-template-interna-clinical-research-php{ font-family: "Mukta", "Open Sans", sans-serif; } */

header { padding: 2rem 0px; background-color: var(--color-main); }
header .menu-header { display: flex; justify-content: space-between; }

header nav .menu { display: flex; gap: 2rem; justify-content: end; }
header nav .menu li a { color: #ffffff; text-decoration: none; }
header nav .menu li:hover { transform: translateX(4px); }

@media screen and (max-width: 900px) {
    header { padding: 1rem 0px; position: relative; position: fixed; z-index: 5; top: 0; left: 0; width: 100%; }
    header nav { position: fixed; top: 70px; right: 100%; width: 100%; background: var(--color-main); height: 100vh; z-index: 4; padding: 1.5rem; }
    header nav.active { right: 0; }
    header nav .menu { flex-direction: column; gap: 1.5rem; align-items: end; }
}

.menu-toggle {
    --bar-h: 3px;
    --bar-gap: 6px;
    --bar-step: calc(var(--bar-h) + var(--bar-gap));
    background-color: rgba(0, 0, 0, 0); background-image: none; border: 1px solid transparent; transition: transform 0.2s ease-in-out; position: relative;
}

.menu-toggle > .icon-bar { display: block; width: 30px; height: var(--bar-h); border-radius: 1.5px; background: #fff; transform: rotate(0); transform-origin: left center; transition: all 0.2s linear; }

.menu-toggle > .icon-bar + .icon-bar { margin-top: var(--bar-gap); }
.menu-toggle.is-back > .icon-bar:nth-of-type(2) { width: 16px; transform: translateY(var(--bar-step)) rotate(-40deg); }
.menu-toggle.is-back > .icon-bar:nth-of-type(3) { width: 30px; }
.menu-toggle.is-back > .icon-bar:nth-of-type(4) { width: 16px; transform: translateY(calc(var(--bar-step) * -1)) rotate(40deg); }

* { transition: all .2s ease; }

h2 { margin: 0px; margin-bottom: 1rem; }

.btn { color: var(--color-main); font-size: 1.125rem; background-color: var(--color-accent); }
.btn:hover { color: white; background-color: var(--color-accent-hover); }

@media screen and (max-width: 900px) { .btn { font-size: 0.875rem; } }

main#clinical-research { position: relative; }

.hero { display: flex; font-family: "Source Sans 3", sans-serif; background-color: var(--color-main); padding: 8.125rem 0px 0px; margin: 0px; }

.hero::after {
    content: "";
    background: url('../images/clinical-research/mapa-brasil.svg') no-repeat;
    position: absolute;
    right: 0;
    width: 25vw;
    z-index: 3;
    background-size: cover;
    aspect-ratio: 576/954;
    top: 0;
}

.hero h2 { font-size: 4.4375rem; letter-spacing: 0px; text-transform: none; font-weight: 200; line-height: 1; color: var(--color-accent); }
.hero h3 { font-size: 1.125rem; font-weight: 200; color: var(--color-accent); }
.hero p { font-size: 1.5rem; line-height: 1; font-weight: 200; color: #ffffff; margin-top: 2rem; }
.hero .container > p { width: 65%; font-size: 1.5rem; }
.hero .btn { margin-top: 3rem; }

.hero .hero-container { display: flex; width: 100%; justify-content: space-between; display: grid; grid-template-columns: 610px 1fr; }
.hero .hero-content { margin: 9rem 0px 3rem; }

.hero .hero-content h3 { letter-spacing: 20%; }
.hero .hero-content h3,
.hero .hero-content p { font-weight: 300; line-height: 1.3; }
.hero .hero-container img { object-fit: contain; }

.hero .item br { display: block!important; }

.hero .hero-dados { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.3rem var(--hero-items-gap); margin-top: 4rem; }
.hero .hero-dados .item { display: flex; flex-direction: column; align-items: center; position: relative; flex-wrap: nowrap; text-wrap: nowrap; min-width: 0; }
.hero .hero-dados .item + .item::after { content: ""; position: absolute; width: 2px; height: 100%; left: calc(var(--hero-items-gap) / 2 * -1); top: 0; background: #ffffff; }
.hero .hero-dados .item { flex: 0 0 auto; text-align: center; }
.hero .hero-dados .item p { color: var(--color-accent); font-size: 2.75rem; font-weight: 700; line-height: 1; margin: 0px; white-space: nowrap; font-size: clamp(1.5rem, 4.5cqw, 2.75rem); }
.hero .hero-dados .item span { color: #ffffff; font-size: 1.125rem; }

.item-break { flex-basis: 100%; height: 0; }

@media screen and (max-width: 900px) {
    :root {
        --hero-items-gap: 1rem;
    }
    .hero { padding: 6rem 0px 0px; }
    .hero:after { width: 45vw; top: 9rem; }
    .hero h2 { font-size: 1.75rem; text-transform: none; letter-spacing: 0px; }
    .hero h3 { font-size: 0.8125rem; }
    .hero .btn { margin-top: 1.875rem; }
    .hero > .container > p { font-size: 0.875rem; font-weight: 200; line-height: 1.3; width: 80%; margin-top: 1rem; }
    .hero .container { --bs-gutter-x: 3rem; position: relative; }
    .hero .hero-container { flex-direction: column; grid-template-columns: 1fr; }
    .hero .hero-content { margin: 3.125rem 0px 5.5rem; }
    .hero .hero-content p { font-size: 0.875rem; font-weight: 200; line-height: 1.55; max-width: 100%; }
    .hero .hero-dados { width: 75%; justify-content: start; }
    .hero .hero-dados .item { flex: 0 0 calc((100% - var(--hero-items-gap)) / 2); align-items: start; }
    .hero .hero-dados .item span { text-wrap: auto; text-align: left; }
    .hero .hero-dados .item + .item::after { content: none; }

    .hero .hero-container img { position: absolute; bottom: 0; right: -10px; width: 280px; }
    
    .item-break { display: none; }
}

@media screen and (max-width: 480px) {
    .hero .hero-dados { max-width: 360px; }
    .hero .hero-container img { width: 250px; }
}

@media screen and (max-width: 420px) {
    .hero .hero-dados { width: 90%; }
    .hero .hero-dados { max-width: 300px; }
    .hero .hero-dados .item span { font-size: .875rem; }
    .hero .hero-container img { width: 200px; }
}

section:not(.no-separation) { margin-top: 7rem; }
section h2 { color: var(--color-accent); font-size: 1.125rem; font-weight: 400; text-transform: uppercase; letter-spacing: 20%; }
section > .container > p { font-size: 1.125rem; width: 800px; max-width: 100%; }

@media screen and (max-width: 900px) {
    section h2 { font-size: 0.75rem; }
    section:not(.no-separation) { margin-top: 2.5rem; }
    section > .container > p { font-size: 0.875rem; width: auto; }
}

.card-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.75rem; margin-top: 3.75rem }

.card { padding: 2.5rem 2.25rem; border: 1px solid var(--color-border); border-radius: 1rem; }
.card img { height: 4rem; width: fit-content; }
.card h4 { font-size: 1.25rem; color: var(--color-accent); margin: 0.75rem 0px 2.5rem; }
.card p { color: #000; }

@media screen and (max-width: 1200px) {
    .card-container { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 900px) {
    .card { padding: 1rem; }
    .card img { height: 2rem; margin-bottom: 1rem; }
    .card-container { grid-template-columns: repeat(1, 1fr); gap: 2rem; margin-top: 2rem }
    .card h4 { font-size: 0.875rem; margin: 0 0 1rem; }
    .card p { font-size: 0.875rem; margin: 0px; }
}

section#areas-de-pesquisa .card-container .card img { height: 3.07rem; }
section#areas-de-pesquisa .card-container .card h4 { text-transform: uppercase; margin: 1.1rem 0px 2rem; }

section.dark { background-color: #040D2E; padding: 3.5rem 0px; }
@media screen and (max-width: 900px) { section.dark { padding: 2rem 0px; } }

section#nosso-jeito-de-atuar { display: grid; position: relative; min-height: 720px; }
section#nosso-jeito-de-atuar > * { position: relative; z-index: 1; }
section#nosso-jeito-de-atuar p { color: #ffffff; }
section#nosso-jeito-de-atuar img { margin: 3.5rem auto 0px; width: 100%; }

section#nosso-jeito-de-atuar:after {
    content: "";
    background: url(../images/clinical-research/nosso-jeito-bg.png) no-repeat;
    background-size: contain;
    background-position: center 5px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 0;
}
@media screen and (max-width: 900px) {
    section#nosso-jeito-de-atuar { min-height: auto; }
    section#nosso-jeito-de-atuar:after { background-position: center; }
}

section#publicacoes-e-resultados { margin-bottom: 7rem; }
section#publicacoes-e-resultados .publicacoes-e-resultados__layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.75rem; margin-top: 3.75rem }
section#publicacoes-e-resultados .publicacoes-e-resultados__layout .owl-stage-outer { overflow: unset; } 
section#publicacoes-e-resultados .card-publicacao { border-radius: 2rem; border: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1.5rem; border: 1px solid #D6D0F5; }
section#publicacoes-e-resultados .card-publicacao > img { width: 190px; margin: 0px auto; aspect-ratio: 1/1; object-fit: contain; }
section#publicacoes-e-resultados .card-publicacao > div { padding: 1.5rem 2.5rem; }
section#publicacoes-e-resultados a { border-radius: 15px; color: white; display: block; width: 300px; margin: 2rem auto 0px; }
section#publicacoes-e-resultados .carousel-nav { display: none; }

@media screen and (max-width: 900px) {
    section#publicacoes-e-resultados .publicacoes-e-resultados__layout { grid-template-columns: 1fr; gap: 1.5rem; }
    section#publicacoes-e-resultados .card-publicacao { gap: 0px; }
    section#publicacoes-e-resultados .card-publicacao > img { width: 160px; }
    section#publicacoes-e-resultados .publicacoes-e-resultados__layout p { font-size: 0.875rem; }

    section#publicacoes-e-resultados .carousel-nav { display: flex; }
}

section#pesquisadores .pesquisadores__layout { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 3rem; align-items: start; margin-top: 1.875rem }
section#pesquisadores .pesquisadores__layout--sem-destaques { grid-template-columns: 1fr; }
section#pesquisadores .pesquisadores__destaques { display: flex; flex-direction: column; gap: 1.5rem; }
section#pesquisadores .pesquisadores__lista { column-width: 240px; column-gap: 2rem; display: grid; grid-template-columns: repeat(4, 310px); justify-content: center; }
section#pesquisadores .pesquisadores__lista article { break-inside: avoid; margin-bottom: 1.5rem; }

section#pesquisadores article h4,
section#pesquisadores article p { font-size: 1rem; color: #ffffff; }
section#pesquisadores article h4 { font-weight: bold; margin: 0px; }
section#pesquisadores article.pesquisador--destaque { display: grid; grid-template-columns: 105px 1fr; gap: 1.25rem; background: #ffffff; padding: 1.25rem 1rem; border-radius: 1rem; }
section#pesquisadores article.pesquisador--destaque > div { margin-top: 1.5rem; }
section#pesquisadores article.pesquisador--destaque h4,
section#pesquisadores article.pesquisador--destaque p { color: #000000; }

@media (max-width: 1400px) {
    section#pesquisadores .pesquisadores__lista { grid-template-columns: repeat(3, 310px); }
}

@media (max-width: 1000px) {
    section#pesquisadores .pesquisadores__lista { grid-template-columns: repeat(2, 310px); }
}

@media (max-width: 900px) {
    section#pesquisadores .pesquisadores__layout { grid-template-columns: 1fr; }
    section#pesquisadores article h4 { font-size: 0.875rem; }
    section#pesquisadores article p { font-size: 0.75rem; }
    section#pesquisadores .pesquisadores__lista { column-width: revert-rule; column-gap: 1rem; grid-template-columns: 1fr; }
    section#pesquisadores .pesquisadores__lista article { display: flex; justify-content: start; }
    section#pesquisadores article.pesquisador--destaque { grid-template-columns: 75px 1fr; }
    section#pesquisadores article.pesquisador--destaque img { width: 75px; }
}

section#por-que-brasil .text-container { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; justify-content: space-between; align-items: end; }
section#por-que-brasil .text-container p:first-of-type { font-size: 3.5rem; color: var(--color-main); font-weight: 200; line-height: 1.15; margin: 0px; }
section#por-que-brasil .text-container p:last-of-type { color: #1E1E1E; font-weight: 200; font-size: 1.125rem; }

section#por-que-brasil .card-container { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
section#por-que-brasil .card-container > :nth-child(-n + 2) { grid-column: span 3; }
section#por-que-brasil .card-container > :nth-child(n + 3) { grid-column: span 2; }
section#por-que-brasil .card-container .card h4 { text-transform: uppercase; }
section#por-que-brasil .card-container .card img { height: 3.07rem; }

@media screen and (max-width: 1200px) {
    section#por-que-brasil .card-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    section#por-que-brasil .text-container { grid-template-columns: 1fr; gap: 1.25rem; }
    section#por-que-brasil .text-container p:first-of-type { font-size: 1.25rem; }
    section#por-que-brasil .text-container p:last-of-type { font-size: 0.75rem; }

    section#por-que-brasil .card-container { grid-template-columns: 1fr; gap: 1.5rem 0; }
    section#por-que-brasil .card-container .card { width: 100%; }
}

section#blog { margin-bottom: 7rem; }
section#blog .blog__layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.75rem; margin-top: 3.75rem; }
section#blog .blog__layout .owl-stage-outer { overflow: unset; } 
section#blog .card-publicacao { overflow: hidden; border-radius: 2rem; border: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1.5rem; border: 1px solid #D6D0F5; }
section#blog .card-publicacao > img { width: 100%; margin: 0px auto; aspect-ratio: 16/9; object-fit: cover; }
section#blog .card-publicacao > div { padding: 0 1.3rem 1.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; height: 100%; }
section#blog .card-publicacao h4 { font-size: 1.125rem; }
section#blog .card-publicacao a { font-size: 0.875rem; color: #00A878; padding: 0px; margin: 0; text-decoration: none; font-weight: bold; transition: all .2s ease; }
section#blog .card-publicacao a:hover { transform: translateX(4px); }
section#blog .carousel-nav { display: none; }

@media screen and (max-width: 900px) {
    section#blog .blog__layout { grid-template-columns: 1fr; gap: 1.5rem; }
    section#blog .card-publicacao h4 { font-size: 0.875rem; }
    section#blog .blog__layout p { font-size: 0.875rem; }

    section#blog .carousel-nav { display: flex; }
}

section#fale-conosco { background-color: var(--color-accent); padding: 4.25rem 0px }
section#fale-conosco .fale-conosco-container { display: flex; justify-content: space-between; align-items: center; }
section#fale-conosco .text-container { width: 50% }
section#fale-conosco .text-container h2 { font-size: 1.125rem; text-transform: uppercase; }
section#fale-conosco p { font-size: 2.5rem; font-weight: 200; }
section#fale-conosco p strong { font-weight: 600; }
section#fale-conosco .text-container h2,
section#fale-conosco p { color: var(--color-main); }
section#fale-conosco .form-container h2 { color: var(--color-main); font-size: 1.5rem; text-align: center; letter-spacing: 0; text-transform: none; }

section#fale-conosco .form-container { background-color: #fff; padding: 1rem; border-radius: 1rem; width: 550px; max-width: 100%; }
section#fale-conosco .form-container p { margin: 0; }
section#fale-conosco .fale-conosco-container .wpcf7-response-output { padding: 0 !important; margin: 0 !important; color: #0a2940; }

@media screen and (max-width: 1200px) {
    section#fale-conosco .text-container { width: 100%; }
    section#fale-conosco .fale-conosco-container { flex-direction: column; }
    section#fale-conosco .form-container { margin-top: 3.5rem; }
    section#fale-conosco .form-container h2 { font-size: 1.5rem; }
}

@media (max-width: 900px) {
    section#fale-conosco { padding: 2.5rem 0px; }
    section#fale-conosco .fale-conosco-container { flex-direction: column; }
    section#fale-conosco .text-container h2 { font-size: 0.75rem; }
    section#fale-conosco p { font-size: 1.25rem; line-height: 1.15; font-weight: 200; }

    section#fale-conosco .form-container { margin-top: 2rem; }
    section#fale-conosco .form-container h2 { font-size: 1rem; }
}

.cf-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px 40px; }
.cf-grid .full { grid-column: span 6; justify-content: center; display: flex; flex-direction: column; }
.cf-grid .half { grid-column: span 3; }
.cf-grid .full .btn { width: 100%; }

.cf-grid .field { position: relative; }
.cf-grid .wpcf7-form-control-wrap { display: block; }

.cf-grid input[type="text"],
.cf-grid input[type="email"],
.cf-grid select,
.cf-grid textarea { width: 100%; box-sizing: border-box; height: 41px; padding: 18px 24px 0; border: 0; border-radius: 16px; background: #f4f4ff; color: #0d0b2b; font: inherit; font-size: 16px; outline: none; }
.cf-grid textarea { height: 165px; padding-top: 26px; resize: vertical; }

.cf-grid ::placeholder { color: transparent; }
.cf-grid label { position: absolute; left: 1.125rem; top: 1.25rem; transform: translateY(-50%); color: #b9b2f0; font-size: 0.875rem; pointer-events: none; transition: top .15s ease, font-size .15s ease, color .15s ease; }
.cf-grid .field:has(textarea) label { top: 26px; }

.cf-grid .field:focus-within label,
.cf-grid .field:has(input:not(:placeholder-shown)) label,
.cf-grid .field:has(textarea:not(:placeholder-shown)) label,
.cf-grid .field:has(select:valid) label { top: 11px; font-size: 11px; color: #7a6fe0; }

.cf-grid input:focus,
.cf-grid select:focus,
.cf-grid textarea:focus { box-shadow: 0 0 0 2px #7a6fe0; }

.cf-grid select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%230d0b2b'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 24px center; }
.cf-grid .wpcf7-not-valid-tip { margin-top: 4px; font-size: 12px; }

@media (max-width: 600px) { .cf-grid .half { grid-column: span 6; } }

footer { height: 240px; background-color: var(--color-main); }

.solucoes { margin-top: 2rem; background: #00a878; border-radius: 1rem; padding: 3.75rem 0 1.875rem; overflow: hidden; }

.solucoes-carousel .owl-stage { display: flex; align-items: center; }
.solucoes-carousel .card { background: #fff; border-radius: 18px; border: 1px solid #d8d8e0; padding: 2rem 2.125rem; min-height: 26.875rem; color: #0d0d3b; transform: scale(.78); transform-origin: center; transition: transform .4s ease; }
.solucoes-carousel .owl-item.center .card { transform: scale(1); min-height: 32.5rem; }
.solucoes-carousel .card img { width: 3.75rem; height: 3.75rem; object-fit: contain; display: block; margin-bottom: 1.5rem; }
.solucoes-carousel .card h4 { font-size: 1.125rem; color: var(--color-main); font-weight: 700; text-transform: uppercase; line-height: 1.3; margin: 0 0 1.5rem; }
.solucoes-carousel .card p { font-size: 1.125rem; line-height: 1.6; margin: 0; }

.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 90px; margin-top: 24px; color: #0d0d3b; }
.carousel-nav button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; line-height: 0; }
.carousel-counter { font-size: 15px; }

@media (max-width: 900px) {
    .solucoes { margin-top: 0rem; background: #ffffff; width: 100vw; position: relative; margin-left: -50vw; left: 50%; padding: 1.5rem 0; }
    .solucoes-carousel {
        --faixa-altura: 170px;
        --faixa-cor: #00a878;
        --fundo: #ffffff;

        background: linear-gradient( to bottom, transparent calc(50% - var(--faixa-altura) / 2), var(--faixa-cor) calc(50% - var(--faixa-altura) / 2), var(--faixa-cor) calc(50% + var(--faixa-altura) / 2), transparent calc(50% + var(--faixa-altura) / 2) ), var(--fundo);
    }

    .solucoes-carousel .card img { width: 2rem; height: 2rem; margin-bottom: 1rem; }
    .solucoes-carousel .card h4 { font-size: 0.875rem; margin: 0 0 1rem; }
    .solucoes-carousel .card p { font-size: 0.875rem; }

    .solucoes-carousel .card,
    .solucoes-carousel .owl-item.center .card { transform: none; min-height: 0; }

    .carousel-nav { gap: 2.5rem; margin-top: 2rem; }
}

@media (max-width: 768px) {
    .carousel-nav { margin-top: 1rem; }
}


section.banner-container { margin: 0px }
section.banner-container .main-banner { margin: 0px auto; }
section.banner-container .main-banner .item img { border-radius: 0px; max-height: 410px; object-fit: cover; }

.page-template-template-interna-clinical-research-php .main-banner { width: 100vw; max-width: 1920px; }

section.cr-interna-conteudo { margin: 6.25rem 0; } 
section.cr-interna-conteudo .internal-content { margin-top: 0px }
section.cr-interna-conteudo .header-content { display: grid; grid-template-columns: 70% 1fr; gap: 2rem; }
section.cr-interna-conteudo .header-content h1 { font-size: 3.5rem; line-height: 1.15; font-weight: 200; color: #0D0D33; }
section.cr-interna-conteudo h2 { color: #0D0D33; font-size: 1.25rem; margin: 2rem 0 1rem; }
section.cr-interna-conteudo ul li { list-style: disc; margin-left: 1.5rem; margin-bottom: 0.5rem; }
section.cr-interna-conteudo li,
section.cr-interna-conteudo p { color: #000; font-size: 1.125rem; margin-bottom: 0; }
section.cr-interna-conteudo p+p, section.cr-interna-conteudo ul { margin-top: 1rem; }

section.cr-interna-conteudo .header-content .btn-voltar { font-family: "Open Sans", sans-serif; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 8px; font-size: 1.25rem; font-weight: 200; color: #0D0D33; text-decoration: none; color: inherit; transition: background-color 0.2s; align-self: start; margin: 0px; }
section.cr-interna-conteudo .header-content .btn-voltar__icon { font-size: 1.25em; line-height: 1; transition: transform 0.2s; }
section.cr-interna-conteudo .header-content .btn-voltar:hover .btn-voltar__icon { transform: translateX(-4px); }


@media (max-width: 768px) {
    section.cr-interna-conteudo { margin: 1rem 0 4rem; }
    section.cr-interna-conteudo .header-content { grid-template-columns: 1fr; gap: 1rem; }
    section.cr-interna-conteudo .header-content h1 { font-size: 2rem; }
    
    section.cr-interna-conteudo h2 { font-size: 0.875rem; }
    section.cr-interna-conteudo li,
    section.cr-interna-conteudo p { font-size: 0.875rem; }

    section.cr-interna-conteudo .header-content .btn-voltar { order: -1; font-size: 0.875rem; }
    section.cr-interna-conteudo .header-content .btn-voltar__icon { font-size: 0.875rem; }
}

:root {
    --footer-color-primary: #040D2E;
    --title-fs: 2rem;
    --title-fw: 600;
    --title-lh: 120%;
    --caption-2-fs: 1.1rem;
    --caption-2-fw: 400;
    --caption-2-lh: 120%;
    --footer-h: 130px;       /* usada em .main (min-height) */
    --container-mw: 700px;   /* usada por .container dentro do footer */
    --container-py: 15px;
}

@media (min-width: 992px) {
    :root {
        --footer-h: 320px;
        --container-mw: 970px;
    }
}

/* FOOTER */
.footer { background: var(--footer-color-primary); color: #fff; padding-block: 48px; max-width: none; }
.footer .container { display: flex; justify-content: center; align-items: flex-start; max-width: var(--container-mw); }
.footer .nav { display: none; }
.footer a { font-weight: bold; }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* FOOTER */
    .footer .container { justify-content: space-between; gap: 6.2%; }
    .footer .nav { display: block; flex: 1; }
    .footer [data-col="3"] { columns: 3; column-fill: balance; column-width: 130px; column-gap: 40px; }
    .footer [data-col="4"] { columns: 3; column-fill: balance; column-width: 130px; column-gap: 40px; }
    .footer .level-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8.6%; }
    .footer .level-1 > .item > .link { font-size: var(--title-fs); font-weight: var(--title-fw); line-height: var(--title-lh); }
    .footer .level-1 > .item:first-of-type { grid-column: span 1; grid-row: span 10; }
    .footer .level-2 > .item > .link { font-size: var(--caption-2-fs); font-weight: var(--caption-2-fw); line-height: var(--caption-2-lh); }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* FOOTER */
    .footer { --container-mw: 940px; }
    .footer .nav { display: block; }
}

/* PRINT */
@media print {
    .footer { page-break-before: always; }
}
