/* DevRuxo/assets/css/responsive.css */
/* ---- CORREÇÕES E RESPONSIVIDADE PREMIUM ---- */

/* Para Notebooks pequenos ou TELA DIVIDIDA (1024px a 1200px) */
@media (max-width: 1200px) {
    .pricing-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .comparison-wrapper {
        justify-content: center;
    }

    .compare-card {
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .container {
        max-width: 95%;
    }
}

/* Para Tablets e Telas Menores (até 992px) */
@media (max-width: 992px) {
    .pricing-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .services-grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .socio-panel {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .socio-benefits-grid-custom {
        grid-template-columns: 1fr;
    }

    .socio-visual {
        order: -1;
    }

    .circle-visual-blue {
        width: 250px;
        height: 250px;
    }

    .icon-handshake-lg {
        font-size: 3rem !important;
    }
}

/* Para Celulares (até 768px) */
@media (max-width: 768px) {

    /* --- AJUSTES GERAIS DE ESTRUTURA --- */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
        margin: 0;
        padding: 0;
    }

    body {
        text-align: center;
        background-color: #fff;
        /* Fundo branco limpo para evitar manchas de outras seções */
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }

    section {
        padding: 40px 0 !important;
        width: 100% !important;
        overflow: hidden;
    }

    .section-title {
        width: 100%;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    /* --- CABEÇALHO --- */
    #navbar {
        position: relative;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .header-flex {
        flex-direction: column !important;
        gap: 15px;
        align-items: center;
        width: 100%;
    }

    .logo-custom img {
        max-height: 35px !important;
    }

    .btn-primary-custom.small {
        width: 90%;
        max-width: 300px;
        padding: 12px;
        font-size: 0.9rem;
    }

    /* --- HERO --- */
    #hero {
        padding: 30px 0 !important;
        min-height: auto;
    }

    #hero h1 {
        font-size: 2rem !important;
        margin-bottom: 15px;
    }

    #hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .cta-group {
        flex-direction: column !important;
        gap: 12px;
        width: 100%;
        padding: 0 20px;
    }

    /* --- SEÇÃO DE ESCOLHA / MOTIVOS (3 CARDS) --- */
    .services-grid-3 {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 15px;
    }

    .service-card-white {
        width: 100% !important;
        margin: 0 !important;
    }

    /* --- SEÇÃO SÓCIO DIGITAL / PARCERIA (CORREÇÃO DE CONTEÚDO OCULTO) --- */
    .socio-panel {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .socio-text {
        width: 100% !important;
        text-align: center;
        order: 2;
    }

    .socio-visual {
        width: 100% !important;
        order: 1;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }

    .circle-visual-blue {
        width: 200px !important;
        height: 200px !important;
        margin: 0 auto;
    }

    .socio-benefits-grid-v4 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px;
    }

    .btn-apply-selection {
        width: 100% !important;
        max-width: 400px !important;
        padding: 15px 20px !important;
        font-size: 1.1rem !important;
        box-sizing: border-box !important;
        display: inline-block !important;
    }

    .box-success-custom,
    .box-warning-custom {
        width: 100% !important;
        margin: 0 !important;
        text-align: left;
    }

    /* --- PLANOS E PREÇOS (REDUÇÃO DE VAZIOS) --- */
    .prices-section-custom {
        padding: 40px 0 !important;
        margin: 0 !important;
    }

    .domain-info-box,
    .payment-tags-container {
        margin-bottom: 10px !important;
        width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .tag-growth-partner {
        padding: 15px !important;
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        border-radius: 0 !important;
    }

    .pricing-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        /* Aproxima os cards de planos */
        width: 100% !important;
        padding: 0 15px !important;
    }

    .price-plan {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 15px !important;
        transform: none !important;
    }

    .price-plan.popular-custom {
        border-width: 2px !important;
    }

    .buyout-section {
        padding: 30px 15px !important;
    }

    /* --- RODAPÉ (REDUÇÃO DE ESPAÇOS VAZIOS) --- */
    #main-footer {
        padding: 30px 0 10px !important;
        background-color: #fcfcfc !important;
    }

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        /* Aproxima as seções Navegação, Legal e Contato */
        text-align: center !important;
    }

    .footer-col {
        margin-bottom: 10px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .footer-col h4 {
        margin-bottom: 8px !important;
        font-size: 1rem !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
    }

    .footer-links li {
        margin-bottom: 4px !important;
    }

    .brand-area {
        margin-bottom: 25px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 15px !important;
    }

    .brand-area p {
        font-size: 0.9rem;
        max-width: 250px;
        line-height: 1.4;
    }

    .social-row {
        justify-content: center !important;
        margin-bottom: 15px !important;
        gap: 25px !important;
        display: flex !important;
    }

    .contact-info {
        margin-bottom: 15px;
    }

    .footer-bottom {
        margin-top: 15px !important;
        padding-top: 15px !important;
        flex-direction: column !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .security-badge {
        justify-content: center !important;
        font-size: 0.8rem !important;
        width: 100% !important;
    }
}