@font-face {
    font-family: 'Clarity City';
    src: url('fonts/ClarityCity-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clarity City';
    src: url('fonts/ClarityCity-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clarity City';
    src: url('fonts/ClarityCity-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clarity City';
    src: url('fonts/ClarityCity-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clarity City';
    src: url('fonts/ClarityCity-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* 2. Define o alinhamento da seção ao ser focada por um link (#id) */
section {
    /* Centraliza a seção na tela ao clicar no link */
    scroll-snap-align: center;

    /* Caso seu menu topo seja fixo, ajuste este valor para a altura dele (ex: 80px) 
     para a seção não ficar coberta pelo cabeçalho */
    scroll-margin-top: 80px;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Clarity City', 'Podkova', sans-serif;
    background-color: #ffffff;
}

.header {
    width: 100%;
    /* max-width: 1632px; */
    margin: 0 auto;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background-color: #ffffff;
}

.cabecalho {
    max-width: 1632px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    gap: 64px;
}

.navegation {
    margin-right: auto;
}

.navegation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.navegation a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    position: relative;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navegation a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: #1C9878;
    transform: scaleX(0);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navegation a:hover {
    color: #1C9878;
}

.navegation a:hover::after,
.navegation a:focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
}

.navegation a:focus-visible {
    outline: none;
    color: #1C9878;
}

.btnHeader {
    display: flex;
    gap: 16px;
}

.acessar-conta,
.abrir-conta {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
    display: inline-block;
    transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.2s ease;
}

.acessar-conta {
    background-color: transparent;
    color: #003641;
}

.acessar-conta:hover {
    background-color: rgba(0, 54, 65, 0.08);
    color: #00252d;
}

.abrir-conta {
    background-color: #003641;
    color: #ffffff;
    transform-origin: center;
}

.abrir-conta:hover {
    background-color: #00232b;
    transform: scale(1.02);
}

.abrir-conta:active {
    transform: scale(0.98);
}

.acessar-conta:focus-visible,
.abrir-conta:focus-visible {
    outline: 3px solid #1C9878;
    outline-offset: 2px;
}

/* As 3 barrinhas do menu */
.hamburger-btn {
    display: none;
    /* Ative dentro do seu @media (max-width: 1200px) com display: flex */
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    /* Espaçamento entre as duas barras */
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

/* As 2 barras do menu */
.hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: #003641;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.3s ease;
    transform-origin: center;
}

/* Efeito de Hover */
.hamburger-btn:hover span {
    background-color: #1C9878;
}

/* ==========================================================================
   ANIMAÇÃO DE 2 BARRAS VIRANDO "X"
   ========================================================================== */

/* Barra Superior: desce 5.5px e gira 45 graus */
.hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

/* Barra Inferior: sube 5.5px e gira -45 graus */
.hamburger-btn.is-active span:nth-child(2) {
    transform: translateY(-5.5px) rotate(-45deg);
}

main {
    margin-top: 16px;
    padding-top: 80px;
}

.container-hero {
    width: 100%;
    max-width: 1632px;
    min-height: 968px;
    margin: 0 auto;
    padding-left: 72px;
    padding-right: 72px;
    background-color: #F2F5F7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
    background-repeat: repeat;
    background-image:
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 90%, #FFFFFF 100%),
        url('img/background-hero.webp');
}

.frase-decorativa {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: 0.7px;
    color: #1C9878;
    font-family: 'Podkova', sans-serif;
    text-transform: uppercase;
}

.texto-principal {
    flex: 1;
    max-width: 552px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.hero-titulo {
    font-size: 3.5rem;
    line-height: 4rem;
    color: #000000;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-subtitulo {
    font-size: 1.5rem;
    line-height: 2rem;
    color: #3A4D52;
    font-weight: 400;
    width: 100%;
    max-width: 24ch;
}

.hero-botao,
.btn-abra-conta {
    height: 48px;
    padding: 12px 24px 12px 0;
    background-color: transparent;
    color: #000;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    list-style: none;
    text-decoration: none;
    transition: background-color ease 0.5s, color ease 0.5s, padding ease 0.5s;
}

.hero-botao:hover,
.btn-abra-conta:hover {
    background-color: #003641;
    color: #fff;
    padding: 12px 24px;
}

.img-mulher-sicoob img {
    width: 430px;
    height: 608px;
    max-width: 100%;
    object-fit: contain;
}

.img-qrcode {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qr-code {
    display: flex;
    gap: 8px;
    padding: 8px 8px;
    background-color: #fff;
    border-radius: 8px;
}

.qr-code>img {
    width: 110px;
    height: 110px;
}

.texto-download {
    margin-bottom: 10px;
}

.titulo-download {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.subtitulo-download {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: #878A8F;
}

.download-app {
    display: flex;
    gap: 16px;
}

.download-app img,
.icone-download img {
    width: 120px;
    height: 40px;
}

.secao-logotipo {
    width: 100%;
    background-color: #fff;
}

.logotipo {
    width: 100%;
    max-width: 1632px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.logos-wave-section {
    padding: 40px 20px;
    background: var(--bg-color, #fff);
    overflow: hidden;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1632px;
    margin: 0 auto;
    align-items: center;
}

.logo-item {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-width: 130px;
    height: auto;
    filter: grayscale(0%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

@keyframes waveEffect {
    0% {
        transform: translateY(0);
        opacity: 0.4;
        filter: blur(0);
    }

    50% {
        transform: translateY(-8px);
        opacity: 0;
        filter: blur(3px);
    }

    100% {
        transform: translateY(0);
        opacity: 0.4;
        filter: blur(0);
    }
}

.animate-wave img {
    animation: waveEffect 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.servicos {
    width: 100%;
    max-width: 1632px;
    padding: 78px 20px;
    margin: 0 auto;
}

.servicos-header {
    margin: 0 auto 48px;
    max-width: 986px;
    text-align: center;
}

.servicos-titulo {
    font-size: 4rem;
    line-height: 4.5rem;
    color: #000000;
    font-weight: 600;
    margin-bottom: 32px;
}

.servicos-subtitulo-geral {
    font-size: 1.5rem;
    line-height: 2rem;
    color: #878A8F;
    font-weight: 400;
}

.container-cards {
    display: flex;
    gap: 16px;
    width: 100%;
    height: 634px;
}

.card {
    position: relative;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;

    /* REMOVE: width: 392px; */
    /* REMOVE: flex-shrink: 0; */

    /* ADICIONA: Distribui o espaço proporcionalmente */
    flex: 1;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card.active {
    width: 817px;

    /* ADICIONA: O card ativo ganha mais de 2x o tamanho dos outros */
    flex: 2.2;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
}

.card:hover .card-bg {
    transform: scale(1.03);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.card-conteudo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    padding: 40px;
    z-index: 3;
    color: #ffffff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-titulo {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.card-subtitulo {
    font-size: 1rem;
    line-height: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0.1s;
}

.card.active .card-subtitulo {
    opacity: 1;
    transform: translateY(0);
}

.dots-container {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #D1D5DB;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.dot.active {
    width: 28px;
    border-radius: 4px;
    background-color: #003641;
}

.sobre {
    width: 100%;
    max-width: 1632px;
    padding: 78px 20px;
    margin: 0 auto;
}

.container-sobre {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.tag-cooperados {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Podkova', sans-serif;
    color: #1C9878;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 300;
    margin-bottom: 48px;
}

.loader {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background-color: #1C9878;
    animation: 1.5s pulse infinite ease-in-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #1C9878;
    }

    100% {
        box-shadow: 0 0 0 8px #1C987800;
    }
}

.texto-sobre {
    width: 800px;
}

.sobre-titulo {
    font-size: 4rem;
    line-height: 4.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
}

.sobre-subtitulo {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
    color: #5A645A;
    margin-bottom: 48px;
}

.img-resultados {
    width: 800px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.img-resultados img {
    width: 100%;
    object-fit: contain;
}

.container-resultados {
    width: 100%;
    max-width: 800px;
    height: 80px;
    margin: 0 auto;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 32px;
    box-sizing: border-box;
    background-color: transparent;
}

.resultados-label {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #1A1A1A;
    padding-right: 24px;
    margin-right: 24px;
    border-right: 1px solid #D1D5DB;
    flex-shrink: 0;
}

.resultados-carrossel {
    height: 24px;
    overflow: hidden;
    flex-grow: 1;
    display: block;
}

.carrossel-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: scrollPausado 9s infinite;
}

.carrossel-lista li {
    height: 24px;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    color: #4B4B4B;
    white-space: nowrap;
}

@keyframes scrollPausado {

    0%,
    25% {
        transform: translateY(0);
    }

    33.33%,
    58.33% {
        transform: translateY(-24px);
    }

    66.66%,
    91.66% {
        transform: translateY(-48px);
    }

    100% {
        transform: translateY(-72px);
    }
}

.baixar {
    padding: 78px 20px 0;
    margin: 0 auto;
    margin-bottom: 56px;
}

.container-baixar {
    width: 100%;
    max-width: 1632px;
    min-height: 634px;
    margin: 0 auto;
    /* padding: 40px 72px; */
    background-color: #F2F5F7;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background-image: url('img/background-baixar.webp');
    background-repeat: repeat;
}

.texto-baixar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.baixar-titulo {
    font-size: 4rem;
    line-height: 4.5rem;
    font-weight: 600;
    color: #000;
    margin: 24px 0;
    text-align: center;
}

.baixar-subtitulo {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
    color: #5A645A;
    margin-bottom: 48px;
    max-width: 600px;
    text-align: center;
}

.btn-baixar-app,
.btn-baixar-app a {
    font-size: 1.125rem;
    line-height: 1.625rem;
    font-weight: 500;
    color: #fff;
    padding: 14px 24px;
    border-radius: 8px;
    max-width: 298px;
    width: 100%;
    text-decoration: none;
    list-style: none;
    background-color: #003641;
    text-align: center;
    transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.2s ease;
}

.btn-baixar-app {
    background-color: #003641;
    color: #ffffff;
    transform-origin: center;
}

.btn-baixar-app:hover {
    background-color: #00232b;
    transform: scale(1.02);
}

.btn-baixar-app:active {
    transform: scale(0.98);
}

.btn-baixar-app:focus-visible {
    outline: 3px solid #1C9878;
    outline-offset: 2px;
}

footer {
    width: 100%;
    background-color: #003641;
}

.container-footer {
    max-width: 1632px;
    min-height: 396px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #003641;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    width: 256px;
}

.footer-logo p {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin: 24px 0;
}

.sociais {
    display: flex;
    gap: 24px;
}

.instagram,
.facebook,
.linkedin,
.x {
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.instagram:hover,
.facebook:hover,
.linkedin:hover,
.x:hover {
    transform: scale(1.2);
}

.footer-colunas {
    display: flex;
    gap: 96px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-links h4 {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #fff;
}

.footer-links a {
    font-size: 1rem;
    line-height: 1.5rem;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
}

.footer-links a:hover {
    color: #dadada;
}

.footer-download {
    width: 194px;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: #fff;
}

.icone-download {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom {
    width: 100%;
    min-height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-top: 1px solid #fff;
    padding: 20px 0;
}

.container-footer-bottom {
    width: 100%;
    max-width: 1632px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.links-legais {
    display: flex;
    list-style: none;
    gap: 20px;
}

.links-legais li:not(:last-child)::after {
    content: "|";
    margin-left: 20px;
    color: #fff;
}

.links-legais a {
    text-decoration: none;
    color: #fff;
}

.links-legais a:hover {
    color: #dadada;
}

@media (max-width: 1674px) {
    .container-cards {
        height: 560px;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .container-cards::-webkit-scrollbar {
        display: none;
    }

    /* TODOS OS CARDS: Mantêm o MESMO TAMANHO FIXO para não deslocar o centro durante o scroll */
    .card {
        width: 80% !important;
        max-width: 600px;
        flex: 0 0 auto;
        scroll-snap-align: center;
        /* Removemos o 'width' e 'transform' da transição para matar a travada */
        transition: opacity 0.3s ease;
        /* Inativo fica suavemente apagado */
        transform: none !important;
        /* Desativa o scale para manter a física cravada */
    }

    /* CARD ATIVO: Apenas ganha 100% de opacidade e destaque no texto */
    .card.active {
        opacity: 1;
    }

    /* Subtítulo só aparece no card ativo */
    .card-subtitulo {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .card.active .card-subtitulo {
        opacity: 1;
    }

    .dots-container {
        display: flex;
    }
}

@media (max-width: 1200px) {

    .hero,
    .servicos,
    .sobre .baixar {
        margin: 0 24px;
    }

    .cabecalho {
        justify-content: space-between;
        /* Empurra a Logo pra esquerda e Hambúrguer pra direita */
        gap: 0;
    }

    /* Esconde os botões e o menu horizontal no exato momento da quebra */
    .btnHeader {
        display: none;
    }

    /* Oculta o menu padrão do desktop */
    .navegation {
        display: none;
        margin-right: 0;
    }

    /* Mostra o Hambúrguer */
    .hamburger-btn {
        display: flex;
    }

    /* ESTILO OPCIONAL: Menu Dropdown quando aberto no Mobile */
    .navegation.is-open {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        padding: 24px;
        z-index: 99;
        animation: fadeInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .navegation.is-open ul {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .img-qrcode {
        display: none;
    }

    .container-hero {
        min-height: 560px;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .texto-principal {
        width: 100%;
        align-items: center;
    }

    .hero-titulo {
        width: 100%;
        max-width: 20ch;
    }

    .hero-subtitulo {
        font-size: 1.25rem;
        line-height: 1.75rem;
        width: 100%;
        margin: 0 auto;
    }

    .frase-decorativa {
        justify-content: center;
    }

    .logos-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
        /* Reduz levemente o espaço entre elas para caber com respiro */
    }

    .servicos {
        padding: 78px 0;
    }

    .servicos-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .servicos-titulo {
        font-size: 3.5rem;
        line-height: 4rem;
        margin-bottom: 24px;
    }

    .servicos-subtitulo-geral {
        width: 100%;
        max-width: 50ch;
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .container-cards {
        height: 520px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    /* Esconde a barra de rolagem cinza nativa do navegador */
    .container-cards::-webkit-scrollbar {
        display: none;
    }

    .container-cards {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* Cards em tamanho fixo com 82% do width (deixa o próximo card visível cortado) */
    .card,
    .card.active {
        width: 82%;
        max-width: 600px;
        flex: 0 0 auto;
        scroll-snap-align: center;
    }

    /* Garante que o subtítulo fique sempre visível em telas menores */
    .card-subtitulo {
        opacity: 1;
        transform: translateY(0);
    }

    /* Mostra os Dots */
    .dots-container {
        display: flex;
    }

    .container-sobre {
        gap: 24px;
    }

    .sobre-titulo {
        font-size: 3.5rem;
        line-height: 4rem;
    }

    .sobre-subtitulo {
        font-size: 1.25rem;
        line-height: 1.75rem;
        max-width: 30ch;
        width: 100%;
    }

    .baixar-titulo {
        font-size: 3.5rem;
        line-height: 4rem;
    }

    .baixar-subtitulo {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .container-baixar {
        min-height: 534px;
    }

}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .container-sobre {
        flex-direction: column;
    }


    .texto-sobre {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .sobre-subtitulo {
        text-align: center;
        max-width: 48ch;
        width: 100%;
    }
}

@media (max-width: 831px) {
    .hero-titulo {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    .hero-subtitulo {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .servicos-titulo {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    .servicos-subtitulo-geral {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }


    .texto-sobre {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .sobre-titulo {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    .sobre-subtitulo {
        font-size: 1.25rem;
        line-height: 1.75rem;
        text-align: center;
        max-width: 40ch;
        width: 100%;
        margin-bottom: 24px;
    }

    .baixar-titulo {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    .baixar-subtitulo {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .container-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 48px;
        padding: 48px 24px;
    }

    /* Aumenta o limite da descrição para não ficar espremida */
    .footer-logo {
        width: 100%;
        max-width: 400px;
    }

    /* 2. As colunas de links viram um Grid de 2 colunas e 2 linhas */
    .footer-colunas {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
        /* 40px vertical, 24px horizontal */
    }

    /* Ajusta a largura dos textos do aplicativo para não quebrar feio */
    .footer-download {
        width: 100%;
        max-width: 220px;
    }

    /* 3. Rodapé inferior centralizado */
    .container-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .links-legais {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .links-legais li:not(:last-child)::after {
        margin-left: 12px;
    }
}

@media (max-width: 768px) {
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 colunas x 2 linhas = 6 logos */
        gap: 16px 12px;
        /* Espaçamento vertical x horizontal */
    }

    .img-resultados {
        width: 100%;
    }
}

@media (max-width: 431px) {
    .container-hero {
        min-height: 463px;
    }

    .hero-titulo {
        max-width: 16ch;
        width: 100%;
    }

    .servicos-titulo {
        max-width: 16ch;
        width: 100%;
        margin-bottom: 0;
    }

    .servicos-subtitulo-geral {
        display: none;
    }

    .sobre-titulo {
        max-width: 16ch;
        width: 100%;
    }

    .sobre-subtitulo {
        max-width: 35ch;
        width: 100%;
    }

    .hero-titulo,
    .servicos-titulo,
    .sobre-titulo,
    .baixar-titulo {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .hero-subtitulo,
    .servicos-subtitulo-geral,
    .sobre-subtitulo,
    .baixar-subtitulo {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 colunas */
        gap: 16px;
    }

    .servicos-titulo {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .container-cards {
        height: 480px;
    }

    .card,
    .card.active {
        width: 88%;
        /* No mobile deixa o respiro um pouco menor */
    }

    .card-conteudo {
        padding: 24px;
    }

    .resultados-label {
        border: none;
        margin: 0;
    }

    .container-resultados {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .resultados-carrossel {
        flex-grow: 0;
        text-align: center;
    }

    .baixar {
        padding-top: 0;
    }

    .container-baixar {
        min-height: 500px;
    }
}

@media (max-width: 390px) {
    .container-hero {
        min-height: 400px;
        padding: 0;
    }

    .texto-principal {
        gap: 32px;
    }

    .frase-decorativa {
        font-size: 0.75rem;
        line-height: 1.25rem;
    }

    .hero-titulo,
    .servicos-titulo,
    .sobre-titulo,
    .baixar-titulo {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .baixar-subtitulo,
    .sobre-subtitulo {
        font-size: 0.875rem;
        line-height: 1.375rem;
    }

    .container-baixar {
        min-height: 400px;
    }
}