/* ============================================================
   RESPONSIVE – MOBILE ATÉ 600px
   ============================================================ */
@media (max-width: 600px) {

    /* ----- Reseta bugs de largura ----- */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    * {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    /* ============================================================
       HEADER + MENU
    ============================================================ */

    .main-header {
        padding: 14px 18px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        background: #fff !important;
        height: auto !important;
        position: relative;
        z-index: 999 !important;
    }

    /* Esconde menu desktop */
    .header-actions {
        display: none !important;
    }

    /* Botão hambúrguer */
    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        z-index: 9999 !important;
    }

    .menu-toggle img {
        width: 32px;
        height: 32px;
    }

    /* Menu mobile lateral */
    .mobile-nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #ffffff;
        padding: 50px 20px;
        display: flex;
        flex-direction: column;
        gap: 22px;
        transition: .35s ease;
        z-index: 99999 !important;
        box-shadow: -4px 0 14px rgba(0, 0, 0, 0.2);
    }

    .mobile-nav-container.active {
        right: 0;
    }

    .mobile-nav-container a {
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
        color: #1d1d1d;
    }

    /* ============================================================
       SLIDER – CORREÇÃO DEFINITIVA
    ============================================================ */

    /* Área do slide */
    .hero-slide {
        position: relative;
        width: 100% !important;
        height: 72vh !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Container das imagens */
    .hero-images {
        position: absolute;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        z-index: 1;
    }

    /* Imagem principal */
    .hero-images img,
    .hero-img {
        position: absolute !important;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        transition: opacity .6s ease;
    }

    /* Escurece para melhorar o texto */
    .hero-images::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.40);
        z-index: 2;
    }

    /* Texto do slide */
    .hero-content {
        position: absolute;
        bottom: 32px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center !important;
        width: 88% !important;
        color: #fff !important;
        z-index: 5 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hero-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
        color: #fff !important;
        margin-bottom: 12px !important;
    }

    .hero-text {
        font-size: 16px !important;
        line-height: 1.45 !important;
        color: #fff !important;
        margin-bottom: 16px !important;
    }

    /* Botões do slide */
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        margin-top: 10px !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        max-width: 260px !important;
        text-align: center !important;
    }

    /* Miniaturas */
    .thumb-container {
        width: 100%;
        display: flex !important;
        justify-content: center !important;
        gap: 12px !important;
        margin: 12px 0 !important;
    }

    .thumb-container img {
        width: 65px !important;
        height: 65px !important;
        border-radius: 10px !important;
        object-fit: cover !important;
    }

    /* Esconde setas */
    .slider-arrow,
    .prev-arrow,
    .next-arrow {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* ============================================================
       SEÇÕES DO SITE
    ============================================================ */

    .section-container {
        padding: 24px 18px !important;
        text-align: center !important;
    }

    .section-title {
        font-size: 26px !important;
        margin-bottom: 12px !important;
    }

    /* Footer ajustado */
    footer {
        text-align: center !important;
        padding: 28px 22px !important;
    }

    /* Container geral da seção */
    .benefits-area {
        margin-bottom: 40px !important;
    }

    /* Grid vira coluna */
    .benefits-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* Cada card ocupa largura quase total */
    .benefit-card {
        width: 90% !important;
        height: 200px !important;
        border-radius: 12px !important;
    }

    /* Título da seção */
    .section-title,
    .research-subtitle {
        text-align: center !important;
        width: 100% !important;
    }

    /* Container principal da seção */
    .research-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
    }

    /* Texto */
    .research-text-block {
        width: 100% !important;
        padding: 0 20px !important;
        text-align: center !important;
    }

    .research-description {
        text-align: center !important;
        width: 100% !important;
    }

    /* Infográfico */
    .infographic-block {
        width: 100% !important;
        max-width: 360px !important;
        height: 340px !important;
        /* AQUI está a altura maior */
        background-color: #f5f5f5 !important;
        border-radius: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto 25px auto !important;
        /* centraliza o card */
        padding: 20px !important;

        font-size: 20px !important;
        font-weight: 600 !important;
        color: #777 !important;
    }

    .infographic-content-two {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 25px !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Título centralizado */
    .infographic-text-two .research-subtitle {
        text-align: center !important;
        font-size: 24px !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    /* Texto centralizado */
    .infographic-text-two .research-description {
        text-align: center !important;
        width: 90% !important;
        margin: 0 auto !important;
        line-height: 1.6 !important;
    }

    /* CARD DO INFOGRÁFICO 2 */
    .infographic-block-two {
        width: 90% !important;
        height: 400px !important;
        /* ← altura aumentada */
        border-radius: 14px !important;
        background: #f3f3f3 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 22px !important;
        font-weight: 600 !important;
        color: #777 !important;
        margin-top: 10px !important;

    }
}

@media (max-width: 600px) {
    .main-header {
        height: 64px !important;
        /* altura perfeita */
        padding: 8px 16px !important;
        /* reduz padding vertical */
    }

    .logo-img {
        width: 135px !important;
        /* tamanho da logo ajustado */
        height: auto !important;
    }

    .menu-toggle img {
        width: 28px !important;
        height: 28px !important;
    }

    /* Remove QUALQUER margem inesperada do main */
    main,
    main * {
        margin-top: 0 !important;
    }

    /* Remove espaço entre sections */
    section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Hero nunca deve descer */
    .hero-section,
    .hero,
    .hero-slide {
        margin-top: 0 !important;
    }

    /* ============================================
   MOBILE — SOBRE NÓS (versão final com imagem grande)
   ============================================ */
    @media (max-width: 600px) {

        .about-us-content {
            flex-direction: column !important;
            align-items: center !important;
            gap: 28px !important;
            text-align: center !important;
            padding: 0 !important;
            width: 100% !important;
        }

        .about-us-text {
            width: 92% !important;
            margin: 0 auto !important;
            text-align: center !important;
        }

        .about-us-title {
            font-size: 28px !important;
            text-align: center !important;
            margin-bottom: 14px !important;
        }

        .about-us-description {
            font-size: 16px !important;
            line-height: 1.6 !important;
            text-align: center !important;
            width: 92% !important;
            margin: 0 auto !important;
        }

        /* QUADRO / IMAGEM DO SOBRE NÓS */
        .about-us-image {
            width: 92% !important;
            height: 450px !important;
            /* TAMANHO GRANDE PARA IMAGEM */
            background: #f3f3f3 !important;
            border-radius: 14px !important;
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            font-size: 22px !important;
            font-weight: 600 !important;
            color: #777 !important;
            margin-top: 10px !important;
            overflow: hidden !important;
            /* IMPORTANTE PARA IMAGEM REAL */
        }

        /* Caso vá usar <img> dentro desse bloco */
        .about-us-image img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            object-position: center !important;
            display: block !important;
        }
    }

    /* ============================================
   MOBILE — CTA FINAL
   ============================================ */
    @media (max-width: 600px) {

        .final-cta-section {
            padding: 50px 0 !important;
            /* mais confortável no mobile */
        }

        .cta-container {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            gap: 25px !important;
            width: 100% !important;
            max-width: 92% !important;
            margin: 0 auto !important;
        }

        /* Texto */
        .cta-text-content {
            max-width: 100% !important;
            text-align: center !important;
        }

        .cta-title {
            font-size: 28px !important;
            line-height: 1.3 !important;
            text-align: center !important;
            margin-bottom: 10px !important;
        }

        .cta-description {
            font-size: 16px !important;
            line-height: 1.6 !important;
            text-align: center !important;
            opacity: 0.9 !important;
            margin-bottom: 20px !important;
        }

        /* Botão */
        .btn-cta-final {
            width: 100% !important;
            max-width: 260px !important;
            font-size: 18px !important;
            padding: 16px 0 !important;
            text-align: center !important;
            margin-top: 10px !important;
        }
    }

    /* ============================================
   MOBILE — CONTATO
   ============================================ */
    @media (max-width: 600px) {

        .contact-section {
            padding: 60px 0 !important;
        }

        /* Container vira coluna */
        .contact-content {
            flex-direction: column !important;
            align-items: center !important;
            gap: 35px !important;
            padding: 0 !important;
            width: 100% !important;
        }

        /* Título */
        .section-title {
            text-align: center !important;
            width: 100% !important;
            margin-bottom: 20px !important;
        }

        /* Formulário */
        .contact-form {
            width: 90% !important;
            margin: 0 auto !important;
        }

        /* Inputs */
        .form-input,
        .form-textarea {
            width: 100% !important;
            font-size: 16px !important;
        }

        .form-textarea {
            height: 200px !important;
            /* mais confortável no mobile */
        }

        /* Grupo dos campos */
        .input-group {
            width: 100% !important;
        }

        /* Ícones dentro dos inputs */
        .input-icon {
            left: 12px !important;
            top: 14px !important;
            width: 18px !important;
            height: 18px !important;
        }

        /* Visual do lado direito (imagem/quadro) */
        .contact-visual-placeholder {
            width: 90% !important;
            height: 260px !important;
            border-radius: 12px !important;
            margin: 0 auto !important;
            background-color: #f3f3f3 !important;
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            font-size: 20px !important;
            font-weight: 600;
            color: #777;
        }

        /* Botão enviar */
        .btn-submit {
            width: 100% !important;
            max-width: 260px !important;
            padding: 16px 0 !important;
            font-size: 18px !important;
            text-align: center !important;
        }

        /* Ações abaixo do botão */
        .form-actions {
            flex-direction: column !important;
            gap: 18px !important;
            align-items: center !important;
        }
    }

    /* ============================================
   MOBILE — RODAPÉ COMPLETO
   ============================================ */
    @media (max-width: 600px) {

        /* Seção principal do rodapé */
        .footer-content-top {
            padding: 40px 0 !important;
            text-align: center !important;
        }

        /* Grid vira coluna */
        .footer-grid {
            flex-direction: column !important;
            align-items: center !important;
            gap: 25px !important;
            text-align: center !important;
        }

        /* Logo + descrição */
        .footer-brand-info {
            width: 100% !important;
            text-align: center !important;
        }

        .footer-logo {
            justify-content: center !important;
            margin-bottom: 10px !important;
        }

        .footer-logo-img {
            height: 55px !important;
            width: auto !important;
        }

        .footer-description {
            max-width: 90% !important;
            margin: 0 auto !important;
            line-height: 1.6 !important;
            font-size: 14px !important;
        }

        /* Coluna de links (mesmo se vazia, centraliza) */
        .footer-links {
            width: 100% !important;
            text-align: center !important;
        }

        /* Copyright */
        .footer-copyright {
            text-align: center !important;
            width: 100% !important;
            font-size: 14px !important;
            margin-top: 10px !important;
            line-height: 1.4 !important;
            white-space: normal !important;
        }

        /* Barra inferior LGPD */
        .footer-bottom-band {
            padding: 18px 0 !important;
            margin-top: 25px !important;
            text-align: center !important;
        }

        .footer-links-container {
            flex-direction: column !important;
            gap: 12px !important;
            justify-content: center !important;
            text-align: center !important;
        }

        .footer-links-left {
            flex-direction: column !important;
            gap: 8px !important;
            text-align: center !important;
        }

        .footer-link {
            font-size: 14px !important;
            opacity: 0.9 !important;
        }
    }

    /* ============================================================
   MOBILE — CORREÇÃO DO WIDGET DE COOKIE
   ============================================================ */
    @media (max-width: 600px) {

        /* Centraliza o widget para funcionar no mobile */
        .cookie-widget {
            bottom: 20px !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            width: 100% !important;
            max-width: 340px !important;
            /* cabe em qualquer tela */
        }

        /* Painel ajustado para mobile */
        #cookiePanel {
            width: 100% !important;
            max-width: 340px !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            bottom: 0 !important;
        }

        /* Botão flutuante centralizado */
        #cookieFloatingBtn {
            left: 20px !important;
            bottom: 20px !important;
            transform: none !important;
        }
    }



}





