body { background-color: #dfe9ee; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
        
        .hero-section { 
            background: linear-gradient(135deg, #0056b3 0%, #00aaff 100%); 
            color: white; padding: 25px 0; margin-bottom: 30px; 
            border-radius: 0 0 30px 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
        }

        .card { 
            border: 2px solid transparent; border-radius: 20px; 
            box-shadow: 0 8px 20px rgba(0,0,0,0.04); 
            margin-bottom: 25px; transition: all 0.3s ease; background: #fff;
        }
        
        .card:hover:not(.card-active) { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0,0,0,0.08); }

        .card-active { 
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0, 86, 179, 0.3) !important;
        }

        .card-header { 
            background-color: #fff; border-bottom: 1px solid #f0f0f0; 
            border-radius: 20px 20px 0 0 !important; font-weight: 700; 
            color: #0056b3; text-transform: uppercase; padding: 15px 25px;
        }

        .card-active .card-header { background-color: #0056b3 !important; color: white !important; }

        .form-control { 
            border-radius: 10px; border: 1px solid #dee2e6; padding: 12px; 
            color: #000 !important; font-weight: 500;
        }
        
        .form-floating > label { color: #6c757d !important; opacity: 1 !important; }
        .form-control:focus { border: 2px solid #0056b3 !important; box-shadow: none !important; outline: 0; }
        .form-control[readonly] { background-color: #f1f3f5; cursor: default; pointer-events: none; }

        .form-control.is-invalid { border: 2px solid #dc3545 !important; }
        .invalid-feedback { font-weight: 600; font-size: 0.8rem; }

        .btn-primary { background: #0056b3; border: none; border-radius: 12px; padding: 12px 35px; font-weight: 600; transition: 0.3s; }
        .btn-primary:hover { background: #004494; transform: scale(1.05); }
        .btn-limpar-card { background-color: #0056b3; color: white; border: none; border-radius: 10px; padding: 0 20px; height: 58px; font-weight: 600; }
        
        .footer-pix img { max-width: 140px; border-radius: 15px; border: 4px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
        .section-title { color: #0056b3; border-left: 5px solid #0056b3; padding-left: 15px; margin-bottom: 25px; font-weight: bold; }
        .form-check-label { cursor: pointer; }

        .progress-stat { height: 10px; border-radius: 10px; margin-top: 15px; overflow: hidden; background-color: #e9ecef; }
        .stat-legend { font-size: 0.75rem; color: #6c757d; margin-top: 5px; }

        .cep-container { position: relative; }

        .loading-text-cep {
            display: none; /* Escondido por padrão */
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            font-size: 0.75rem;
            color: #adb5bd; /* Cinza claro */
            font-weight: 600;
            text-transform: uppercase;
            pointer-events: none; /* Para não atrapalhar o clique no input */
        }

        .row-enderecos { position: relative; }

        .btn-inverter {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            z-index: 100;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: #fff;
            border: 2px solid #0056b3;
            color: #0056b3;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            transition: all 0.4s ease;
            cursor: pointer;
        }

        .btn-inverter:hover {
            background: #0056b3;
            color: #fff;
            transform: translate(-50%, -50%) rotate(180deg);
        }

        /* Ajuste para telas de celular (cards empilhados) */
        @media (max-width: 991px) {
            .btn-inverter {
                position: relative;
                left: 0;
                top: 0;
                transform: none;
                margin: -15px auto 15px auto;
            }
            .btn-inverter:hover {
                transform: rotate(180deg);
            }
        }

        /* Estilo dos botões de ação dentro do card */
        .acao-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .btn-acao-circular {
            width: 54px;
            height: 54px;
            border-radius: 50%;
            background: #fff;
            border: 2px solid #0056b3;
            color: #0056b3;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0, 86, 179, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-acao-circular:hover {
            background: #0056b3;
            color: #fff;
            transform: translateY(-5px) rotate(180deg);
            box-shadow: 0 6px 15px rgba(0, 86, 179, 0.2);
        }

        .acao-label {
            font-size: 0.7rem;
            font-weight: 700;
            color: #0056b3;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Botão de Mapa mais suave e sem contornos */
        .btn-acao-circular, .btn-mapa {
            width: 54px;
            height: 54px;
            border-radius: 50%;
            background: #e7f5ff; /* Azul bem clarinho */
            border: none;
            color: #4dabf7; /* Azul suave */
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        /* Efeito de Hover igual para todos (sobe levemente, sem girar) */
        .btn-acao-circular:hover, .btn-mapa:hover:not(.disabled) {
            background: #4dabf7;
            color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(77, 171, 247, 0.3);
        }

        /* Estado Desativado (apenas para os mapas) */
        .btn-mapa.disabled {
            opacity: 0.3;
            cursor: not-allowed;
            pointer-events: none;
            filter: grayscale(0.5);
        }

        .acao-label {
            font-size: 0.7rem;
            font-weight: 700;
            color: #4dabf7; /* Texto agora combina com os botões */
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .btn-copiar-sucesso {
        background: #2ecc71 !important; /* Verde Sucesso */
        color: #fff !important;
        }

        /* Ajuste para os botões de ação no mobile */
        @media (max-width: 767px) {
            .botoes-finais-container .btn {
                padding: 15px; /* Botões maiores para facilitar o toque */
                font-size: 1rem;
            }
        }

        @media (min-width: 768px) {
            .botoes-finais-container .btn {
                min-width: 300px; /* Garante que no PC eles também tenham tamanhos parecidos */
            }
        }