/* ===========================
   TABLET (601px a 1024px)
   =========================== */
@media (min-width: 601px) and (max-width: 1024px) {

    /* ============================================================
   TABLET (601px a 1024px)
   ============================================================ */
    @media (min-width: 601px) and (max-width: 1024px) {

        /* ----- HEADER ----- */
        .main-header {
            padding: 16px 40px !important;
            height: auto !important;
        }

        .logo-img {
            height: 70px !important;
            width: auto !important;
            object-fit: contain !important;
        }

        /* Esconde menu desktop */
        .header-actions {
            display: none !important;
        }

        /* Mostra menu mobile */
        .menu-toggle {
            display: block !important;
        }

        /* ----- HERO / SLIDER ----- */

        .hero-slider,
        .hero-slide {
            height: 80vh !important;
        }


        .hero-content {
            width: 90% !important;
            max-width: 600px !important;
            padding: 0 !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            text-align: center !important;
            position: absolute !important;
            top: 50% !important;
            transform: translate(-50%, -50%) !important;
        }

        .hero-title {
            font-size: 34px !important;
        }

        .hero-text {
            font-size: 40px !important;
            line-height: 1.2 !important;
            margin-bottom: 16px !important;
        }

        .hero-description,
        .hero-text {
            font-size: 18px !important;
            max-width: 90% !important;
            margin: 0 auto 20px auto !important;
            line-height: 1.5 !important;
        }

        .hero-buttons {
            flex-direction: row !important;
            justify-content: center !important;
            gap: 16px !important;
        }

        .hero-buttons .btn,
        .btn-primary,
        .btn-secondary {
            font-size: 18px !important;
            padding: 14px 32px !important;
        }

        .hero-buttons .btn {
            width: auto !important;
        }

        /* Escurece a imagem do slide para tornar o texto legível */
        .hero-images::after {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.45) !important;
            /* intensidade ideal */
            z-index: 2;
        }

        /* Setas mais compactas */
        .nav-arrow {
            width: 45px !important;
            height: 45px !important;
        }

        .thumbnail-controller {
            bottom: 20px !important;
            right: 50% !important;
            transform: translateX(50%) !important;
            gap: 12px !important;
        }

        .thumb-container img {
            width: 75px !important;
            height: 75px !important;
        }

        /* ----- BENEFÍCIOS ----- */
        .benefits-grid {
            flex-wrap: wrap !important;
            justify-content: center !important;
            gap: 20px !important;
        }

        .benefit-card {
            width: calc(50% - 20px) !important;
            height: 220px !important;
        }

        /* ----- NOSSA PESQUISA ----- */
        .research-content {
            flex-direction: column !important;
            text-align: center !important;
        }

        .research-text-block {
            width: 100% !important;
        }

        .infographic-block {
            width: 100% !important;
            height: 380px !important;
            margin-top: 20px !important;
        }

        /* ----- INFOGRAFICO 2 ----- */
        .infographic-content-two {
            flex-direction: column-reverse !important;
            text-align: center !important;
        }

        .infographic-block-two {
            width: 100% !important;
            height: 380px !important;
        }

        .infographic-text-two {
            width: 100% !important;
        }

        /* ----- SOBRE NÓS ----- */
        .about-us-content {
            flex-direction: column !important;
            text-align: center !important;
        }

        .about-us-text {
            width: 100% !important;
        }

        .about-us-image {
            width: 100% !important;
            height: 380px !important;
            margin-top: 20px;
        }

        /* ----- CTA FINAL ----- */
        .cta-container {
            flex-direction: column !important;
            text-align: center !important;
            gap: 30px !important;
        }

        .cta-text-content {
            max-width: 100% !important;
        }

        /* ----- CONTATO ----- */
        .contact-content {
            flex-direction: column !important;
            text-align: center !important;
        }

        .contact-form {
            width: 100% !important;
        }

        .contact-visual-placeholder {
            width: 100% !important;
            height: 350px !important;
            margin-top: 30px;
        }

        /* ----- FOOTER ----- */
        .footer-grid {
            flex-direction: column !important;
            gap: 20px !important;
            text-align: center !important;
        }

        .footer-brand-info {
            width: 100% !important;
            text-align: center !important;
        }

        .footer-description {
            max-width: 100% !important;
        }

        .footer-copyright {
            text-align: center !important;
        }

        .footer-links-container {
            flex-direction: column !important;
            gap: 12px !important;
        }
    }

    /* ============================= */
    /* TABLET (601px a 1024px) */
    /* ============================= */
    @media (min-width: 601px) and (max-width: 1024px) {

        /* ==========================
       PADDING GERAL DO SITE
    =========================== */
        .section-container {
            max-width: 100%;
            padding: 0 40px !important;
            /* antes era enorme, agora está equilibrado */
        }

        main {
            padding-top: 90px !important;
            /* garante espaço exato do header */
        }

        /* ==========================
       BENEFÍCIOS — CARD EM COLUNA
    =========================== */
        .benefits-grid {
            display: flex;
            flex-direction: column !important;
            gap: 25px !important;
            align-items: center;
            /* centraliza */
        }

        .benefit-card {
            width: 80% !important;
            max-width: 420px;
        }

        /* ==========================
       TÍTULOS E CENTRALIZAÇÕES
    =========================== */
        .section-title,
        .research-subtitle,
        .about-us-title,
        .cta-title {
            text-align: center !important;
        }

        /* ==========================
       PESQUISA — IMAGEM EMBAIXO
    =========================== */
        .research-content {
            flex-direction: column !important;
            text-align: center !important;
            gap: 25px !important;
        }

        .research-text-block,
        .infographic-block {
            width: 100% !important;
            max-width: 500px;
            margin: 0 auto !important;
        }

        .infographic-block {
            height: 260px !important;
        }

        /* ==========================
       INFOGRÁFICO 2
    =========================== */
        .infographic-content-two {
            flex-direction: column !important;
            text-align: center !important;
            gap: 25px !important;
        }

        .infographic-block-two,
        .infographic-text-two {
            width: 100% !important;
            max-width: 500px;
            margin: 0 auto;
        }

        .infographic-block-two {
            height: 260px !important;
        }

        /* ==========================
       SOBRE NÓS
    =========================== */
        .about-us-content {
            flex-direction: column !important;
            gap: 25px !important;
            text-align: center !important;
        }

        .about-us-text,
        .about-us-image {
            width: 100% !important;
            max-width: 500px;
            margin: 0 auto;
        }

        .about-us-image {
            height: 260px !important;
        }

        /* ==========================
       CTA FINAL
    =========================== */
        .cta-container {
            flex-direction: column !important;
            gap: 25px !important;
            text-align: center !important;
        }

        .cta-text-content {
            max-width: 100% !important;
        }

        /* ==========================
       CONTATO
    =========================== */
        .contact-content {
            flex-direction: column !important;
            gap: 25px !important;
        }

        .contact-form,
        .contact-visual-placeholder {
            width: 100% !important;
            max-width: 500px;
            margin: 0 auto !important;
        }

        .contact-visual-placeholder {
            height: 260px !important;
        }

        /* ==========================
       RODAPÉ
    =========================== */
        .footer-grid {
            flex-direction: column !important;
            text-align: center !important;
            gap: 25px !important;
        }

        .footer-brand-info,
        .footer-links,
        .footer-copyright {
            width: 100% !important;
            text-align: center !important;
        }

        .footer-links-left {
            justify-content: center !important;
        }
    }

    /* ============================= */
    /* MENU LATERAL — TABLET */
    /* ============================= */

    .menu-toggle {
        position: absolute !important;
        right: 22px !important;
        top: 28px !important;
        z-index: 99999 !important;
        display: block !important;
    }

    .menu-toggle img {
        width: 32px;
        height: 32px;
    }

    /* menu lateral */
    .mobile-nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        padding: 50px 25px;
        display: flex;
        flex-direction: column;
        gap: 24px;
        transition: right .35s ease;
        box-shadow: -4px 0 14px rgba(0, 0, 0, 0.2);
        z-index: 99998;
    }

    /* quando abre */
    .mobile-nav-container.active {
        right: 0;
    }

    .mobile-nav-item {
        font-size: 22px;
        font-weight: 600;
        text-decoration: none;
        color: #1d1d1d;
    }

    /* itens do menu */
    .mobile-nav-container a {
        font-size: 22px;
        font-weight: 600;
        color: #1a1a1a;
        text-decoration: none;
    }

    /* bloquear clique no conteúdo quando menu estiver aberto */
    body.menu-open {
        overflow: hidden !important;
    }


}

/* ===========================
   DESKTOP GRANDE (acima 1440px)
   =========================== */
@media (min-width: 1440px) {}